Lines Matching refs:opad
515 * for calculating ipad and opad
604 kfree(ctx->opad);
742 u8 *ipad = NULL, *opad = NULL;
755 ctx->opad = kzalloc(bs, GFP_KERNEL);
756 if (!ctx->opad) {
767 opad = kzalloc(state_size, GFP_KERNEL);
768 if (!opad) {
785 memcpy(opad, ipad, bs);
789 opad[icount] ^= 0x5c;
807 crypto_shash_update(&ctx->sdesc->shash, opad, bs);
808 crypto_shash_export(&ctx->sdesc->shash, opad);
809 ret = copy_pad(ctx->mac_type, ctx->opad, opad);
814 kfree(opad);
821 kfree(ctx->opad);
822 ctx->opad = NULL;
824 kfree(opad);
987 if (ctx->opad)
988 memcpy(fctx->hmac.e.opad, ctx->opad, ds);