Home
last modified time | relevance | path

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

123

/linux/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/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/crypto/asymmetric_keys/
A Dasym_tpm.c37 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_loadkey2()
73 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_loadkey2()
82 SHA1_DIGEST_SIZE, 0, 0); in tpm_loadkey2()
115 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_unbind()
166 keyauth, SHA1_DIGEST_SIZE, in tpm_unbind()
198 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_sign()
249 keyauth, SHA1_DIGEST_SIZE, in tpm_sign()
509 uint8_t srkauth[SHA1_DIGEST_SIZE]; in tpm_key_decrypt()
510 uint8_t keyauth[SHA1_DIGEST_SIZE]; in tpm_key_decrypt()
633 uint8_t srkauth[SHA1_DIGEST_SIZE]; in tpm_key_sign()
[all …]
/linux/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/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/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/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,
/linux/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/drivers/crypto/ux500/hash/
A Dhash_core.c48 static const u8 zero_message_hmac_sha1[SHA1_DIGEST_SIZE] = {
232 SHA1_DIGEST_SIZE); in get_empty_message_digest()
233 *zero_hash_size = SHA1_DIGEST_SIZE; in get_empty_message_digest()
251 SHA1_DIGEST_SIZE); in get_empty_message_digest()
252 *zero_hash_size = SHA1_DIGEST_SIZE; in get_empty_message_digest()
1282 loop_ctr = SHA1_DIGEST_SIZE / sizeof(u32); in hash_get_digest()
1370 ctx->digestsize = SHA1_DIGEST_SIZE; in ahash_sha1_init()
1436 ctx->digestsize = SHA1_DIGEST_SIZE; in hmac_sha1_init()
1534 .halg.digestsize = SHA1_DIGEST_SIZE,
1581 .halg.digestsize = SHA1_DIGEST_SIZE,
/linux/drivers/crypto/rockchip/
A Drk3288_crypto_ahash.c25 case SHA1_DIGEST_SIZE: in zero_message_process()
213 case SHA1_DIGEST_SIZE: in rk_ahash_start()
326 .digestsize = SHA1_DIGEST_SIZE,
/linux/arch/arm/crypto/
A Dsha1_glue.c54 .digestsize = SHA1_DIGEST_SIZE,
A Dsha1-ce-glue.c71 .digestsize = SHA1_DIGEST_SIZE,
A Dsha1_neon_glue.c71 .digestsize = SHA1_DIGEST_SIZE,
/linux/arch/s390/crypto/
A Dsha1_s390.c69 .digestsize = SHA1_DIGEST_SIZE,
/linux/drivers/crypto/qce/
A Dsha.c349 if (digestsize == SHA1_DIGEST_SIZE) in qce_ahash_hmac_setkey()
416 .digestsize = SHA1_DIGEST_SIZE,
434 .digestsize = SHA1_DIGEST_SIZE,
/linux/arch/powerpc/crypto/
A Dsha1.c116 .digestsize = SHA1_DIGEST_SIZE,
A Dsha1-spe-glue.c170 .digestsize = SHA1_DIGEST_SIZE,
/linux/arch/arm64/crypto/
A Dsha1-ce-glue.c126 .digestsize = SHA1_DIGEST_SIZE,
/linux/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/arch/sparc/crypto/
A Dsha1_glue.c130 .digestsize = SHA1_DIGEST_SIZE,
/linux/security/integrity/ima/
A Dima_queue.c235 digest_size = SHA1_DIGEST_SIZE; in ima_init_digests()
/linux/arch/mips/cavium-octeon/crypto/
A Docteon-sha1.c202 .digestsize = SHA1_DIGEST_SIZE,
/linux/security/integrity/
A Dintegrity.h91 u8 digest[SHA1_DIGEST_SIZE];

Completed in 37 milliseconds

123