[EXTERNAL] [PATCH v2] examples/ipsec-secgw: add support for SM4-CBC cipher and SM3-HMAC auth
Akhil Goyal
gakhil at marvell.com
Wed Nov 19 10:25:58 CET 2025
> This patch adds support for Chinese cryptographic algorithms in the
> IPsec security gateway example application:
>
> 1 Add SM4-CBC cipher algorithm support with 16-byte IV and key;
> 2 Add SM3-HMAC authentication algorithm support with 20-byte key;
> 3 Update SA configuration parsing to recognize "sm4-cbc" and "sm3-hmac"
> keywords;
> 4 Implement proper IV handling and authentication offset/length
> configuration.
>
> These additions enable the IPsec security gateway to use Chinese
> national cryptographic standards for secure communications.
>
> Signed-off-by: Sunyang Wu <sunyang.wu at jaguarmicro.com>
Which PMD is used to support this combination for IPsec?
More information about the dev
mailing list