API compatibility report for the libsodium library between 1.0.17 and 1.0.18 versions on x86_64


Binary
Compatibility
Source
Compatibility

Test Info


Library Namelibsodium
Version #11.0.17
Version #21.0.18
Archx86_64
GCC Version8
SubjectBinary Compatibility

Test Results


Total Header Files61
Total Libraries1
Total Symbols / Types591 / 51
Compatibility 99.8%

Problem Summary


SeverityCount
Added Symbols-26
Removed SymbolsHigh1
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
Other Changes
in Constants
-7

Added Symbols  26 


crypto_core_ed25519.h, libsodium.so.23.3.0
crypto_core_ed25519_from_hash ( unsigned char* p, unsigned char const* h )
crypto_core_ed25519_hashbytes ( )
crypto_core_ed25519_random ( unsigned char* p )
crypto_core_ed25519_scalar_mul ( unsigned char* z, unsigned char const* x, unsigned char const* y )

crypto_core_ristretto255.h, libsodium.so.23.3.0
crypto_core_ristretto255_add ( unsigned char* r, unsigned char const* p, unsigned char const* q )
crypto_core_ristretto255_bytes ( )
crypto_core_ristretto255_from_hash ( unsigned char* p, unsigned char const* r )
crypto_core_ristretto255_hashbytes ( )
crypto_core_ristretto255_is_valid_point ( unsigned char const* p )
crypto_core_ristretto255_nonreducedscalarbytes ( )
crypto_core_ristretto255_random ( unsigned char* p )
crypto_core_ristretto255_scalar_add ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ristretto255_scalar_complement ( unsigned char* comp, unsigned char const* s )
crypto_core_ristretto255_scalar_invert ( unsigned char* recip, unsigned char const* s )
crypto_core_ristretto255_scalar_mul ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ristretto255_scalar_negate ( unsigned char* neg, unsigned char const* s )
crypto_core_ristretto255_scalar_random ( unsigned char* r )
crypto_core_ristretto255_scalar_reduce ( unsigned char* r, unsigned char const* s )
crypto_core_ristretto255_scalar_sub ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ristretto255_scalarbytes ( )
crypto_core_ristretto255_sub ( unsigned char* r, unsigned char const* p, unsigned char const* q )

crypto_scalarmult_ristretto255.h, libsodium.so.23.3.0
crypto_scalarmult_ristretto255 ( unsigned char* q, unsigned char const* n, unsigned char const* p )
crypto_scalarmult_ristretto255_base ( unsigned char* q, unsigned char const* n )
crypto_scalarmult_ristretto255_bytes ( )
crypto_scalarmult_ristretto255_scalarbytes ( )

randombytes_internal_random.h, libsodium.so.23.3.0
randombytes_internal_implementation [data]

to the top

Removed Symbols  1 


randombytes_salsa20_random.h, libsodium.so.23.2.0
randombytes_salsa20_implementation [data]

to the top

Other Changes in Constants  7 


crypto_core_ed25519.h
[+] crypto_core_ed25519_HASHBYTES

crypto_core_ristretto255.h
[+] crypto_core_ristretto255_BYTES
[+] crypto_core_ristretto255_HASHBYTES
[+] crypto_core_ristretto255_NONREDUCEDSCALARBYTES
[+] crypto_core_ristretto255_SCALARBYTES

crypto_scalarmult_ristretto255.h
[+] crypto_scalarmult_ristretto255_BYTES
[+] crypto_scalarmult_ristretto255_SCALARBYTES

to the top

Header Files  61 


core.h
crypto_aead_aes256gcm.h
crypto_aead_chacha20poly1305.h
crypto_aead_xchacha20poly1305.h
crypto_auth.h
crypto_auth_hmacsha256.h
crypto_auth_hmacsha512.h
crypto_auth_hmacsha512256.h
crypto_box.h
crypto_box_curve25519xchacha20poly1305.h
crypto_box_curve25519xsalsa20poly1305.h
crypto_core_ed25519.h
crypto_core_hchacha20.h
crypto_core_hsalsa20.h
crypto_core_salsa20.h
crypto_core_salsa2012.h
crypto_core_salsa208.h
crypto_generichash.h
crypto_generichash_blake2b.h
crypto_hash.h
crypto_hash_sha256.h
crypto_hash_sha512.h
crypto_kdf.h
crypto_kdf_blake2b.h
crypto_kx.h
crypto_onetimeauth.h
crypto_onetimeauth_poly1305.h
crypto_pwhash.h
crypto_pwhash_argon2i.h
crypto_pwhash_argon2id.h
crypto_pwhash_scryptsalsa208sha256.h
crypto_scalarmult.h
crypto_scalarmult_curve25519.h
crypto_scalarmult_ed25519.h
crypto_secretbox.h
crypto_secretbox_xchacha20poly1305.h
crypto_secretbox_xsalsa20poly1305.h
crypto_secretstream_xchacha20poly1305.h
crypto_shorthash.h
crypto_shorthash_siphash24.h
crypto_sign.h
crypto_sign_ed25519.h
crypto_sign_edwards25519sha512batch.h
crypto_stream.h
crypto_stream_chacha20.h
crypto_stream_salsa20.h
crypto_stream_salsa2012.h
crypto_stream_salsa208.h
crypto_stream_xchacha20.h
crypto_stream_xsalsa20.h
crypto_verify_16.h
crypto_verify_32.h
crypto_verify_64.h
export.h
randombytes.h
randombytes_salsa20_random.h
randombytes_sysrandom.h
runtime.h
sodium.h
utils.h
version.h

