mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-21 22:17:53 +00:00
fixed BK calculation bug. now calculates BK correctly.
This commit is contained in:
parent
d51545b87a
commit
8980b13bbf
@ -273,7 +273,7 @@ int rhizome_add_manifest(rhizome_manifest *m_in,
|
||||
int len=crypto_sign_edwards25519sha512batch_SECRETKEYBYTES;
|
||||
unsigned char bkbytes[len];
|
||||
if (!rhizome_bk_xor(author,m_in->cryptoSignPublic,
|
||||
m_in->cryptoSignPublic,
|
||||
m_in->cryptoSignSecret,
|
||||
bkbytes)) {
|
||||
WHYF("set BK='%s'",rhizome_bytes_to_hex(bkbytes,len));
|
||||
rhizome_manifest_set(m_in,"BK",rhizome_bytes_to_hex(bkbytes,len));
|
||||
|
Loading…
Reference in New Issue
Block a user