Fields

r: [2]u64,
h: [3]u64 = .{0, 0, 0},
pad: [2]u64,
leftover: usize = 0,
buf: [block_length]u8 = undefined,

Functions

fn create(out: *[mac_length]u8, msg: []const u8, key: *const [key_length]u8) void

No documentation provided.

fn final(st: *Poly1305, out: *[mac_length]u8) void

No documentation provided.

fn init(key: *const [key_length]u8) Poly1305

No documentation provided.

fn pad(st: *Poly1305) void

Zero-pad to align the next input to the first byte of a block

fn update(st: *Poly1305, m: []const u8) void

No documentation provided.

Values

block_length
usize
key_length
comptime_int
mac_length
comptime_int