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()
376 skcipher_request_set_tfm(&rctx->u.streamcipher_req, tctx->streamcipher); in adiantum_crypt()
401 struct crypto_skcipher *streamcipher; in adiantum_init_tfm() local
407 streamcipher = crypto_spawn_skcipher(&ictx->streamcipher_spawn); in adiantum_init_tfm()
408 if (IS_ERR(streamcipher)) in adiantum_init_tfm()
409 return PTR_ERR(streamcipher); in adiantum_init_tfm()
423 tctx->streamcipher = streamcipher; in adiantum_init_tfm()
434 crypto_skcipher_reqsize(streamcipher)); in adiantum_init_tfm()
444 crypto_free_skcipher(streamcipher); in adiantum_init_tfm()
452 crypto_free_skcipher(tctx->streamcipher); in adiantum_exit_tfm()