std.crypto: add AES-SIV and AES-GCM-SIV

The Zig standard library lacked schemes that resist nonce reuse.

AES-SIV and AES-GCM-SIV are the standard options for this.

AES-GCM-SIV can be very useful when Zig is used to target embedded
systems, and AES-SIV is especially useful for key wrapping.

Also take it as an opportunity to add a bunch of test vectors to
modes.ctr and make sure it works with block ciphers whose size is
not 16.
dd46e07fb9Frank Denis committed on 9/16/2025, 10:45:08 AMparent496313a
4 files changedLine totals unavailable