Searched refs:crypto_cipher_tfm (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/include/linux/ |
D | crypto.h | 1977 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm() function 1988 crypto_free_tfm(crypto_cipher_tfm(tfm)); in crypto_free_cipher() 2012 return &crypto_cipher_tfm(tfm)->crt_cipher; in crypto_cipher_crt() 2027 return crypto_tfm_alg_blocksize(crypto_cipher_tfm(tfm)); in crypto_cipher_blocksize() 2032 return crypto_tfm_alg_alignmask(crypto_cipher_tfm(tfm)); in crypto_cipher_alignmask() 2037 return crypto_tfm_get_flags(crypto_cipher_tfm(tfm)); in crypto_cipher_get_flags() 2043 crypto_tfm_set_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_set_flags() 2049 crypto_tfm_clear_flags(crypto_cipher_tfm(tfm), flags); in crypto_cipher_clear_flags() 2071 return crypto_cipher_crt(tfm)->cit_setkey(crypto_cipher_tfm(tfm), in crypto_cipher_setkey() 2087 crypto_cipher_crt(tfm)->cit_encrypt_one(crypto_cipher_tfm(tfm), in crypto_cipher_encrypt_one() [all …]
|
/linux-4.1.27/crypto/ |
D | cbc.c | 56 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()
|
D | pcbc.c | 59 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()
|
D | xts.c | 102 .tfm = crypto_cipher_tfm(ctx->child), in crypt() 119 tw(crypto_cipher_tfm(ctx->tweak), w->iv, w->iv); in crypt()
|
D | ecb.c | 57 fn(crypto_cipher_tfm(tfm), wdst, wsrc); in crypto_ecb_crypt()
|
D | ctr.c | 87 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()
|
D | lrw.c | 146 .tfm = crypto_cipher_tfm(ctx->child), in crypt()
|
D | testmgr.c | 834 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher()
|
/linux-4.1.27/include/crypto/ |
D | algapi.h | 288 return &crypto_cipher_tfm(tfm)->__crt_alg->cra_cipher; in crypto_cipher_alg()
|