Lines Matching full:ipad
84 tfmctx->ipad = kzalloc(bs, GFP_KERNEL); in sun8i_ss_hmac_setkey()
85 if (!tfmctx->ipad) in sun8i_ss_hmac_setkey()
94 memcpy(tfmctx->ipad, tfmctx->key, tfmctx->keylen); in sun8i_ss_hmac_setkey()
97 tfmctx->ipad[i] ^= HMAC_IPAD_VALUE; in sun8i_ss_hmac_setkey()
108 kfree_sensitive(tfmctx->ipad); in sun8i_ss_hmac_setkey()
154 kfree_sensitive(tfmctx->ipad); in sun8i_ss_hash_exit_tfm()
510 * 1: IPAD in sun8i_ss_hash_run()
589 /* shift all SG one slot up, to free slot 0 for IPAD */ in sun8i_ss_hash_run()
596 addr_xpad = dma_map_single(ss->dev, tfmctx->ipad, bs, DMA_TO_DEVICE); in sun8i_ss_hash_run()
599 dev_err(ss->dev, "Fail to create DMA mapping of ipad\n"); in sun8i_ss_hash_run()
678 * MAP xpad (ipad) in sun8i_ss_hash_run()