Use a 12-byte AES-GCM IV for the new encryption features

This commit is contained in:
Cameron Gutman committed 2024-01-18 18:29:47 -06:00
1 parent 7f99bebc72
commit 2597b5e779
2 files changed
+29 -7

No files matched your search

+5 -1
View File
@@ -9,8 +9,12 @@ typedef struct _QUEUED_DECODE_UNIT {
#pragma pack(push, 1)
// The encrypted video header must be a multiple
// of 16 bytes in size to ensure the block size
// for FEC stays a multiple of 16 too.
typedef struct _ENC_VIDEO_HEADER {
uint8_t iv[16];
uint8_t iv[12];
uint32_t unused;
uint8_t tag[16];
} ENC_VIDEO_HEADER, *PENC_VIDEO_HEADER;