package core:crypto/chacha20

⌘K
Ctrl+K
or
/

    Index

    Types (1)
    Variables (0)

    This section is empty.

    Procedure Groups (0)

    This section is empty.

    Types

    Context ¶

    Context :: struct {
    	_s:              [16]u32,
    	_buffer:         [64]u8,
    	_off:            int,
    	_is_ietf_flavor: bool,
    	_is_initialized: bool,
    }
    Related Procedures With Parameters

    Constants

    KEY_SIZE ¶

    KEY_SIZE :: 32

    NONCE_SIZE ¶

    NONCE_SIZE :: 12

    XNONCE_SIZE ¶

    XNONCE_SIZE :: 24

    Variables

    This section is empty.

    Procedures

    init ¶

    init :: proc(ctx: ^Context, key, nonce: []u8) {…}

    keystream_bytes ¶

    keystream_bytes :: proc(ctx: ^Context, dst: []u8) {…}

    reset ¶

    reset :: proc(ctx: ^Context) {…}

    seek ¶

    seek :: proc(ctx: ^Context, block_nr: u64) {…}

    xor_bytes ¶

    xor_bytes :: proc(ctx: ^Context, dst, src: []u8) {…}

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-2023-10 (vendor "odin") Windows_amd64 @ 2023-10-03 21:09:46.440207400 +0000 UTC