Commit eee9dc61 authored by Martin Willi's avatar Martin Willi Committed by Herbert Xu

crypto: testmgr - Add Poly1305 test vectors from RFC7539

Signed-off-by: default avatarMartin Willi <martin@strongswan.org>
Acked-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f979e014
...@@ -3314,6 +3314,15 @@ static const struct alg_test_desc alg_test_descs[] = { ...@@ -3314,6 +3314,15 @@ static const struct alg_test_desc alg_test_descs[] = {
} }
} }
} }
}, {
.alg = "poly1305",
.test = alg_test_hash,
.suite = {
.hash = {
.vecs = poly1305_tv_template,
.count = POLY1305_TEST_VECTORS
}
}
}, { }, {
.alg = "rfc3686(ctr(aes))", .alg = "rfc3686(ctr(aes))",
.test = alg_test_skcipher, .test = alg_test_skcipher,
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment