Searched refs:ipad (Results 1 – 1 of 1) sorted by relevance
/crypto/ |
D | hmac.c | 46 char *ipad = crypto_shash_ctx_aligned(parent); in hmac_setkey() local 47 char *opad = ipad + ss; in hmac_setkey() 59 err = crypto_shash_digest(shash, inkey, keylen, ipad); in hmac_setkey() 65 memcpy(ipad, inkey, keylen); in hmac_setkey() 67 memset(ipad + keylen, 0, bs - keylen); in hmac_setkey() 68 memcpy(opad, ipad, bs); in hmac_setkey() 71 ipad[i] ^= HMAC_IPAD_VALUE; in hmac_setkey() 76 crypto_shash_update(shash, ipad, bs) ?: in hmac_setkey() 77 crypto_shash_export(shash, ipad) ?: in hmac_setkey()
|