Home
last modified time | relevance | path

Searched refs:SHA256_DIGEST_SIZE (Results 1 – 25 of 75) sorted by relevance

123

/linux/drivers/crypto/nx/
A Dnx-sha256.c20 __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 Dcrypto.c29 #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 Dcld.h34 #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 Dsha2.h14 #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 Dpurgatory.c19 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 Dsha256_ssse3_glue.c102 .digestsize = SHA256_DIGEST_SIZE,
167 .digestsize = SHA256_DIGEST_SIZE,
243 .digestsize = SHA256_DIGEST_SIZE,
318 .digestsize = SHA256_DIGEST_SIZE,
/linux/crypto/
A Dsha256_generic.c28 const u8 sha256_zero_message_hash[SHA256_DIGEST_SIZE] = {
74 .digestsize = SHA256_DIGEST_SIZE,
A Dhash_info.c40 [HASH_ALGO_SHA256] = SHA256_DIGEST_SIZE,
/linux/arch/sparc/crypto/
A Dsha256_glue.c133 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 Dhash_core.c238 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 Dsha256-spe-glue.c180 __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 Docteon-sha256.c199 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 Dpadlock-sha.c173 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 Dcommon.c155 __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 Dsha.c27 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 Dsha.h17 #define QCE_SHA_MAX_DIGESTSIZE SHA256_DIGEST_SIZE
/linux/drivers/crypto/chelsio/
A Dchcr_algo.h307 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 Dsha256-glue.c68 .digestsize = SHA256_DIGEST_SIZE,
148 .digestsize = SHA256_DIGEST_SIZE,
/linux/include/linux/
A Dpurgatory.h22 extern u8 purgatory_sha256_digest[SHA256_DIGEST_SIZE];
/linux/arch/s390/purgatory/
A Dpurgatory.c18 u8 digest[SHA256_DIGEST_SIZE]; in verify_sha256_digest()
/linux/drivers/crypto/rockchip/
A Drk3288_crypto_ahash.c28 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 Dsafexcel_hash.c791 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 Dcros_ec_codec.c700 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 Dsha256_neon_glue.c67 .digestsize = SHA256_DIGEST_SIZE,
/linux/drivers/crypto/ccree/
A Dcc_aead.h18 #define MAX_MAC_SIZE SHA256_DIGEST_SIZE

Completed in 38 milliseconds

123