diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-09-14 14:37:17 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-09-14 14:37:17 +0800 |
commit | b68d2820825b3e90302d452fed9f28bfed9668fe (patch) | |
tree | dde435ac75fd88a492fcac3947b612627d5dc675 /include | |
parent | 11557e8e6001d28afdca1b5aa78b075e0c8defc3 (diff) | |
download | dexon-bls-b68d2820825b3e90302d452fed9f28bfed9668fe.tar dexon-bls-b68d2820825b3e90302d452fed9f28bfed9668fe.tar.gz dexon-bls-b68d2820825b3e90302d452fed9f28bfed9668fe.tar.bz2 dexon-bls-b68d2820825b3e90302d452fed9f28bfed9668fe.tar.lz dexon-bls-b68d2820825b3e90302d452fed9f28bfed9668fe.tar.xz dexon-bls-b68d2820825b3e90302d452fed9f28bfed9668fe.tar.zst dexon-bls-b68d2820825b3e90302d452fed9f28bfed9668fe.zip |
bls_if stack version
Diffstat (limited to 'include')
-rw-r--r-- | include/bls_if.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/include/bls_if.h b/include/bls_if.h index 7872778..79885a0 100644 --- a/include/bls_if.h +++ b/include/bls_if.h @@ -14,15 +14,27 @@ extern "C" { #endif -typedef struct blsSecretKey blsSecretKey; -typedef struct blsPublicKey blsPublicKey; -typedef struct blsSign blsSign; -typedef struct blsId blsId; +typedef struct { + uint64_t buf[4]; +} blsId; + +typedef struct { + uint64_t buf[4]; +} blsSecretKey; + +typedef struct { + uint64_t buf[4 * 2 * 3]; +} blsPublicKey; + +typedef struct { + uint64_t buf[4 * 3]; +} blsSign; void blsInit(void); blsId *blsIdCreate(void); void blsIdDestroy(blsId *id); +void blsIdPut(const blsId *id); void blsIdCopy(blsId *dst, const blsId *src); // return 0 if success |