Adding some forgotten cases:

Adding test vectors for AES-SIV-CMAC for AEAD.
I.e. these are test vectors for AES-SIV-CMAC where encryption takes
two AAD arguments: one argument acting as the nonce and one argument
acting as the additional data.

Adding test vectors for XDH where the keys use jwk encoding.
These are mostly the same test vectors as used for other XDH tests,
but the keys are enocded according to RFC 8037.
The test vectors include two test vectors from RFC 8037 section A.6 and
A.7 to ensure that the same encoding is used.

Fixing the algorithm name for AES-GCM-SIV.

NOKEYCHECK=True
PiperOrigin-RevId: 232840812
GitOrigin-RevId: cc0604472074630f0b00894c4234e06ac0bc4f0a
This commit is contained in:
bleichen
2019-02-07 03:12:38 -08:00
committed by Tink Team
parent 89b996d789
commit 2cf601145e
4 changed files with 17088 additions and 1 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,5 +1,5 @@
{
"algorithm" : "AES-GCM",
"algorithm" : "AES-GCM-SIV",
"generatorVersion" : "0.7",
"numberOfTests" : 155,
"header" : [
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff