All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sabrina Dubroca <sd@queasysnail.net>
To: Emeel Hakim <ehakim@nvidia.com>
Cc: dsahern@kernel.org, netdev@vger.kernel.org, raeds@nvidia.com,
	tariqt@nvidia.com
Subject: Re: [PATCH main v5 1/2] macsec: add Extended Packet Number support
Date: Sun, 11 Sep 2022 23:20:53 +0200	[thread overview]
Message-ID: <Yx5RNSTJ4lcndzcO@hog> (raw)
In-Reply-To: <20220911092656.13986-1-ehakim@nvidia.com>

2022-09-11, 12:26:55 +0300, Emeel Hakim wrote:
> This patch adds support for extended packet number (XPN).
> XPN can be configured by passing 'cipher gcm-aes-xpn-128' as part of
> the ip link add command using macsec type.
> In addition, using 'xpn' keyword instead of the 'pn', passing a 12
> bytes salt using the 'salt' keyword and passing short secure channel
> id (ssci) using the 'ssci' keyword as part of the ip macsec command
> is required (see example).
> 
> e.g:
> 
> create a MACsec device on link eth0 with enabled xpn
>   # ip link add link eth0 macsec0 type macsec port 11
> 	encrypt on cipher gcm-aes-xpn-128
> 
> configure a secure association on the device
>   # ip macsec add macsec0 tx sa 0 xpn 1024 on ssci 5
> 	salt 838383838383838383838383
> 	key 01 81818181818181818181818181818181
> 
> configure a secure association on the device with ssci = 5
>   # ip macsec add macsec0 tx sa 0 xpn 1024 on ssci 5
> 	salt 838383838383838383838383
> 	key 01 82828282828282828282828282828282
> 
> Signed-off-by: Emeel Hakim <ehakim@nvidia.com>

Looks good now, thanks.
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>

-- 
Sabrina


  parent reply	other threads:[~2022-09-11 21:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11  9:26 [PATCH main v5 1/2] macsec: add Extended Packet Number support Emeel Hakim
2022-09-11  9:26 ` [PATCH main v5 2/2] macsec: add user manual description for extended packet number feature Emeel Hakim
2022-09-11 21:22   ` Sabrina Dubroca
2022-09-11 21:20 ` Sabrina Dubroca [this message]
2022-09-16 16:40 ` [PATCH main v5 1/2] macsec: add Extended Packet Number support patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Yx5RNSTJ4lcndzcO@hog \
    --to=sd@queasysnail.net \
    --cc=dsahern@kernel.org \
    --cc=ehakim@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=raeds@nvidia.com \
    --cc=tariqt@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.