DaGenix / rust-crypto

A (mostly) pure-Rust implementation of various cryptographic algorithms.
Apache License 2.0
1.39k stars 295 forks source link

Use Inline assembly for msvc target from non-windows host #342

Closed alexchandel closed 8 years ago

alexchandel commented 8 years ago

When cross-compiling for msvc from a non-windows host, inline assembly is typically supported (for example via clang or clang-cl). Given that clang also doesn't support masm or have ml.exe compatibility, it's Most Unexceptional to use the C implementations of util_helpers and aesni_helpers.

DaGenix commented 8 years ago

Thanks!