/linux/security/keys/trusted-keys/ |
A D | trusted_tpm1.c | 183 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 D | sha1.h | 11 #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 D | sha1_base.h | 102 for (i = 0; i < SHA1_DIGEST_SIZE / sizeof(__be32); i++) in sha1_base_finish()
|
/linux/crypto/asymmetric_keys/ |
A D | asym_tpm.c | 37 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 D | trusted_tpm.h | 23 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 D | sha1_ssse3_glue.c | 88 .digestsize = SHA1_DIGEST_SIZE, 137 .digestsize = SHA1_DIGEST_SIZE, 219 .digestsize = SHA1_DIGEST_SIZE, 269 .digestsize = SHA1_DIGEST_SIZE,
|
/linux/crypto/ |
A D | sha1_generic.c | 23 const u8 sha1_zero_message_hash[SHA1_DIGEST_SIZE] = { 64 .digestsize = SHA1_DIGEST_SIZE,
|
A D | hash_info.c | 38 [HASH_ALGO_SHA1] = SHA1_DIGEST_SIZE,
|
/linux/drivers/crypto/ |
A D | padlock-sha.c | 112 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 D | chcr_algo.h | 214 _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 D | hash_core.c | 48 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 D | rk3288_crypto_ahash.c | 25 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 D | sha1_glue.c | 54 .digestsize = SHA1_DIGEST_SIZE,
|
A D | sha1-ce-glue.c | 71 .digestsize = SHA1_DIGEST_SIZE,
|
A D | sha1_neon_glue.c | 71 .digestsize = SHA1_DIGEST_SIZE,
|
/linux/arch/s390/crypto/ |
A D | sha1_s390.c | 69 .digestsize = SHA1_DIGEST_SIZE,
|
/linux/drivers/crypto/qce/ |
A D | sha.c | 349 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 D | sha1.c | 116 .digestsize = SHA1_DIGEST_SIZE,
|
A D | sha1-spe-glue.c | 170 .digestsize = SHA1_DIGEST_SIZE,
|
/linux/arch/arm64/crypto/ |
A D | sha1-ce-glue.c | 126 .digestsize = SHA1_DIGEST_SIZE,
|
/linux/drivers/nfc/s3fwrn5/ |
A D | firmware.c | 413 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 D | sha1_glue.c | 130 .digestsize = SHA1_DIGEST_SIZE,
|
/linux/security/integrity/ima/ |
A D | ima_queue.c | 235 digest_size = SHA1_DIGEST_SIZE; in ima_init_digests()
|
/linux/arch/mips/cavium-octeon/crypto/ |
A D | octeon-sha1.c | 202 .digestsize = SHA1_DIGEST_SIZE,
|
/linux/security/integrity/ |
A D | integrity.h | 91 u8 digest[SHA1_DIGEST_SIZE];
|