/linux-4.19.296/include/crypto/ |
D | hash.h | 148 struct crypto_shash *tfm; 187 int (*setkey)(struct crypto_shash *tfm, const u8 *key, 215 struct crypto_shash { struct 686 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, 689 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) in crypto_shash_tfm() 700 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash() 705 static inline const char *crypto_shash_alg_name(struct crypto_shash *tfm) in crypto_shash_alg_name() 710 static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm) in crypto_shash_driver_name() 716 struct crypto_shash *tfm) in crypto_shash_alignmask() 730 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) in crypto_shash_blocksize() [all …]
|
D | cryptd.h | 62 struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm);
|
/linux-4.19.296/crypto/ |
D | shash.c | 28 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey() 47 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned() 68 static void shash_set_needkey(struct crypto_shash *tfm, struct shash_alg *alg) in shash_set_needkey() 75 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() 107 struct crypto_shash *tfm = desc->tfm; in shash_update_unaligned() 131 struct crypto_shash *tfm = desc->tfm; in crypto_shash_update() 144 struct crypto_shash *tfm = desc->tfm; in shash_final_unaligned() 166 struct crypto_shash *tfm = desc->tfm; in crypto_shash_final() 187 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup() 208 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest() [all …]
|
D | hmac.c | 30 struct crypto_shash *hash; 38 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm) in hmac_ctx() 45 static int hmac_setkey(struct crypto_shash *parent, in hmac_setkey() 55 struct crypto_shash *hash = ctx->hash; in hmac_setkey() 127 struct crypto_shash *parent = pdesc->tfm; in hmac_final() 144 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() 159 struct crypto_shash *parent = __crypto_shash_cast(tfm); in hmac_init_tfm() 160 struct crypto_shash *hash; in hmac_init_tfm()
|
D | xcbc.c | 60 static int crypto_xcbc_digest_setkey(struct crypto_shash *parent, in crypto_xcbc_digest_setkey() 97 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_update() 143 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_final()
|
D | cmac.c | 54 static int crypto_cmac_digest_setkey(struct crypto_shash *parent, in crypto_cmac_digest_setkey() 125 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_update() 171 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_final()
|
D | crc32_generic.c | 58 static int crc32_setkey(struct crypto_shash *hash, const u8 *key, in crc32_setkey()
|
D | crc32c_generic.c | 77 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
|
D | ghash-generic.c | 33 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
|
D | cryptd.c | 88 struct crypto_shash *child; 665 struct crypto_shash *hash; in cryptd_hash_init_tfm() 689 struct crypto_shash *child = ctx->child; in cryptd_hash_setkey() 733 struct crypto_shash *child = ctx->child; in cryptd_hash_init() 825 struct crypto_shash *child = ctx->child; in cryptd_hash_digest() 1293 struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm) in cryptd_ahash_child()
|
D | michael_mic.c | 136 static int michael_setkey(struct crypto_shash *tfm, const u8 *key, in michael_setkey()
|
D | crypto_null.c | 64 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key, in null_hash_setkey()
|
D | ccm.c | 852 static int crypto_cbcmac_digest_setkey(struct crypto_shash *parent, in crypto_cbcmac_digest_setkey() 875 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_update() 901 struct crypto_shash *parent = pdesc->tfm; in crypto_cbcmac_digest_final()
|
/linux-4.19.296/include/crypto/internal/ |
D | hash.h | 204 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() 234 static inline struct crypto_shash *crypto_spawn_shash( in crypto_spawn_shash() 240 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm) in crypto_shash_ctx_aligned() 245 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast() 247 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()
|
/linux-4.19.296/include/net/sctp/ |
D | auth.h | 40 struct crypto_shash; 96 void sctp_auth_destroy_hmacs(struct crypto_shash *auth_hmacs[]);
|
D | structs.h | 86 struct crypto_shash; 172 struct crypto_shash *hmac; 1325 struct crypto_shash **auth_hmacs;
|
/linux-4.19.296/lib/ |
D | libcrc32c.c | 41 static struct crypto_shash *tfm;
|
D | crc-t10dif.c | 19 static struct crypto_shash *crct10dif_tfm;
|
D | digsig.c | 31 static struct crypto_shash *shash;
|
/linux-4.19.296/include/net/ |
D | seg6_hmac.h | 43 struct crypto_shash * __percpu *tfms;
|
/linux-4.19.296/fs/crypto/ |
D | keyinfo.c | 20 static struct crypto_shash *essiv_hash_tfm; 213 struct crypto_shash *tfm = READ_ONCE(essiv_hash_tfm); in derive_essiv_salt() 217 struct crypto_shash *prev_tfm; in derive_essiv_salt()
|
/linux-4.19.296/fs/cifs/ |
D | cifsglob.h | 135 struct crypto_shash *hmacmd5; /* hmac-md5 hash function */ 136 struct crypto_shash *md5; /* md5 hash function */ 137 struct crypto_shash *hmacsha256; /* hmac-sha256 hash function */ 138 struct crypto_shash *cmacaes; /* block-cipher based MAC function */ 139 struct crypto_shash *sha512; /* sha512 hash function */
|
D | smbencrypt.c | 124 struct crypto_shash *md4 = NULL; in mdfour()
|
D | cifsproto.h | 559 int cifs_alloc_hash(const char *name, struct crypto_shash **shash, 561 void cifs_free_hash(struct crypto_shash **shash, struct sdesc **sdesc);
|
/linux-4.19.296/crypto/asymmetric_keys/ |
D | x509_public_key.c | 30 struct crypto_shash *tfm; in x509_get_sig_params()
|