Device: Remove explicit deprecated key control flag

This flag was used before this project was made, never after. Therefore I do not need to actually take this flag slot as deprecated from the get-go.
This commit is contained in:
rlaphoenix 2022-07-21 15:48:45 +01:00
parent b41f09bee4
commit 3d6ddb8dcd
1 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ from typing import Any, Optional, Union
from construct import BitStruct, Bytes, Const
from construct import Enum as CEnum
from construct import Flag, Int8ub, Int16ub
from construct import Int8ub, Int16ub
from construct import Optional as COptional
from construct import Padded, Padding, Struct, this
from Crypto.PublicKey import RSA
@ -31,8 +31,8 @@ class Structures:
),
"security_level" / Int8ub,
"flags" / Padded(1, COptional(BitStruct(
Padding(7),
"send_key_control_nonce_deprecated" / Flag
# no per-device flags yet
Padding(8)
))),
"private_key_len" / Int16ub,
"private_key" / Bytes(this.private_key_len),
@ -49,8 +49,8 @@ class Structures:
),
"security_level" / Int8ub,
"flags" / Padded(1, COptional(BitStruct(
Padding(7),
"send_key_control_nonce_deprecated" / Flag
# no per-device flags yet
Padding(8)
))),
"private_key_len" / Int16ub,
"private_key" / Bytes(this.private_key_len),