more code change

This commit is contained in:
Hongze Cheng 2024-12-13 15:43:19 +08:00
parent 921704e043
commit 4ea6082a78
1 changed files with 10 additions and 10 deletions

View File

@ -21,19 +21,19 @@
extern "C" { extern "C" {
#endif #endif
typedef struct SCryptOpts{ typedef struct SCryptOpts {
int32_t len; int32_t len;
char* source; char* source;
char* result; char* result;
int32_t unitLen; int32_t unitLen;
unsigned char key[17]; char key[17];
}SCryptOpts; } SCryptOpts;
int32_t CBC_Decrypt(SCryptOpts *opts); int32_t CBC_Decrypt(SCryptOpts* opts);
int32_t CBC_Encrypt(SCryptOpts *opts); int32_t CBC_Encrypt(SCryptOpts* opts);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif // _CRYPT_H_ #endif // _CRYPT_H_