Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dchecksum.h225 static inline struct nonce bch2_sb_key_nonce(struct bch_fs *c) in bch2_sb_key_nonce() function
H A Dchecksum.c653 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()