/linux-4.1.27/include/crypto/ |
D | hash.h | 18 struct crypto_ahash; 131 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, 190 struct crypto_ahash { struct 198 int (*setkey)(struct crypto_ahash *tfm, const u8 *key, argument 221 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() argument 223 return container_of(tfm, struct crypto_ahash, base); in __crypto_ahash_cast() 240 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type, 243 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() 252 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash() 258 struct crypto_ahash *tfm) in crypto_ahash_alignmask() [all …]
|
D | cryptd.h | 36 struct crypto_ahash base; 40 struct crypto_ahash *tfm) in __cryptd_ahash_cast()
|
D | mcryptd.h | 18 struct crypto_ahash base; 22 struct crypto_ahash *tfm) in __mcryptd_ahash_cast()
|
/linux-4.1.27/include/net/ |
D | ah.h | 6 struct crypto_ahash; 12 struct crypto_ahash *ahash;
|
/linux-4.1.27/crypto/ |
D | ahash.c | 37 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) in crypto_ahash_alg() 188 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey_unaligned() 208 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in crypto_ahash_setkey() 220 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, in ahash_nosetkey() 234 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_save_req() 353 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in crypto_ahash_op() 428 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_def_finup() 451 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); in crypto_ahash_init_tfm() 535 .tfmsize = offsetof(struct crypto_ahash, base), 539 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type, in crypto_alloc_ahash()
|
D | algif_hash.c | 38 struct crypto_ahash *hash; 348 struct crypto_ahash *hash; in hash_bind() 400 struct crypto_ahash *hash = tfm->hash; in hash_accept_parent_nokey()
|
D | authenc.c | 35 struct crypto_ahash *auth; 89 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_setkey() 263 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_ahash_fb() 302 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_ahash() 552 struct crypto_ahash *auth; in crypto_authenc_init_tfm()
|
D | mcryptd.c | 301 static int mcryptd_hash_setkey(struct crypto_ahash *parent, in mcryptd_hash_setkey() 323 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in mcryptd_hash_enqueue() 601 struct crypto_ahash *tfm; in mcryptd_alloc_ahash()
|
D | authencesn.c | 35 struct crypto_ahash *auth; 63 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() 343 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_ahash() 644 struct crypto_ahash *auth; in crypto_authenc_esn_init_tfm()
|
D | cryptd.c | 420 static int cryptd_hash_setkey(struct crypto_ahash *parent, in cryptd_hash_setkey() 440 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue() 893 struct crypto_ahash *tfm; in cryptd_alloc_ahash()
|
D | shash.c | 201 static int shash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in shash_async_setkey() 336 struct crypto_ahash *crt = __crypto_ahash_cast(tfm); in crypto_init_shash_ops_async()
|
D | gcm.c | 32 struct crypto_ahash *ghash; 108 struct crypto_ahash *ghash = ctx->ghash; in crypto_gcm_setkey() 657 struct crypto_ahash *ghash; in crypto_gcm_init_tfm()
|
D | tcrypt.c | 932 struct crypto_ahash *tfm; in test_ahash_speed() 944 get_driver_name(crypto_ahash, tfm)); in test_ahash_speed()
|
D | testmgr.c | 191 static int __test_hash(struct crypto_ahash *tfm, struct hash_testvec *template, in __test_hash() 390 static int test_hash(struct crypto_ahash *tfm, struct hash_testvec *template, in test_hash() 1636 struct crypto_ahash *tfm; in alg_test_hash()
|
/linux-4.1.27/arch/arm/crypto/ |
D | ghash-ce-glue.c | 153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 210 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 229 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 233 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
|
/linux-4.1.27/arch/x86/crypto/ |
D | ghash-clmulni-intel_glue.c | 167 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() 191 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() 209 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() 224 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() 243 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 247 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
|
/linux-4.1.27/include/crypto/internal/ |
D | hash.h | 131 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) in crypto_ahash_ctx() 142 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, in crypto_ahash_set_reqsize() 176 static inline struct crypto_ahash *crypto_spawn_ahash( in crypto_spawn_ahash() 195 struct crypto_ahash *tfm) in ahash_tfm_in_queue()
|
/linux-4.1.27/security/integrity/ima/ |
D | ima_crypto.c | 68 static struct crypto_ahash *ima_ahash_tfm; 171 static struct crypto_ahash *ima_alloc_atfm(enum hash_algo algo) in ima_alloc_atfm() 173 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm() 193 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm() 229 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm() 339 struct crypto_ahash *tfm; in ima_calc_file_ahash()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | sha.c | 41 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_done() 148 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_ahash_export() 179 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in qce_import_common() 235 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in qce_ahash_update() 367 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, in qce_ahash_hmac_setkey() 376 struct crypto_ahash *ahash_tfm; in qce_ahash_hmac_setkey() 442 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in qce_ahash_cra_init()
|
D | sha.h | 72 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in to_ahash_tmpl()
|
D | common.c | 234 struct crypto_ahash *ahash = __crypto_ahash_cast(async_req->tfm); in qce_setup_regs_ahash()
|
/linux-4.1.27/net/ipv4/ |
D | ah4.c | 23 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp() 47 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv() 53 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req() 66 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg() 152 struct crypto_ahash *ahash; in ah_output() 305 struct crypto_ahash *ahash; in ah_input() 466 struct crypto_ahash *ahash; in ah_init_state()
|
/linux-4.1.27/net/ipv6/ |
D | ah6.c | 60 static void *ah_alloc_tmp(struct crypto_ahash *ahash, int nfrags, in ah_alloc_tmp() 89 static inline u8 *ah_tmp_icv(struct crypto_ahash *ahash, void *tmp, in ah_tmp_icv() 95 static inline struct ahash_request *ah_tmp_req(struct crypto_ahash *ahash, in ah_tmp_req() 108 static inline struct scatterlist *ah_req_sg(struct crypto_ahash *ahash, in ah_req_sg() 341 struct crypto_ahash *ahash; in ah6_output() 522 struct crypto_ahash *ahash; in ah6_input() 675 struct crypto_ahash *ahash; in ah6_init_state()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | caamhash.c | 311 static int ahash_set_sh_desc(struct crypto_ahash *ahash) in ahash_set_sh_desc() 512 static int ahash_setkey(struct crypto_ahash *ahash, in ahash_setkey() 623 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_unmap_ctx() 637 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done() 672 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_bi() 707 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_src() 742 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_done_ctx_dst() 775 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_update_ctx() 900 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_final_ctx() 983 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in ahash_finup_ctx() [all …]
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-crypto-sha.c | 29 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_complete() 60 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_sha_update() 149 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_sha_init() 237 static int ccp_sha_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_sha_setkey() 291 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_sha_cra_init()
|
D | ccp-crypto-aes-cmac.c | 30 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_aes_cmac_complete() 61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ccp_do_cmac_update() 241 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, in ccp_aes_cmac_setkey() 323 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in ccp_aes_cmac_cra_init()
|
/linux-4.1.27/drivers/crypto/ux500/hash/ |
D | hash_core.c | 566 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_init() 871 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_dma_final() 977 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_final() 1084 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hash_hw_update() 1346 static int hash_setkey(struct crypto_ahash *tfm, in hash_setkey() 1368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha1_init() 1381 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ahash_sha256_init() 1424 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha1_init() 1437 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in hmac_sha256_init() 1478 static int hmac_sha1_setkey(struct crypto_ahash *tfm, in hmac_sha1_setkey() [all …]
|
/linux-4.1.27/drivers/crypto/ |
D | n2_core.c | 279 struct crypto_ahash *fallback_tfm; 306 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init() 318 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update() 332 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final() 345 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_finup() 360 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hash_cra_init() 362 struct crypto_ahash *fallback_tfm; in n2_hash_cra_init() 386 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hash_cra_exit() 395 struct crypto_ahash *ahash = __crypto_ahash_cast(tfm); in n2_hmac_cra_init() 398 struct crypto_ahash *fallback_tfm; in n2_hmac_cra_init() [all …]
|
D | img-hash.c | 112 struct crypto_ahash *fallback; 483 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_init() 548 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_update() 563 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_final() 577 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_finup() 592 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in img_hash_digest()
|
D | bfin_crc.c | 150 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in bfin_crypto_crc_init() 437 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in bfin_crypto_crc_final() 450 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in bfin_crypto_crc_finup() 473 static int bfin_crypto_crc_setkey(struct crypto_ahash *tfm, const u8 *key, in bfin_crypto_crc_setkey()
|
D | mxs-dcp.c | 514 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in mxs_dcp_run_sha() 564 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_req_to_buf() 678 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_init() 708 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in dcp_sha_update_fx()
|
D | talitos.c | 1558 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in common_nonsnoop_hash() 1644 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_edesc_alloc() 1654 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_init() 1698 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in ahash_process_req() 1810 struct crypto_ahash *ahash = crypto_ahash_reqtfm(areq); in ahash_digest() 1834 static int keyhash(struct crypto_ahash *tfm, const u8 *key, unsigned int keylen, in keyhash() 1877 static int ahash_setkey(struct crypto_ahash *tfm, const u8 *key, in ahash_setkey()
|
D | sahara.c | 958 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sahara_sha_prepare_request() 1171 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sahara_sha_init() 1222 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in sahara_sha_export() 1235 struct crypto_ahash *ahash = crypto_ahash_reqtfm(req); in sahara_sha_import()
|
D | omap-sham.c | 301 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_copy_hash_omap4() 457 struct crypto_ahash *tfm = crypto_ahash_reqtfm(dd->req); in omap_sham_write_ctrl_omap4() 831 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in omap_sham_init() 1183 static int omap_sham_setkey(struct crypto_ahash *tfm, const u8 *key, in omap_sham_setkey()
|
D | mv_cesa.c | 773 static int mv_hash_setkey(struct crypto_ahash *tfm, const u8 * key, in mv_hash_setkey()
|
D | atmel-sha.c | 257 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in atmel_sha_init()
|
/linux-4.1.27/arch/x86/crypto/sha-mb/ |
D | sha1_mb.c | 707 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_init() 721 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_update() 734 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_finup() 747 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_final() 758 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sha1_mb_async_digest()
|