Searched refs:bch2_sb_key_nonce (Results 1 – 2 of 2) sorted by relevance
225 static inline struct nonce bch2_sb_key_nonce(struct bch_fs *c) in bch2_sb_key_nonce() function
653 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c), in bch2_decrypt_sb_key()755 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c), in bch2_enable_encryption()