Fixed bug

This commit is contained in:
MoneroOcean 2020-07-16 16:51:09 -07:00
parent 26e91c516b
commit b994d6f8c8

View file

@ -375,7 +375,6 @@ int rx_yespower_k12(void *out, size_t outlen, const void *in, size_t inlen)
.pers = NULL .pers = NULL
}; };
if (yespower_tls((const uint8_t *)out, outlen, &params, (yespower_binary_t *)out)) return -1; if (yespower_tls((const uint8_t *)out, outlen, &params, (yespower_binary_t *)out)) return -1;
yespower_hash(out, outlen, out);
return KangarooTwelve((const unsigned char *)in, inlen, (unsigned char *)out, 32, 0, 0); return KangarooTwelve((const unsigned char *)in, inlen, (unsigned char *)out, 32, 0, 0);
} }