Home
last modified time | relevance | path

Searched refs:SHA1_DIGEST_SIZE (Results 1 – 25 of 65) sorted by relevance

123

/linux-6.3-rc2/security/keys/trusted-keys/
A Dtrusted_tpm1.c183 unsigned char testhmac[SHA1_DIGEST_SIZE]; in TSS_checkhmac1()
273 unsigned char testhmac1[SHA1_DIGEST_SIZE]; in TSS_checkhmac2()
292 + SHA1_DIGEST_SIZE + SHA1_DIGEST_SIZE); in TSS_checkhmac2()
446 unsigned char encauth[SHA1_DIGEST_SIZE];
447 unsigned char pubauth[SHA1_DIGEST_SIZE];
449 unsigned char xorhash[SHA1_DIGEST_SIZE];
489 memcpy(td->xorwork + SHA1_DIGEST_SIZE, sess.enonce, SHA1_DIGEST_SIZE); in tpm_seal()
509 for (i = 0; i < SHA1_DIGEST_SIZE; ++i) in tpm_seal()
645 keyauth, SHA1_DIGEST_SIZE, in tpm_unseal()
646 blobauth, SHA1_DIGEST_SIZE, in tpm_unseal()
[all …]
/linux-6.3-rc2/include/crypto/
A Dsha1.h11 #define SHA1_DIGEST_SIZE 20 macro
20 extern const u8 sha1_zero_message_hash[SHA1_DIGEST_SIZE];
23 u32 state[SHA1_DIGEST_SIZE / 4];
41 #define SHA1_DIGEST_WORDS (SHA1_DIGEST_SIZE / 4)
A Dsha1_base.h102 for (i = 0; i < SHA1_DIGEST_SIZE / sizeof(__be32); i++) in sha1_base_finish()
/linux-6.3-rc2/include/keys/
A Dtrusted_tpm.h23 unsigned char secret[SHA1_DIGEST_SIZE];
71 16, 1, &s->secret, SHA1_DIGEST_SIZE, 0); in dump_sess()
74 16, 1, &s->enonce, SHA1_DIGEST_SIZE, 0); in dump_sess()
/linux-6.3-rc2/arch/x86/crypto/
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-6.3-rc2/crypto/
A Dsha1_generic.c23 const u8 sha1_zero_message_hash[SHA1_DIGEST_SIZE] = {
64 .digestsize = SHA1_DIGEST_SIZE,
A Dhash_info.c38 [HASH_ALGO_SHA1] = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/drivers/crypto/
A Dpadlock-sha.c112 memcpy(result, &state.state, SHA1_DIGEST_SIZE); in padlock_sha1_finup()
222 .digestsize = SHA1_DIGEST_SIZE,
295 memcpy(dst, (u8 *)(sctx->state), SHA1_DIGEST_SIZE); in padlock_sha1_update_nano()
323 memcpy((u8 *)(sctx->state), dst, SHA1_DIGEST_SIZE); in padlock_sha1_update_nano()
458 .digestsize = SHA1_DIGEST_SIZE,
A Datmel-sha.c441 case SHA1_DIGEST_SIZE: in atmel_sha_init()
492 hashsize = SHA1_DIGEST_SIZE; in atmel_sha_write_ctrl()
930 hashsize = SHA1_DIGEST_SIZE; in atmel_sha_copy_hash()
963 memcpy(req->result, ctx->digest, SHA1_DIGEST_SIZE); in atmel_sha_copy_ready_hash()
1279 .halg.digestsize = SHA1_DIGEST_SIZE,
1699 ctx->hash_size = SHA1_DIGEST_SIZE; in atmel_sha_hmac_setup()
2042 .halg.digestsize = SHA1_DIGEST_SIZE,
2331 authctx->digestlen = SHA1_DIGEST_SIZE; in atmel_sha_authenc_final()
/linux-6.3-rc2/drivers/crypto/chelsio/
A Dchcr_algo.h214 _bs == SHA1_DIGEST_SIZE ? 12 : 0; })
303 static const u32 chcr_sha1_init[SHA1_DIGEST_SIZE / 4] = {
336 case SHA1_DIGEST_SIZE: in copy_hash_init_values()
/linux-6.3-rc2/arch/arm/crypto/
A Dsha1_glue.c52 .digestsize = SHA1_DIGEST_SIZE,
A Dsha1-ce-glue.c71 .digestsize = SHA1_DIGEST_SIZE,
A Dsha1_neon_glue.c71 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/drivers/crypto/rockchip/
A Drk3288_crypto_ahash.c65 case SHA1_DIGEST_SIZE: in zero_message_process()
276 case SHA1_DIGEST_SIZE: in rk_hash_run()
377 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/arch/s390/crypto/
A Dsha1_s390.c69 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/arch/powerpc/crypto/
A Dsha1.c106 .digestsize = SHA1_DIGEST_SIZE,
A Dsha1-spe-glue.c157 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/drivers/crypto/qce/
A Dsha.c351 if (digestsize == SHA1_DIGEST_SIZE) in qce_ahash_hmac_setkey()
418 .digestsize = SHA1_DIGEST_SIZE,
436 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/arch/arm64/crypto/
A Dsha1-ce-glue.c126 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/arch/sparc/crypto/
A Dsha1_glue.c120 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/drivers/nfc/s3fwrn5/
A Dfirmware.c413 u8 hash_data[SHA1_DIGEST_SIZE]; in s3fwrn5_fw_download()
441 SHA1_DIGEST_SIZE, fw_info->sig, fw_info->sig_size); in s3fwrn5_fw_download()
/linux-6.3-rc2/security/integrity/ima/
A Dima_queue.c235 digest_size = SHA1_DIGEST_SIZE; in ima_init_digests()
/linux-6.3-rc2/arch/mips/cavium-octeon/crypto/
A Docteon-sha1.c189 .digestsize = SHA1_DIGEST_SIZE,
/linux-6.3-rc2/lib/
A Ddigsig.c205 unsigned char hash[SHA1_DIGEST_SIZE]; in digsig_verify()
/linux-6.3-rc2/security/integrity/
A Dintegrity.h94 u8 digest[SHA1_DIGEST_SIZE];

Completed in 38 milliseconds

123