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


Binary
Compatibility
Source
Compatibility

Test Info


Library Namelibsodium
Version #11.0.16
Version #21.0.17
Archx86_64
GCC Version8
SubjectBinary Compatibility

Test Results


Total Header Files61
Total Libraries1
Total Symbols / Types579 / 50
Compatibility 99%

Problem Summary


SeverityCount
Added Symbols-12
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium7
Low1
Problems with
Symbols
High0
Medium0
Low2
Problems with
Constants
Low0
Other Changes
in Constants
-2

Added Symbols  12 


crypto_core_ed25519.h, libsodium.so.23.2.0
crypto_core_ed25519_nonreducedscalarbytes ( )
crypto_core_ed25519_scalar_add ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ed25519_scalar_complement ( unsigned char* comp, unsigned char const* s )
crypto_core_ed25519_scalar_invert ( unsigned char* recip, unsigned char const* s )
crypto_core_ed25519_scalar_negate ( unsigned char* neg, unsigned char const* s )
crypto_core_ed25519_scalar_random ( unsigned char* r )
crypto_core_ed25519_scalar_reduce ( unsigned char* r, unsigned char const* s )
crypto_core_ed25519_scalar_sub ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ed25519_scalarbytes ( )

crypto_scalarmult_ed25519.h, libsodium.so.23.2.0
crypto_scalarmult_ed25519_base_noclamp ( unsigned char* q, unsigned char const* n )
crypto_scalarmult_ed25519_noclamp ( unsigned char* q, unsigned char const* n, unsigned char const* p )

utils.h, libsodium.so.23.2.0
sodium_sub ( unsigned char* a, unsigned char const* b, size_t const len )

to the top

Problems with Data Types, Medium Severity  7 


crypto_aead_aes256gcm.h
[+] typedef crypto_aead_aes256gcm_state  1 

crypto_generichash_blake2b.h
[+] struct crypto_generichash_blake2b_state  6 

to the top

Problems with Data Types, Low Severity  1 


crypto_generichash_blake2b.h
[+] struct crypto_generichash_blake2b_state  1 

to the top

Problems with Symbols, Low Severity  2 


crypto_sign.h, libsodium.so.23.1.0
[+] crypto_sign_final_verify ( crypto_sign_state* state, unsigned char* sig, unsigned char const* pk )  1 

crypto_sign_ed25519.h, libsodium.so.23.1.0
[+] crypto_sign_ed25519ph_final_verify ( crypto_sign_ed25519ph_state* state, unsigned char* sig, unsigned char const* pk )  1 

to the top

Other Changes in Constants  2 


crypto_core_ed25519.h
[+] crypto_core_ed25519_NONREDUCEDSCALARBYTES
[+] crypto_core_ed25519_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.1.0

to the top



Test Info


Library Namelibsodium
Version #11.0.16
Version #21.0.17
Archx86_64
SubjectSource Compatibility

Test Results


Total Header Files61
Total Libraries1
Total Symbols / Types828 / 102
Compatibility 99.2%

Problem Summary


SeverityCount
Added Symbols-12
Removed SymbolsHigh0
Problems with
Data Types
High6
Medium0
Low2
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low6
Other Changes
in Constants
-2

Added Symbols  12 


crypto_core_ed25519.h
crypto_core_ed25519_nonreducedscalarbytes ( )
crypto_core_ed25519_scalar_add ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ed25519_scalar_complement ( unsigned char* comp, unsigned char const* s )
crypto_core_ed25519_scalar_invert ( unsigned char* recip, unsigned char const* s )
crypto_core_ed25519_scalar_negate ( unsigned char* neg, unsigned char const* s )
crypto_core_ed25519_scalar_random ( unsigned char* r )
crypto_core_ed25519_scalar_reduce ( unsigned char* r, unsigned char const* s )
crypto_core_ed25519_scalar_sub ( unsigned char* z, unsigned char const* x, unsigned char const* y )
crypto_core_ed25519_scalarbytes ( )

crypto_scalarmult_ed25519.h
crypto_scalarmult_ed25519_base_noclamp ( unsigned char* q, unsigned char const* n )
crypto_scalarmult_ed25519_noclamp ( unsigned char* q, unsigned char const* n, unsigned char const* p )

utils.h
sodium_sub ( unsigned char* a, unsigned char const* b, size_t const len )

to the top

Problems with Data Types, High Severity  6 


crypto_generichash_blake2b.h
[+] struct crypto_generichash_blake2b_state  6 

to the top

Problems with Data Types, Low Severity  2 


crypto_aead_aes256gcm.h
[+] typedef crypto_aead_aes256gcm_state  1 

crypto_generichash_blake2b.h
[+] struct crypto_generichash_blake2b_state  1 

to the top

Problems with Constants, Low Severity  6 


crypto_aead_aes256gcm.h
[+] crypto_aead_aes256gcm_MESSAGEBYTES_MAX

crypto_aead_chacha20poly1305.h
[+] crypto_aead_chacha20poly1305_ietf_MESSAGEBYTES_MAX
[+] crypto_aead_chacha20poly1305_IETF_MESSAGEBYTES_MAX

crypto_secretstream_xchacha20poly1305.h
[+] crypto_secretstream_xchacha20poly1305_MESSAGEBYTES_MAX

version.h
[+] SODIUM_LIBRARY_VERSION_MINOR
[+] SODIUM_VERSION_STRING

to the top

Other Changes in Constants  2 


crypto_core_ed25519.h
[+] crypto_core_ed25519_NONREDUCEDSCALARBYTES
[+] crypto_core_ed25519_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.1.0

to the top