Searched refs:bch2_chacha_encrypt_key (Results 1 – 2 of 2) sorted by relevance
165 int bch2_chacha_encrypt_key(struct bch_key *key, struct nonce nonce, in bch2_chacha_encrypt_key() function647 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c), in bch2_decrypt_sb_key()749 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c), in bch2_enable_encryption()
72 int bch2_chacha_encrypt_key(struct bch_key *, struct nonce, void *, size_t);