Searched refs:TSS_rawhmac (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/security/keys/ |
D | trusted.c | 76 static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, in TSS_rawhmac() function 163 ret = TSS_rawhmac(digest, key, keylen, SHA1_DIGEST_SIZE, in TSS_authhmac() 239 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() 421 return TSS_rawhmac(s->secret, key, SHA1_DIGEST_SIZE, TPM_NONCE_SIZE, in osap()
|