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()
142 crypto_skcipher_reqsize(tctx->streamcipher), GFP_KERNEL); in adiantum_setkey()
148 skcipher_request_set_tfm(&data->req, tctx->streamcipher); in adiantum_setkey()
407 skcipher_request_set_tfm(&rctx->u.streamcipher_req, tctx->streamcipher); in adiantum_crypt()
432 struct crypto_skcipher *streamcipher; in adiantum_init_tfm() local
438 streamcipher = crypto_spawn_skcipher(&ictx->streamcipher_spawn); in adiantum_init_tfm()
439 if (IS_ERR(streamcipher)) in adiantum_init_tfm()
440 return PTR_ERR(streamcipher); in adiantum_init_tfm()
454 tctx->streamcipher = streamcipher; in adiantum_init_tfm()
465 crypto_skcipher_reqsize(streamcipher)); in adiantum_init_tfm()
475 crypto_free_skcipher(streamcipher); in adiantum_init_tfm()
483 crypto_free_skcipher(tctx->streamcipher); in adiantum_exit_tfm()