Home
last modified time | relevance | path

Searched refs:crypto_ahash (Results 1 – 17 of 17) sorted by relevance

/linux-4.19.296/include/crypto/
Dhash.h19 struct crypto_ahash;
141 int (*setkey)(struct crypto_ahash *tfm, const u8 *key,
200 struct crypto_ahash { struct
208 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, argument
230 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument
232 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast()
249 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type,
252 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
263 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
280 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
[all …]
Dmcryptd.h19 struct crypto_ahash base;
23 struct crypto_ahash *tfm) in __mcryptd_ahash_cast()
44 struct crypto_ahash *child;
69 struct crypto_ahash *mcryptd_ahash_child(struct mcryptd_ahash *tfm);
Dcryptd.h50 struct crypto_ahash base;
54 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
/linux-4.19.296/crypto/
Dahash.c39 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg()
173 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned()
193 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey()
199 static void ahash_set_needkey(struct crypto_ahash *tfm) in ahash_set_needkey()
208 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey()
237 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req()
367 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op()
390 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_digest()
447 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_def_finup()
463 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_init_tfm()
[all …]
Dmcryptd.c278 struct crypto_ahash *hash; in mcryptd_hash_init_tfm()
298 static int mcryptd_hash_setkey(struct crypto_ahash *parent, in mcryptd_hash_setkey()
302 struct crypto_ahash *child = ctx->child; in mcryptd_hash_setkey()
320 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in mcryptd_hash_enqueue()
335 struct crypto_ahash *child = ctx->child; in mcryptd_hash_init()
445 struct crypto_ahash *child = ctx->child; in mcryptd_hash_digest()
598 struct crypto_ahash *tfm; in mcryptd_alloc_ahash()
615 struct crypto_ahash *mcryptd_ahash_child(struct mcryptd_ahash *tfm) in mcryptd_ahash_child()
Dauthencesn.c37 struct crypto_ahash *auth;
67 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey()
107 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail()
140 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv()
243 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt_tail()
292 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_decrypt()
342 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
Dauthenc.c34 struct crypto_ahash *auth;
93 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey()
153 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_genicv()
300 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_decrypt()
327 struct crypto_ahash *auth; in crypto_authenc_init_tfm()
Dalgif_hash.c304 struct crypto_ahash *tfm; in hash_check_key()
430 struct crypto_ahash *tfm = private; in hash_accept_parent_nokey()
457 struct crypto_ahash *tfm = private; in hash_accept_parent()
Dcryptd.c685 static int cryptd_hash_setkey(struct crypto_ahash *parent, in cryptd_hash_setkey()
705 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue()
717 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_complete()
858 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_import()
1273 struct crypto_ahash *tfm; in cryptd_alloc_ahash()
Dshash.c234 static int shash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in shash_async_setkey()
371 struct crypto_ahash *crt = __crypto_ahash_cast(tfm); in crypto_init_shash_ops_async()
Dccm.c31 struct crypto_ahash *mac;
95 struct crypto_ahash *mac = ctx->mac; in crypto_ccm_setkey()
408 struct crypto_ahash *mac; in crypto_ccm_init_tfm()
Dchacha20poly1305.c35 struct crypto_ahash *poly;
536 struct crypto_ahash *poly; in chachapoly_init()
Dgcm.c33 struct crypto_ahash *ghash;
100 struct crypto_ahash *ghash = ctx->ghash; in crypto_gcm_setkey()
549 struct crypto_ahash *ghash; in crypto_gcm_init_tfm()
Dtcrypt.c819 struct crypto_ahash *tfm; in test_mb_ahash_speed()
858 get_driver_name(crypto_ahash, tfm)); in test_mb_ahash_speed()
1064 struct crypto_ahash *tfm; in test_ahash_speed_common()
1076 get_driver_name(crypto_ahash, tfm)); in test_ahash_speed_common()
Dtestmgr.c191 struct crypto_ahash *tfm, const struct hash_testvec *template, in ahash_partial_update()
268 static int __test_hash(struct crypto_ahash *tfm, in __test_hash()
576 static int test_hash(struct crypto_ahash *tfm, in test_hash()
1831 struct crypto_ahash *tfm; in __alg_test_hash()
/linux-4.19.296/include/net/
Dah.h7 struct crypto_ahash;
13 struct crypto_ahash *ahash;
/linux-4.19.296/include/crypto/internal/
Dhash.h125 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx()
136 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize()
180 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash()
199 struct crypto_ahash *tfm) in ahash_tfm_in_queue()