Skip to content

fix(testing): wire AES-GCM tagLength vectors#312

Open
mfazrinizar wants to merge 1 commit into
google:masterfrom
mfazrinizar:fix/aes-gcm-taglength-tests
Open

fix(testing): wire AES-GCM tagLength vectors#312
mfazrinizar wants to merge 1 commit into
google:masterfrom
mfazrinizar:fix/aes-gcm-taglength-tests

Conversation

@mfazrinizar

Copy link
Copy Markdown

Summary

Fixes the shared AES-GCM test runner to pass encryptDecryptParams.tagLength into encryptBytes and decryptBytes.

While fixing that, the existing 32/64-bit AES-GCM fixture ciphertexts were found to still contain 128-bit tags. This PR regenerates only those affected ciphertexts so the fixtures actually exercise 32-bit and 64-bit tags.

Testing

  • dart analyze
  • dart test test/webcrypto_test.dart -p vm -n AES-GCM
  • dart test test/webcrypto_test.dart -p chrome -n AES-GCM (tested using Brave)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant