Home
last modified time | relevance | path

Searched refs:skcipher (Results 1 – 5 of 5) sorted by relevance

/crypto/
A Dlskcipher.c224 alg->exit(skcipher); in crypto_lskcipher_exit_tfm()
233 skcipher->base.exit = crypto_lskcipher_exit_tfm; in crypto_lskcipher_init_tfm()
236 return alg->init(skcipher); in crypto_lskcipher_init_tfm()
243 struct lskcipher_instance *skcipher = in crypto_lskcipher_free_instance() local
246 skcipher->free(skcipher); in crypto_lskcipher_free_instance()
275 rblkcipher.min_keysize = skcipher->co.min_keysize; in crypto_lskcipher_report()
277 rblkcipher.ivsize = skcipher->co.ivsize; in crypto_lskcipher_report()
311 struct crypto_lskcipher *skcipher; in crypto_init_lskcipher_ops_sg() local
317 if (IS_ERR(skcipher)) { in crypto_init_lskcipher_ops_sg()
319 return PTR_ERR(skcipher); in crypto_init_lskcipher_ops_sg()
[all …]
A Dskcipher.c275 alg->exit(skcipher); in crypto_skcipher_exit_tfm()
283 skcipher_set_needkey(skcipher); in crypto_skcipher_init_tfm()
290 reqsize += crypto_skcipher_ivsize(skcipher); in crypto_skcipher_init_tfm()
291 reqsize += crypto_skcipher_statesize(skcipher); in crypto_skcipher_init_tfm()
292 crypto_skcipher_set_reqsize(skcipher, reqsize); in crypto_skcipher_init_tfm()
301 return alg->init(skcipher); in crypto_skcipher_init_tfm()
316 struct skcipher_instance *skcipher = in crypto_skcipher_free_instance() local
319 skcipher->free(skcipher); in crypto_skcipher_free_instance()
352 rblkcipher.min_keysize = skcipher->min_keysize; in crypto_skcipher_report()
353 rblkcipher.max_keysize = skcipher->max_keysize; in crypto_skcipher_report()
[all …]
A Dessiv.c52 struct crypto_skcipher *skcipher; member
74 crypto_skcipher_set_flags(tctx->u.skcipher, in essiv_skcipher_setkey()
77 err = crypto_skcipher_setkey(tctx->u.skcipher, key, keylen); in essiv_skcipher_setkey()
149 skcipher_request_set_tfm(subreq, tctx->u.skcipher); in essiv_skcipher_crypt()
302 struct crypto_skcipher *skcipher; in essiv_skcipher_init_tfm() local
306 if (IS_ERR(skcipher)) in essiv_skcipher_init_tfm()
307 return PTR_ERR(skcipher); in essiv_skcipher_init_tfm()
310 crypto_skcipher_reqsize(skcipher)); in essiv_skcipher_init_tfm()
314 crypto_free_skcipher(skcipher); in essiv_skcipher_init_tfm()
318 tctx->u.skcipher = skcipher; in essiv_skcipher_init_tfm()
[all …]
A DMakefile20 crypto_skcipher-y += skcipher.o
A DKconfig868 instantiated either as an skcipher or as an AEAD (depending on the

Completed in 12 milliseconds