Lines Matching refs:opad
207 &ctx->base.opad, req->state_sz); in safexcel_context_control()
276 memcpy(sreq->state, &ctx->base.opad, sreq->digest_sz); in safexcel_handle_req_result()
707 &ctx->base.opad, req->state_sz)))) in safexcel_ahash_enqueue()
1063 unsigned int keylen, u8 *ipad, u8 *opad) in safexcel_hmac_init_pad() argument
1099 memcpy(opad, ipad, blocksize); in safexcel_hmac_init_pad()
1103 opad[i] ^= HMAC_OPAD_VALUE; in safexcel_hmac_init_pad()
1149 u8 *ipad, *opad; in __safexcel_hmac_setkey() local
1171 opad = ipad + blocksize; in __safexcel_hmac_setkey()
1173 ret = safexcel_hmac_init_pad(areq, blocksize, key, keylen, ipad, opad); in __safexcel_hmac_setkey()
1181 ret = safexcel_hmac_init_iv(areq, blocksize, opad, ostate); in __safexcel_hmac_setkey()
1207 memcmp(&base->opad, ostate.state, state_sz))) in safexcel_hmac_setkey()
1211 memcpy(&base->opad, &ostate.state, state_sz); in safexcel_hmac_setkey()
2421 &ctx->base.opad, in safexcel_sha3_fbcheck()
2803 memmove(&ctx->base.opad, in safexcel_hmac_sha3_setkey()
2818 memcpy(&ctx->base.opad, in safexcel_hmac_sha3_setkey()
2828 memset(&ctx->base.opad, 0, crypto_ahash_blocksize(tfm) / 2); in safexcel_hmac_sha3_setkey()
2830 memset(ctx->base.opad.byte + keylen - in safexcel_hmac_sha3_setkey()