Home
last modified time | relevance | path

Searched refs:do_encrypt (Results 1 – 2 of 2) sorted by relevance

/linux/security/keys/trusted-keys/
H A Dtrusted_dcp.c77 static int do_dcp_crypto(u8 *in, u8 *out, bool do_encrypt) in do_dcp_crypto() argument
117 if (do_encrypt) in do_dcp_crypto()
130 bool do_encrypt) in do_aead_crypto() argument
156 if (do_encrypt) { in do_aead_crypto()
176 if (do_encrypt) in do_aead_crypto()
/linux/fs/bcachefs/
H A Dchecksum.c115 static inline int do_encrypt(struct crypto_sync_skcipher *tfm, in do_encrypt() function
185 ret = do_encrypt(chacha20, nonce, buf, len); in bch2_chacha_encrypt_key()
200 ret = do_encrypt(c->chacha20, nonce, key, sizeof(key)); in gen_poly_key()
255 return do_encrypt(c->chacha20, nonce, data, len); in bch2_encrypt()