-
Notifications
You must be signed in to change notification settings - Fork 3
Python client/test app bug fixes #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. changed all default frame lengths to 128 bytes, added a few more configs for TM/AOS. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,40 +36,50 @@ cryptolib.tc.process_pdus=false | |
| cryptolib.tc.check_fecf=false | ||
| cryptolib.tc.on_rollover_increment_nontransmitted_counter=true | ||
|
|
||
| # Managed Parameters for TC | ||
| # cryptolib.tc.<scid>.<vcid>.<tfvn>.<property> | ||
| #Managed Parameters | ||
| #cryptolib.tc.<scid>.<vcid>.<tfvn>.<property> | ||
| cryptolib.tc.44.0.0.has_segmentation_header=false | ||
| cryptolib.tc.44.0.0.has_pus_header=false | ||
| cryptolib.tc.44.0.0.has_ecf=true | ||
| cryptolib.tc.44.0.0.max_frame_length=1024 | ||
| cryptolib.tc.44.0.0.max_frame_length=128 | ||
| cryptolib.tc.44.1.0.has_segmentation_header=false | ||
| cryptolib.tc.44.1.0.has_pus_header=false | ||
| cryptolib.tc.44.1.0.has_ecf=true | ||
| cryptolib.tc.44.1.0.max_frame_length=1024 | ||
| cryptolib.tc.44.1.0.max_frame_length=128 | ||
| cryptolib.tc.44.2.0.has_segmentation_header=false | ||
| cryptolib.tc.44.2.0.has_pus_header=false | ||
| cryptolib.tc.44.2.0.has_ecf=true | ||
| cryptolib.tc.44.2.0.max_frame_length=1024 | ||
| cryptolib.tc.44.2.0.max_frame_length=128 | ||
| cryptolib.tc.44.3.0.has_segmentation_header=false | ||
| cryptolib.tc.44.3.0.has_pus_header=false | ||
| cryptolib.tc.44.3.0.has_ecf=true | ||
| cryptolib.tc.44.3.0.max_frame_length=1024 | ||
| cryptolib.tc.44.3.0.max_frame_length=128 | ||
|
|
||
| # CryptoLib Global Behavioral Properties for AOS | ||
| cryptolib.aos.vcid_bitmask=0x3f | ||
| cryptolib.aos.create_ecf=true | ||
| cryptolib.aos.check_fecf=false | ||
| cryptolib.aos.ignore_antireplay=false | ||
| cryptolib.aos.ignore_antireplay=true | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i'm not sure if this is necessary; i was getting incrementing IV errors in my testing, could be an SADB problem. |
||
| cryptolib.aos.on_rollover_increment_nontransmitted_counter=true | ||
|
|
||
| # Managed Parameters for AOS | ||
| # cryptolib.aos.<scid>.<vcid>.<tfvn>.<property> | ||
| cryptolib.aos.44.0.1.has_ecf=true | ||
| cryptolib.aos.44.0.1.has_fhecf=false | ||
| cryptolib.aos.44.0.1.has_fhec=false | ||
| cryptolib.aos.44.0.1.has_iz=false | ||
| cryptolib.aos.44.0.1.iz_len=0 | ||
| cryptolib.aos.44.0.1.has_ocf=false | ||
| cryptolib.aos.44.0.1.max_frame_length=1024 | ||
| cryptolib.aos.44.0.1.has_segmentation_header=false | ||
| cryptolib.aos.44.0.1.has_pus_header=false | ||
| cryptolib.aos.44.0.1.max_frame_length=128 | ||
| cryptolib.aos.44.1.1.has_ecf=true | ||
| cryptolib.aos.44.1.1.has_segmentation_header=false | ||
| cryptolib.aos.44.1.1.has_pus_header=false | ||
| cryptolib.aos.44.1.1.max_frame_length=128 | ||
| cryptolib.aos.45.0.1.has_ecf=true | ||
| cryptolib.aos.45.0.1.has_segmentation_header=false | ||
| cryptolib.aos.45.0.1.has_pus_header=false | ||
| cryptolib.aos.45.0.1.max_frame_length=128 | ||
|
|
||
| # CryptoLib Global Behavioral Properties for TM | ||
| cryptolib.tm.vcid_bitmask=0x3f | ||
|
|
@@ -80,6 +90,18 @@ cryptolib.tm.on_rollover_increment_nontransmitted_counter=true | |
|
|
||
| # Managed Parameters for TM | ||
| # cryptolib.tm.<scid>.<vcid>.<tfvn>.<property> | ||
| cryptolib.tm.44.0.0.has_segmentation_header=false | ||
| cryptolib.tm.44.0.0.has_pus_header=false | ||
| cryptolib.tm.44.0.0.has_ecf=true | ||
| cryptolib.tm.44.0.0.max_frame_length=128 | ||
| cryptolib.tm.44.0.0.has_ocf=false | ||
| cryptolib.tm.44.0.0.max_frame_length=1024 | ||
| cryptolib.tm.44.1.0.has_ecf=true | ||
| cryptolib.tm.44.1.0.has_ocf=false | ||
| cryptolib.tm.44.1.0.has_segmentation_header=false | ||
| cryptolib.tm.44.1.0.has_pus_header=false | ||
| cryptolib.tm.44.1.0.max_frame_length=128 | ||
| cryptolib.tm.45.0.0.has_ecf=true | ||
| cryptolib.tm.45.0.0.has_ocf=false | ||
| cryptolib.tm.45.0.0.has_segmentation_header=false | ||
| cryptolib.tm.45.0.0.has_pus_header=false | ||
| cryptolib.tm.45.0.0.max_frame_length=128 | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed bitstring dependency, and refactored to bitshift and struct for header hex conversions. tested with before/after outputs.