File tree Expand file tree Collapse file tree 5 files changed +884
-0
lines changed
Expand file tree Collapse file tree 5 files changed +884
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ typedef void (*DFUNC)(void);
120120#define WP_NAMES_AES_128_WRAP \
121121 "AES-128-WRAP:id-aes128-wrap:AES128-WRAP:2.16.840.1.101.3.4.1.5"
122122
123+ #define WP_NAMES_DES_EDE3_CBC "DES-EDE3-CBC:DES3:1.2.840.113549.3.7"
124+
123125/* Internal cipher flags. */
124126#define WP_CIPHER_FLAG_AEAD 0x0001
125127#define WP_CIPHER_FLAG_CUSTOM_IV 0x0002
@@ -277,6 +279,8 @@ extern const OSSL_DISPATCH wp_aes256wrap_functions[];
277279extern const OSSL_DISPATCH wp_aes192wrap_functions [];
278280extern const OSSL_DISPATCH wp_aes128wrap_functions [];
279281
282+ extern const OSSL_DISPATCH wp_des3cbc_functions [];
283+
280284/* MAC implementations. */
281285extern const OSSL_DISPATCH wp_hmac_functions [];
282286extern const OSSL_DISPATCH wp_cmac_functions [];
Original file line number Diff line number Diff line change 8282#ifndef NO_AES_CBC
8383 #define WP_HAVE_AESCBC
8484#endif
85+ #ifndef NO_DES3
86+ #define WP_HAVE_DES3CBC
87+ #endif
8588#ifdef WOLFSSL_AES_COUNTER
8689 #define WP_HAVE_AESCTR
8790#endif
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ libwolfprov_la_SOURCES += src/wp_aes_block.c
1010libwolfprov_la_SOURCES += src/wp_aes_stream.c
1111libwolfprov_la_SOURCES += src/wp_aes_aead.c
1212libwolfprov_la_SOURCES += src/wp_aes_wrap.c
13+ libwolfprov_la_SOURCES += src/wp_des.c
1314libwolfprov_la_SOURCES += src/wp_hmac.c
1415libwolfprov_la_SOURCES += src/wp_cmac.c
1516libwolfprov_la_SOURCES += src/wp_gmac.c
You can’t perform that action at this time.
0 commit comments