Home
last modified time | relevance | path

Searched refs:crypto_cipher_tfm (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/include/crypto/internal/
H A Dcipher.h66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() function
77 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher()
111 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize()
116 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask()
121 return crypto_tfm_get_flags(crypto_cipher_tfm(tfm)); in crypto_cipher_get_flags()
127 crypto_tfm_set_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_set_flags()
133 crypto_tfm_clear_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_clear_flags()
217 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()
/kernel/linux/linux-6.6/crypto/
H A Dcipher.c36 ret = cia->cia_setkey(crypto_cipher_tfm(tfm), alignbuffer, keylen); in setkey_unaligned()
55 return cia->cia_setkey(crypto_cipher_tfm(tfm), key, keylen); in crypto_cipher_setkey()
73 fn(crypto_cipher_tfm(tfm), tmp, tmp); in cipher_crypt_one()
76 fn(crypto_cipher_tfm(tfm), dst, src); in cipher_crypt_one()
96 struct crypto_tfm *tfm = crypto_cipher_tfm(cipher); in crypto_clone_cipher()
H A Dcbc.c30 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_encrypt_segment()
57 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_encrypt_inplace()
105 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_decrypt_segment()
134 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_decrypt_inplace()
H A Dxctr.c61 fn(crypto_cipher_tfm(tfm), dst, walk->iv); in crypto_xctr_crypt_segment()
88 fn(crypto_cipher_tfm(tfm), keystream, walk->iv); in crypto_xctr_crypt_inplace()
H A Decb.c32 fn(crypto_cipher_tfm(cipher), dst, src); in crypto_ecb_crypt()
H A Dctr.c59 fn(crypto_cipher_tfm(tfm), dst, ctrblk); in crypto_ctr_crypt_segment()
87 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
H A Dtestmgr.c2725 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher()
/kernel/linux/linux-5.10/crypto/
H A Dcipher.c35 ret = cia->cia_setkey(crypto_cipher_tfm(tfm), alignbuffer, keylen); in setkey_unaligned()
53 return cia->cia_setkey(crypto_cipher_tfm(tfm), key, keylen); in crypto_cipher_setkey()
71 fn(crypto_cipher_tfm(tfm), tmp, tmp); in cipher_crypt_one()
74 fn(crypto_cipher_tfm(tfm), dst, src); in cipher_crypt_one()
H A Dcbc.c29 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_encrypt_segment()
56 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_encrypt_inplace()
104 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_decrypt_segment()
133 tfm = crypto_cipher_tfm(cipher); in crypto_cbc_decrypt_inplace()
H A Decb.c31 fn(crypto_cipher_tfm(cipher), dst, src); in crypto_ecb_crypt()
H A Dctr.c58 fn(crypto_cipher_tfm(tfm), dst, ctrblk); in crypto_ctr_crypt_segment()
86 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
H A Dtestmgr.c2615 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher()
/kernel/linux/linux-5.10/include/linux/
H A Dcrypto.h795 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() function
806 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher()
840 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize()
845 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask()
850 return crypto_tfm_get_flags(crypto_cipher_tfm(tfm)); in crypto_cipher_get_flags()
856 crypto_tfm_set_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_set_flags()
862 crypto_tfm_clear_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_clear_flags()
/kernel/linux/linux-5.10/include/crypto/
H A Dalgapi.h231 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()

Completed in 19 milliseconds