Lines Matching refs:opad
24 u32 opad[SHA512_DIGEST_SIZE / sizeof(u32)]; member
144 ctx->opad, req->state_sz); in safexcel_context_control()
852 unsigned int keylen, u8 *ipad, u8 *opad) in safexcel_hmac_init_pad() argument
889 memcpy(opad, ipad, blocksize); in safexcel_hmac_init_pad()
893 opad[i] ^= HMAC_OPAD_VALUE; in safexcel_hmac_init_pad()
938 u8 *ipad, *opad; in safexcel_hmac_setkey() local
960 opad = ipad + blocksize; in safexcel_hmac_setkey()
962 ret = safexcel_hmac_init_pad(areq, blocksize, key, keylen, ipad, opad); in safexcel_hmac_setkey()
970 ret = safexcel_hmac_init_iv(areq, blocksize, opad, ostate); in safexcel_hmac_setkey()
998 ctx->opad[i] != le32_to_cpu(ostate.state[i])) { in safexcel_hmac_alg_setkey()
1006 memcpy(ctx->opad, &ostate.state, state_sz); in safexcel_hmac_alg_setkey()