Skip to content

Switch sha1 calculations done by rust sha1 crate to openssl#42

Closed
algesten wants to merge 1 commit intomainfrom
feature/full-openssl
Closed

Switch sha1 calculations done by rust sha1 crate to openssl#42
algesten wants to merge 1 commit intomainfrom
feature/full-openssl

Conversation

@algesten
Copy link
Copy Markdown
Owner

No description provided.

@algesten algesten force-pushed the main branch 2 times, most recently from 8c3903e to 0ded9f5 Compare January 21, 2023 21:09
@algesten algesten force-pushed the feature/full-openssl branch from 07a5709 to 3d7a71e Compare January 22, 2023 11:05
@daxpedda
Copy link
Copy Markdown

I was reading on Discord that the reason for switching to the OpenSSL SHA-1 implementation is because of the issue of the RustCrypto crate not support ASM on some platforms, notably MSVC, which has a noticeable impact on performance.

Hopefully this can help: RustCrypto/hashes#450.

@algesten
Copy link
Copy Markdown
Owner Author

Thanks!

Truth to be told, I don't know if the OpenSSL SHA1 is making any performance difference on Windows. The inline ASM will certainly solve this. I was looking at how to implement the SHA1 in inline ASM but decided it was slightly beyond the scope of what I wanted to attempt right now.

@algesten algesten force-pushed the main branch 5 times, most recently from a491dda to 32b0f89 Compare March 18, 2023 22:34
@algesten algesten closed this Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants