mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
crypto: testmgr - Add draft-ietf-ipsecme-chacha20-poly1305 test vector
Signed-off-by: Martin Willi <[email protected]> Acked-by: Steffen Klassert <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
4db4ad2609
commit
5900758df1
2 changed files with 194 additions and 0 deletions
|
|
@ -3401,6 +3401,21 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
},
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.alg = "rfc7539esp(chacha20,poly1305)",
|
||||
.test = alg_test_aead,
|
||||
.suite = {
|
||||
.aead = {
|
||||
.enc = {
|
||||
.vecs = rfc7539esp_enc_tv_template,
|
||||
.count = RFC7539ESP_ENC_TEST_VECTORS
|
||||
},
|
||||
.dec = {
|
||||
.vecs = rfc7539esp_dec_tv_template,
|
||||
.count = RFC7539ESP_DEC_TEST_VECTORS
|
||||
},
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.alg = "rmd128",
|
||||
.test = alg_test_hash,
|
||||
|
|
|
|||
Loading…
Reference in a new issue