Home
last modified time | relevance | path

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

/fs/bcachefs/
A Dchecksum.c548 struct bch_key user_key; in bch2_decrypt_sb_key() local
555 ret = bch2_request_key(c->disk_sb.sb, &user_key); in bch2_decrypt_sb_key()
562 bch2_chacha20(&user_key, bch2_sb_key_nonce(c), &sb_key, sizeof(sb_key)); in bch2_decrypt_sb_key()
573 memzero_explicit(&user_key, sizeof(user_key)); in bch2_decrypt_sb_key()
624 struct bch_key user_key;
642 ret = bch2_request_key(c->disk_sb.sb, &user_key);
648 ret = bch2_chacha_encrypt_key(&user_key, bch2_sb_key_nonce(c),
673 memzero_explicit(&user_key, sizeof(user_key));

Completed in 5 milliseconds