Repository navigation
Conversation
Both AES-128-GCM-SIV and AES-256-GCM-SIV are exposed through `aead::Algorithm`, matching the corresponding BoringSSL `EVP_AEAD` constructors. Round-trip coverage verifies both key sizes.
There was a problem hiding this comment.
✅ Approved — No issues found: the two new constructors are straightforward FFI wrappers that match the existing constructors, and tests cover both key sizes.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🔒 Security: ✅ LGTM
Each wrapper only returns a static BoringSSL EVP_AEAD pointer. No new inputs, pointers or lengths reach unsafe code.
📋 Code Quality: ✅ LGTM
The new constructors use the same attributes and the same unsafe { Self(ffi::...()) } shape as the existing AES-GCM constructors. The test round-trips seal and open for 16-byte and 32-byte keys, using nonce and tag sizes that are correct for AES-GCM-SIV.
📝 Documentation: ✅ LGTM
The doc comments reference RFC 8452, consistent with the existing constructors.
Reviewed commit: cc482261
This adds
Algorithmconstructors for AES-128-GCM-SIV and AES-256-GCM-SIV backed by BoringSSL'sEVP_AEADimplementations. Round-trip tests cover both key sizes. This change closes #58.