CC27xxDriverLibrary
sw_poly1305-donna.c File Reference
Include dependency graph for sw_poly1305-donna.c:

Functions

void poly1305_update (poly1305_context *ctx, const unsigned char *m, size_t bytes)
 
void poly1305_auth (unsigned char mac[16], const unsigned char *m, size_t bytes, const unsigned char key[32])
 
int poly1305_verify (const unsigned char mac1[16], const unsigned char mac2[16])
 
int poly1305_power_on_self_test (void)
 

Function Documentation

§ poly1305_update()

void poly1305_update ( poly1305_context ctx,
const unsigned char *  m,
size_t  bytes 
)

§ poly1305_auth()

void poly1305_auth ( unsigned char  mac[16],
const unsigned char *  m,
size_t  bytes,
const unsigned char  key[32] 
)

§ poly1305_verify()

int poly1305_verify ( const unsigned char  mac1[16],
const unsigned char  mac2[16] 
)

§ poly1305_power_on_self_test()

int poly1305_power_on_self_test ( void  )