update readme
This commit is contained in:
parent
565c03beaa
commit
d34c6a8297
46
README.md
46
README.md
@ -52,7 +52,49 @@ cd ./openssl/apps
|
|||||||
|
|
||||||
### WINDOWS
|
### WINDOWS
|
||||||
- testované na Windows 10.0.19043
|
- testované na Windows 10.0.19043
|
||||||
- tbd
|
|
||||||
|
**1. Príprava prostredia
|
||||||
|
|
||||||
|
Perl - stiahnutie Perl-u strawberry-perl-5.32.1.1-64bit zo stránky https://strawberryperl.com/
|
||||||
|
|
||||||
|
Cmake - stihnutie CMake-u cmake-3.26.3-windows-x86_64 zo stránky https://cmake.org/download/
|
||||||
|
|
||||||
|
Pridanie premenných prostredia:
|
||||||
|
```
|
||||||
|
D:\Strawberry\perl\bin
|
||||||
|
D:\Program Files\CMake\bin
|
||||||
|
```
|
||||||
|
pozn. v našom prípade premenná nepomohla a bolo nutné je nekonfigurovať manuálne v Powershelli príkazom
|
||||||
|
```
|
||||||
|
$env:path += ";D:\Program Files\cmake\bin"
|
||||||
|
```
|
||||||
|
|
||||||
|
**2. Stiahnutie OpenSSL, Open Quantum Safe OpenSSL repozitáru a liboqs**
|
||||||
|
OpenSSL - stiahnutie OpenSSL 1.1.1t zo stránky - https://www.openssl.org/source/
|
||||||
|
Stiahnutý súbor sme extrahovali do priečinka ProgramFiles a premenovali sme ho na openssl
|
||||||
|
|
||||||
|
OpenSSL OQS - stiahnutie OQS OpenSSL repozitáru z GITu - https://github.com/open-quantum-safe/openssl/tree/OQS-OpenSSL_1_1_1-stable
|
||||||
|
Presun stiahnutých súborov do openssl priečinku
|
||||||
|
|
||||||
|
Liboqs - stiahnutie súborov z GITu - https://github.com/open-quantum-safe/liboqs
|
||||||
|
|
||||||
|
**3. Príprava liboqs
|
||||||
|
- prípade chyby prístupu pri príkaze cmake alebo ninja je potrebné spustiť PowerShell ako administrátor
|
||||||
|
```
|
||||||
|
cd liboqs
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -GNinja -DCMAKE_INSTALL_PREFIX='D:\Program Files\openssl\openssl-OQS-OpenSSL_1_1_1-stable\oqs' ..
|
||||||
|
ninja
|
||||||
|
ninja install
|
||||||
|
```
|
||||||
|
|
||||||
|
**4. Build QS OpenSSL fork**
|
||||||
|
```
|
||||||
|
cd ./openssl
|
||||||
|
perl Configure VC-WIN64A no-shared
|
||||||
|
!!!nmake
|
||||||
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
[Open quantum safe OpenSSL 1.1.1t](https://github.com/open-quantum-safe/openssl)
|
[Open quantum safe OpenSSL 1.1.1t](https://github.com/open-quantum-safe/openssl)
|
||||||
|
Loading…
Reference in New Issue
Block a user