Implementation notes: amd64, hertz, crypto_hash/md2

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_hash
Primitive: md2

Compiler output


hash.c: hash.c:7:3: error: call to undeclared function 'MD2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
hash.c:     7 |   MD2(in,inlen,out);
hash.c:       |   ^
hash.c: 1 error generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:opensslclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:opensslclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:opensslclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))

Compiler output


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:       |   ^~~
try.c: /usr/bin/ld: libcrypto_hash_md2.a(hash.o): in function `crypto_hash_md2_openssl_timingleaks':
try.c: .../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_hash/md2/openssl/work/hash.c:7:(.text+0x...): undefined reference to `MD2'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:opensslgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Compiler output


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:       |   ^~~
try.c: /usr/bin/ld: libcrypto_hash_md2.a(hash.o): in function `crypto_hash_md2_openssl_timingleaks':
try.c: .../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_hash/md2/openssl/work/hash.c:7:(.text+0x...): undefined reference to `MD2'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:opensslgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)

Compiler output


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:       |   ^~~
try.c: /usr/bin/ld: libcrypto_hash_md2.a(hash.o): in function `crypto_hash_md2_openssl_timingleaks':
try.c: .../supercop-data/hertz/amd64/try/c/gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall/timingleaks/crypto_hash/md2/openssl/work/hash.c:7:(.text+0x...): undefined reference to `MD2'
try.c: collect2: error: ld returned 1 exit status

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:opensslgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)