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


Binary
Compatibility
Source
Compatibility

Test Info


Library Namelibsodium
Version #11.0.18
Version #21.0.19
Archx86_64
GCC Version12
SubjectBinary Compatibility

Test Results


Total Header Files63
Total Libraries1
Total Symbols / Types609 / 40
Compatibility 100%

Problem Summary


SeverityCount
Added Symbols-40
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low1
Problems with
Constants
Low0
Other Changes
in Constants
-14

Added Symbols  40 


crypto_aead_aegis128l.h, libsodium.so.26.1.0
crypto_aead_aegis128l_abytes ( )
crypto_aead_aegis128l_decrypt ( unsigned char* m, unsigned long long* mlen_p, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_decrypt_detached ( unsigned char* m, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* mac, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_encrypt ( unsigned char* c, unsigned long long* clen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_encrypt_detached ( unsigned char* c, unsigned char* mac, unsigned long long* maclen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_keybytes ( )
crypto_aead_aegis128l_keygen ( unsigned char* k )
crypto_aead_aegis128l_messagebytes_max ( )
crypto_aead_aegis128l_npubbytes ( )
crypto_aead_aegis128l_nsecbytes ( )

crypto_aead_aegis256.h, libsodium.so.26.1.0
crypto_aead_aegis256_abytes ( )
crypto_aead_aegis256_decrypt ( unsigned char* m, unsigned long long* mlen_p, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_decrypt_detached ( unsigned char* m, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* mac, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_encrypt ( unsigned char* c, unsigned long long* clen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_encrypt_detached ( unsigned char* c, unsigned char* mac, unsigned long long* maclen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_keybytes ( )
crypto_aead_aegis256_keygen ( unsigned char* k )
crypto_aead_aegis256_messagebytes_max ( )
crypto_aead_aegis256_npubbytes ( )
crypto_aead_aegis256_nsecbytes ( )

crypto_kdf_hkdf_sha256.h, libsodium.so.26.1.0
crypto_kdf_hkdf_sha256_bytes_max ( )
crypto_kdf_hkdf_sha256_bytes_min ( )
crypto_kdf_hkdf_sha256_expand ( unsigned char* out, size_t out_len, char const* ctx, size_t ctx_len, unsigned char const* prk )
crypto_kdf_hkdf_sha256_extract ( unsigned char* prk, unsigned char const* salt, size_t salt_len, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha256_extract_final ( crypto_kdf_hkdf_sha256_state* state, unsigned char* prk )
crypto_kdf_hkdf_sha256_extract_init ( crypto_kdf_hkdf_sha256_state* state, unsigned char const* salt, size_t salt_len )
crypto_kdf_hkdf_sha256_extract_update ( crypto_kdf_hkdf_sha256_state* state, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha256_keybytes ( )
crypto_kdf_hkdf_sha256_keygen ( unsigned char* prk )
crypto_kdf_hkdf_sha256_statebytes ( )

crypto_kdf_hkdf_sha512.h, libsodium.so.26.1.0
crypto_kdf_hkdf_sha512_bytes_max ( )
crypto_kdf_hkdf_sha512_bytes_min ( )
crypto_kdf_hkdf_sha512_expand ( unsigned char* out, size_t out_len, char const* ctx, size_t ctx_len, unsigned char const* prk )
crypto_kdf_hkdf_sha512_extract ( unsigned char* prk, unsigned char const* salt, size_t salt_len, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha512_extract_final ( crypto_kdf_hkdf_sha512_state* state, unsigned char* prk )
crypto_kdf_hkdf_sha512_extract_init ( crypto_kdf_hkdf_sha512_state* state, unsigned char const* salt, size_t salt_len )
crypto_kdf_hkdf_sha512_extract_update ( crypto_kdf_hkdf_sha512_state* state, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha512_keybytes ( )
crypto_kdf_hkdf_sha512_keygen ( unsigned char* prk )

runtime.h, libsodium.so.26.1.0
sodium_runtime_has_armcrypto ( )

to the top

Problems with Symbols, Low Severity  1 


randombytes.h, libsodium.so.23.3.0
[+] randombytes_set_implementation ( randombytes_implementation* impl )  1 

to the top

Other Changes in Constants  14 


crypto_aead_aegis128l.h
[+] crypto_aead_aegis128l_ABYTES
[+] crypto_aead_aegis128l_KEYBYTES
[+] crypto_aead_aegis128l_NPUBBYTES
[+] crypto_aead_aegis128l_NSECBYTES

crypto_aead_aegis256.h
[+] crypto_aead_aegis256_ABYTES
[+] crypto_aead_aegis256_KEYBYTES
[+] crypto_aead_aegis256_NPUBBYTES
[+] crypto_aead_aegis256_NSECBYTES

crypto_kdf_hkdf_sha256.h
[+] crypto_kdf_hkdf_sha256_BYTES_MAX
[+] crypto_kdf_hkdf_sha256_BYTES_MIN
[+] crypto_kdf_hkdf_sha256_KEYBYTES

crypto_kdf_hkdf_sha512.h
[+] crypto_kdf_hkdf_sha512_BYTES_MAX
[+] crypto_kdf_hkdf_sha512_BYTES_MIN
[+] crypto_kdf_hkdf_sha512_KEYBYTES

to the top

Header Files  63 


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_ristretto255.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_scalarmult_ristretto255.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_internal_random.h
randombytes_sysrandom.h
runtime.h
sodium.h
utils.h
version.h

to the top

Libraries  1 


libsodium.so.23.3.0

to the top



Test Info


Library Namelibsodium
Version #11.0.18
Version #21.0.19
Archx86_64
SubjectSource Compatibility

Test Results


Total Header Files63
Total Libraries1
Total Symbols / Types611 / 40
Compatibility 100%

Problem Summary


SeverityCount
Added Symbols-41
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low3
Other Changes
in Constants
-16

Added Symbols  41 


crypto_aead_aegis128l.h
crypto_aead_aegis128l_abytes ( )
crypto_aead_aegis128l_decrypt ( unsigned char* m, unsigned long long* mlen_p, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_decrypt_detached ( unsigned char* m, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* mac, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_encrypt ( unsigned char* c, unsigned long long* clen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_encrypt_detached ( unsigned char* c, unsigned char* mac, unsigned long long* maclen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis128l_keybytes ( )
crypto_aead_aegis128l_keygen ( unsigned char* k )
crypto_aead_aegis128l_messagebytes_max ( )
crypto_aead_aegis128l_npubbytes ( )
crypto_aead_aegis128l_nsecbytes ( )

crypto_aead_aegis256.h
crypto_aead_aegis256_abytes ( )
crypto_aead_aegis256_decrypt ( unsigned char* m, unsigned long long* mlen_p, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_decrypt_detached ( unsigned char* m, unsigned char* nsec, unsigned char const* c, unsigned long long clen, unsigned char const* mac, unsigned char const* ad, unsigned long long adlen, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_encrypt ( unsigned char* c, unsigned long long* clen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_encrypt_detached ( unsigned char* c, unsigned char* mac, unsigned long long* maclen_p, unsigned char const* m, unsigned long long mlen, unsigned char const* ad, unsigned long long adlen, unsigned char const* nsec, unsigned char const* npub, unsigned char const* k )
crypto_aead_aegis256_keybytes ( )
crypto_aead_aegis256_keygen ( unsigned char* k )
crypto_aead_aegis256_messagebytes_max ( )
crypto_aead_aegis256_npubbytes ( )
crypto_aead_aegis256_nsecbytes ( )

crypto_kdf_hkdf_sha256.h
crypto_kdf_hkdf_sha256_bytes_max ( )
crypto_kdf_hkdf_sha256_bytes_min ( )
crypto_kdf_hkdf_sha256_expand ( unsigned char* out, size_t out_len, char const* ctx, size_t ctx_len, unsigned char const* prk )
crypto_kdf_hkdf_sha256_extract ( unsigned char* prk, unsigned char const* salt, size_t salt_len, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha256_extract_final ( crypto_kdf_hkdf_sha256_state* state, unsigned char* prk )
crypto_kdf_hkdf_sha256_extract_init ( crypto_kdf_hkdf_sha256_state* state, unsigned char const* salt, size_t salt_len )
crypto_kdf_hkdf_sha256_extract_update ( crypto_kdf_hkdf_sha256_state* state, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha256_keybytes ( )
crypto_kdf_hkdf_sha256_keygen ( unsigned char* prk )
crypto_kdf_hkdf_sha256_statebytes ( )

crypto_kdf_hkdf_sha512.h
crypto_kdf_hkdf_sha512_bytes_max ( )
crypto_kdf_hkdf_sha512_bytes_min ( )
crypto_kdf_hkdf_sha512_expand ( unsigned char* out, size_t out_len, char const* ctx, size_t ctx_len, unsigned char const* prk )
crypto_kdf_hkdf_sha512_extract ( unsigned char* prk, unsigned char const* salt, size_t salt_len, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha512_extract_final ( crypto_kdf_hkdf_sha512_state* state, unsigned char* prk )
crypto_kdf_hkdf_sha512_extract_init ( crypto_kdf_hkdf_sha512_state* state, unsigned char const* salt, size_t salt_len )
crypto_kdf_hkdf_sha512_extract_update ( crypto_kdf_hkdf_sha512_state* state, unsigned char const* ikm, size_t ikm_len )
crypto_kdf_hkdf_sha512_keybytes ( )
crypto_kdf_hkdf_sha512_keygen ( unsigned char* prk )
crypto_kdf_hkdf_sha512_statebytes ( )

runtime.h
sodium_runtime_has_armcrypto ( )

to the top

Problems with Constants, Low Severity  3 


version.h
[+] SODIUM_LIBRARY_VERSION_MAJOR
[+] SODIUM_LIBRARY_VERSION_MINOR
[+] SODIUM_VERSION_STRING

to the top

Other Changes in Constants  16 


crypto_aead_aegis128l.h
[+] crypto_aead_aegis128l_ABYTES
[+] crypto_aead_aegis128l_KEYBYTES
[+] crypto_aead_aegis128l_MESSAGEBYTES_MAX
[+] crypto_aead_aegis128l_NPUBBYTES
[+] crypto_aead_aegis128l_NSECBYTES

crypto_aead_aegis256.h
[+] crypto_aead_aegis256_ABYTES
[+] crypto_aead_aegis256_KEYBYTES
[+] crypto_aead_aegis256_MESSAGEBYTES_MAX
[+] crypto_aead_aegis256_NPUBBYTES
[+] crypto_aead_aegis256_NSECBYTES

crypto_kdf_hkdf_sha256.h
[+] crypto_kdf_hkdf_sha256_BYTES_MAX
[+] crypto_kdf_hkdf_sha256_BYTES_MIN
[+] crypto_kdf_hkdf_sha256_KEYBYTES

crypto_kdf_hkdf_sha512.h
[+] crypto_kdf_hkdf_sha512_BYTES_MAX
[+] crypto_kdf_hkdf_sha512_BYTES_MIN
[+] crypto_kdf_hkdf_sha512_KEYBYTES

to the top

Header Files  63 


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_ristretto255.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_scalarmult_ristretto255.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_internal_random.h
randombytes_sysrandom.h
runtime.h
sodium.h
utils.h
version.h

to the top

Libraries  1 


libsodium.so.23.3.0

to the top