Home
last modified time | relevance | path

Searched refs:digestsize (Results 1 – 25 of 152) sorted by relevance

1234567

/linux/drivers/crypto/caam/
A Dcaamhash.c276 digestsize, ctx->ctx_len); in axcbc_set_sh_desc()
299 digestsize, ctx->ctx_len); in axcbc_set_sh_desc()
328 digestsize, ctx->ctx_len); in acmac_set_sh_desc()
348 digestsize, ctx->ctx_len); in acmac_set_sh_desc()
360 u32 digestsize) in hash_digest_key() argument
410 digestsize, 1); in hash_digest_key()
414 *keylen = digestsize; in hash_digest_key()
664 digestsize, 1); in ahash_done_switch()
1180 digestsize, DMA_FROM_DEVICE); in ahash_final_no_ctx()
1719 .digestsize = AES_BLOCK_SIZE,
[all …]
A Dcaamhash_desc.c29 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()
A Dcaamhash_desc.h25 int digestsize, int ctx_len, bool import_ctx, int era);
28 int digestsize, int ctx_len);
/linux/drivers/crypto/qce/
A Dsha.c56 memcpy(rctx->digest, result->auth_iv, digestsize); in qce_ahash_done()
283 tmpl->alg.ahash.halg.digestsize); in qce_ahash_final()
320 tmpl->alg.ahash.halg.digestsize); in qce_ahash_digest()
349 if (digestsize == SHA1_DIGEST_SIZE) in qce_ahash_hmac_setkey()
351 else if (digestsize == SHA256_DIGEST_SIZE) in qce_ahash_hmac_setkey()
405 unsigned int digestsize; member
416 .digestsize = SHA1_DIGEST_SIZE,
425 .digestsize = SHA256_DIGEST_SIZE,
434 .digestsize = SHA1_DIGEST_SIZE,
443 .digestsize = SHA256_DIGEST_SIZE,
[all …]
/linux/drivers/crypto/bcm/
A Dcipher.c685 unsigned int digestsize; in handle_ahash_req() local
778 digestsize = spu->spu_digest_size(ctx->digestsize, ctx->auth.alg, in handle_ahash_req()
780 hash_parms.digestsize = digestsize; in handle_ahash_req()
1280 unsigned int digestsize = ctx->digestsize; in handle_aead_req() local
1314 hash_parms.digestsize = digestsize; in handle_aead_req()
1408 digestsize); in handle_aead_req()
1423 digestsize); in handle_aead_req()
2410 ctx->digestsize = digestsize; in ahash_hmac_setkey()
2529 (ctx->digestsize != 8) && (ctx->digestsize != 12) && in aead_need_fallback()
2846 ctx->digestsize = 0; in aead_authenc_setkey()
[all …]
A Dspu.c557 u32 digestsize = alg_digest_size; in spum_digest_size() local
564 digestsize = SHA256_DIGEST_SIZE; in spum_digest_size()
566 digestsize = SHA512_DIGEST_SIZE; in spum_digest_size()
568 return digestsize; in spum_digest_size()
630 cipher_len -= hash_parms->digestsize; in spum_create_request()
633 auth_len -= hash_parms->digestsize; in spum_create_request()
725 if (hash_parms->digestsize == 64) in spum_create_request()
729 (hash_parms->digestsize / 4) << ICV_SIZE_SHIFT; in spum_create_request()
768 data_size -= hash_parms->digestsize; in spum_create_request()
1141 void spum_ccm_update_iv(unsigned int digestsize, in spum_ccm_update_iv() argument
[all …]
/linux/drivers/crypto/ccree/
A Dcc_hash.c118 unsigned int digestsize) in cc_map_result() argument
125 digestsize); in cc_map_result()
411 digestsize, NS_BIT); in cc_fin_hmac()
733 int digestsize = 0; in cc_hash_setkey() local
803 digestsize, NS_BIT, 0); in cc_hash_setkey()
815 digestsize), in cc_hash_setkey()
1322 digestsize, NS_BIT, 1); in cc_mac_final()
1403 digestsize, NS_BIT, 1); in cc_mac_finup()
1734 .digestsize = MD5_DIGEST_SIZE,
1784 .digestsize = AES_BLOCK_SIZE,
[all …]
/linux/arch/x86/crypto/
A Dsha256_ssse3_glue.c102 .digestsize = SHA256_DIGEST_SIZE,
116 .digestsize = SHA224_DIGEST_SIZE,
167 .digestsize = SHA256_DIGEST_SIZE,
181 .digestsize = SHA224_DIGEST_SIZE,
243 .digestsize = SHA256_DIGEST_SIZE,
257 .digestsize = SHA224_DIGEST_SIZE,
318 .digestsize = SHA256_DIGEST_SIZE,
332 .digestsize = SHA224_DIGEST_SIZE,
A Dsha512_ssse3_glue.c100 .digestsize = SHA512_DIGEST_SIZE,
114 .digestsize = SHA384_DIGEST_SIZE,
176 .digestsize = SHA512_DIGEST_SIZE,
190 .digestsize = SHA384_DIGEST_SIZE,
242 .digestsize = SHA512_DIGEST_SIZE,
256 .digestsize = SHA384_DIGEST_SIZE,
A Dsha1_ssse3_glue.c88 .digestsize = SHA1_DIGEST_SIZE,
137 .digestsize = SHA1_DIGEST_SIZE,
219 .digestsize = SHA1_DIGEST_SIZE,
269 .digestsize = SHA1_DIGEST_SIZE,
/linux/drivers/crypto/allwinner/sun8i-ce/
A Dsun8i-ce-hash.c274 int digestsize; in sun8i_ce_hash_run() local
281 digestsize = algt->alg.hash.halg.digestsize; in sun8i_ce_hash_run()
282 if (digestsize == SHA224_DIGEST_SIZE) in sun8i_ce_hash_run()
283 digestsize = SHA256_DIGEST_SIZE; in sun8i_ce_hash_run()
284 if (digestsize == SHA384_DIGEST_SIZE) in sun8i_ce_hash_run()
285 digestsize = SHA512_DIGEST_SIZE; in sun8i_ce_hash_run()
295 result = kzalloc(digestsize, GFP_KERNEL | GFP_DMA); in sun8i_ce_hash_run()
339 addr_res = dma_map_single(ce->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ce_hash_run()
341 cet->t_dst[0].len = cpu_to_le32(digestsize / 4); in sun8i_ce_hash_run()
410 dma_unmap_single(ce->dev, addr_res, digestsize, DMA_FROM_DEVICE); in sun8i_ce_hash_run()
[all …]
/linux/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-hash.c327 int nr_sgs, err, digestsize; in sun8i_ss_hash_run() local
340 digestsize = algt->alg.hash.halg.digestsize; in sun8i_ss_hash_run()
341 if (digestsize == SHA224_DIGEST_SIZE) in sun8i_ss_hash_run()
342 digestsize = SHA256_DIGEST_SIZE; in sun8i_ss_hash_run()
350 result = kzalloc(digestsize, GFP_KERNEL | GFP_DMA); in sun8i_ss_hash_run()
374 addr_res = dma_map_single(ss->dev, result, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run()
388 rctx->t_dst[i].len = digestsize / 4; in sun8i_ss_hash_run()
427 rctx->t_dst[i].len = digestsize / 4; in sun8i_ss_hash_run()
439 dma_unmap_single(ss->dev, addr_res, digestsize, DMA_FROM_DEVICE); in sun8i_ss_hash_run()
441 memcpy(areq->result, result, algt->alg.hash.halg.digestsize); in sun8i_ss_hash_run()
/linux/arch/arm64/crypto/
A Dsha3-ce-glue.c110 .digestsize = SHA3_224_DIGEST_SIZE,
121 .digestsize = SHA3_256_DIGEST_SIZE,
132 .digestsize = SHA3_384_DIGEST_SIZE,
143 .digestsize = SHA3_512_DIGEST_SIZE,
A Dsha256-glue.c68 .digestsize = SHA256_DIGEST_SIZE,
80 .digestsize = SHA224_DIGEST_SIZE,
148 .digestsize = SHA256_DIGEST_SIZE,
160 .digestsize = SHA224_DIGEST_SIZE,
A Dsha512-glue.c56 .digestsize = SHA512_DIGEST_SIZE,
68 .digestsize = SHA384_DIGEST_SIZE,
/linux/drivers/crypto/keembay/
A Dkeembay-ocs-hcu-core.c773 switch (digestsize) { in kmb_ocs_hcu_setkey()
813 ctx->key_len = digestsize; in kmb_ocs_hcu_setkey()
897 .digestsize = SHA224_DIGEST_SIZE,
922 .digestsize = SHA224_DIGEST_SIZE,
948 .digestsize = SHA256_DIGEST_SIZE,
973 .digestsize = SHA256_DIGEST_SIZE,
998 .digestsize = SM3_DIGEST_SIZE,
1023 .digestsize = SM3_DIGEST_SIZE,
1048 .digestsize = SHA384_DIGEST_SIZE,
1073 .digestsize = SHA384_DIGEST_SIZE,
[all …]
/linux/drivers/crypto/ux500/hash/
A Dhash_core.c945 memcpy(req->result, digest, ctx->digestsize); in hash_dma_final()
1008 zero_hash_size == ctx->digestsize ? in hash_hw_final()
1370 ctx->digestsize = SHA1_DIGEST_SIZE; in ahash_sha1_init()
1383 ctx->digestsize = SHA256_DIGEST_SIZE; in ahash_sha256_init()
1436 ctx->digestsize = SHA1_DIGEST_SIZE; in hmac_sha1_init()
1449 ctx->digestsize = SHA256_DIGEST_SIZE; in hmac_sha256_init()
1518 ctx->digestsize = hash_alg->hash.halg.digestsize; in hash_cra_init()
1534 .halg.digestsize = SHA1_DIGEST_SIZE,
1557 .halg.digestsize = SHA256_DIGEST_SIZE,
1581 .halg.digestsize = SHA1_DIGEST_SIZE,
[all …]
/linux/arch/arm/crypto/
A Dsha256_neon_glue.c67 .digestsize = SHA256_DIGEST_SIZE,
81 .digestsize = SHA224_DIGEST_SIZE,
A Dsha512-neon-glue.c71 .digestsize = SHA384_DIGEST_SIZE,
86 .digestsize = SHA512_DIGEST_SIZE,
A Dsha256_glue.c58 .digestsize = SHA256_DIGEST_SIZE,
72 .digestsize = SHA224_DIGEST_SIZE,
A Dsha2-ce-glue.c74 .digestsize = SHA224_DIGEST_SIZE,
88 .digestsize = SHA256_DIGEST_SIZE,
A Dsha512-glue.c58 .digestsize = SHA384_DIGEST_SIZE,
72 .digestsize = SHA512_DIGEST_SIZE,
/linux/crypto/
A Dsha3_generic.c241 .digestsize = SHA3_224_DIGEST_SIZE,
251 .digestsize = SHA3_256_DIGEST_SIZE,
261 .digestsize = SHA3_384_DIGEST_SIZE,
271 .digestsize = SHA3_512_DIGEST_SIZE,
A Dsha256_generic.c74 .digestsize = SHA256_DIGEST_SIZE,
88 .digestsize = SHA224_DIGEST_SIZE,
/linux/drivers/crypto/inside-secure/
A Dsafexcel_hash.c993 .digestsize = SHA1_DIGEST_SIZE,
1245 .digestsize = SHA1_DIGEST_SIZE,
1302 .digestsize = SHA256_DIGEST_SIZE,
1818 .digestsize = MD5_DIGEST_SIZE,
1891 .digestsize = MD5_DIGEST_SIZE,
1972 .digestsize = sizeof(u32),
2063 .digestsize = AES_BLOCK_SIZE,
2158 .digestsize = AES_BLOCK_SIZE,
2254 .digestsize = AES_BLOCK_SIZE,
2311 .digestsize = SM3_DIGEST_SIZE,
[all …]

Completed in 58 milliseconds

1234567