Searched refs:skcipher (Results 1 – 6 of 6) sorted by relevance
18 struct crypto_skcipher *skcipher) in crypto_cbc_encrypt_segment() argument20 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_encrypt_segment()29 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_encrypt_segment()46 struct crypto_skcipher *skcipher) in crypto_cbc_encrypt_inplace() argument48 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_encrypt_inplace()56 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_encrypt_inplace()75 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in crypto_cbc_encrypt() local83 err = crypto_cbc_encrypt_inplace(&walk, skcipher); in crypto_cbc_encrypt()85 err = crypto_cbc_encrypt_segment(&walk, skcipher); in crypto_cbc_encrypt()93 struct crypto_skcipher *skcipher) in crypto_cbc_decrypt_segment() argument[all …]
683 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_skcipher_exit_tfm() local684 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_exit_tfm()686 alg->exit(skcipher); in crypto_skcipher_exit_tfm()691 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_skcipher_init_tfm() local692 struct skcipher_alg *alg = crypto_skcipher_alg(skcipher); in crypto_skcipher_init_tfm()694 skcipher_set_needkey(skcipher); in crypto_skcipher_init_tfm()697 skcipher->base.exit = crypto_skcipher_exit_tfm; in crypto_skcipher_init_tfm()700 return alg->init(skcipher); in crypto_skcipher_init_tfm()707 struct skcipher_instance *skcipher = in crypto_skcipher_free_instance() local710 skcipher->free(skcipher); in crypto_skcipher_free_instance()[all …]
52 struct crypto_skcipher *skcipher; member73 crypto_skcipher_clear_flags(tctx->u.skcipher, CRYPTO_TFM_REQ_MASK); in essiv_skcipher_setkey()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() local305 skcipher = crypto_spawn_skcipher(&ictx->u.skcipher_spawn); in essiv_skcipher_init_tfm()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()[all …]
136 struct skcipher_testvec skcipher; member200 const struct skcipher_testvec *vec = &test->skcipher; in fips_test_aes_library()227 const struct skcipher_testvec *vec = &test->skcipher; in fips_test_skcipher()577 .skcipher = {650 .skcipher = {691 .skcipher = {709 .skcipher = {735 .skcipher = {753 .skcipher = {
19 obj-$(CONFIG_CRYPTO_SKCIPHER2) += skcipher.o
948 instantiated either as an skcipher or as an AEAD (depending on the