Searched refs:bch2_sb_key_nonce (Results 1 – 2 of 2) sorted by relevance
228 static inline struct nonce bch2_sb_key_nonce(struct bch_fs *c) in bch2_sb_key_nonce() function
562 bch2_chacha20(&user_key, bch2_sb_key_nonce(c), &sb_key, sizeof(sb_key)); in bch2_decrypt_sb_key()648 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c),
Completed in 6 milliseconds