Struct oramfs::ORAMManager[][src]

pub struct ORAMManager;

Implementations

List ORAMs

Add an ORAM

Remove an ORAM

Get global configuration

Get a specific ORAM’s configuration

Save configuration to disk

Mark ORAM with name name as init=true and save configuration to disk

Generate an encryption key and save it (encrypted) in the ORAM’s configuration

Serialize encrypted key and nonce

Deserialize encrypted key and nonce

Encrypt encryption key using AES256-GCM and return ciphertext and nonce

Decrypt encryption key

Derive a key from the given passphrase and salt

Return true if the given passphrase is valid This effectively tries to decrypt the AEAD encrypted key. If the passphrase is not the right one, this will fail.

Interactively ask ORAM parameters from the user

Ask the ORAM size from the user and set it on the ORAMConfig instance

Interactively ask the client data directory from the user

Return temporary filename This is useful for the enlarge operation

Return temporary filepath This is useful for the enlarge operation

Enlarges an existing oram by doubling its number of nodes. This should be called when the oram is unmounted.

Actually enlarge the ORAM

Run resize2fs on the ORAM file

Interactively ask the passphrase from the user

Interactively ask for a new passphrase from the user This will ask twice to confirm and make sure that both passphrases match

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.