Lines Matching refs:tfm
13 static void bpf_crypto_lskcipher_free_tfm(void *tfm)
15 crypto_free_lskcipher(tfm);
23 static int bpf_crypto_lskcipher_setkey(void *tfm, const u8 *key, unsigned int keylen)
25 return crypto_lskcipher_setkey(tfm, key, keylen);
28 static u32 bpf_crypto_lskcipher_get_flags(void *tfm)
30 return crypto_lskcipher_get_flags(tfm);
33 static unsigned int bpf_crypto_lskcipher_ivsize(void *tfm)
35 return crypto_lskcipher_ivsize(tfm);
38 static unsigned int bpf_crypto_lskcipher_statesize(void *tfm)
40 return crypto_lskcipher_statesize(tfm);
43 static int bpf_crypto_lskcipher_encrypt(void *tfm, const u8 *src, u8 *dst,
46 return crypto_lskcipher_encrypt(tfm, src, dst, len, siv);
49 static int bpf_crypto_lskcipher_decrypt(void *tfm, const u8 *src, u8 *dst,
52 return crypto_lskcipher_decrypt(tfm, src, dst, len, siv);