Skip to content

Commit

Permalink
Correct confidentiality offset field name. Also set format for intege…
Browse files Browse the repository at this point in the history
…r fields.
  • Loading branch information
sasubrata committed Jan 20, 2025
1 parent 6733259 commit 0024884
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
11 changes: 6 additions & 5 deletions device/macsec/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,19 @@ components:
x-field-uid: 3
gcm_aes_xpn_256:
x-field-uid: 4
confidentialty_offset:
confidentiality_offset:
description: |-
Confidentiality offset.
type: integer
default: '0'
format: uint32
default: 0
x-field-uid: 2
x-enum:
'0':
0:
x-field-uid: 1
'30':
30:
x-field-uid: 2
'50':
50:
x-field-uid: 3
Macsec.SecY.Basic.KeyGeneration.Static.Sak:
description: >-
Expand Down
8 changes: 8 additions & 0 deletions device/macsec/cryptoengine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ components:
description: >-
Fixed Tx PN.
type: integer
format: uint32
minimum: 1
default: 6
x-field-uid: 1
Macsec.SecY.CryptoEngine.Type.StatelessEncryptionOnly.IncrementingPn:
Expand All @@ -94,12 +96,16 @@ components:
description: >-
Count of packet numbers in series.
type: integer
format: uint32
minimum: 2
default: 100
x-field-uid: 1
first:
description: >-
First PN.
type: integer
format: uint32
minimum: 1
default: 10000
x-field-uid: 2
Macsec.SecY.CryptoEngine.Type.StatelessEncryptionOnly.Traffic:
Expand All @@ -122,6 +128,8 @@ components:
description: >-
Initial Tx PN.
type: integer
format: uint32
minimum: 1
default: 1
x-field-uid: 1
Macsec.SecY.CryptoEngine.Type.StatefulEncryptionDecryption.HardwareAcceleration:
Expand Down
5 changes: 5 additions & 0 deletions device/macsec/rxsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ components:
description: |-
DUT SCI Port ID.
type: integer
format: uint32
minimum: 1
maximum: 65535
default: 1
x-field-uid: 2
replay_protection:
Expand All @@ -35,6 +38,8 @@ components:
description: |-
Replay window size.
type: integer
format: uint32
minimum: 1
default: 1
x-field-uid: 4
sak_pool:
Expand Down
3 changes: 3 additions & 0 deletions device/macsec/txsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ components:
description: |-
Port ID.
type: integer
format: uint32
minimum: 1
maximum: 65535
default: 1
x-field-uid: 2
end_station:
Expand Down

0 comments on commit 0024884

Please sign in to comment.