to the top

Libraries  1 


libsodium.so.23.2.0

to the top



Test Info


Library Namelibsodium
Version #11.0.17
Version #21.0.18
Archx86_64
SubjectSource Compatibility

Test Results


Total Header Files61
Total Libraries1
Total Symbols / Types839 / 103
Compatibility 100%

Problem Summary


SeverityCount
Added Symbols-26
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low2
Other Changes
in Constants
-8

Added Symbols  26 


crypto_core_ed25519.h
crypto_core_ed25519_from_hash ( unsigned char* p, unsigned char const* h )
crypto_core_ed25519_hashbytes ( )
crypto_core_ed25519_random ( unsigned char* p )
crypto_core_ed25519_scalar_mul ( unsigned char* z, unsigned char const* x, unsigned char const* y )

crypto_core_ristretto255.h
crypto_core_ristretto255_add ( unsigned char* r, unsigned char const* p, unsigned char const* q )
crypto_core_ristretto255_bytes ( )
crypto_core_ristretto255_from_hash ( unsigned char* p, unsigned char const* r )
crypto_core_ristretto255_hashbytes ( )
crypto_core_ristretto255_is_valid_point ( unsigned char const* p )
crypto_core_ristretto255_nonreducedscalarbytes ( )
crypto_core_ristretto255_random ( unsigned char* p )
crypto_core_ristretto255_scalar_add ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ristretto255_scalar_complement ( unsigned char* comp, unsigned char const* s )
crypto_core_ristretto255_scalar_invert ( unsigned char* recip, unsigned char const* s )
crypto_core_ristretto255_scalar_mul ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ristretto255_scalar_negate ( unsigned char* neg, unsigned char const* s )
crypto_core_ristretto255_scalar_random ( unsigned char* r )
crypto_core_ristretto255_scalar_reduce ( unsigned char* r, unsigned char const* s )
crypto_core_ristretto255_scalar_sub ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ristretto255_scalarbytes ( )
crypto_core_ristretto255_sub ( unsigned char* r, unsigned char const* p, unsigned char const* q )

crypto_scalarmult_ristretto255.h
crypto_scalarmult_ristretto255 ( unsigned char* q, unsigned char const* n, unsigned char const* p )
crypto_scalarmult_ristretto255_base ( unsigned char* q, unsigned char const* n )
crypto_scalarmult_ristretto255_bytes ( )
crypto_scalarmult_ristretto255_scalarbytes ( )

randombytes_internal_random.h
randombytes_internal_implementation [data]

to the top

Problems with Constants, Low Severity  2 


version.h
[+] SODIUM_LIBRARY_VERSION_MINOR
[+] SODIUM_VERSION_STRING

to the top

Other Changes in Constants  8 


crypto_core_ed25519.h
[+] crypto_core_ed25519_HASHBYTES

crypto_core_ristretto255.h
[+] crypto_core_ristretto255_BYTES
[+] crypto_core_ristretto255_HASHBYTES
[+] crypto_core_ristretto255_NONREDUCEDSCALARBYTES
[+] crypto_core_ristretto255_SCALARBYTES

crypto_scalarmult_ristretto255.h
[+] crypto_scalarmult_ristretto255_BYTES
[+] crypto_scalarmult_ristretto255_SCALARBYTES

randombytes_internal_random.h
[+] randombytes_salsa20_implementation

to the top

Header Files  61 


core.h
crypto_aead_aes256gcm.h
crypto_aead_chacha20poly1305.h
crypto_aead_xchacha20poly1305.h
crypto_auth.h
crypto_auth_hmacsha256.h
crypto_auth_hmacsha512.h
crypto_auth_hmacsha512256.h
crypto_box.h
crypto_box_curve25519xchacha20poly1305.h
crypto_box_curve25519xsalsa20poly1305.h
crypto_core_ed25519.h
crypto_core_hchacha20.h
crypto_core_hsalsa20.h
crypto_core_salsa20.h
crypto_core_salsa2012.h
crypto_core_salsa208.h
crypto_generichash.h
crypto_generichash_blake2b.h
crypto_hash.h
crypto_hash_sha256.h
crypto_hash_sha512.h
crypto_kdf.h
crypto_kdf_blake2b.h
crypto_kx.h
crypto_onetimeauth.h
crypto_onetimeauth_poly1305.h
crypto_pwhash.h
crypto_pwhash_argon2i.h
crypto_pwhash_argon2id.h
crypto_pwhash_scryptsalsa208sha256.h
crypto_scalarmult.h
crypto_scalarmult_curve25519.h
crypto_scalarmult_ed25519.h
crypto_secretbox.h
crypto_secretbox_xchacha20poly1305.h
crypto_secretbox_xsalsa20poly1305.h
crypto_secretstream_xchacha20poly1305.h
crypto_shorthash.h
crypto_shorthash_siphash24.h
crypto_sign.h
crypto_sign_ed25519.h
crypto_sign_edwards25519sha512batch.h
crypto_stream.h
crypto_stream_chacha20.h
crypto_stream_salsa20.h
crypto_stream_salsa2012.h
crypto_stream_salsa208.h
crypto_stream_xchacha20.h
crypto_stream_xsalsa20.h
crypto_verify_16.h
crypto_verify_32.h
crypto_verify_64.h
export.h
randombytes.h
randombytes_salsa20_random.h
randombytes_sysrandom.h
runtime.h
sodium.h
utils.h
version.h

to the top

Libraries  1 


libsodium.so.23.2.0

to the top