From eee9dc6162c537641a9259ae595193fa3c68c96e Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 1 Jun 2015 13:43:59 +0200 Subject: crypto: testmgr - Add Poly1305 test vectors from RFC7539 Signed-off-by: Martin Willi Acked-by: Steffen Klassert Signed-off-by: Herbert Xu --- crypto/testmgr.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crypto/testmgr.c') diff --git a/crypto/testmgr.c b/crypto/testmgr.c index abd09c2489fa..faf93a6696e2 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -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))", .test = alg_test_skcipher, -- cgit v1.2.3-55-g7522