Cryptography
Here are a set of steps to build python cryptography package
Pre-requisite
Microsoft Visual Studio 2019 or newer with ARM64 toolchain
Rust compiler for Windows on ARM64
Build OpenSSL
The first step is to build OpenSSL library which is a dependency for cryptography.
Checkout OpenSSL repository
GitHub - openssl/openssl: TLS/SSL and crypto library
2. Configure and compile the library
perl .\Configure VC-WIN64-ARM no-asm --prefix=<location to install> --openssldir=<location for ssl config>
nmake install
3. Add OpenSSL to LIB and PATH environment variable
$env:LIB+=";C:\Users\niysai01\Workspace\openssl_install\release\lib"
$env:INCLUDE+=";C:\Users\niysai01\Workspace\openssl_install\release\include”
Build Cryptography package
Checkout Cryptography source code
2. Build package
python setup.py install
3. Test