OpenSSL 0.9.8l ビルドメモ(自作機 Core 2 Duo E6300)
INSTALL.W32 に従って進めていたら,nmake -f ms\nt.mak が「return "OPENSSLDIR: \"" OPENSSLDIR "\"";」と出て,こけた.Ruby-1.8.7_p160 openssl編 - Kazzzの日記 の情報で解決した.perl Configure するとき,--prefix で与えるディレクトリの区切り文字を「\」としていたのが問題だった.「/」に変えて解決した.
ぼくの手順
- 管理者権限で実行「%comspec% /k ""D:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86」
- d:
- cd D:\Develop\src\openssl-0.9.8l
- perl Configure VC-WIN32 --prefix=d:/Develop/OpenSSL/0.9.8l
- ms\do_nasm.bat
- nmake -f nt.mak
- nmake -f nt.mak test
- nmake -f nt.mak install
openssl.exe spped の結果
CPU は Core 2 Duo E6300.Doing の行は改行を整形した.
D:\Develop\OpenSSL\0.9.8l\bin>openssl.exe speed To get the most accurate results, try to run this program when this computer is idle. First we calculate the approximate speed ... Doing md2 2097152 times on 16 size blocks: 2097152 md2's in 31.40s Doing md2 2097152 times on 64 size blocks: 2097152 md2's in 61.02s Doing md2 524288 times on 256 size blocks: 524288 md2's in 44.53s Doing md2 131072 times on 1024 size blocks: 131072 md2's in 40.49s Doing md2 16384 times on 8192 size blocks: 16384 md2's in 39.30s Doing md4 20971520 times on 16 size blocks: 20971520 md4's in 16.37s Doing md4 20971520 times on 64 size blocks: 20971520 md4's in 20.16s Doing md4 5242880 times on 256 size blocks: 5242880 md4's in 7.60s Doing md4 1310720 times on 1024 size blocks: 1310720 md4's in 4.55s Doing md4 163840 times on 8192 size blocks: 163840 md4's in 3.62s Doing md5 20971520 times on 16 size blocks: 20971520 md5's in 18.57s Doing md5 20971520 times on 64 size blocks: 20971520 md5's in 22.26s Doing md5 5242880 times on 256 size blocks: 5242880 md5's in 9.21s Doing md5 1310720 times on 1024 size blocks: 1310720 md5's in 5.70s Doing md5 163840 times on 8192 size blocks: 163840 md5's in 4.14s Doing hmac(md5) 20971520 times on 16 size blocks: 20971520 hmac(md5)'s in 18.27s Doing hmac(md5) 20971520 times on 64 size blocks: 20971520 hmac(md5)'s in 22.42s Doing hmac(md5) 5242880 times on 256 size blocks: 5242880 hmac(md5)'s in 8.60s Doing hmac(md5) 1310720 times on 1024 size blocks: 1310720 hmac(md5)'s in 5.17s Doing hmac(md5) 163840 times on 8192 size blocks: 163840 hmac(md5)'s in 4.17s Doing sha1 20971520 times on 16 size blocks: 20971520 sha1's in 18.58s Doing sha1 20971520 times on 64 size blocks: 20971520 sha1's in 24.15s Doing sha1 5242880 times on 256 size blocks: 5242880 sha1's in 10.13s Doing sha1 1310720 times on 1024 size blocks: 1310720 sha1's in 6.54s Doing sha1 163840 times on 8192 size blocks: 163840 sha1's in 5.51s Doing sha256 20971520 times on 16 size blocks: 20971520 sha256's in 27.23s Doing sha256 20971520 times on 64 size blocks: 20971520 sha256's in 46.78s Doing sha256 5242880 times on 256 size blocks: 5242880 sha256's in 26.21s Doing sha256 1310720 times on 1024 size blocks: 1310720 sha256's in 21.10s Doing sha256 163840 times on 8192 size blocks: 163840 sha256's in 19.65s Doing sha512 20971520 times on 16 size blocks: 20971520 sha512's in 42.37s Doing sha512 20971520 times on 64 size blocks: 20971520 sha512's in 42.67s Doing sha512 5242880 times on 256 size blocks: 5242880 sha512's in 25.58s Doing sha512 1310720 times on 1024 size blocks: 1310720 sha512's in 17.55s Doing sha512 163840 times on 8192 size blocks: 163840 sha512's in 15.25s Doing rmd160 20971520 times on 16 size blocks: 20971520 rmd160's in 25.77s Doing rmd160 20971520 times on 64 size blocks: 20971520 rmd160's in 37.97s Doing rmd160 5242880 times on 256 size blocks: 5242880 rmd160's in 18.48s Doing rmd160 1310720 times on 1024 size blocks: 1310720 rmd160's in 13.65s Doing rmd160 163840 times on 8192 size blocks: 163840 rmd160's in 12.32s Doing rc4 104857600 times on 16 size blocks: 104857600 rc4's in 8.62s Doing rc4 26214400 times on 64 size blocks: 26214400 rc4's in 7.63s Doing rc4 6553600 times on 256 size blocks: 6553600 rc4's in 7.82s Doing rc4 1638400 times on 1024 size blocks: 1638400 rc4's in 7.73s Doing rc4 204800 times on 8192 size blocks: 204800 rc4's in 7.93s Doing des cbc 20971520 times on 16 size blocks: 20971520 des cbc's in 8.15s Doing des cbc 5242880 times on 64 size blocks: 5242880 des cbc's in 7.87s Doing des cbc 1310720 times on 256 size blocks: 1310720 des cbc's in 7.79s Doing des cbc 327680 times on 1024 size blocks: 327680 des cbc's in 7.75s Doing des cbc 40960 times on 8192 size blocks: 40960 des cbc's in 7.80s Doing des ede3 6990506 times on 16 size blocks: 6990506 des ede3's in 7.27s Doing des ede3 1747626 times on 64 size blocks: 1747626 des ede3's in 7.16s Doing des ede3 436906 times on 256 size blocks: 436906 des ede3's in 7.09s Doing des ede3 109226 times on 1024 size blocks: 109226 des ede3's in 7.07s Doing des ede3 13653 times on 8192 size blocks: 13653 des ede3's in 7.14s Doing aes-128 cbc 20971520 times on 16 size blocks: 20971520 aes-128 cbc's in 6.76s Doing aes-128 cbc 5242880 times on 64 size blocks: 5242880 aes-128 cbc's in 4.17s Doing aes-128 cbc 1310720 times on 256 size blocks: 1310720 aes-128 cbc's in 3.64s Doing aes-128 cbc 327680 times on 1024 size blocks: 327680 aes-128 cbc's in 3.46s Doing aes-128 cbc 40960 times on 8192 size blocks: 40960 aes-128 cbc's in 3.32s Doing aes-192 cbc 20971520 times on 16 size blocks: 20971520 aes-192 cbc's in 7.40s Doing aes-192 cbc 5242880 times on 64 size blocks: 5242880 aes-192 cbc's in 4.80s Doing aes-192 cbc 1310720 times on 256 size blocks: 1310720 aes-192 cbc's in 4.25s Doing aes-192 cbc 327680 times on 1024 size blocks: 327680 aes-192 cbc's in 4.05s Doing aes-192 cbc 40960 times on 8192 size blocks: 40960 aes-192 cbc's in 3.96s Doing aes-256 cbc 20971520 times on 16 size blocks: 20971520 aes-256 cbc's in 8.08s Doing aes-256 cbc 5242880 times on 64 size blocks: 5242880 aes-256 cbc's in 5.58s Doing aes-256 cbc 1310720 times on 256 size blocks: 1310720 aes-256 cbc's in 4.95s Doing aes-256 cbc 327680 times on 1024 size blocks: 327680 aes-256 cbc's in 4.69s Doing aes-256 cbc 40960 times on 8192 size blocks: 40960 aes-256 cbc's in 4.59s Doing aes-128 ige 20971520 times on 16 size blocks: 20971520 aes-128 ige's in 4.24s Doing aes-128 ige 5242880 times on 64 size blocks: 5242880 aes-128 ige's in 3.86s Doing aes-128 ige 1310720 times on 256 size blocks: 1310720 aes-128 ige's in 3.75s Doing aes-128 ige 327680 times on 1024 size blocks: 327680 aes-128 ige's in 3.73s Doing aes-128 ige 40960 times on 8192 size blocks: 40960 aes-128 ige's in 3.75s Doing aes-192 ige 20971520 times on 16 size blocks: 20971520 aes-192 ige's in 4.95s Doing aes-192 ige 5242880 times on 64 size blocks: 5242880 aes-192 ige's in 4.51s Doing aes-192 ige 1310720 times on 256 size blocks: 1310720 aes-192 ige's in 4.46s Doing aes-192 ige 327680 times on 1024 size blocks: 327680 aes-192 ige's in 4.40s Doing aes-192 ige 40960 times on 8192 size blocks: 40960 aes-192 ige's in 4.39s