Searched refs:TSS_rawhmac (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 68 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()
|