Lines Matching defs:poly1305
10 /* Internal tests for the poly1305 module */
16 #include "crypto/poly1305.h"
32 * Test of poly1305 internal functions
727 * AVX2 in poly1305-x86.pl failed this with 176+32 split
1508 POLY1305 poly1305;
1520 Poly1305_Init(&poly1305, key);
1521 Poly1305_Update(&poly1305, in, inlen);
1522 Poly1305_Final(&poly1305, out);
1530 Poly1305_Init(&poly1305, key);
1531 Poly1305_Update(&poly1305, in, 1);
1532 Poly1305_Update(&poly1305, in+1, inlen-1);
1533 Poly1305_Final(&poly1305, out);
1544 Poly1305_Init(&poly1305, key);
1545 Poly1305_Update(&poly1305, in, half);
1546 Poly1305_Update(&poly1305, in+half, inlen-half);
1547 Poly1305_Final(&poly1305, out);
1555 Poly1305_Init(&poly1305, key);
1556 Poly1305_Update(&poly1305, in, half);
1557 Poly1305_Update(&poly1305, in+half, inlen-half);
1558 Poly1305_Final(&poly1305, out);