Implementation notes: amd64, titan0, crypto_hash/md2

Computer: titan0
Microarchitecture: amd64; HW+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20230530
Operation: crypto_hash
Primitive: md2

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
hash.c: In file included from hash.c:2:
hash.c: In file included from /usr/include/openssl/md2.h:14:
hash.c: /usr/include/openssl/macros.h:155:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
hash.c: # error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
hash.c: ^
hash.c: hash.c:7:3: warning: implicit declaration of function 'MD2' is invalid in C99 [-Wimplicit-function-declaration]
hash.c: MD2(in,inlen,out);
hash.c: ^
hash.c: 1 warning and 1 error generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:openssl

Compiler output

Implementation: T:openssl
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
hash.c: In file included from /usr/include/openssl/md2.h:14,
hash.c: from hash.c:2:
hash.c: /usr/include/openssl/macros.h:155:4: error: #error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
hash.c: 155 | # error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
hash.c: | ^~~~~
hash.c: hash.c: In function 'crypto_hash_md2_openssl_timingleaks':
hash.c: hash.c:7:3: warning: implicit declaration of function 'MD2' [-Wimplicit-function-declaration]
hash.c: 7 | MD2(in,inlen,out);
hash.c: | ^~~

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:openssl