Searched refs:ipad (Results 1 – 1 of 1) sorted by relevance
/crypto/ |
D | hmac.c | 50 char *ipad = crypto_shash_ctx_aligned(parent); in hmac_setkey() local 51 char *opad = ipad + ss; in hmac_setkey() 65 err = crypto_shash_digest(shash, inkey, keylen, ipad); in hmac_setkey() 71 memcpy(ipad, inkey, keylen); in hmac_setkey() 73 memset(ipad + keylen, 0, bs - keylen); in hmac_setkey() 74 memcpy(opad, ipad, bs); in hmac_setkey() 77 ipad[i] ^= 0x36; in hmac_setkey() 82 crypto_shash_update(shash, ipad, bs) ?: in hmac_setkey() 83 crypto_shash_export(shash, ipad) ?: in hmac_setkey()
|