aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/keypair.h
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-09-01 13:07:57 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-01 14:05:40 +0200
commitdffdb1388991c5b5688139bfa093c8581a0f3a36 (patch)
treeaf0d82089d335e8b9eda6d6f754da4b2905eb901 /libcmix-crypto/keypair.h
parent9d7701c370f06be663f2a485507d388ab5194ca8 (diff)
downloadcmix-dffdb1388991c5b5688139bfa093c8581a0f3a36.tar.gz
cmix-dffdb1388991c5b5688139bfa093c8581a0f3a36.tar.bz2
cmix-dffdb1388991c5b5688139bfa093c8581a0f3a36.zip
Added a sodium implementation for creating private and public keys.
Diffstat (limited to 'libcmix-crypto/keypair.h')
-rw-r--r--libcmix-crypto/keypair.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcmix-crypto/keypair.h b/libcmix-crypto/keypair.h
index 90cf16b..df5ec88 100644
--- a/libcmix-crypto/keypair.h
+++ b/libcmix-crypto/keypair.h
@@ -13,8 +13,8 @@ typedef void(*KeyPairDeleter)(struct KeyPair*);
void keypair_deleter(struct KeyPair* p) ;
struct KeyPair {
- char* sec;
- char* pub;
+ unsigned char* sec;
+ unsigned char* pub;
unsigned int sec_len;
unsigned int pub_len;
KeyPairDeleter deleter;