Home
last modified time | relevance | path

Searched refs:TSS_rawhmac (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/security/keys/trusted-keys/
H A Dtrusted_tpm1.c68 static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, in TSS_rawhmac() function
158 ret = TSS_rawhmac(digest, key, keylen, SHA1_DIGEST_SIZE, in TSS_authhmac()
238 ret = TSS_rawhmac(testhmac, key, keylen, SHA1_DIGEST_SIZE, paramdigest, in TSS_checkhmac1()
332 ret = TSS_rawhmac(testhmac1, key1, keylen1, SHA1_DIGEST_SIZE, in TSS_checkhmac2()
341 ret = TSS_rawhmac(testhmac2, key2, keylen2, SHA1_DIGEST_SIZE, in TSS_checkhmac2()
419 return TSS_rawhmac(s->secret, key, SHA1_DIGEST_SIZE, TPM_NONCE_SIZE, in osap()
/kernel/linux/linux-5.10/security/keys/trusted-keys/
H A Dtrusted_tpm1.c75 static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, in TSS_rawhmac() function
165 ret = TSS_rawhmac(digest, key, keylen, SHA1_DIGEST_SIZE, in TSS_authhmac()
245 ret = TSS_rawhmac(testhmac, key, keylen, SHA1_DIGEST_SIZE, paramdigest, in TSS_checkhmac1()
339 ret = TSS_rawhmac(testhmac1, key1, keylen1, SHA1_DIGEST_SIZE, in TSS_checkhmac2()
348 ret = TSS_rawhmac(testhmac2, key2, keylen2, SHA1_DIGEST_SIZE, in TSS_checkhmac2()
426 return TSS_rawhmac(s->secret, key, SHA1_DIGEST_SIZE, TPM_NONCE_SIZE, in osap()

Completed in 3 milliseconds