crash.software
Projects
Pull Requests
Issues
Builds
CatSniffer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
CatSniffer
Files
🤬
Sign In
a470d269
ROOT
/
firmware
/
ot-cc13x2-cc26x2
/
openthread
/
tests
/
scripts
/
thread-cert
/
net_crypto.py
Search
History
379 lines
|
ISO-8859-1
|
11 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
hmac
hashlib
struct
hexlify
AES
CryptoEngine
_crypto_material_creator
__init__
(self,crypto_material_creator)
mic_length
(self)
encrypt
(self,data,message_info)
decrypt
(self,enc_data,mic,message_info)
CryptoMaterialCreator
(object)
_salt
network_key
__init__
(self,network_key)
_generate_keys
(self,sequence_counter)
create_key_and_nonce_and_authenticated_data
(self,message_info)
mic_length
(self)
MacCryptoMaterialCreator
(CryptoMaterialCreator)
__init__
(self,network_key)
_create_nonce
(self,eui64,frame_counter,security_level)
_create_authenticated_data
(self,mhr,auxiliary_security_header,extra_open_fields)
create_key_and_nonce_and_authenticated_data
(self,message_info)
mic_length
(self)
MleCryptoMaterialCreator
(CryptoMaterialCreator)
__init__
(self,network_key)
_create_nonce
(self,source_eui64,frame_counter,security_level)
_create_authenticated_data
(self,source_address,destination_address,auxiliary_security_header)
create_key_and_nonce_and_authenticated_data
(self,message_info)
mic_length
(self)
AuxiliarySecurityHeader
_key_id_mode
_security_level
_frame_counter
_key_id
_big_endian
__init__
(self,key_id_mode,security_level,frame_counter,key_id,big_endian=True,)
sequence_counter
(self)
key_index
(self)
key_id_mode
(self)
security_level
(self)
frame_counter
(self)
key_id
(self)
__repr__
(self)
AuxiliarySecurityHeaderFactory
_SECURITY_CONTROL_LENGTH
_FRAME_COUNTER_LENGTH
_KEY_ID_LENGTH_KEY_ID_0
_KEY_ID_LENGTH_KEY_ID_1
_KEY_ID_LENGTH_KEY_ID_2
_KEY_ID_LENGTH_KEY_ID_3
_key_id_lengths
_parse_security_control
(self,security_control_byte)
_parse_frame_counter
(self,frame_counter_bytes)
_key_id_length
(self,key_id_mode)
parse
(self,data,message_info)
All occurrences
Please wait...
Page is in error, reload to recover