Lines Matching refs:ostate
1184 void *istate, void *ostate) in mv_cesa_ahmac_setkey() argument
1223 ret = mv_cesa_ahmac_iv_state_init(req, opad, ostate, blocksize); in mv_cesa_ahmac_setkey()
1263 struct md5_state istate, ostate; in mv_cesa_ahmac_md5_setkey() local
1266 ret = mv_cesa_ahmac_setkey("mv-md5", key, keylen, &istate, &ostate); in mv_cesa_ahmac_md5_setkey()
1273 for (i = 0; i < ARRAY_SIZE(ostate.hash); i++) in mv_cesa_ahmac_md5_setkey()
1274 ctx->iv[i + 8] = cpu_to_be32(ostate.hash[i]); in mv_cesa_ahmac_md5_setkey()
1334 struct sha1_state istate, ostate; in mv_cesa_ahmac_sha1_setkey() local
1337 ret = mv_cesa_ahmac_setkey("mv-sha1", key, keylen, &istate, &ostate); in mv_cesa_ahmac_sha1_setkey()
1344 for (i = 0; i < ARRAY_SIZE(ostate.state); i++) in mv_cesa_ahmac_sha1_setkey()
1345 ctx->iv[i + 8] = cpu_to_be32(ostate.state[i]); in mv_cesa_ahmac_sha1_setkey()
1392 struct sha256_state istate, ostate; in mv_cesa_ahmac_sha256_setkey() local
1395 ret = mv_cesa_ahmac_setkey("mv-sha256", key, keylen, &istate, &ostate); in mv_cesa_ahmac_sha256_setkey()
1402 for (i = 0; i < ARRAY_SIZE(ostate.state); i++) in mv_cesa_ahmac_sha256_setkey()
1403 ctx->iv[i + 8] = cpu_to_be32(ostate.state[i]); in mv_cesa_ahmac_sha256_setkey()