{"id":9301,"date":"2021-05-06T23:57:19","date_gmt":"2021-05-06T15:57:19","guid":{"rendered":"https:\/\/jpuyy.com\/?p=9301"},"modified":"2021-05-07T08:35:26","modified_gmt":"2021-05-07T00:35:26","slug":"openssl-%e5%ad%a6%e4%b9%a0%e6%b5%8b%e8%af%95-ssl","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=9301","title":{"rendered":"openssl \u5b66\u4e60\u6d4b\u8bd5 ssl"},"content":{"rendered":"<p>\u5efa\u7acb\u8fde\u63a5<\/p>\n<pre>\r\nopenssl s_client -connect jpuyy.com:443\r\n<\/pre>\n<p>\u6d4b\u8bd5 cpu \u8ba1\u7b97\u65f6\u95f4<\/p>\n<pre>\r\nopenssl speed rsa\r\nDoing 512 bit private rsa's for 10s: 45248 512 bit private RSA's in 10.00s\r\nDoing 512 bit public rsa's for 10s: 615186 512 bit public RSA's in 9.98s\r\nDoing 1024 bit private rsa's for 10s: 14429 1024 bit private RSA's in 10.00s\r\nDoing 1024 bit public rsa's for 10s: 246314 1024 bit public RSA's in 9.99s\r\nDoing 2048 bit private rsa's for 10s: 2131 2048 bit private RSA's in 10.00s\r\nDoing 2048 bit public rsa's for 10s: 76749 2048 bit public RSA's in 10.00s\r\nDoing 4096 bit private rsa's for 10s: 315 4096 bit private RSA's in 10.02s\r\nDoing 4096 bit public rsa's for 10s: 21302 4096 bit public RSA's in 9.96s\r\nOpenSSL 1.0.2k-fips  26 Jan 2017\r\nbuilt on: reproducible build, date unspecified\r\noptions:bn(64,64) md2(int) rc4(8x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) \r\ncompiler: gcc -I. -I.. -I..\/include  -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic -Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM\r\n                  sign    verify    sign\/s verify\/s\r\nrsa  512 bits 0.000221s 0.000016s   4524.8  61641.9\r\nrsa 1024 bits 0.000693s 0.000041s   1442.9  24656.1\r\nrsa 2048 bits 0.004693s 0.000130s    213.1   7674.9\r\nrsa 4096 bits 0.031810s 0.000468s     31.4   2138.8\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5efa\u7acb\u8fde\u63a5 openssl s_client -connect jpuyy.com:443 \u6d4b\u8bd5 cpu \u8ba1\u7b97\u65f6\u95f4 openssl speed rsa Doing 512 bit private rsa&#8217;s for 10s: 45248 512 bit private RSA&#8217;s in 10.00s Doing 512 bit public rsa&#8217;s for 10s: 615186 512 bit public RSA&#8217;s in 9.98s Doing 1024 bit private rsa&#8217;s for 10s: 14429 1024 bit private RSA&#8217;s in 10.00s Doing 1024 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[203],"tags":[],"class_list":["post-9301","post","type-post","status-publish","format-standard","hentry","category-ssl"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/9301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9301"}],"version-history":[{"count":3,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/9301\/revisions"}],"predecessor-version":[{"id":9304,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/9301\/revisions\/9304"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}