Lines Matching full:ipad
2391 * So keeping the generation of IPAD, OPAD and in ahash_hmac_setkey()
2395 memcpy(ctx->ipad, ctx->authkey, ctx->authkeylen); in ahash_hmac_setkey()
2396 memset(ctx->ipad + ctx->authkeylen, 0, in ahash_hmac_setkey()
2399 unsafe_memcpy(ctx->opad, ctx->ipad, blocksize, in ahash_hmac_setkey()
2403 ctx->ipad[index] ^= HMAC_IPAD_VALUE; in ahash_hmac_setkey()
2407 flow_dump(" ipad: ", ctx->ipad, blocksize); in ahash_hmac_setkey()
2433 /* start with a prepended ipad */ in ahash_hmac_init()
2434 memcpy(rctx->hash_carry, ctx->ipad, blocksize); in ahash_hmac_init()
2482 * hardware, need not to generate IPAD, OPAD and in ahash_hmac_digest()
2493 /* start with a prepended ipad */ in ahash_hmac_digest()
2494 memcpy(rctx->hash_carry, ctx->ipad, blocksize); in ahash_hmac_digest()