diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bls/bls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bls/bls.h b/include/bls/bls.h index 37c337d..a56120c 100644 --- a/include/bls/bls.h +++ b/include/bls/bls.h @@ -170,6 +170,11 @@ BLS_DLL_API size_t blsPublicKeyGetHexStr(char *buf, size_t maxBufSize, const bls BLS_DLL_API int blsSignatureSetHexStr(blsSignature *sig, const char *buf, size_t bufSize); BLS_DLL_API size_t blsSignatureGetHexStr(char *buf, size_t maxBufSize, const blsSignature *sig); +/* + Diffie Hellman key exchange + out = sec * pub +*/ +BLS_DLL_API void blsDHKeyExchange(blsPublicKey *out, const blsSecretKey *sec, const blsPublicKey *pub); #ifdef __cplusplus } #endif |