Description
Hi,
I’m currently developing a TLS client based on IPP-CP. When using RSA for handshake, everything works fine even under pressure testing with multiple cores (e.g., 2 cores achieve around 10,000 TPS per second without issues).
However, when I switch to SM2 for handshake, I encounter a problem: under single-core pressure testing, things look okay (about 500 TPS sustained for 150 seconds). But when I enable two cores, the program coredumps. The stack trace in the coredump appears incorrect and seems to indicate a memory corruption (possibly out-of-bounds memory write).
The CPU on the test device is Intel(R) Xeon(R) Silver 4314.
I’d like to ask: are there any special considerations or known issues in the SM2 handshake implementation when used in multi-core environments?
Thanks!