mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-12-01 02:05:06 +00:00
Use a 12-byte AES-GCM IV for the new encryption features
This commit is contained in:
1 parent
7f99bebc72
commit
2597b5e779
2 files changed
+29
-7
No files matched your search
+5
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user