Searched refs:bch_sb_field_crypt (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | checksum.c | 491 struct bch_sb_field_crypt *crypt = field_to_type(f, crypt); in bch2_sb_crypt_validate() 510 struct bch_sb_field_crypt *crypt = field_to_type(f, crypt); in bch2_sb_crypt_to_text() 629 struct bch_sb_field_crypt *crypt, in bch2_decrypt_sb_key() 692 struct bch_sb_field_crypt *crypt; in bch2_disable_encryption() 726 struct bch_sb_field_crypt *crypt; in bch2_enable_encryption() 791 struct bch_sb_field_crypt *crypt; in bch2_fs_encryption_init()
|
D | bcachefs_format.h | 578 struct bch_sb_field_crypt { struct 586 LE64_BITMASK(BCH_CRYPT_KDF_TYPE, struct bch_sb_field_crypt, flags, 0, 4); argument 594 LE64_BITMASK(BCH_KDF_SCRYPT_N, struct bch_sb_field_crypt, kdf_flags, 0, 16); 595 LE64_BITMASK(BCH_KDF_SCRYPT_R, struct bch_sb_field_crypt, kdf_flags, 16, 32); 596 LE64_BITMASK(BCH_KDF_SCRYPT_P, struct bch_sb_field_crypt, kdf_flags, 32, 48);
|
D | checksum.h | 103 int bch2_decrypt_sb_key(struct bch_fs *, struct bch_sb_field_crypt *,
|