Lines Matching refs:skcipher
18 struct crypto_skcipher *skcipher) in crypto_cbc_encrypt_segment() argument
20 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() argument
48 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() local
83 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
95 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_decrypt_segment()
104 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_decrypt_segment()
123 struct crypto_skcipher *skcipher) in crypto_cbc_decrypt_inplace() argument
125 unsigned int bsize = crypto_skcipher_blocksize(skcipher); in crypto_cbc_decrypt_inplace()
133 cipher = skcipher_cipher_simple(skcipher); in crypto_cbc_decrypt_inplace()
157 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in crypto_cbc_decrypt() local
165 err = crypto_cbc_decrypt_inplace(&walk, skcipher); in crypto_cbc_decrypt()
167 err = crypto_cbc_decrypt_segment(&walk, skcipher); in crypto_cbc_decrypt()