CAS: Update ScramblingMode enum order

Move the new enum to the end, so the values of the older enums do not
change.

Bug: 230377377, 227673974, 233862815
Test: None
Change-Id: I239e2b887af5b4d668d0f8eaacc77f18049c697a
This commit is contained in:
Venkatarama Avadhani 2022-12-05 15:04:26 +05:30
parent 558762c14d
commit 7b54065598
2 changed files with 10 additions and 10 deletions

View file

@ -44,9 +44,9 @@ enum ScramblingMode {
DVB_IDSA = 7, DVB_IDSA = 7,
MULTI2 = 8, MULTI2 = 8,
AES128 = 9, AES128 = 9,
AES_CBC = 10, AES_ECB = 10,
AES_ECB = 11, AES_SCTE52 = 11,
AES_SCTE52 = 12, TDES_ECB = 12,
TDES_ECB = 13, TDES_SCTE52 = 13,
TDES_SCTE52 = 14, AES_CBC = 14,
} }

View file

@ -69,11 +69,6 @@ enum ScramblingMode {
*/ */
AES128, AES128,
/**
* Advanced Encryption System (AES) Cipher Block Chaining (CBC) mode.
*/
AES_CBC,
/** /**
* Advanced Encryption System (AES) Electronic Code Book (ECB) mode. * Advanced Encryption System (AES) Electronic Code Book (ECB) mode.
*/ */
@ -95,4 +90,9 @@ enum ScramblingMode {
* Engineers (SCTE) 52 mode. * Engineers (SCTE) 52 mode.
*/ */
TDES_SCTE52, TDES_SCTE52,
/**
* Advanced Encryption System (AES) Cipher Block Chaining (CBC) mode.
*/
AES_CBC,
} }