Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dskcipher.c71 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_encrypt_blkcipher() local
72 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_blkcipher()
80 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_decrypt_blkcipher() local
81 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_blkcipher()
97 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_init_skcipher_ops_blkcipher() local
116 skcipher->setkey = skcipher_setkey_blkcipher; in crypto_init_skcipher_ops_blkcipher()
117 skcipher->encrypt = skcipher_encrypt_blkcipher; in crypto_init_skcipher_ops_blkcipher()
118 skcipher->decrypt = skcipher_decrypt_blkcipher; in crypto_init_skcipher_ops_blkcipher()
120 skcipher->ivsize = crypto_blkcipher_ivsize(blkcipher); in crypto_init_skcipher_ops_blkcipher()
121 skcipher->has_setkey = calg->cra_blkcipher.max_keysize; in crypto_init_skcipher_ops_blkcipher()
[all …]
Dalgif_skcipher.c35 struct crypto_skcipher *skcipher; member
302 struct crypto_skcipher *tfm = skc->skcipher; in skcipher_sendmsg()
508 struct crypto_skcipher *tfm = skc->skcipher; in skcipher_recvmsg_async()
644 struct crypto_skcipher *tfm = skc->skcipher; in skcipher_recvmsg_sync()
859 struct crypto_skcipher *skcipher; in skcipher_bind() local
865 skcipher = crypto_alloc_skcipher(name, type, mask); in skcipher_bind()
866 if (IS_ERR(skcipher)) { in skcipher_bind()
868 return ERR_CAST(skcipher); in skcipher_bind()
871 tfm->skcipher = skcipher; in skcipher_bind()
880 crypto_free_skcipher(tfm->skcipher); in skcipher_release()
[all …]
DMakefile20 crypto_blkcipher-y += skcipher.o