Lines Matching refs:crt_cipher
185 #define crt_cipher crt_u.cipher
256 return tfm->crt_cipher.cit_ivsize;
314 return tfm->crt_cipher.cit_setkey(tfm, key, keylen);
323 return tfm->crt_cipher.cit_encrypt(tfm, dst, src, nbytes);
332 BUG_ON(tfm->crt_cipher.cit_mode == CRYPTO_TFM_MODE_ECB);
333 return tfm->crt_cipher.cit_encrypt_iv(tfm, dst, src, nbytes, iv);
342 return tfm->crt_cipher.cit_decrypt(tfm, dst, src, nbytes);
351 BUG_ON(tfm->crt_cipher.cit_mode == CRYPTO_TFM_MODE_ECB);
352 return tfm->crt_cipher.cit_decrypt_iv(tfm, dst, src, nbytes, iv);
359 memcpy(tfm->crt_cipher.cit_iv, src, len);
366 memcpy(dst, tfm->crt_cipher.cit_iv, len);