Lines Matching refs:polyval
46 struct crypto_shash *polyval; member
89 p += crypto_shash_statesize(tctx->polyval); in hctr2_hashed_tweaklen()
111 SHASH_DESC_ON_STACK(shash, tfm->polyval); in hctr2_hash_tweaklen()
115 shash->tfm = tctx->polyval; in hctr2_hash_tweaklen()
159 crypto_shash_clear_flags(tctx->polyval, CRYPTO_TFM_REQ_MASK); in hctr2_setkey()
160 crypto_shash_set_flags(tctx->polyval, crypto_skcipher_get_flags(tfm) & in hctr2_setkey()
162 err = crypto_shash_setkey(tctx->polyval, hbar, BLOCKCIPHER_BLOCK_SIZE); in hctr2_setkey()
179 hash_desc->tfm = tctx->polyval; in hctr2_hash_tweak()
240 hash_desc->tfm = tctx->polyval; in hctr2_finish()
341 struct crypto_shash *polyval; in hctr2_init_tfm() local
355 polyval = crypto_spawn_shash(&ictx->polyval_spawn); in hctr2_init_tfm()
356 if (IS_ERR(polyval)) { in hctr2_init_tfm()
357 err = PTR_ERR(polyval); in hctr2_init_tfm()
363 tctx->polyval = polyval; in hctr2_init_tfm()
368 crypto_shash_descsize(polyval), in hctr2_init_tfm()
375 crypto_shash_statesize(polyval)); in hctr2_init_tfm()
391 crypto_free_shash(tctx->polyval); in hctr2_exit_tfm()