mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-27 02:36:29 +08:00
update sm_standard
This commit is contained in:
1569
engines/vendor_defns/miracl.h
Normal file
1569
engines/vendor_defns/miracl.h
Normal file
File diff suppressed because it is too large
Load Diff
30
engines/vendor_defns/mirdef.h
Normal file
30
engines/vendor_defns/mirdef.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* MIRACL compiler/hardware definitions - mirdef.h
|
||||
* For C++ build of library
|
||||
*/
|
||||
|
||||
#ifndef HEADER_MIRDEF_H
|
||||
#define HEADER_MIRDEF_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
#define MR_LITTLE_ENDIAN
|
||||
#define MIRACL 64
|
||||
#define mr_utype long
|
||||
#define mr_dltype long long
|
||||
#define mr_unsign64 unsigned long
|
||||
#define MR_IBITS 32
|
||||
#define MR_LBITS 64
|
||||
#define mr_unsign32 unsigned int
|
||||
#define MR_FLASH 52
|
||||
#define MAXBASE ((mr_small)1<<(MIRACL-1))
|
||||
#define MR_BITSINCHAR 8
|
||||
#define MR_CPP
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user