Searched refs:crypto_cipher_tfm (Results 1 – 3 of 3) sorted by relevance
| /linux/include/crypto/internal/ |
| H A D | cipher.h | 66 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()
|
| /linux/crypto/ |
| H A D | cipher.c | 36 ret = cia->cia_setkey(crypto_cipher_tfm(tfm), alignbuffer, keylen); in setkey_unaligned() 54 return cia->cia_setkey(crypto_cipher_tfm(tfm), key, keylen); in crypto_cipher_setkey() 72 fn(crypto_cipher_tfm(tfm), tmp, tmp); in cipher_crypt_one() 75 fn(crypto_cipher_tfm(tfm), dst, src); in cipher_crypt_one() 95 struct crypto_tfm *tfm = crypto_cipher_tfm(cipher); in crypto_clone_cipher()
|
| H A D | testmgr.c | 2717 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher()
|