Lines Matching refs:streamcipher
71 struct crypto_skcipher *streamcipher; member
132 crypto_skcipher_clear_flags(tctx->streamcipher, CRYPTO_TFM_REQ_MASK); in adiantum_setkey()
133 crypto_skcipher_set_flags(tctx->streamcipher, in adiantum_setkey()
136 err = crypto_skcipher_setkey(tctx->streamcipher, key, keylen); in adiantum_setkey()
138 crypto_skcipher_get_flags(tctx->streamcipher) & in adiantum_setkey()
145 crypto_skcipher_reqsize(tctx->streamcipher), GFP_KERNEL); in adiantum_setkey()
151 skcipher_request_set_tfm(&data->req, tctx->streamcipher); in adiantum_setkey()
385 skcipher_request_set_tfm(&rctx->u.streamcipher_req, tctx->streamcipher); in adiantum_crypt()
410 struct crypto_skcipher *streamcipher; in adiantum_init_tfm() local
416 streamcipher = crypto_spawn_skcipher(&ictx->streamcipher_spawn); in adiantum_init_tfm()
417 if (IS_ERR(streamcipher)) in adiantum_init_tfm()
418 return PTR_ERR(streamcipher); in adiantum_init_tfm()
432 tctx->streamcipher = streamcipher; in adiantum_init_tfm()
443 crypto_skcipher_reqsize(streamcipher)); in adiantum_init_tfm()
453 crypto_free_skcipher(streamcipher); in adiantum_init_tfm()
461 crypto_free_skcipher(tctx->streamcipher); in adiantum_exit_tfm()