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, dst: []u8) {…}

init ¶

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

reset ¶

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

sum ¶

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

update ¶

update :: proc "odin" (ctx: ^Context, data: []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-2023-03 (vendor "odin") Windows_amd64 @ 2023-03-29 21:09:05.293244800 +0000 UTC