Home
last modified time | relevance | path

Searched refs:SHA512_DIGEST_SIZE (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.1.9/drivers/crypto/nx/
Dnx-sha512.c19 __be64 state[SHA512_DIGEST_SIZE / 8];
88 memcpy(csbcpb->cpb.sha512.message_digest, sctx->state, SHA512_DIGEST_SIZE); in nx_sha512_update()
97 data_len = SHA512_DIGEST_SIZE; in nx_sha512_update()
102 if (data_len != SHA512_DIGEST_SIZE) { in nx_sha512_update()
155 SHA512_DIGEST_SIZE); in nx_sha512_update()
178 memcpy(sctx->state, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_update()
209 SHA512_DIGEST_SIZE); in nx_sha512_final()
232 len = SHA512_DIGEST_SIZE; in nx_sha512_final()
251 memcpy(out, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_final()
276 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/include/crypto/
Dsha2.h20 #define SHA512_DIGEST_SIZE 64 macro
65 extern const u8 sha512_zero_message_hash[SHA512_DIGEST_SIZE];
74 u64 state[SHA512_DIGEST_SIZE / 8];
/linux-6.1.9/drivers/crypto/aspeed/
Daspeed-hace-hash.c157 SHA512_DIGEST_SIZE, in aspeed_ahash_dma_prepare()
202 SHA512_DIGEST_SIZE, in aspeed_ahash_dma_prepare_sg()
274 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_dma_prepare_sg()
309 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_transfer()
370 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_hmac_resume()
386 SHA512_DIGEST_SIZE, in aspeed_ahash_hmac_resume()
411 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_hmac_resume()
429 SHA512_DIGEST_SIZE, in aspeed_ahash_req_final()
459 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_req_final()
481 SHA512_DIGEST_SIZE, DMA_BIDIRECTIONAL); in aspeed_ahash_update_resume_sg()
[all …]
Daspeed-hace.h211 u8 digest[SHA512_DIGEST_SIZE] __aligned(64);
/linux-6.1.9/arch/x86/crypto/
Dsha512_ssse3_glue.c101 .digestsize = SHA512_DIGEST_SIZE,
177 .digestsize = SHA512_DIGEST_SIZE,
243 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.h317 static const u64 chcr_sha384_init[SHA512_DIGEST_SIZE / 8] = {
322 static const u64 chcr_sha512_init[SHA512_DIGEST_SIZE / 8] = {
352 case SHA512_DIGEST_SIZE: in copy_hash_init_values()
Dchcr_algo.c173 u8 temp[SHA512_DIGEST_SIZE]; in chcr_verify_tag()
297 case SHA512_DIGEST_SIZE: in chcr_alloc_shash()
335 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE); in chcr_compute_partial_hash()
337 } else if (digest_size == SHA512_DIGEST_SIZE) { in chcr_compute_partial_hash()
341 memcpy(result_hash, sha512_st.state, SHA512_DIGEST_SIZE); in chcr_compute_partial_hash()
353 if (ds == SHA512_DIGEST_SIZE) { in chcr_change_order()
1536 params->result_size = SHA512_DIGEST_SIZE; in get_alg_config()
1538 case SHA512_DIGEST_SIZE: in get_alg_config()
1541 params->result_size = SHA512_DIGEST_SIZE; in get_alg_config()
2100 updated_digestsize = SHA512_DIGEST_SIZE; in chcr_handle_ahash_resp()
[all …]
/linux-6.1.9/crypto/
Dhash_info.c42 [HASH_ALGO_SHA512] = SHA512_DIGEST_SIZE,
Dsha512_generic.c31 const u8 sha512_zero_message_hash[SHA512_DIGEST_SIZE] = {
179 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/arch/arm/crypto/
Dsha512-neon-glue.c86 .digestsize = SHA512_DIGEST_SIZE,
Dsha512-glue.c72 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/drivers/crypto/ccree/
Dcc_hash.h18 #define CC_MAX_HASH_DIGEST_SIZE SHA512_DIGEST_SIZE
/linux-6.1.9/drivers/crypto/keembay/
Docs-hcu.h58 u8 digest[SHA512_DIGEST_SIZE];
Dkeembay-ocs-hcu-core.c597 case SHA512_DIGEST_SIZE: in kmb_ocs_hcu_init()
786 case SHA512_DIGEST_SIZE: in kmb_ocs_hcu_setkey()
1098 .digestsize = SHA512_DIGEST_SIZE,
1123 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/arch/arm64/crypto/
Dsha512-glue.c56 .digestsize = SHA512_DIGEST_SIZE,
Dsha512-ce-glue.c102 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/drivers/crypto/inside-secure/
Dsafexcel_hash.c797 SHA512_DIGEST_SIZE); in safexcel_ahash_final()
1531 req->state_sz = SHA512_DIGEST_SIZE; in safexcel_sha512_init()
1532 req->digest_sz = SHA512_DIGEST_SIZE; in safexcel_sha512_init()
1560 .digestsize = SHA512_DIGEST_SIZE,
1588 req->state_sz = SHA512_DIGEST_SIZE; in safexcel_sha384_init()
1589 req->digest_sz = SHA512_DIGEST_SIZE; in safexcel_sha384_init()
1640 SHA512_DIGEST_SIZE); in safexcel_hmac_sha512_setkey()
1651 memcpy(req->state, &ctx->base.ipad, SHA512_DIGEST_SIZE); in safexcel_hmac_sha512_init()
1658 req->state_sz = SHA512_DIGEST_SIZE; in safexcel_hmac_sha512_init()
1659 req->digest_sz = SHA512_DIGEST_SIZE; in safexcel_hmac_sha512_init()
[all …]
/linux-6.1.9/include/linux/
Dfsverity.h23 #define FS_VERITY_MAX_DIGEST_SIZE SHA512_DIGEST_SIZE
/linux-6.1.9/fs/crypto/
Dhkdf.c29 #define HKDF_HASHLEN SHA512_DIGEST_SIZE
/linux-6.1.9/drivers/crypto/
Datmel-sha.c94 u8 digest[SHA512_DIGEST_SIZE] __aligned(sizeof(u32));
457 case SHA512_DIGEST_SIZE: in atmel_sha_init()
507 hashsize = SHA512_DIGEST_SIZE; in atmel_sha_write_ctrl()
512 hashsize = SHA512_DIGEST_SIZE; in atmel_sha_write_ctrl()
940 hashsize = SHA512_DIGEST_SIZE; in atmel_sha_copy_hash()
979 memcpy(req->result, ctx->digest, SHA512_DIGEST_SIZE); in atmel_sha_copy_ready_hash()
1313 .halg.digestsize = SHA512_DIGEST_SIZE,
1714 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
1719 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
2070 .halg.digestsize = SHA512_DIGEST_SIZE,
[all …]
/linux-6.1.9/arch/s390/crypto/
Dsha512_s390.c67 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/arch/sparc/crypto/
Dsha512_glue.c117 .digestsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/drivers/crypto/caam/
Dcaamalg.c70 SHA512_DIGEST_SIZE * 2)
2199 .maxauthsize = SHA512_DIGEST_SIZE,
2439 .maxauthsize = SHA512_DIGEST_SIZE,
2461 .maxauthsize = SHA512_DIGEST_SIZE,
2712 .maxauthsize = SHA512_DIGEST_SIZE,
2735 .maxauthsize = SHA512_DIGEST_SIZE,
2977 .maxauthsize = SHA512_DIGEST_SIZE,
2999 .maxauthsize = SHA512_DIGEST_SIZE,
3267 .maxauthsize = SHA512_DIGEST_SIZE,
3291 .maxauthsize = SHA512_DIGEST_SIZE,
[all …]
/linux-6.1.9/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c653 if (authsize != SHA512_DIGEST_SIZE && in otx_cpt_aead_set_authsize()
729 swap_data64(sha512->state, SHA512_DIGEST_SIZE); in copy_pad()
730 memcpy(out_pad, &sha512->state, SHA512_DIGEST_SIZE); in copy_pad()
989 ds = SHA512_DIGEST_SIZE; in create_aead_ctx_hdr()
1481 .maxauthsize = SHA512_DIGEST_SIZE,
1557 .maxauthsize = SHA512_DIGEST_SIZE,
/linux-6.1.9/arch/mips/cavium-octeon/crypto/
Docteon-sha512.c192 .digestsize = SHA512_DIGEST_SIZE,

12