Searched refs:istate (Results 1 – 3 of 3) sorted by relevance
/drivers/crypto/marvell/cesa/ |
D | hash.c | 1184 void *istate, void *ostate) in mv_cesa_ahmac_setkey() argument 1219 ret = mv_cesa_ahmac_iv_state_init(req, ipad, istate, 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() 1270 for (i = 0; i < ARRAY_SIZE(istate.hash); i++) in mv_cesa_ahmac_md5_setkey() 1271 ctx->iv[i] = cpu_to_be32(istate.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() 1341 for (i = 0; i < ARRAY_SIZE(istate.state); i++) in mv_cesa_ahmac_sha1_setkey() 1342 ctx->iv[i] = cpu_to_be32(istate.state[i]); in mv_cesa_ahmac_sha1_setkey() [all …]
|
/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_device.c | 631 s32 istate = (s32)atomic_read(state_ptr); in lio_get_state_string() local 633 if (istate > OCT_DEV_STATES || istate < 0) in lio_get_state_string() 635 return oct_dev_state_str[istate]; in lio_get_state_string()
|
/drivers/crypto/inside-secure/ |
D | safexcel_hash.c | 1118 void *istate, void *ostate) in __safexcel_hmac_setkey() argument 1151 ret = safexcel_hmac_init_iv(areq, blocksize, ipad, istate); in __safexcel_hmac_setkey() 1172 struct safexcel_ahash_export_state istate, ostate; in safexcel_hmac_setkey() local 1175 ret = __safexcel_hmac_setkey(alg, key, keylen, &istate, &ostate); in safexcel_hmac_setkey() 1180 (memcmp(&base->ipad, istate.state, state_sz) || in safexcel_hmac_setkey() 1184 memcpy(&base->ipad, &istate.state, state_sz); in safexcel_hmac_setkey()
|