Searched refs:do_encrypt (Results 1 – 2 of 2) sorted by relevance
/linux/security/keys/trusted-keys/ |
H A D | trusted_dcp.c | 77 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 D | checksum.c | 115 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()
|