Lines Matching refs:opad
206 &ctx->base.opad, req->state_sz); in safexcel_context_control()
275 memcpy(sreq->state, &ctx->base.opad, sreq->digest_sz); in safexcel_handle_req_result()
706 &ctx->base.opad, req->state_sz)))) in safexcel_ahash_enqueue()
1062 unsigned int keylen, u8 *ipad, u8 *opad) in safexcel_hmac_init_pad() argument
1098 memcpy(opad, ipad, blocksize); in safexcel_hmac_init_pad()
1102 opad[i] ^= HMAC_OPAD_VALUE; in safexcel_hmac_init_pad()
1148 u8 *ipad, *opad; in __safexcel_hmac_setkey() local
1170 opad = ipad + blocksize; in __safexcel_hmac_setkey()
1172 ret = safexcel_hmac_init_pad(areq, blocksize, key, keylen, ipad, opad); in __safexcel_hmac_setkey()
1180 ret = safexcel_hmac_init_iv(areq, blocksize, opad, ostate); in __safexcel_hmac_setkey()
1206 memcmp(&base->opad, ostate.state, state_sz))) in safexcel_hmac_setkey()
1210 memcpy(&base->opad, &ostate.state, state_sz); in safexcel_hmac_setkey()
2441 &ctx->base.opad, in safexcel_sha3_fbcheck()
2823 memmove(&ctx->base.opad, in safexcel_hmac_sha3_setkey()
2838 memcpy(&ctx->base.opad, in safexcel_hmac_sha3_setkey()
2848 memset(&ctx->base.opad, 0, crypto_ahash_blocksize(tfm) / 2); in safexcel_hmac_sha3_setkey()
2850 memset(ctx->base.opad.byte + keylen - in safexcel_hmac_sha3_setkey()