\Poly1305

Poly1305

Implementation derived from poly1305-donna-16.h See for details: https://github.com/floodyberry/poly1305-donna

Summary

Methods
Properties
Constants
init()
update()
finish()
instance()
auth()
No public properties found
KeySize
TagSize
U8TO16()
U16TO8()
blocks()
$_instance
N/A
No private methods found
No private properties found
N/A

Constants

KeySize

KeySize

TagSize

TagSize

Properties

$_instance

$_instance : 

Type

Methods

init()

init(  $key) 

Parameters

$key

update()

update(  $ctx,   $m,   $bytes) 

Parameters

$ctx
$m
$bytes

finish()

finish(  $ctx,   $mac) 

Parameters

$ctx
$mac

instance()

instance() 

auth()

auth(  $mac,   $m,   $bytes,   $key) 

Parameters

$mac
$m
$bytes
$key

U8TO16()

U8TO16(  $p,   $pos) 

Parameters

$p
$pos

U16TO8()

U16TO8(  $p,   $pos,   $v) 

Parameters

$p
$pos
$v

blocks()

blocks(  $ctx,   $m,   $mpos,   $bytes) 

Parameters

$ctx
$m
$mpos
$bytes