mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
revert
This commit is contained in:
parent
8553c206cb
commit
230dd86906
@ -11,7 +11,7 @@ namespace llarp
|
|||||||
static bool
|
static bool
|
||||||
xchacha20(llarp_buffer_t buff, const byte_t *k, const byte_t *n)
|
xchacha20(llarp_buffer_t buff, const byte_t *k, const byte_t *n)
|
||||||
{
|
{
|
||||||
return crypto_stream_chacha20_xor(buff.base, buff.base, buff.sz, n, k)
|
return crypto_stream_xchacha20_xor(buff.base, buff.base, buff.sz, n, k)
|
||||||
== 0;
|
== 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user