Searched refs:keylen (Results 1 – 2 of 2) sorted by relevance
/security/keys/ |
D | trusted.c | 77 unsigned int keylen, ...) in TSS_rawhmac() argument 91 ret = crypto_shash_setkey(hmacalg, key, keylen); in TSS_rawhmac() 98 va_start(argp, keylen); in TSS_rawhmac() 124 unsigned int keylen, unsigned char *h1, in TSS_authhmac() argument 163 ret = TSS_rawhmac(digest, key, keylen, SHA1_DIGEST_SIZE, in TSS_authhmac() 178 unsigned int keylen, ...) in TSS_checkhmac1() argument 223 va_start(argp, keylen); in TSS_checkhmac1() 239 ret = TSS_rawhmac(testhmac, key, keylen, SHA1_DIGEST_SIZE, paramdigest, in TSS_checkhmac1() 807 long keylen; in datablob_parse() local 823 ret = kstrtol(c, 10, &keylen); in datablob_parse() [all …]
|
/security/keys/encrypted-keys/ |
D | encrypted.c | 345 static int calc_hmac(u8 *digest, const u8 *key, unsigned int keylen, in calc_hmac() argument 357 ret = crypto_shash_setkey(hmacalg, key, keylen); in calc_hmac()
|