#assembly #build #windows #windows-msvc #tongsuo #intended #consumed

tongsuo-p832-src

Source of Tongsuo and logic to build it

6 stable releases

Uses old Rust 2015

832.0.6+8.3.2 Jun 1, 2023
832.0.5+8.3.2 May 27, 2023
832.0.4+8.3.2 Mar 24, 2023
832.0.3+8.3.2 Jan 28, 2023
832.0.2+8.3.2 Jan 23, 2023

#77 in Windows APIs

29 downloads per month

MIT/Apache

17MB
454K SLoC

C 278K SLoC // 0.1% comments Perl 164K SLoC // 0.1% comments GNU Style Assembly 6K SLoC // 0.1% comments Bitbake 2.5K SLoC // 0.1% comments M4 1.5K SLoC // 0.0% comments Prolog 643 SLoC Rust 456 SLoC // 0.1% comments Assembly 311 SLoC // 0.1% comments RPM Specfile 308 SLoC // 0.1% comments Shell 237 SLoC // 0.3% comments Emacs Lisp 35 SLoC // 0.5% comments K 8 SLoC

tongsuo-src

This crate contains the logic to build Tongsuo and is intended to be consumed by the openssl-sys crate. You likely in theory aren't interacting with this too much!

About this fork

This crate is based on openssl-src-rs.

License

This project is licensed under either of

at your option.

Windows MSVC Assembly

Building OpenSSL for windows-msvc targets, users can choose whether to enable assembly language routines, which requires nasm.
The build process will automatically detect whether nasm.exe is installed in PATH. If found, the assembly language routines will be enabled (in other words, the no-asm option will NOT be configured).
You can manipulate this behavior by setting the OPENSSL_RUST_USE_NASM environment variable:

  • 1: Force enable the assembly language routines. (panic if nasm.exe is not availible.)
  • 0: Force disable the assembly language routines even if the nasm.exe can be found in PATH.
  • not set: Let the build process automatically detect whether nasm.exe is installed. If found, enable. If not, disable. However, this environment variable does not take effects on non-windows platforms.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in openssl-src by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies