Searched refs:TSS_rawhmac (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/security/keys/ |
| D | trusted.c | 75 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()
|