From fd5adb0136aa49a9ec59bb16ff7956b7a9f8a85c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 18 Jul 2022 23:47:27 +0200 Subject: macsec: T4537: allow 32-byte keys for gcm-aes-256 (cherry picked from commit 393355f7feaa921eba46b83d4f15ad4a5c37adab) --- interface-definitions/interfaces-macsec.xml.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in index 96dcf3ca0..fa54aedc1 100644 --- a/interface-definitions/interfaces-macsec.xml.in +++ b/interface-definitions/interfaces-macsec.xml.in @@ -60,11 +60,12 @@ Secure Connectivity Association Key - key - 16-byte (128-bit) hex-string (32 hex-digits) + txt + 16-byte (128-bit) hex-string (32 hex-digits) for gcm-aes-128 or 32-byte (256-bit) hex-string (64 hex-digits) for gcm-aes-256 - ^[A-Fa-f0-9]{32}$ + [A-Fa-f0-9]{32} + [A-Fa-f0-9]{64} @@ -72,7 +73,7 @@ Secure Connectivity Association Key Name - key + txt 32-byte (256-bit) hex-string (64 hex-digits) -- cgit v1.2.3