linux/include/crypto
Denis Kenzior f8c54e1ac4 KEYS: asym_tpm: extract key size & public key [ver #2]
The parsed BER/DER blob obtained from user space contains a TPM_Key
structure.  This structure has some information about the key as well as
the public key portion.

This patch extracts this information for future use.

Signed-off-by: Denis Kenzior <denkenz@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Marcel Holtmann <marcel@holtmann.org>
Reviewed-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: James Morris <james.morris@microsoft.com>
2018-10-26 09:30:46 +01:00
..
internal crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
acompress.h crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
aead.h crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
aes.h
akcipher.h crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
algapi.h crypto: api - Introduce notifier for new crypto algorithms 2018-09-04 11:37:04 +08:00
asym_tpm_subtype.h KEYS: asym_tpm: extract key size & public key [ver #2] 2018-10-26 09:30:46 +01:00
authenc.h
b128ops.h
blowfish.h
cast5.h
cast6.h
cast_common.h
cbc.h crypto: cbc - Remove VLA usage 2018-09-04 11:35:03 +08:00
chacha20.h crypto: chacha20 - Fix chacha20_block() keystream alignment (again) 2018-09-21 13:24:50 +08:00
cryptd.h
crypto_wq.h
ctr.h
des.h
dh.h crypto: dh - add public key verification test 2018-07-09 00:26:22 +08:00
drbg.h crypto: drbg - in-place cipher operation for CTR 2018-08-03 18:05:48 +08:00
ecdh.h
engine.h
gcm.h
gf128mul.h
ghash.h
hash.h crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
hash_info.h
hmac.h
if_alg.h Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
kpp.h crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
md5.h
morus640_glue.h crypto/morus(640,1280) - make crypto_...-algs static 2018-10-05 10:22:48 +08:00
morus1280_glue.h crypto/morus(640,1280) - make crypto_...-algs static 2018-10-05 10:22:48 +08:00
morus_common.h
null.h crypto: null - Remove VLA usage of skcipher 2018-09-28 12:46:08 +08:00
padlock.h
pcrypt.h
pkcs7.h
poly1305.h
public_key.h KEYS: Allow the public_key struct to hold a private key [ver #2] 2018-10-26 09:30:46 +01:00
rng.h crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
scatterwalk.h crypto: scatterwalk - remove scatterwalk_samebuf() 2018-08-03 18:06:04 +08:00
serpent.h
sha.h crypto: sha512_generic - add a sha384 0-length pre-computed hash 2018-06-22 23:03:05 +08:00
sha1_base.h
sha3.h
sha256_base.h
sha512_base.h
skcipher.h crypto: user - Implement a generic crypto statistics 2018-09-28 12:46:25 +08:00
sm3.h
sm3_base.h
sm4.h
twofish.h
xts.h