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