summaryrefslogtreecommitdiffstats
path: root/src/crypto/poly1305
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/poly1305')
-rw-r--r--src/crypto/poly1305/poly1305_arm.c2
-rw-r--r--src/crypto/poly1305/poly1305_test.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/poly1305/poly1305_arm.c b/src/crypto/poly1305/poly1305_arm.c
index c06eded..5e78dc0 100644
--- a/src/crypto/poly1305/poly1305_arm.c
+++ b/src/crypto/poly1305/poly1305_arm.c
@@ -132,7 +132,7 @@ static uint32_t load32(uint8_t *t) {
static void fe1305x2_frombytearray(fe1305x2 *r, const uint8_t *x,
unsigned long long xlen) {
- int i;
+ unsigned i;
uint8_t t[17];
for (i = 0; (i < 16) && (i < xlen); i++) {
diff --git a/src/crypto/poly1305/poly1305_test.txt b/src/crypto/poly1305/poly1305_test.txt
index 2a92c12..ad40699 100644
--- a/src/crypto/poly1305/poly1305_test.txt
+++ b/src/crypto/poly1305/poly1305_test.txt
@@ -1,4 +1,4 @@
-# RFC 7359, section 2.5.2.
+# RFC 7539, section 2.5.2.
Key = 85d6be7857556d337f4452fe42d506a80103808afb0db2fd4abff6af4149f51b
Input = "Cryptographic Forum Research Group"