| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 208 int digestsize = crypto_ahash_digestsize(ahash); in ahash_set_sh_desc() local 238 cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_FINALIZE, digestsize, in ahash_set_sh_desc() 249 cnstr_shdsc_ahash(desc, &ctx->adata, OP_ALG_AS_INITFINAL, digestsize, in ahash_set_sh_desc() 264 int digestsize = crypto_ahash_digestsize(ahash); in axcbc_set_sh_desc() local 281 digestsize, ctx->ctx_len); in axcbc_set_sh_desc() 304 digestsize, ctx->ctx_len); in axcbc_set_sh_desc() 316 int digestsize = crypto_ahash_digestsize(ahash); in acmac_set_sh_desc() local 333 digestsize, ctx->ctx_len); in acmac_set_sh_desc() 353 digestsize, ctx->ctx_len); in acmac_set_sh_desc() 365 u32 digestsize) in hash_digest_key() argument [all …]
|
| H A D | caamhash_desc.c | 29 int digestsize, int ctx_len, bool import_ctx, int era) in cnstr_shdsc_ahash() argument 73 append_seq_store(desc, digestsize, LDST_CLASS_2_CCB | in cnstr_shdsc_ahash() 88 int digestsize, int ctx_len) in cnstr_shdsc_sk_hash() argument 134 append_seq_store(desc, digestsize, LDST_CLASS_1_CCB | in cnstr_shdsc_sk_hash()
|
| H A D | caamhash_desc.h | 25 int digestsize, int ctx_len, bool import_ctx, int era); 28 int digestsize, int ctx_len);
|
| /linux/crypto/ |
| H A D | blake2b.c | 34 unsigned int digestsize = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_init() local 36 blake2b_init_key(BLAKE2B_CTX(desc), digestsize, in crypto_blake2b_init() 58 unsigned int digestsize = crypto_shash_digestsize(desc->tfm); in crypto_blake2b_digest() local 60 blake2b(tctx->key, tctx->keylen, data, len, out, digestsize); in crypto_blake2b_digest() 73 .digestsize = digest_size, \
|
| H A D | sha3.c | 91 .digestsize = SHA3_224_DIGEST_SIZE, 104 .digestsize = SHA3_256_DIGEST_SIZE, 117 .digestsize = SHA3_384_DIGEST_SIZE, 130 .digestsize = SHA3_512_DIGEST_SIZE,
|
| H A D | sha256.c | 325 .digestsize = SHA224_DIGEST_SIZE, 343 .digestsize = SHA256_DIGEST_SIZE, 362 .digestsize = SHA224_DIGEST_SIZE, 382 .digestsize = SHA256_DIGEST_SIZE,
|
| H A D | sha512.c | 331 .digestsize = SHA384_DIGEST_SIZE, 349 .digestsize = SHA512_DIGEST_SIZE, 368 .digestsize = SHA384_DIGEST_SIZE, 388 .digestsize = SHA512_DIGEST_SIZE,
|
| H A D | md5.c | 184 .digestsize = MD5_DIGEST_SIZE, 203 .digestsize = MD5_DIGEST_SIZE,
|
| H A D | sha1.c | 188 .digestsize = SHA1_DIGEST_SIZE, 207 .digestsize = SHA1_DIGEST_SIZE,
|
| H A D | wp512.c | 1087 .digestsize = WP512_DIGEST_SIZE, 1100 .digestsize = WP384_DIGEST_SIZE, 1113 .digestsize = WP256_DIGEST_SIZE,
|
| H A D | crc32.c | 101 .digestsize = CHKSUM_DIGEST_SIZE,
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss-hash.c | 51 int digestsize, i; in sun8i_ss_hmac_setkey() local 55 digestsize = crypto_ahash_digestsize(ahash); in sun8i_ss_hmac_setkey() 61 tfmctx->keylen = digestsize; in sun8i_ss_hmac_setkey() 489 int nr_sgs, err, digestsize; in sun8i_ss_hash_run() local 507 digestsize = crypto_ahash_digestsize(tfm); in sun8i_ss_hash_run() 508 if (digestsize == SHA224_DIGEST_SIZE) in sun8i_ss_hash_run() 509 digestsize = SHA256_DIGEST_SIZE; in sun8i_ss_hash_run() 533 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run() 554 rctx->t_dst[i].len = digestsize / 4; in sun8i_ss_hash_run() 593 rctx->t_dst[0].len = digestsize / 4; in sun8i_ss_hash_run() [all …]
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 460 unsigned int digestsize = crypto_ahash_digestsize(hash); in starfive_hash_setkey() local 472 ctx->keylen = digestsize; in starfive_hash_setkey() 474 switch (digestsize) { in starfive_hash_setkey() 569 .digestsize = SHA224_DIGEST_SIZE, 598 .digestsize = SHA224_DIGEST_SIZE, 626 .digestsize = SHA256_DIGEST_SIZE, 655 .digestsize = SHA256_DIGEST_SIZE, 683 .digestsize = SHA384_DIGEST_SIZE, 712 .digestsize = SHA384_DIGEST_SIZE, 740 .digestsize = SHA512_DIGEST_SIZE, [all …]
|
| /linux/arch/s390/crypto/ |
| H A D | phmac_s390.c | 199 u8 *digest, unsigned int digestsize) in hash_key() argument 224 switch (digestsize) { in hash_key() 249 memcpy(digest, ¶m, digestsize); in hash_key() 258 unsigned int digestsize, u8 *dest) in make_clrkey_token() argument 266 switch (digestsize) { in make_clrkey_token() 283 rc = hash_key(clrkey, clrkeylen, token->key, digestsize); in make_clrkey_token() 942 .digestsize = SHA##x##_DIGEST_SIZE, \
|
| /linux/drivers/crypto/qce/ |
| H A D | common.c | 154 unsigned int digestsize = crypto_ahash_digestsize(ahash); in qce_setup_regs_ahash() local 175 auth_cfg = qce_auth_cfg(rctx->flags, rctx->authklen, digestsize); in qce_setup_regs_ahash() 190 memcpy(auth, rctx->digest, digestsize); in qce_setup_regs_ahash() 192 qce_cpu_to_be32p_array(auth, rctx->digest, digestsize); in qce_setup_regs_ahash() 203 auth_cfg = qce_auth_cfg(rctx->flags, 0, digestsize); in qce_setup_regs_ahash()
|
| /linux/drivers/crypto/bcm/ |
| H A D | spu.h | 131 u8 digestsize; member 269 void spum_ccm_update_iv(unsigned int digestsize,
|
| H A D | cipher.h | 191 unsigned int digestsize; member 398 void (*spu_ccm_update_iv)(unsigned int digestsize,
|
| /linux/security/integrity/ima/ |
| H A D | ima_appraise.c | 452 u32 digestsize = 0; in ima_check_blacklist() local 459 ima_get_modsig_digest(modsig, &hash_algo, &digest, &digestsize); in ima_check_blacklist() 461 rc = is_binary_blacklisted(digest, digestsize); in ima_check_blacklist() 466 process_buffer_measurement(&nop_mnt_idmap, NULL, digest, digestsize, in ima_check_blacklist()
|
| /linux/arch/arm64/crypto/ |
| H A D | sm3-neon-glue.c | 37 .digestsize = SM3_DIGEST_SIZE,
|
| H A D | sm3-ce-glue.c | 45 .digestsize = SM3_DIGEST_SIZE,
|
| H A D | nhpoly1305-neon-glue.c | 50 .digestsize = POLY1305_DIGEST_SIZE,
|
| /linux/arch/x86/crypto/ |
| H A D | nhpoly1305-avx2-glue.c | 51 .digestsize = POLY1305_DIGEST_SIZE,
|
| H A D | nhpoly1305-sse2-glue.c | 51 .digestsize = POLY1305_DIGEST_SIZE,
|
| /linux/arch/arm/crypto/ |
| H A D | nhpoly1305-neon-glue.c | 51 .digestsize = POLY1305_DIGEST_SIZE,
|
| /linux/drivers/crypto/chelsio/ |
| H A D | chcr_algo.h | 327 static inline void copy_hash_init_values(char *key, int digestsize) in copy_hash_init_values() argument 335 switch (digestsize) { in copy_hash_init_values()
|