<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I'm not sure if this is the right place to ask, I'm sorry if not. I just see this email as the maintainer contact of official openssl package on Ubuntu 18.04.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>My issue:</b></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am investigate openssl to apply it to encrypt some large files. I want to be able to compile openssl from source (<a href="https://github.com/openssl/openssl" id="LPNoLP439856">https://github.com/openssl/openssl</a>), since I need to add some debug log and
 some time-measurement code to observe the performance.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I start to build <span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">
compile</span> with the original source at tag "OpenSSL_1_1_1" follow this instruction: <a href="https://www.howtoforge.com/tutorial/how-to-install-openssl-from-source-on-linux/" id="LPNoLP309799">https://www.howtoforge.com/tutorial/how-to-install-openssl-from-source-on-linux/</a></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But when I run some encrypt demo with the new-build openssl, the time consumes to encrypt is somehow bigger than the one with the official openssl package installed by "<i>apt install openssl</i>".</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I guess that the options of "<i>./config</i>" command are different between 2 openssl builds.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>My expectation:</b></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I hope to find the full build commands (with options for <i>./config</i>, <i>make</i>) for the official openssl on Ubuntu 18.04, to make sure my self-complied version doesn't change too much from the official.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Currently, I can only gleam limited information from the "</span><i>openssl version -a</i>" <span>command</span></div>
<blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex; color: rgb(102, 102, 102);">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-family: "Courier New", monospace; font-size: 10pt;">> openssl version -a    # The official package</span><span><br>
</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">OpenSSL 1.1.1  11 Sep 2018</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">built on: Tue Nov 12 16:58:35 2019 UTC</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">platform: debian-amd64</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">options:  bn(64,64) rc4(16x,int) des(int) blowfish(ptr)
</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-kxN_24/openssl-1.1.1=. -fstack-protector-strong -Wformat -Werror=format-security
 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM
 -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">OPENSSLDIR: "/usr/lib/ssl"</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1"</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Seeding source: os-specific</span><br>
</div>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-family: "Courier New", monospace; font-size: 10pt;">lap13417@lap13417:~/scratch/openssl$ echo "OpenSSL 1.1.1  11 Sep 2018</span><span><br>
</span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-family: "Courier New", monospace; font-size: 10pt;">></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-family: "Courier New", monospace; font-size: 10pt;">></span></span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-family: "Courier New", monospace; font-size: 10pt;">> /usr/local/ssl/bin/openssl version -a     # Self-complied</span><span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">OpenSSL 1.1.1  11 Sep 2018</span><span><br>
</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">built on: Mon Mar 16 08:30:17 2020 UTC</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">platform: linux-x86_64</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">options:  bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr)
</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DNDEBUG</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">OPENSSLDIR: "/usr/local/ssl"</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">ENGINESDIR: "/usr/local/ssl/lib/engines-1.1"</span><br>
</div>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">Seeding source: os-specific</span><br>
</span></span></div>
</blockquote>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
And again, sorry if I asked at wrong place.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dat Le.</div>
<div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</div>
</body>
</html>