> Acked-by: Kai Ji <[email protected]>
>
>
> From: Sun Yuechi <[email protected]>
> Sent: Monday, October 26, 2026 14:16
> To: Ji, Kai <[email protected]>; Akhil Goyal <[email protected]>; Gowrishankar
> Muthukrishnan <[email protected]>
> Cc: [email protected] <[email protected]>; Sun Yuechi <[email protected]>;
> [email protected] <[email protected]>
> Subject: [PATCH] crypto/openssl: fix SM2 encryption output length
>
> SM2 encryption passed a zero output length to EVP_PKEY_encrypt(),
> which OpenSSL 3.6.3 and later reject as "buffer too small".
> Query the required length first, as the RSA path does.
>
> Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2")
> Cc: [email protected]
> Signed-off-by: Sun Yuechi <[email protected]>
Applied to dpdk-next-crypto
Thanks