Searched refs:crt_cipher (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_crypto.h | 182 #define crt_cipher crt_u.cipher macro 253 return tfm->crt_cipher.cit_ivsize; in crypto_tfm_alg_ivsize() 311 return tfm->crt_cipher.cit_setkey(tfm, key, keylen); in crypto_cipher_setkey() 320 return tfm->crt_cipher.cit_encrypt(tfm, dst, src, nbytes); in crypto_cipher_encrypt() 329 BUG_ON(tfm->crt_cipher.cit_mode == CRYPTO_TFM_MODE_ECB); in crypto_cipher_encrypt_iv() 330 return tfm->crt_cipher.cit_encrypt_iv(tfm, dst, src, nbytes, iv); in crypto_cipher_encrypt_iv() 339 return tfm->crt_cipher.cit_decrypt(tfm, dst, src, nbytes); in crypto_cipher_decrypt() 348 BUG_ON(tfm->crt_cipher.cit_mode == CRYPTO_TFM_MODE_ECB); in crypto_cipher_decrypt_iv() 349 return tfm->crt_cipher.cit_decrypt_iv(tfm, dst, src, nbytes, iv); in crypto_cipher_decrypt_iv() 356 memcpy(tfm->crt_cipher.cit_iv, src, len); in crypto_cipher_set_iv() [all …]
|
/linux-4.1.27/crypto/ |
D | cipher.c | 108 struct cipher_tfm *ops = &tfm->crt_cipher; in crypto_init_cipher_ops()
|
/linux-4.1.27/include/linux/ |
D | crypto.h | 667 #define crt_cipher crt_u.cipher macro 2012 return &crypto_cipher_tfm(tfm)->crt_cipher; in crypto_cipher_crt()
|