]> git.codecow.com Git - Monocypher.git/commitdiff
Added official Poly1305 test vector
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 29 Jan 2018 18:23:49 +0000 (19:23 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 29 Jan 2018 18:23:56 +0000 (19:23 +0100)
From rfc7539, section 2.5.  I orginally only sourced from appendix A.3,
but there's no reason why we shouldn't also include this.

Section A.5 however would take some manual tweaking.  Let's not.

tests/vectors/poly1305

index cac785d8f4e9ac5333158b20dee7ac2913a450bb..71b6fd6ce0ac90ffd878f9c638d17dfe38a7d346 100644 (file)
@@ -57,3 +57,7 @@ E33594D7505E43B900000000000000003394D7505E4379CD01000000000000000000000000000000
 0100000000000000040000000000000000000000000000000000000000000000:
 E33594D7505E43B900000000000000003394D7505E4379CD010000000000000000000000000000000000000000000000:
 13000000000000000000000000000000:
+
+85d6be7857556d337f4452fe42d506a80103808afb0db2fd4abff6af4149f51b:
+43727970746f6772617068696320466f72756d2052657365617263682047726f7570:
+a8061dc1305136c6c22b8baf0c0127a9: