New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize ecdsa #14162
Optimize ecdsa #14162
Conversation
846ec61
to
8a4bc3e
Compare
something is still off though |
rpcs3/Crypto/ec.cpp
Outdated
|
||
static int bn_compare(u8* a, u8* b, u32 n) | ||
template <s32 n> | ||
static inline int bn_compare(const u8* a, const u8* b) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isnt this just memcmp? you can clamp the result to +1 and -1 for completeness.
Turns out the optimization is fruitless since it needs the point copies after all. -> same time as before. |
80f067a
to
6ed97d0
Compare
I made it run async for each entry. |
turns out I was basically sidestepping the verification due to thread locals. |
Improves #14161