Lines Matching refs:skcipher
17 struct crypto_skcipher *skcipher) in crypto_cbc_encrypt_segment() argument
19 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_encrypt_segment()
28 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_encrypt_segment()
45 struct crypto_skcipher *skcipher) in crypto_cbc_encrypt_inplace() argument
47 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_encrypt_inplace()
55 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_encrypt_inplace()
74 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in crypto_cbc_encrypt() local
82 err = crypto_cbc_encrypt_inplace(&walk, skcipher); in crypto_cbc_encrypt()
84 err = crypto_cbc_encrypt_segment(&walk, skcipher); in crypto_cbc_encrypt()
92 struct crypto_skcipher *skcipher) in crypto_cbc_decrypt_segment() argument
94 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_decrypt_segment()
103 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_decrypt_segment()
122 struct crypto_skcipher *skcipher) in crypto_cbc_decrypt_inplace() argument
124 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_decrypt_inplace()
132 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_decrypt_inplace()
156 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in crypto_cbc_decrypt() local
164 err = crypto_cbc_decrypt_inplace(&walk, skcipher); in crypto_cbc_decrypt()
166 err = crypto_cbc_decrypt_segment(&walk, skcipher); in crypto_cbc_decrypt()