Add software SDF implementation

The soft_sdf will replace sdf_dummy library for buiding testing apps.
This commit is contained in:
Zhi Guan
2023-12-28 10:18:09 +08:00
parent 1def752948
commit 39e2f9f657
4 changed files with 2826 additions and 465 deletions

View File

@@ -65,9 +65,9 @@
#define SGD_RSA_SIGN (SGD_RSA|SGD_PK_SIGN) // FIXME: correct?
#define SGD_RSA_ENC (SGD_RSA|SGD_PK_ENC) // FIXME: correct?
#define SGD_SM2 0x00020100
#define SGD_SM2_1 0x00020200
#define SGD_SM2_2 0x00020400
#define SGD_SM2_3 0x00020800
#define SGD_SM2_1 0x00020200 // SM2 Signature Scheme
#define SGD_SM2_2 0x00020400 // SM2 Key Exchange Protocol
#define SGD_SM2_3 0x00020800 // SM2 Encryption Scheme
/* hash */
#define SGD_SM3 0x00000001