package core:crypto/poly1305

Index

Types (1)
Constants (2)
Variables (0)

This section is empty.

Procedures (6)
Procedure Groups (0)

This section is empty.

Types

Context ¶

Context :: struct {
	_r:              field_poly1305.Tight_Field_Element,
	_a:              field_poly1305.Tight_Field_Element,
	_s:              field_poly1305.Tight_Field_Element,
	_buffer:         [16]u8,
	_leftover:       int,
	_is_initialized: bool,
}

Constants

KEY_SIZE ¶

KEY_SIZE :: 32

TAG_SIZE ¶

TAG_SIZE :: 16

Variables

This section is empty.

Procedures

final ¶

final :: proc "odin" (ctx: ^Context, key: []u8) {…}

init ¶

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

reset ¶

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

sum ¶

sum :: proc "odin" (dst, key, nonce: []u8) {…}

update ¶

update :: proc "odin" (ctx: ^Context, key: []u8) {…}

verify ¶

verify :: proc "odin" (tag, msg, key: []u8) -> bool {…}

Procedure Groups

This section is empty.

Source Files

Generation Information

Generated with odin version dev-2022-12 (vendor "odin") Windows_amd64 @ 2022-12-06 21:08:55.013764000 +0000 UTC