Skip to content

Commit

Permalink
fix(PubSub): Fix signing key length for Aes128-CTR
Browse files Browse the repository at this point in the history
Change-Id: I38375640a35ef6e9fbb5c3eb8bf506bdf2f6757f
  • Loading branch information
opcua-tsn-team-kalycito authored and jpfr committed Nov 17, 2021
1 parent fbc0253 commit 3433e4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/pubsub_realtime/pubsub_TSN_loopback.c
Expand Up @@ -152,7 +152,7 @@ static UA_Double userAppWakeupPercentage = 0.3;
#define ETH_TRANSPORT_PROFILE "http://opcfoundation.org/UA-Profile/Transport/pubsub-eth-uadp"

#ifdef UA_ENABLE_PUBSUB_ENCRYPTION
#define UA_AES128CTR_SIGNING_KEY_LENGTH 16
#define UA_AES128CTR_SIGNING_KEY_LENGTH 32
#define UA_AES128CTR_KEY_LENGTH 16
#define UA_AES128CTR_KEYNONCE_LENGTH 4

Expand Down
2 changes: 1 addition & 1 deletion examples/pubsub_realtime/pubsub_TSN_publisher.c
Expand Up @@ -156,7 +156,7 @@ static UA_Double userAppWakeupPercentage = 0.3;
#define LATENCY_CSV_FILE_NAME "latencyT1toT8.csv"

#ifdef UA_ENABLE_PUBSUB_ENCRYPTION
#define UA_AES128CTR_SIGNING_KEY_LENGTH 16
#define UA_AES128CTR_SIGNING_KEY_LENGTH 32
#define UA_AES128CTR_KEY_LENGTH 16
#define UA_AES128CTR_KEYNONCE_LENGTH 4

Expand Down

0 comments on commit 3433e4e

Please sign in to comment.