core/crypto/deoxysii

deoxysii

Types

1

Constants

3

Procedures

5

open

open :: proc( ctx: ^Context, dst: []u8, iv: []u8, aad: []u8, ciphertext: []u8, tag: []u8, ) -> (bool)Source

open authenticates the aad and ciphertext, and decrypts the ciphertext, with the provided Context, iv, and tag, and stores the output in dst, returning true if and only if (⟺) the authentication was successful. If authentication fails, the destination buffer will be zeroed.

dst and plaintext MUST alias exactly or not at all.

reset

reset :: proc(ctx: ^Context)Source

reset sanitizes the Context. The Context must be re-initialized to be used again.

seal

seal :: proc( ctx: ^Context, dst: []u8, tag: []u8, iv: []u8, aad: []u8, plaintext: []u8, )Source

seal encrypts the plaintext and authenticates the aad and ciphertext, with the provided Context and iv, stores the output in dst and tag.

dst and plaintext MUST alias exactly or not at all.

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.