Lines Matching defs:streamcipher
71 struct crypto_skcipher *streamcipher;
132 crypto_skcipher_clear_flags(tctx->streamcipher, CRYPTO_TFM_REQ_MASK);
133 crypto_skcipher_set_flags(tctx->streamcipher,
136 err = crypto_skcipher_setkey(tctx->streamcipher, key, keylen);
142 crypto_skcipher_reqsize(tctx->streamcipher), GFP_KERNEL);
148 skcipher_request_set_tfm(&data->req, tctx->streamcipher);
376 skcipher_request_set_tfm(&rctx->u.streamcipher_req, tctx->streamcipher);
401 struct crypto_skcipher *streamcipher;
407 streamcipher = crypto_spawn_skcipher(&ictx->streamcipher_spawn);
408 if (IS_ERR(streamcipher))
409 return PTR_ERR(streamcipher);
423 tctx->streamcipher = streamcipher;
434 crypto_skcipher_reqsize(streamcipher));
444 crypto_free_skcipher(streamcipher);
452 crypto_free_skcipher(tctx->streamcipher);