Open zkonge opened 1 year ago
Hello @zkonge !
Glad to see your interest in IPP Crypto. Let me answer your question.
Why CCM exists but GCM not?
Currently, we support the next modes for SM4 algorithm: ECB, CBC, CFB, OFB, CTR, CCM. GCM is not currently supported.
Is SM4-GCM mode important for you? Could you please share the application/use-case where you use this algorithm?
Regarding the request to implement this mode: Please, submit your feature request via Intel online center - https://supporttickets.intel.com/s/?language=en_US - with a description of why this mode is important for you.
@zkonge you can try this? https://github.com/mjosaarinen/sm4ni
https://datatracker.ietf.org/doc/html/rfc8998
Why CCM exists but GCM not?