Lines Matching refs:skcipher
3 * ESSIV skcipher and aead template for block encryption
6 * dm-crypt and fscrypt, which converts the initial vector for the skcipher
8 * skcipher key as encryption key. Usually, the input IV is a 64-bit sector
12 * The typical use of this template is to instantiate the skcipher
35 #include <crypto/internal/skcipher.h>
52 struct crypto_skcipher *skcipher;
73 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK);
74 crypto_skcipher_set_flags(tctx->u.skcipher,
77 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen);
149 skcipher_request_set_tfm(subreq, tctx->u.skcipher);
302 struct crypto_skcipher *skcipher;
305 skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn);
306 if (IS_ERR(skcipher))
307 return PTR_ERR(skcipher);
310 crypto_skcipher_reqsize(skcipher));
314 crypto_free_skcipher(skcipher);
318 tctx->u.skcipher = skcipher;
359 crypto_free_skcipher(tctx->u.skcipher);
527 pr_warn("Failed to parse ESSIV cipher name from skcipher cra_name\n");
649 MODULE_DESCRIPTION("ESSIV skcipher/aead wrapper for block encryption");