Hi,

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.

My issue:
I am investigate openssl to apply it to encrypt some large files. I want to be 
able to compile openssl from source (https://github.com/openssl/openssl), since 
I need to add some debug log and some time-measurement code to observe the 
performance.
I start to build compile with the original source at tag "OpenSSL_1_1_1" follow 
this instruction: 
https://www.howtoforge.com/tutorial/how-to-install-openssl-from-source-on-linux/

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 "apt install openssl".
I guess that the options of "./config" command are different between 2 openssl 
builds.

My expectation:
I hope to find the full build commands (with options for ./config, make) for 
the official openssl on Ubuntu 18.04, to make sure my self-complied version 
doesn't change too much from the official.
Currently, I can only gleam limited information from the "openssl version -a" 
command
> openssl version -a    # The official package
OpenSSL 1.1.1  11 Sep 2018
built on: Tue Nov 12 16:58:35 2019 UTC
platform: debian-amd64
options:  bn(64,64) rc4(16x,int) des(int) blowfish(ptr)
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
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1"
Seeding source: os-specific
lap13417@lap13417:~/scratch/openssl$ echo "OpenSSL 1.1.1  11 Sep 2018
>
>
> /usr/local/ssl/bin/openssl version -a     # Self-complied
OpenSSL 1.1.1  11 Sep 2018
built on: Mon Mar 16 08:30:17 2020 UTC
platform: linux-x86_64
options:  bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr)
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
OPENSSLDIR: "/usr/local/ssl"
ENGINESDIR: "/usr/local/ssl/lib/engines-1.1"
Seeding source: os-specific
And again, sorry if I asked at wrong place.

Best regards,
Dat Le.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to