Home
last modified time | relevance | path

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

123

/openbmc/linux/security/keys/trusted-keys/
H 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 …]
/openbmc/linux/include/crypto/
H 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)
H A Dsha1_base.h102 for (i = 0; i < SHA1_DIGEST_SIZE / sizeof(__be32); i++) in sha1_base_finish()
/openbmc/linux/include/keys/
H 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()
/openbmc/linux/crypto/
H A Dsha1_generic.c23 const u8 sha1_zero_message_hash[SHA1_DIGEST_SIZE] = {
64 .digestsize = SHA1_DIGEST_SIZE,
H A Dhash_info.c38 [HASH_ALGO_SHA1] = SHA1_DIGEST_SIZE,
/openbmc/linux/arch/x86/crypto/
H A Dsha1_ssse3_glue.c97 .digestsize = SHA1_DIGEST_SIZE,
146 .digestsize = SHA1_DIGEST_SIZE,
228 .digestsize = SHA1_DIGEST_SIZE,
278 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/drivers/crypto/
H 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,
/openbmc/u-boot/drivers/crypto/fsl/
H A Dfsl_hash.c18 #define SHA1_DIGEST_SIZE 20 macro
35 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/drivers/crypto/chelsio/
H 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()
/openbmc/linux/arch/arm/crypto/
H A Dsha1_glue.c52 .digestsize = SHA1_DIGEST_SIZE,
H A Dsha1-ce-glue.c71 .digestsize = SHA1_DIGEST_SIZE,
H A Dsha1_neon_glue.c69 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/arch/s390/crypto/
H A Dsha1_s390.c69 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c71 case SHA1_DIGEST_SIZE: in zero_message_process()
285 case SHA1_DIGEST_SIZE: in rk_hash_run()
386 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/qemu/crypto/
H A Dpbkdf-nettle.c77 SHA1_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
H A Dhash-nettle.c63 .len = SHA1_DIGEST_SIZE,
H A Dhmac-nettle.c60 .len = SHA1_DIGEST_SIZE,
/openbmc/linux/arch/powerpc/crypto/
H A Dsha1.c106 .digestsize = SHA1_DIGEST_SIZE,
H A Dsha1-spe-glue.c157 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/arch/arm64/crypto/
H A Dsha1-ce-glue.c126 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/drivers/crypto/qce/
H A Dsha.c351 if (digestsize == SHA1_DIGEST_SIZE) in qce_ahash_hmac_setkey()
418 .digestsize = SHA1_DIGEST_SIZE,
436 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/arch/sparc/crypto/
H A Dsha1_glue.c120 .digestsize = SHA1_DIGEST_SIZE,
/openbmc/linux/drivers/nfc/s3fwrn5/
H 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()
/openbmc/linux/security/integrity/ima/
H A Dima_queue.c235 digest_size = SHA1_DIGEST_SIZE; in ima_init_digests()

123