Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding test vectors for the AES_CBC_HMAC variant used in JWE.
This encryption moded is defined in RFC 7518. It is based on McGrew, D., Foley, J., and K. Paterson, "Authenticated Encryption with AES-CBC and HMAC-SHA", draft-mcgrew-aead-aes-cbc-hmac-sha2-05, July 2014. The algorithms are AEAD. All inputs are byte arrays and hence have the same format as test vectors for other AEADs. JWE encodes IV, ciphertext and tag using base64. This encoding is not part of the test and test vectors. NOKEYCHECK=True PiperOrigin-RevId: 511430026
- Loading branch information