Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SM4-GCM support #57

Open
zkonge opened this issue May 11, 2023 · 2 comments
Open

Add SM4-GCM support #57

zkonge opened this issue May 11, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@zkonge
Copy link

zkonge commented May 11, 2023

https://datatracker.ietf.org/doc/html/rfc8998

Why CCM exists but GCM not?

@ElenaTyuleneva
Copy link
Contributor

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. 

 

@ElenaTyuleneva ElenaTyuleneva added the enhancement New feature or request label Jul 4, 2023
@bingzhux
Copy link

@zkonge you can try this? https://github.com/mjosaarinen/sm4ni

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants