Cleanup
This commit is contained in:
parent
b92ddeccff
commit
d7aacba797
@ -584,7 +584,7 @@ class Transport:
|
|||||||
try:
|
try:
|
||||||
if hasattr(interface, "ifac_identity") and interface.ifac_identity != None:
|
if hasattr(interface, "ifac_identity") and interface.ifac_identity != None:
|
||||||
# Calculate packet access code
|
# Calculate packet access code
|
||||||
ifac = interface.ifac_identity.sign(raw)[-interface.ifac_size:]
|
ifac = interface.ifac_identity.sign(raw)[-interface.ifac_size:]
|
||||||
|
|
||||||
# Generate mask
|
# Generate mask
|
||||||
mask = RNS.Cryptography.hkdf(
|
mask = RNS.Cryptography.hkdf(
|
||||||
|
Loading…
Reference in New Issue
Block a user