Home
last modified time | relevance | path

Searched refs:hash_alg_common (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/include/crypto/
Dhash.h42 struct hash_alg_common { struct
139 struct hash_alg_common halg;
197 __attribute__ ((aligned(__alignof__(struct hash_alg_common))));
311 static inline struct hash_alg_common *__crypto_hash_alg_common( in __crypto_hash_alg_common()
314 return container_of(alg, struct hash_alg_common, base); in __crypto_hash_alg_common()
317 static inline struct hash_alg_common *crypto_hash_alg_common( in crypto_hash_alg_common()
/Linux-v5.4/include/crypto/internal/
Dhash.h88 bool crypto_hash_alg_has_setkey(struct hash_alg_common *halg);
91 struct hash_alg_common *alg,
99 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
/Linux-v5.4/crypto/
Dahash.c196 const struct hash_alg_common *alg = crypto_hash_alg_common(tfm); in ahash_set_needkey()
657 struct hash_alg_common *alg, in crypto_init_ahash_spawn()
665 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask) in ahash_attr_alg()
674 bool crypto_hash_alg_has_setkey(struct hash_alg_common *halg) in crypto_hash_alg_has_setkey()
Dauthenc.c387 struct hash_alg_common *auth; in crypto_authenc_create()
Dauthencesn.c405 struct hash_alg_common *auth; in crypto_authenc_esn_create()
Dchacha20poly1305.c569 struct hash_alg_common *poly_hash; in chachapoly_create()
Dccm.c463 struct hash_alg_common *mac; in crypto_ccm_create_common()
Dgcm.c591 struct hash_alg_common *ghash; in crypto_gcm_create_common()
/Linux-v5.4/Documentation/crypto/
Dapi-digest.rst8 :functions: hash_alg_common ahash_alg shash_alg
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-sha.c422 struct hash_alg_common *halg; in ccp_register_hmac_alg()
466 struct hash_alg_common *halg; in ccp_register_sha_alg()
Dccp-crypto-aes-cmac.c353 struct hash_alg_common *halg; in ccp_register_aes_cmac_algs()
/Linux-v5.4/drivers/crypto/
Dmxs-dcp.c586 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in mxs_dcp_run_sha()
623 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_req_to_buf()
731 struct hash_alg_common *halg = crypto_hash_alg_common(tfm); in dcp_sha_init()
Dn2_core.c1451 struct hash_alg_common *halg; in __n2_register_one_ahash()
/Linux-v5.4/drivers/crypto/ccree/
Dcc_hash.c1122 struct hash_alg_common *hash_alg_common = in cc_cra_init() local
1123 container_of(tfm->__crt_alg, struct hash_alg_common, base); in cc_cra_init()
1125 container_of(hash_alg_common, struct ahash_alg, halg); in cc_cra_init()
/Linux-v5.4/drivers/crypto/caam/
Dcaamhash.c1810 struct hash_alg_common *halg = in caam_hash_cra_init()
1811 container_of(base, struct hash_alg_common, base); in caam_hash_cra_init()
Dcaamalg_qi2.c4513 struct hash_alg_common *halg = in caam_hash_cra_init()
4514 container_of(base, struct hash_alg_common, base); in caam_hash_cra_init()