/linux/drivers/crypto/nx/ |
A D | nx-sha256.c | 20 __be32 state[SHA256_DIGEST_SIZE / 4]; 88 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_update() 97 data_len = SHA256_DIGEST_SIZE; in nx_sha256_update() 102 if (data_len != SHA256_DIGEST_SIZE) { in nx_sha256_update() 151 SHA256_DIGEST_SIZE); in nx_sha256_update() 175 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_update() 204 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_final() 223 len = SHA256_DIGEST_SIZE; in nx_sha256_final() 226 if (len != SHA256_DIGEST_SIZE) { in nx_sha256_final() 245 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_final() [all …]
|
/linux/net/mptcp/ |
A D | crypto.c | 29 #define SHA256_DIGEST_WORDS (SHA256_DIGEST_SIZE / 4) 46 u8 input[SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE]; in mptcp_crypto_hmac_sha() 51 if (WARN_ON_ONCE(len > SHA256_DIGEST_SIZE)) in mptcp_crypto_hmac_sha() 52 len = SHA256_DIGEST_SIZE; in mptcp_crypto_hmac_sha() 78 sha256(input, SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE, hmac); in mptcp_crypto_hmac_sha()
|
/linux/include/uapi/linux/nfsd/ |
A D | cld.h | 34 #ifndef SHA256_DIGEST_SIZE 35 #define SHA256_DIGEST_SIZE 32 macro 56 unsigned char cp_data[SHA256_DIGEST_SIZE]; /* hash of principal */
|
/linux/include/crypto/ |
A D | sha2.h | 14 #define SHA256_DIGEST_SIZE 32 macro 61 extern const u8 sha256_zero_message_hash[SHA256_DIGEST_SIZE]; 68 u32 state[SHA256_DIGEST_SIZE / 4];
|
/linux/arch/x86/purgatory/ |
A D | purgatory.c | 19 u8 purgatory_sha256_digest[SHA256_DIGEST_SIZE] __section(".kexec-purgatory"); 26 u8 digest[SHA256_DIGEST_SIZE]; in verify_sha256_digest()
|
/linux/arch/x86/crypto/ |
A D | sha256_ssse3_glue.c | 102 .digestsize = SHA256_DIGEST_SIZE, 167 .digestsize = SHA256_DIGEST_SIZE, 243 .digestsize = SHA256_DIGEST_SIZE, 318 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/crypto/ |
A D | sha256_generic.c | 28 const u8 sha256_zero_message_hash[SHA256_DIGEST_SIZE] = { 74 .digestsize = SHA256_DIGEST_SIZE,
|
A D | hash_info.c | 40 [HASH_ALGO_SHA256] = SHA256_DIGEST_SIZE,
|
/linux/arch/sparc/crypto/ |
A D | sha256_glue.c | 133 u8 D[SHA256_DIGEST_SIZE]; in sha224_sparc64_final() 138 memzero_explicit(D, SHA256_DIGEST_SIZE); in sha224_sparc64_final() 160 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/drivers/crypto/ux500/hash/ |
A D | hash_core.c | 238 SHA256_DIGEST_SIZE); in get_empty_message_digest() 239 *zero_hash_size = SHA256_DIGEST_SIZE; in get_empty_message_digest() 256 SHA256_DIGEST_SIZE); in get_empty_message_digest() 257 *zero_hash_size = SHA256_DIGEST_SIZE; in get_empty_message_digest() 862 u8 digest[SHA256_DIGEST_SIZE]; in hash_dma_final() 969 u8 digest[SHA256_DIGEST_SIZE]; in hash_hw_final() 987 u8 zero_hash[SHA256_DIGEST_SIZE]; in hash_hw_final() 1383 ctx->digestsize = SHA256_DIGEST_SIZE; in ahash_sha256_init() 1449 ctx->digestsize = SHA256_DIGEST_SIZE; in hmac_sha256_init() 1557 .halg.digestsize = SHA256_DIGEST_SIZE, [all …]
|
/linux/arch/powerpc/crypto/ |
A D | sha256-spe-glue.c | 180 __be32 D[SHA256_DIGEST_SIZE >> 2]; in ppc_spe_sha224_final() 195 memzero_explicit(D, SHA256_DIGEST_SIZE); in ppc_spe_sha224_final() 216 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/arch/mips/cavium-octeon/crypto/ |
A D | octeon-sha256.c | 199 u8 D[SHA256_DIGEST_SIZE]; in octeon_sha224_final() 204 memzero_explicit(D, SHA256_DIGEST_SIZE); in octeon_sha224_final() 226 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/drivers/crypto/ |
A D | padlock-sha.c | 173 memcpy(result, &state.state, SHA256_DIGEST_SIZE); in padlock_sha256_finup() 245 .digestsize = SHA256_DIGEST_SIZE, 379 memcpy(dst, (u8 *)(sctx->state), SHA256_DIGEST_SIZE); in padlock_sha256_update_nano() 407 memcpy((u8 *)(sctx->state), dst, SHA256_DIGEST_SIZE); in padlock_sha256_update_nano() 476 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/drivers/crypto/qce/ |
A D | common.c | 155 __be32 auth[SHA256_DIGEST_SIZE / sizeof(__be32)] = {0}; in qce_setup_regs_ahash() 395 static const u32 std_iv_sha1[SHA256_DIGEST_SIZE / sizeof(u32)] = { 399 static const u32 std_iv_sha256[SHA256_DIGEST_SIZE / sizeof(u32)] = { 429 u32 authiv[SHA256_DIGEST_SIZE / sizeof(u32)] = {0}; in qce_setup_regs_aead() 479 auth_ivsize = SHA256_DIGEST_SIZE; in qce_setup_regs_aead()
|
A D | sha.c | 27 static const u32 std_iv_sha1[SHA256_DIGEST_SIZE / sizeof(u32)] = { 31 static const u32 std_iv_sha256[SHA256_DIGEST_SIZE / sizeof(u32)] = { 351 else if (digestsize == SHA256_DIGEST_SIZE) in qce_ahash_hmac_setkey() 425 .digestsize = SHA256_DIGEST_SIZE, 443 .digestsize = SHA256_DIGEST_SIZE,
|
A D | sha.h | 17 #define QCE_SHA_MAX_DIGESTSIZE SHA256_DIGEST_SIZE
|
/linux/drivers/crypto/chelsio/ |
A D | chcr_algo.h | 307 static const u32 chcr_sha224_init[SHA256_DIGEST_SIZE / 4] = { 312 static const u32 chcr_sha256_init[SHA256_DIGEST_SIZE / 4] = { 344 case SHA256_DIGEST_SIZE: in copy_hash_init_values()
|
/linux/arch/arm64/crypto/ |
A D | sha256-glue.c | 68 .digestsize = SHA256_DIGEST_SIZE, 148 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/include/linux/ |
A D | purgatory.h | 22 extern u8 purgatory_sha256_digest[SHA256_DIGEST_SIZE];
|
/linux/arch/s390/purgatory/ |
A D | purgatory.c | 18 u8 digest[SHA256_DIGEST_SIZE]; in verify_sha256_digest()
|
/linux/drivers/crypto/rockchip/ |
A D | rk3288_crypto_ahash.c | 28 case SHA256_DIGEST_SIZE: in zero_message_process() 216 case SHA256_DIGEST_SIZE: in rk_ahash_start() 356 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/drivers/crypto/inside-secure/ |
A D | safexcel_hash.c | 791 SHA256_DIGEST_SIZE); in safexcel_ahash_final() 1273 req->state_sz = SHA256_DIGEST_SIZE; in safexcel_sha256_init() 1274 req->digest_sz = SHA256_DIGEST_SIZE; in safexcel_sha256_init() 1302 .digestsize = SHA256_DIGEST_SIZE, 1330 req->state_sz = SHA256_DIGEST_SIZE; in safexcel_sha224_init() 1331 req->digest_sz = SHA256_DIGEST_SIZE; in safexcel_sha224_init() 1382 SHA256_DIGEST_SIZE); in safexcel_hmac_sha224_setkey() 1400 req->state_sz = SHA256_DIGEST_SIZE; in safexcel_hmac_sha224_init() 1454 SHA256_DIGEST_SIZE); in safexcel_hmac_sha256_setkey() 1472 req->state_sz = SHA256_DIGEST_SIZE; in safexcel_hmac_sha256_init() [all …]
|
/linux/sound/soc/codecs/ |
A D | cros_ec_codec.c | 700 memcpy(pp->hash, digest, SHA256_DIGEST_SIZE); in wov_set_lang_shm() 724 memcpy(pp->hash, digest, SHA256_DIGEST_SIZE); in wov_set_lang() 749 uint8_t digest[SHA256_DIGEST_SIZE]; in wov_hotword_model_put() 764 dev_dbg(priv->dev, "hash=%*phN\n", SHA256_DIGEST_SIZE, digest); in wov_hotword_model_put() 773 if (memcmp(digest, r.hash, SHA256_DIGEST_SIZE) == 0) { in wov_hotword_model_put()
|
/linux/arch/arm/crypto/ |
A D | sha256_neon_glue.c | 67 .digestsize = SHA256_DIGEST_SIZE,
|
/linux/drivers/crypto/ccree/ |
A D | cc_aead.h | 18 #define MAX_MAC_SIZE SHA256_DIGEST_SIZE
|