diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-05 20:58:19 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-05 20:58:19 +0800 |
commit | 2707ef159e0d988b8e4c0d9ed644a9e47deae3f4 (patch) | |
tree | 7398b3a533cefacfc4056d2ee15309cd72a45579 /include/bls/bls.h | |
parent | acf1c832c65429be7f07d8bae5ce91978f78e75f (diff) | |
download | dexon-bls-2707ef159e0d988b8e4c0d9ed644a9e47deae3f4.tar dexon-bls-2707ef159e0d988b8e4c0d9ed644a9e47deae3f4.tar.gz dexon-bls-2707ef159e0d988b8e4c0d9ed644a9e47deae3f4.tar.bz2 dexon-bls-2707ef159e0d988b8e4c0d9ed644a9e47deae3f4.tar.lz dexon-bls-2707ef159e0d988b8e4c0d9ed644a9e47deae3f4.tar.xz dexon-bls-2707ef159e0d988b8e4c0d9ed644a9e47deae3f4.tar.zst dexon-bls-2707ef159e0d988b8e4c0d9ed644a9e47deae3f4.zip |
use struts of bn.h
Diffstat (limited to 'include/bls/bls.h')
-rw-r--r-- | include/bls/bls.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/bls/bls.h b/include/bls/bls.h index cb84147..47b33cf 100644 --- a/include/bls/bls.h +++ b/include/bls/bls.h @@ -14,7 +14,7 @@ #else #define BLS_DLL_API __declspec(dllimport) #ifndef BLS_NO_AUTOLINK - #if MBN_FP_UNIT_SIZE == 4 + #if MCLBN_FP_UNIT_SIZE == 4 #pragma comment(lib, "bls256.lib") #endif #endif @@ -34,19 +34,19 @@ enum { }; typedef struct { - uint64_t buf[MBN_FP_UNIT_SIZE]; + mclBnFr v; } blsId; typedef struct { - uint64_t buf[MBN_FP_UNIT_SIZE]; + mclBnFr v; } blsSecretKey; typedef struct { - uint64_t buf[MBN_FP_UNIT_SIZE * 2 * 3]; + mclBnG2 v; } blsPublicKey; typedef struct { - uint64_t buf[MBN_FP_UNIT_SIZE * 3]; + mclBnG1 v; } blsSignature; /* |