Home
last modified time | relevance | path

Searched refs:TPM_NONCE_SIZE (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/security/keys/
Dtrusted.c166 paramdigest, TPM_NONCE_SIZE, h1, in TSS_authhmac()
167 TPM_NONCE_SIZE, h2, 1, &c, 0, 0); in TSS_authhmac()
211 enonce = continueflag - TPM_NONCE_SIZE; in TSS_checkhmac1()
246 TPM_NONCE_SIZE, enonce, TPM_NONCE_SIZE, ononce, in TSS_checkhmac1()
303 enonce1 = continueflag1 - TPM_NONCE_SIZE; in TSS_checkhmac2()
304 enonce2 = continueflag2 - TPM_NONCE_SIZE; in TSS_checkhmac2()
340 paramdigest, TPM_NONCE_SIZE, enonce1, in TSS_checkhmac2()
341 TPM_NONCE_SIZE, ononce, 1, continueflag1, 0, 0); in TSS_checkhmac2()
349 paramdigest, TPM_NONCE_SIZE, enonce2, in TSS_checkhmac2()
350 TPM_NONCE_SIZE, ononce, 1, continueflag2, 0, 0); in TSS_checkhmac2()
[all …]
/Linux-v5.4/crypto/asymmetric_keys/
Dasym_tpm.c39 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_loadkey2()
40 unsigned char enonce[TPM_NONCE_SIZE]; in tpm_loadkey2()
57 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_loadkey2()
78 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_loadkey2()
123 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_unbind()
124 unsigned char enonce[TPM_NONCE_SIZE]; in tpm_unbind()
143 ret = tpm_get_random(NULL, nonceodd, TPM_NONCE_SIZE); in tpm_unbind()
166 storebytes(tb, nonceodd, TPM_NONCE_SIZE); in tpm_unbind()
209 unsigned char nonceodd[TPM_NONCE_SIZE]; in tpm_sign()
210 unsigned char enonce[TPM_NONCE_SIZE]; in tpm_sign()
[all …]
/Linux-v5.4/include/linux/
Dtpm_command.h27 #define TPM_NONCE_SIZE 20 macro
/Linux-v5.4/include/keys/
Dtrusted.h30 unsigned char enonce[TPM_NONCE_SIZE];