Tudor-Dan Ambarus
561f8e2df9
crypto: akcipher - assume key is already set in maxsize
...
As of now, crypto_akcipher_maxsize() can not be reached without
successfully setting the key for the transformation. akcipher
algorithm implementations check if the key was set and then return
the output buffer size required for the given key.
Change the return type to unsigned int and always assume that this
function is called after a successful setkey of the transformation.
akcipher algorithm implementations will remove the check if key is not NULL
and directly return the max size.
Signed-off-by: Tudor Ambarus <[email protected] >
Signed-off-by: Herbert Xu <[email protected] >
2017-06-10 12:04:29 +08:00
..
internal
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2017-05-02 15:53:46 -07:00
ablk_helper.h
acompress.h
crypto: acomp - add driver-side scomp interface
2016-10-25 11:08:31 +08:00
aead.h
crypto: doc - clarify AEAD memory structure
2016-12-13 16:38:06 -07:00
aes.h
akcipher.h
crypto: akcipher - assume key is already set in maxsize
2017-06-10 12:04:29 +08:00
algapi.h
crypto: api - Add crypto_requires_off helper
2017-02-27 18:09:39 +08:00
authenc.h
b128ops.h
blowfish.h
cast5.h
cast6.h
cast_common.h
cbc.h
crypto: cbc - Export CBC implementation
2016-11-28 21:23:21 +08:00
chacha20.h
crypto: chacha20 - convert generic and x86 versions to skcipher
2016-12-27 17:47:31 +08:00
cryptd.h
crypto: cryptd - Add support for skcipher
2016-11-28 21:23:18 +08:00
crypto_wq.h
ctr.h
des.h
dh.h
crypto: kpp, (ec)dh - fix typos
2017-06-10 12:04:25 +08:00
drbg.h
crypto: drbg - prevent invalid SG mappings
2016-11-30 19:46:44 +08:00
ecdh.h
crypto: kpp, (ec)dh - fix typos
2017-06-10 12:04:25 +08:00
engine.h
crypto: engine - Handle the kthread worker using the new API
2016-10-25 11:08:25 +08:00
gf128mul.h
crypto: gf128mul - switch gf128mul_x_ble to le128
2017-04-05 21:58:37 +08:00
ghash.h
crypto: ghash-generic - move common definitions to a new header file
2016-10-02 22:26:40 +08:00
hash.h
crypto: doc - Fix hash export state information
2017-02-03 18:16:11 +08:00
hash_info.h
keys, trusted: select hash algorithm for TPM2 chips
2015-12-20 15:27:12 +02:00
hmac.h
crypto: hmac - add hmac IPAD/OPAD constant
2017-05-23 12:52:05 +08:00
if_alg.h
net: Work around lockdep limitation in sockets that use sockets
2017-03-09 18:23:27 -08:00
kpp.h
crypto: kpp - assume key is already set in maxsize
2017-06-10 12:04:27 +08:00
lrw.h
mcryptd.h
crypto: sha1-mb - async implementation for sha1-mb
2016-06-23 18:29:55 +08:00
md5.h
crypto: hash - add zero length message hash for shax and md5
2015-12-22 20:43:35 +08:00
null.h
crypto: null - Remove default null blkcipher
2016-07-18 17:35:44 +08:00
padlock.h
pcrypt.h
pkcs7.h
PKCS#7: Make trust determination dependent on contents of trust keyring
2016-04-06 16:14:24 +01:00
poly1305.h
crypto: poly1305 - Export common Poly1305 helpers
2015-07-17 21:20:26 +08:00
public_key.h
KEYS: Keyring asymmetric key restrict method with chaining
2017-04-04 14:10:13 -07:00
rng.h
scatterwalk.h
crypto: scatterwalk - Inline start/map/done
2016-07-18 17:35:50 +08:00
serpent.h
sha.h
crypto: hash - add zero length message hash for shax and md5
2015-12-22 20:43:35 +08:00
sha1_base.h
sha3.h
crypto: sha3 - Add SHA-3 hash algorithm
2016-06-20 19:25:01 +08:00
sha256_base.h
sha512_base.h
skcipher.h
crypto: skcipher - introduce walksize attribute for SIMD algos
2016-12-30 19:52:47 +08:00
twofish.h
vmac.h
xts.h
crypto: gf128mul - switch gf128mul_x_ble to le128
2017-04-05 21:58:37 +08:00