linux-stable/include/crypto
Jarkko Sakkinen 5ca4c20cfd keys, trusted: select hash algorithm for TPM2 chips
Added 'hash=' option for selecting the hash algorithm for add_key()
syscall and documentation for it.

Added entry for sm3-256 to the following tables in order to support
TPM_ALG_SM3_256:

* hash_algo_name
* hash_digest_size

Includes support for the following hash algorithms:

* sha1
* sha256
* sha384
* sha512
* sm3-256

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: James Morris <james.l.morris@oracle.com>
Reviewed-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Acked-by: Peter Huewe <peterhuewe@gmx.de>
2015-12-20 15:27:12 +02:00
..
internal crypto: akcipher - Changes to asymmetric key API 2015-10-14 22:23:16 +08:00
ablk_helper.h
aead.h
aes.h
akcipher.h crypto: akcipher - Changes to asymmetric key API 2015-10-14 22:23:16 +08:00
algapi.h
authenc.h
b128ops.h
blowfish.h
cast5.h
cast6.h
cast_common.h
chacha20.h
compress.h
cryptd.h
crypto_wq.h
ctr.h
des.h
drbg.h
gf128mul.h
hash.h crypto: ahash - Add crypto_ahash_blocksize 2015-10-20 22:10:48 +08:00
hash_info.h keys, trusted: select hash algorithm for TPM2 chips 2015-12-20 15:27:12 +02:00
if_alg.h
lrw.h
mcryptd.h
md5.h
null.h
padlock.h
pcrypt.h
pkcs7.h
poly1305.h
public_key.h KEYS: Merge the type-specific data with the payload data 2015-10-21 15:18:36 +01:00
rng.h
scatterwalk.h
serpent.h
sha.h
sha1_base.h
sha256_base.h
sha512_base.h
skcipher.h
twofish.h
vmac.h
xts.h