intel / cryptography-primitives

Intel® Cryptography Primitives Library is a secure, fast and lightweight library of building blocks for cryptography, highly-optimized for various Intel® CPUs
Apache License 2.0
326 stars 86 forks source link

Contribute Intel SGX sample code(GM SM2/3/4 algorithms using IPP Crypto) to ipp-crypto repo #71

Open xiaonan-INTC opened 10 months ago

xiaonan-INTC commented 10 months ago

Dear IPP team,

Intel SGX team has realized a sample code named SampleEnclaveGMIPP in SGX SDK, which realizes GM SM2/3/4 algorithms SM2 sign/verify, encrypt/decrypt, SM3 message digest, SM4 cbc/ctr using IPP Crypto library, we want to contribute it to ipp-crypto repo as a example under ipp-crypto/examples/, could you help evaluate the feasibility and workload? Thanks a lot!

paveldyakov commented 10 months ago

Hi @xiaonan-INTC, Thanks a lot for your willingness to contribute to IPP Crypto. We will sync with you about it.

yellow123Nike commented 10 months ago

Hello, is there a Demo for ec_sm2.h in crypto-mb?

xiaonan-INTC commented 10 months ago

Hi @xiaonan-INTC, Thanks a lot for your willingness to contribute to IPP Crypto. We will sync with you about it.

Dear @paveldyakov

Of course we can contribute the sample to your internal repository, with some necessary code reorganize and clear works. If convenient, pls help provide the details about it, and our team also need a discussion about this task meanwhile. :)

xiaonan-INTC commented 10 months ago

Hello, is there a Demo for ec_sm2.h in crypto-mb?

Dear @yellow123Nike

Yes, current SGX releases all have this sample project named "SampleEnclaveGMIPP", for your reference. :)

paveldyakov commented 1 week ago

Hi @xiaonan-INTC, Could you please tell if you need any help from our side regarding this activity?