Searched refs:authdata (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/crypto/asymmetric_keys/ |
D | asym_tpm.c | 37 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_loadkey2() local 60 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_loadkey2() 73 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_loadkey2() 115 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_unbind() local 140 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_unbind() 155 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_unbind() 198 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_sign() local 223 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_sign() 238 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_sign()
|
/Linux-v5.15/security/keys/trusted-keys/ |
D | trusted_tpm1.c | 182 unsigned char *authdata; in TSS_checkhmac1() local 202 authdata = buffer + bufsize - SHA1_DIGEST_SIZE; in TSS_checkhmac1() 203 continueflag = authdata - 1; in TSS_checkhmac1() 244 if (memcmp(testhmac, authdata, SHA1_DIGEST_SIZE)) in TSS_checkhmac1()
|