Home
last modified time | relevance | path

Searched refs:crypto_cipher_tfm (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/include/linux/
Dcrypto.h1450 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() function
1461 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher()
1485 return &crypto_cipher_tfm(tfm)->crt_cipher; in crypto_cipher_crt()
1500 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize()
1505 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask()
1510 return crypto_tfm_get_flags(crypto_cipher_tfm(tfm)); in crypto_cipher_get_flags()
1516 crypto_tfm_set_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_set_flags()
1522 crypto_tfm_clear_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_clear_flags()
1544 return crypto_cipher_crt(tfm)->cit_setkey(crypto_cipher_tfm(tfm), in crypto_cipher_setkey()
1560 crypto_cipher_crt(tfm)->cit_encrypt_one(crypto_cipher_tfm(tfm), in crypto_cipher_encrypt_one()
[all …]
/linux-4.4.14/crypto/
Dpcbc.c59 fn(crypto_cipher_tfm(tfm), dst, iv); in crypto_pcbc_encrypt_segment()
85 fn(crypto_cipher_tfm(tfm), src, iv); in crypto_pcbc_encrypt_inplace()
136 fn(crypto_cipher_tfm(tfm), dst, src); in crypto_pcbc_decrypt_segment()
164 fn(crypto_cipher_tfm(tfm), src, src); in crypto_pcbc_decrypt_inplace()
Dcbc.c56 fn(crypto_cipher_tfm(tfm), dst, iv); in crypto_cbc_encrypt_segment()
79 fn(crypto_cipher_tfm(tfm), src, src); in crypto_cbc_encrypt_inplace()
127 fn(crypto_cipher_tfm(tfm), dst, src); in crypto_cbc_decrypt_segment()
156 fn(crypto_cipher_tfm(tfm), src, src); in crypto_cbc_decrypt_inplace()
Dxts.c102 .tfm = crypto_cipher_tfm(ctx->child), in crypt()
119 tw(crypto_cipher_tfm(ctx->tweak), w->iv, w->iv); in crypt()
Decb.c57 fn(crypto_cipher_tfm(tfm), wdst, wsrc); in crypto_ecb_crypt()
Dctr.c87 fn(crypto_cipher_tfm(tfm), dst, ctrblk); in crypto_ctr_crypt_segment()
115 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
Dlrw.c146 .tfm = crypto_cipher_tfm(ctx->child), in crypt()
Dtestmgr.c853 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher()
/linux-4.4.14/include/crypto/
Dalgapi.h275 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()