class WrappedKey

Defined at line 500 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

Public Methods

bool IsUnknown ()

Defined at line 517 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

template <typename... Args>
WrappedKey WithFxfs (::fidl::AnyArena & allocator, Args &&... args)

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

Defined at line 534 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

template <typename... Args>
WrappedKey WithZxcrypt (::fidl::AnyArena & allocator, Args &&... args)

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

Defined at line 560 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

template <typename... Args>
WrappedKey WithFscryptInoLblk32Dir (::fidl::AnyArena & allocator, Args &&... args)

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID + 16-byte nonce.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash, 16-byte dirhash.

Defined at line 586 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

template <typename... Args>
WrappedKey WithFscryptInoLblk32File (::fidl::AnyArena & allocator, Args &&... args)

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash.

Defined at line 612 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

void WrappedKey ()
bool has_invalid_tag ()
bool is_fxfs ()
WrappedKey WithFxfs (::fidl::ObjectView< ::fuchsia_fxfs::wire::FxfsKey> val)

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

::fuchsia_fxfs::wire::FxfsKey & fxfs ()

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

const ::fuchsia_fxfs::wire::FxfsKey & fxfs ()

Fxfs's default crypto (AES256GCM-SIV wrapped key using AES256XTS encryption)

In: 16-byte wrapping_key_id + 48-byte wrapped key.

Out: 32-byte unwrapped key.

bool is_zxcrypt ()
WrappedKey WithZxcrypt (::fidl::ObjectView< ::fidl::VectorView<uint8_t>> val)

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

void WrappedKey (WrappedKey && )

Defined at line 507 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

WrappedKey & operator= (WrappedKey && )

Defined at line 508 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

::fidl::VectorView<uint8_t> & zxcrypt ()

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

const ::fidl::VectorView<uint8_t> & zxcrypt ()

Zxcrypt (For use with FVM/Minfs only)

In: 132-byte request blob.

Out: 80-byte unwrapped key blob.

bool is_fscrypt_ino_lblk32_dir ()
WrappedKey WithFscryptInoLblk32Dir (::fidl::ObjectView< ::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce> val)

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID + 16-byte nonce.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash, 16-byte dirhash.

::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce & fscrypt_ino_lblk32_dir ()

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID + 16-byte nonce.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash, 16-byte dirhash.

const ::fuchsia_fxfs::wire::FscryptKeyIdentifierAndNonce & fscrypt_ino_lblk32_dir ()

Fscrypt INO_LBLK32 directory (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID + 16-byte nonce.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash, 16-byte dirhash.

bool is_fscrypt_ino_lblk32_file ()
WrappedKey WithFscryptInoLblk32File (::fidl::ObjectView< ::fuchsia_fxfs::wire::FscryptKeyIdentifier> val)

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash.

void WrappedKey (const WrappedKey & )

Defined at line 505 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

::fuchsia_fxfs::wire::FscryptKeyIdentifier & fscrypt_ino_lblk32_file ()

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash.

const ::fuchsia_fxfs::wire::FscryptKeyIdentifier & fscrypt_ino_lblk32_file ()

Fscrypt INO_LBLK32 file (For use with starnix only)

In: 16-byte key_identifier + 16-byte UUID.

Out: 32-byte xts_key1, 32-byte xts_key2, 16-byte ino_hash.

::fuchsia_fxfs::wire::WrappedKey::Tag Which ()
WrappedKey & operator= (const WrappedKey & )

Defined at line 506 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h

Enumerations

enum Tag
Name Value
kFxfs 1
kZxcrypt 2
kFscryptInoLblk32Dir 3
kFscryptInoLblk32File 4
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 510 of file fidling/gen/src/storage/fxfs/fidl/fuchsia.fxfs/fuchsia.fxfs/cpp/fidl/fuchsia.fxfs/cpp/wire_types.h