Lines Matching refs:opad
24 u32 opad[SHA512_DIGEST_SIZE / sizeof(u32)]; member
157 ctx->opad, req->state_sz); in safexcel_context_control()
226 memcpy(sreq->state, ctx->opad, sreq->state_sz); in safexcel_handle_req_result()
604 ctx->opad, req->state_sz)))) in safexcel_ahash_enqueue()
926 unsigned int keylen, u8 *ipad, u8 *opad) in safexcel_hmac_init_pad() argument
963 memcpy(opad, ipad, blocksize); in safexcel_hmac_init_pad()
967 opad[i] ^= HMAC_OPAD_VALUE; in safexcel_hmac_init_pad()
1012 u8 *ipad, *opad; in safexcel_hmac_setkey() local
1034 opad = ipad + blocksize; in safexcel_hmac_setkey()
1036 ret = safexcel_hmac_init_pad(areq, blocksize, key, keylen, ipad, opad); in safexcel_hmac_setkey()
1044 ret = safexcel_hmac_init_iv(areq, blocksize, opad, ostate); in safexcel_hmac_setkey()
1071 memcmp(ctx->opad, ostate.state, state_sz))) in safexcel_hmac_alg_setkey()
1075 memcpy(ctx->opad, &ostate.state, state_sz); in safexcel_hmac_alg_setkey()