/linux-4.1.27/include/crypto/ |
D | hash.h | 138 struct crypto_shash *tfm; 177 int (*setkey)(struct crypto_shash *tfm, const u8 *key, 206 struct crypto_shash { struct 624 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, 627 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) in crypto_shash_tfm() 636 static inline void crypto_free_shash(struct crypto_shash *tfm) in crypto_free_shash() 642 struct crypto_shash *tfm) in crypto_shash_alignmask() 656 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) in crypto_shash_blocksize() 666 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) in crypto_shash_alg() 680 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) in crypto_shash_digestsize() [all …]
|
D | mcryptd.h | 42 struct crypto_shash *child; 67 struct crypto_shash *mcryptd_ahash_child(struct mcryptd_ahash *tfm);
|
D | cryptd.h | 48 struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm);
|
/linux-4.1.27/crypto/ |
D | shash.c | 27 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey() 33 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned() 54 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() 77 struct crypto_shash *tfm = desc->tfm; in shash_update_unaligned() 101 struct crypto_shash *tfm = desc->tfm; in crypto_shash_update() 114 struct crypto_shash *tfm = desc->tfm; in shash_final_unaligned() 136 struct crypto_shash *tfm = desc->tfm; in crypto_shash_final() 157 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup() 178 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest() 204 struct crypto_shash **ctx = crypto_ahash_ctx(tfm); in shash_async_setkey() [all …]
|
D | hmac.c | 29 struct crypto_shash *hash; 37 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm) in hmac_ctx() 44 static int hmac_setkey(struct crypto_shash *parent, in hmac_setkey() 54 struct crypto_shash *hash = ctx->hash; in hmac_setkey() 126 struct crypto_shash *parent = pdesc->tfm; in hmac_final() 143 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() 158 struct crypto_shash *parent = __crypto_shash_cast(tfm); in hmac_init_tfm() 159 struct crypto_shash *hash; in hmac_init_tfm()
|
D | mcryptd.c | 281 struct crypto_shash *hash; in mcryptd_hash_init_tfm() 305 struct crypto_shash *child = ctx->child; in mcryptd_hash_setkey() 338 struct crypto_shash *child = ctx->child; in mcryptd_hash_init() 446 struct crypto_shash *child = ctx->child; in mcryptd_hash_digest() 633 struct crypto_shash *tfm = desc->tfm; in shash_ahash_mcryptd_update() 645 struct crypto_shash *tfm = desc->tfm; in shash_ahash_mcryptd_finup() 657 struct crypto_shash *tfm = desc->tfm; in shash_ahash_mcryptd_final() 666 struct crypto_shash *mcryptd_ahash_child(struct mcryptd_ahash *tfm) in mcryptd_ahash_child()
|
D | xcbc.c | 61 static int crypto_xcbc_digest_setkey(struct crypto_shash *parent, in crypto_xcbc_digest_setkey() 98 struct crypto_shash *parent = pdesc->tfm; in crypto_xcbc_digest_update() 144 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() 124 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_update() 170 struct crypto_shash *parent = pdesc->tfm; in crypto_cmac_digest_final()
|
D | cryptd.c | 69 struct crypto_shash *child; 400 struct crypto_shash *hash; in cryptd_hash_init_tfm() 424 struct crypto_shash *child = ctx->child; in cryptd_hash_setkey() 453 struct crypto_shash *child = ctx->child; in cryptd_hash_init() 553 struct crypto_shash *child = ctx->child; in cryptd_hash_digest() 910 struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm) in cryptd_ahash_child()
|
D | crc32.c | 63 static int crc32_setkey(struct crypto_shash *hash, const u8 *key, in crc32_setkey()
|
D | crc32c_generic.c | 76 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
|
D | ghash-generic.c | 44 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
|
D | crypto_null.c | 60 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key, in null_hash_setkey()
|
D | michael_mic.c | 136 static int michael_setkey(struct crypto_shash *tfm, const u8 *key, in michael_setkey()
|
D | vmac.c | 544 static int vmac_setkey(struct crypto_shash *parent, in vmac_setkey() 565 struct crypto_shash *parent = pdesc->tfm; in vmac_update() 600 struct crypto_shash *parent = pdesc->tfm; in vmac_final()
|
D | ahash.c | 485 return sizeof(struct crypto_shash *); in crypto_ahash_extsize()
|
D | drbg.c | 1583 struct crypto_shash *tfm; in drbg_init_hash_kernel()
|
D | testmgr.c | 1659 struct crypto_shash *tfm; in alg_test_crc32c()
|
/linux-4.1.27/security/integrity/ima/ |
D | ima_crypto.c | 67 static struct crypto_shash *ima_shash_tfm; 84 static struct crypto_shash *ima_alloc_tfm(enum hash_algo algo) in ima_alloc_tfm() 86 struct crypto_shash *tfm = ima_shash_tfm; in ima_alloc_tfm() 103 static void ima_free_tfm(struct crypto_shash *tfm) in ima_free_tfm() 355 struct crypto_shash *tfm) in ima_calc_file_hash_tfm() 412 struct crypto_shash *tfm; in ima_calc_file_shash() 462 struct crypto_shash *tfm) in ima_calc_field_array_hash_tfm() 507 struct crypto_shash *tfm; in ima_calc_field_array_hash() 535 struct crypto_shash *tfm) in ima_calc_boot_aggregate_tfm() 561 struct crypto_shash *tfm; in ima_calc_boot_aggregate()
|
/linux-4.1.27/include/crypto/internal/ |
D | hash.h | 200 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) in crypto_shash_ctx() 230 static inline struct crypto_shash *crypto_spawn_shash( in crypto_spawn_shash() 236 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm) in crypto_shash_ctx_aligned() 241 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast() 243 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()
|
/linux-4.1.27/drivers/crypto/vmx/ |
D | ghash.c | 46 struct crypto_shash *fallback; 59 struct crypto_shash *fallback; in p8_ghash_init_tfm() 60 struct crypto_shash *shash_tfm = __crypto_shash_cast(tfm); in p8_ghash_init_tfm() 78 crypto_shash_get_flags((struct crypto_shash *) tfm)); in p8_ghash_init_tfm() 109 static int p8_ghash_setkey(struct crypto_shash *tfm, const u8 *key, in p8_ghash_setkey()
|
/linux-4.1.27/security/integrity/evm/ |
D | evm.h | 32 extern struct crypto_shash *hmac_tfm; 33 extern struct crypto_shash *hash_tfm;
|
D | evm_crypto.c | 30 struct crypto_shash *hmac_tfm; 31 struct crypto_shash *hash_tfm; 39 struct crypto_shash **tfm; in init_desc()
|
/linux-4.1.27/security/apparmor/ |
D | crypto.c | 25 static struct crypto_shash *apparmor_tfm; 76 struct crypto_shash *tfm; in init_profile_hash()
|
/linux-4.1.27/arch/arm/crypto/ |
D | ghash-ce-glue.c | 109 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() 164 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init() 221 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_digest()
|
/linux-4.1.27/fs/btrfs/ |
D | hash.c | 18 static struct crypto_shash *tfm;
|
/linux-4.1.27/arch/x86/crypto/ |
D | ghash-clmulni-intel_glue.c | 55 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() 178 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init() 235 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_digest()
|
D | crc32-pclmul_glue.c | 91 static int crc32_pclmul_setkey(struct crypto_shash *hash, const u8 *key, in crc32_pclmul_setkey()
|
D | crc32c-intel_glue.c | 115 static int crc32c_intel_setkey(struct crypto_shash *hash, const u8 *key, in crc32c_intel_setkey()
|
/linux-4.1.27/lib/ |
D | libcrc32c.c | 40 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.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-crypto-adler.c | 54 static int adler32_setkey(struct crypto_shash *hash, const u8 *key, in adler32_setkey()
|
/linux-4.1.27/drivers/crypto/ |
D | padlock-sha.c | 33 struct crypto_shash *fallback; 213 struct crypto_shash *hash = __crypto_shash_cast(tfm); in padlock_cra_init() 216 struct crypto_shash *fallback_tfm; in padlock_cra_init()
|
D | mv_cesa.c | 128 struct crypto_shash *fallback; 129 struct crypto_shash *base_hash; 843 struct crypto_shash *fallback_tfm = NULL; in mv_cra_hash_init() 844 struct crypto_shash *base_hash = NULL; in mv_cra_hash_init()
|
D | omap-sham.c | 161 struct crypto_shash *shash; 172 struct crypto_shash *fallback; 1119 static int omap_sham_shash_digest(struct crypto_shash *tfm, u32 flags, in omap_sham_shash_digest()
|
D | n2_core.c | 287 struct crypto_shash *child_shash; 399 struct crypto_shash *child_shash; in n2_hmac_cra_init() 446 struct crypto_shash *child_shash = ctx->child_shash; in n2_hmac_async_setkey()
|
D | sahara.c | 156 struct crypto_shash *shash_fallback;
|
/linux-4.1.27/arch/arm64/crypto/ |
D | ghash-ce-glue.c | 103 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
|
D | crc32-arm64.c | 115 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, in chksum_setkey()
|
/linux-4.1.27/arch/sparc/crypto/ |
D | crc32c_glue.c | 30 static int crc32c_sparc64_setkey(struct crypto_shash *hash, const u8 *key, in crc32c_sparc64_setkey()
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-crypto.h | 153 struct crypto_shash *hmac_tfm;
|
D | ccp-crypto-sha.c | 241 struct crypto_shash *shash = ctx->u.sha.hmac_tfm; in ccp_sha_setkey() 309 struct crypto_shash *hmac_tfm; in ccp_hmac_sha_cra_init()
|
/linux-4.1.27/arch/s390/crypto/ |
D | ghash_s390.c | 40 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey()
|
/linux-4.1.27/fs/cifs/ |
D | cifsglob.h | 117 struct crypto_shash *hmacmd5; /* hmac-md5 hash function */ 118 struct crypto_shash *md5; /* md5 hash function */ 119 struct crypto_shash *hmacsha256; /* hmac-sha256 hash function */ 120 struct crypto_shash *cmacaes; /* block-cipher based MAC function */
|
D | smbencrypt.c | 137 struct crypto_shash *md4; in mdfour()
|
D | link.c | 61 struct crypto_shash *md5; in symlink_hash()
|
/linux-4.1.27/kernel/ |
D | module_signing.c | 48 struct crypto_shash *tfm; in mod_make_digest()
|
D | kexec.c | 2183 struct crypto_shash *tfm; in kexec_calculate_store_digests()
|
/linux-4.1.27/security/keys/encrypted-keys/ |
D | encrypted.c | 62 static struct crypto_shash *hashalg; 63 static struct crypto_shash *hmacalg; 324 static struct sdesc *alloc_sdesc(struct crypto_shash *alg) in alloc_sdesc()
|
/linux-4.1.27/crypto/asymmetric_keys/ |
D | pkcs7_verify.c | 28 struct crypto_shash *tfm; in pkcs7_digest()
|
D | x509_public_key.c | 130 struct crypto_shash *tfm; in x509_get_sig_params()
|
D | verify_pefile.c | 325 struct crypto_shash *tfm; in pefile_digest_pe()
|
/linux-4.1.27/security/keys/ |
D | trusted.c | 42 static struct crypto_shash *hashalg; 43 static struct crypto_shash *hmacalg; 45 static struct sdesc *init_sdesc(struct crypto_shash *alg) in init_sdesc()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx-aes-xcbc.c | 40 static int nx_xcbc_set_key(struct crypto_shash *desc, in nx_xcbc_set_key()
|
/linux-4.1.27/net/bluetooth/ |
D | amp.c | 136 struct crypto_shash *tfm; in hmac_sha256()
|
/linux-4.1.27/include/linux/ |
D | jbd2.h | 992 struct crypto_shash *j_chksum_driver;
|
/linux-4.1.27/drivers/md/ |
D | dm-crypt.c | 99 struct crypto_shash *hash_tfm; 105 struct crypto_shash *crc32_tfm;
|
D | dm-verity.c | 60 struct crypto_shash *tfm;
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 113 struct crypto_shash *hash_tfm;
|
/linux-4.1.27/fs/ext4/ |
D | ext4.h | 1392 struct crypto_shash *s_chksum_driver;
|