Panthera algo fix
This commit is contained in:
parent
aaf1ff1460
commit
5499d5a97a
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ int rx_yespower_k12(void *out, size_t outlen, const void *in, size_t inlen)
|
||||||
rx_blake2b(out, outlen, in, inlen, 0, 0);
|
rx_blake2b(out, outlen, in, inlen, 0, 0);
|
||||||
yespower_params_t params = { YESPOWER_1_0, 2048, 8, NULL };
|
yespower_params_t params = { YESPOWER_1_0, 2048, 8, NULL };
|
||||||
if (yespower_tls((const uint8_t *)out, outlen, ¶ms, (yespower_binary_t *)out)) return -1;
|
if (yespower_tls((const uint8_t *)out, outlen, ¶ms, (yespower_binary_t *)out)) return -1;
|
||||||
return KangarooTwelve((const unsigned char *)in, inlen, (unsigned char *)out, 32, 0, 0);
|
return KangarooTwelve((const unsigned char *)out, outlen, (unsigned char *)out, 32, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue