mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
update
This commit is contained in:
parent
21054dd328
commit
8cf3b95bcb
1 changed files with 6 additions and 1 deletions
|
@ -867,4 +867,9 @@ I64 crypto_sign_open(U8 *m, U64 *mlen, U8 *sm, U64 n, U8 *pk)
|
||||||
for (i = 0; i < n; i++) m[i] = sm[i + 64];
|
for (i = 0; i < n; i++) m[i] = sm[i + 64];
|
||||||
*mlen = n;
|
*mlen = n;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// U8 public_key[32];
|
||||||
|
// U8 private_key[64];
|
||||||
|
|
||||||
|
// crypto_box_keypair(public_key, private_key);
|
||||||
|
|
Loading…
Reference in a new issue