/Linux-v6.1/drivers/crypto/nx/ |
D | nx-sha512.c | 19 __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-v6.1/include/crypto/ |
D | sha2.h | 20 #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-v6.1/drivers/crypto/aspeed/ |
D | aspeed-hace-hash.c | 157 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 …]
|
D | aspeed-hace.h | 211 u8 digest[SHA512_DIGEST_SIZE] __aligned(64);
|
/Linux-v6.1/arch/x86/crypto/ |
D | sha512_ssse3_glue.c | 101 .digestsize = SHA512_DIGEST_SIZE, 177 .digestsize = SHA512_DIGEST_SIZE, 243 .digestsize = SHA512_DIGEST_SIZE,
|
/Linux-v6.1/drivers/crypto/chelsio/ |
D | chcr_algo.h | 317 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()
|
D | chcr_algo.c | 173 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-v6.1/crypto/ |
D | hash_info.c | 42 [HASH_ALGO_SHA512] = SHA512_DIGEST_SIZE,
|
D | sha512_generic.c | 31 const u8 sha512_zero_message_hash[SHA512_DIGEST_SIZE] = { 179 .digestsize = SHA512_DIGEST_SIZE,
|
/Linux-v6.1/arch/arm/crypto/ |
D | sha512-neon-glue.c | 86 .digestsize = SHA512_DIGEST_SIZE,
|
D | sha512-glue.c | 72 .digestsize = SHA512_DIGEST_SIZE,
|
/Linux-v6.1/drivers/crypto/ccree/ |
D | cc_hash.h | 18 #define CC_MAX_HASH_DIGEST_SIZE SHA512_DIGEST_SIZE
|
/Linux-v6.1/drivers/crypto/keembay/ |
D | ocs-hcu.h | 58 u8 digest[SHA512_DIGEST_SIZE];
|
D | keembay-ocs-hcu-core.c | 597 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-v6.1/arch/arm64/crypto/ |
D | sha512-glue.c | 56 .digestsize = SHA512_DIGEST_SIZE,
|
D | sha512-ce-glue.c | 102 .digestsize = SHA512_DIGEST_SIZE,
|
/Linux-v6.1/drivers/crypto/inside-secure/ |
D | safexcel_hash.c | 797 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-v6.1/include/linux/ |
D | fsverity.h | 23 #define FS_VERITY_MAX_DIGEST_SIZE SHA512_DIGEST_SIZE
|
/Linux-v6.1/fs/crypto/ |
D | hkdf.c | 29 #define HKDF_HASHLEN SHA512_DIGEST_SIZE
|
/Linux-v6.1/drivers/crypto/ |
D | atmel-sha.c | 94 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-v6.1/arch/s390/crypto/ |
D | sha512_s390.c | 67 .digestsize = SHA512_DIGEST_SIZE,
|
/Linux-v6.1/drivers/crypto/caam/ |
D | caamalg.c | 70 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-v6.1/arch/sparc/crypto/ |
D | sha512_glue.c | 117 .digestsize = SHA512_DIGEST_SIZE,
|
/Linux-v6.1/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 653 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-v6.1/arch/mips/cavium-octeon/crypto/ |
D | octeon-sha512.c | 192 .digestsize = SHA512_DIGEST_SIZE,
|