Lines Matching full:ipad
67 tfmctx->ipad = kzalloc(bs, GFP_KERNEL); in sun8i_ss_hmac_setkey()
68 if (!tfmctx->ipad) in sun8i_ss_hmac_setkey()
77 memcpy(tfmctx->ipad, tfmctx->key, tfmctx->keylen); in sun8i_ss_hmac_setkey()
80 tfmctx->ipad[i] ^= HMAC_IPAD_VALUE; in sun8i_ss_hmac_setkey()
91 kfree_sensitive(tfmctx->ipad); in sun8i_ss_hmac_setkey()
137 kfree_sensitive(tfmctx->ipad); in sun8i_ss_hash_exit_tfm()
493 * 1: IPAD in sun8i_ss_hash_run()
572 /* shift all SG one slot up, to free slot 0 for IPAD */ in sun8i_ss_hash_run()
579 addr_xpad = dma_map_single(ss->dev, tfmctx->ipad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run()
582 dev_err(ss->dev, "Fail to create DMA mapping of ipad\n"); in sun8i_ss_hash_run()
661 * MAP xpad (ipad) in sun8i_ss_hash_run()