Home
last modified time | relevance | path

Searched refs:crypto_lskcipher (Results 1 – 7 of 7) sorted by relevance

/linux/include/crypto/
A Dskcipher.h63 struct crypto_lskcipher { struct
309 struct crypto_lskcipher *tfm) in crypto_lskcipher_tfm()
360 struct crypto_lskcipher *tfm) in crypto_lskcipher_driver_name()
380 struct crypto_lskcipher *tfm) in crypto_lskcipher_alg()
416 struct crypto_lskcipher *tfm) in crypto_lskcipher_ivsize()
448 struct crypto_lskcipher *tfm) in crypto_lskcipher_blocksize()
482 struct crypto_lskcipher *tfm) in crypto_lskcipher_chunksize()
516 struct crypto_lskcipher *tfm) in crypto_lskcipher_statesize()
534 struct crypto_lskcipher *tfm) in crypto_lskcipher_alignmask()
648 struct crypto_lskcipher *tfm) in crypto_lskcipher_min_keysize()
[all …]
/linux/crypto/
A Dlskcipher.c20 static inline struct crypto_lskcipher *__crypto_lskcipher_cast( in __crypto_lskcipher_cast()
23 return container_of(tfm, struct crypto_lskcipher, base); in __crypto_lskcipher_cast()
125 int (*crypt)(struct crypto_lskcipher *tfm, in crypto_lskcipher_crypt()
159 int (*crypt)(struct crypto_lskcipher *tfm, in crypto_lskcipher_crypt_sg()
167 struct crypto_lskcipher *tfm = *ctx; in crypto_lskcipher_crypt_sg()
296 .tfmsize = offsetof(struct crypto_lskcipher, base),
301 struct crypto_lskcipher **ctx = crypto_tfm_ctx(tfm); in crypto_lskcipher_exit_tfm_sg()
308 struct crypto_lskcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_lskcipher_ops_sg()
310 struct crypto_lskcipher *skcipher; in crypto_init_lskcipher_ops_sg()
439 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_init_tfm_simple()
[all …]
A Dcbc.c15 static int crypto_cbc_encrypt_segment(struct crypto_lskcipher *tfm, in crypto_cbc_encrypt_segment()
30 static int crypto_cbc_encrypt_inplace(struct crypto_lskcipher *tfm, in crypto_cbc_encrypt_inplace()
53 static int crypto_cbc_encrypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_cbc_encrypt()
56 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_cbc_encrypt()
58 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_encrypt()
69 static int crypto_cbc_decrypt_segment(struct crypto_lskcipher *tfm, in crypto_cbc_decrypt_segment()
94 static int crypto_cbc_decrypt_inplace(struct crypto_lskcipher *tfm, in crypto_cbc_decrypt_inplace()
122 static int crypto_cbc_decrypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_cbc_decrypt()
125 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_cbc_decrypt()
127 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_decrypt()
A Darc4.c19 static int crypto_arc4_setkey(struct crypto_lskcipher *tfm, const u8 *in_key, in crypto_arc4_setkey()
27 static int crypto_arc4_crypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_arc4_crypt()
41 static int crypto_arc4_init(struct crypto_lskcipher *tfm) in crypto_arc4_init()
A Decb.c34 static int crypto_ecb_encrypt2(struct crypto_lskcipher *tfm, const u8 *src, in crypto_ecb_encrypt2()
45 static int crypto_ecb_decrypt2(struct crypto_lskcipher *tfm, const u8 *src, in crypto_ecb_decrypt2()
56 static int lskcipher_setkey_simple2(struct crypto_lskcipher *tfm, in lskcipher_setkey_simple2()
68 static int lskcipher_init_tfm_simple2(struct crypto_lskcipher *tfm) in lskcipher_init_tfm_simple2()
84 static void lskcipher_exit_tfm_simple2(struct crypto_lskcipher *tfm) in lskcipher_exit_tfm_simple2()
A Dskcipher.c605 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(tfm); in crypto_skcipher_setkey()
757 return sizeof(struct crypto_lskcipher *); in crypto_skcipher_extsize()
/linux/include/crypto/internal/
A Dskcipher.h112 struct crypto_lskcipher *lskcipher) in lskcipher_alg_instance()
175 static inline struct crypto_lskcipher *crypto_spawn_lskcipher( in crypto_spawn_lskcipher()
230 static inline void *crypto_lskcipher_ctx(struct crypto_lskcipher *tfm) in crypto_lskcipher_ctx()
283 static inline struct crypto_lskcipher *lskcipher_cipher_simple( in lskcipher_cipher_simple()
284 struct crypto_lskcipher *tfm) in lskcipher_cipher_simple()
286 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_cipher_simple()

Completed in 14 milliseconds