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

crypto: testmgr - Add ChaCha20-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 71ebc4d1
......@@ -3386,6 +3386,21 @@ static const struct alg_test_desc alg_test_descs[] = {
},
}
}
}, {
.alg = "rfc7539(chacha20,poly1305)",
.test = alg_test_aead,
.suite = {
.aead = {
.enc = {
.vecs = rfc7539_enc_tv_template,
.count = RFC7539_ENC_TEST_VECTORS
},
.dec = {
.vecs = rfc7539_dec_tv_template,
.count = RFC7539_DEC_TEST_VECTORS
},
}
}
}, {
.alg = "rmd128",
.test = alg_test_hash,
......
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