API compatibility report for the libsodium library between 1.0.21 and 1.0.22 versions on x86_64


Binary
Compatibility
Source
Compatibility

Test Info


Library Namelibsodium
Version #11.0.21
Version #21.0.22
Archx86_64
GCC Version15
SubjectBinary Compatibility

Test Results


Total Header Files73
Total Libraries1
Total Symbols / Types716 / 65
Compatibility 100%

Problem Summary


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

Added Symbols  43 


crypto_hash_sha3.h, libsodium.so.26.4.0
crypto_hash_sha3256 ( unsigned char* out, unsigned char const* in, unsigned long long inlen )
crypto_hash_sha3256_bytes ( )
crypto_hash_sha3256_final ( crypto_hash_sha3256_state* state, unsigned char* out )
crypto_hash_sha3256_init ( crypto_hash_sha3256_state* state )
crypto_hash_sha3256_statebytes ( )
crypto_hash_sha3256_update ( crypto_hash_sha3256_state* state, unsigned char const* in, unsigned long long inlen )
crypto_hash_sha3512 ( unsigned char* out, unsigned char const* in, unsigned long long inlen )
crypto_hash_sha3512_bytes ( )
crypto_hash_sha3512_final ( crypto_hash_sha3512_state* state, unsigned char* out )
crypto_hash_sha3512_init ( crypto_hash_sha3512_state* state )
crypto_hash_sha3512_statebytes ( )
crypto_hash_sha3512_update ( crypto_hash_sha3512_state* state, unsigned char const* in, unsigned long long inlen )

crypto_ipcrypt.h, libsodium.so.26.4.0
crypto_ipcrypt_nd_keygen ( unsigned char* k )

crypto_kem.h, libsodium.so.26.4.0
crypto_kem_ciphertextbytes ( )
crypto_kem_dec ( unsigned char* ss, unsigned char const* ct, unsigned char const* sk )
crypto_kem_enc ( unsigned char* ct, unsigned char* ss, unsigned char const* pk )
crypto_kem_keypair ( unsigned char* pk, unsigned char* sk )
crypto_kem_primitive ( )
crypto_kem_publickeybytes ( )
crypto_kem_secretkeybytes ( )
crypto_kem_seed_keypair ( unsigned char* pk, unsigned char* sk, unsigned char const* seed )
crypto_kem_seedbytes ( )
crypto_kem_sharedsecretbytes ( )

crypto_kem_mlkem768.h, libsodium.so.26.4.0
crypto_kem_mlkem768_ciphertextbytes ( )
crypto_kem_mlkem768_dec ( unsigned char* ss, unsigned char const* ct, unsigned char const* sk )
crypto_kem_mlkem768_enc ( unsigned char* ct, unsigned char* ss, unsigned char const* pk )
crypto_kem_mlkem768_enc_deterministic ( unsigned char* ct, unsigned char* ss, unsigned char const* pk, unsigned char const* seed )
crypto_kem_mlkem768_keypair ( unsigned char* pk, unsigned char* sk )
crypto_kem_mlkem768_publickeybytes ( )
crypto_kem_mlkem768_secretkeybytes ( )
crypto_kem_mlkem768_seed_keypair ( unsigned char* pk, unsigned char* sk, unsigned char const* seed )
crypto_kem_mlkem768_seedbytes ( )
crypto_kem_mlkem768_sharedsecretbytes ( )

crypto_kem_xwing.h, libsodium.so.26.4.0
crypto_kem_xwing_ciphertextbytes ( )
crypto_kem_xwing_dec ( unsigned char* ss, unsigned char const* ct, unsigned char const* sk )
crypto_kem_xwing_enc ( unsigned char* ct, unsigned char* ss, unsigned char const* pk )
crypto_kem_xwing_enc_deterministic ( unsigned char* ct, unsigned char* ss, unsigned char const* pk, unsigned char const* seed )
crypto_kem_xwing_keypair ( unsigned char* pk, unsigned char* sk )
crypto_kem_xwing_publickeybytes ( )
crypto_kem_xwing_secretkeybytes ( )
crypto_kem_xwing_seed_keypair ( unsigned char* pk, unsigned char* sk, unsigned char const* seed )
crypto_kem_xwing_seedbytes ( )
crypto_kem_xwing_sharedsecretbytes ( )

to the top

Problems with Symbols, Low Severity  1 


utils.h, libsodium.so.26.3.0
[+] sodium_ip2bin ( unsigned char* bin, char const* ip, size_t ip_len )  1 

to the top

Other Changes in Constants  18 


crypto_hash_sha3.h
[+] crypto_hash_sha3256_BYTES
[+] crypto_hash_sha3512_BYTES

crypto_kem.h
[+] crypto_kem_CIPHERTEXTBYTES
[+] crypto_kem_PRIMITIVE
[+] crypto_kem_PUBLICKEYBYTES
[+] crypto_kem_SECRETKEYBYTES
[+] crypto_kem_SEEDBYTES
[+] crypto_kem_SHAREDSECRETBYTES

crypto_kem_mlkem768.h
[+] crypto_kem_mlkem768_CIPHERTEXTBYTES
[+] crypto_kem_mlkem768_PUBLICKEYBYTES
[+] crypto_kem_mlkem768_SECRETKEYBYTES
[+] crypto_kem_mlkem768_SEEDBYTES
[+] crypto_kem_mlkem768_SHAREDSECRETBYTES

crypto_kem_xwing.h
[+] crypto_kem_xwing_CIPHERTEXTBYTES
[+] crypto_kem_xwing_PUBLICKEYBYTES
[+] crypto_kem_xwing_SECRETKEYBYTES
[+] crypto_kem_xwing_SEEDBYTES
[+] crypto_kem_xwing_SHAREDSECRETBYTES

to the top

Header Files  73 


core.h
crypto_aead_aegis128l.h
crypto_aead_aegis256.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_keccak1600.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_ipcrypt.h
crypto_kdf.h
crypto_kdf_blake2b.h
crypto_kdf_hkdf_sha256.h
crypto_kdf_hkdf_sha512.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
crypto_xof_shake128.h
crypto_xof_shake256.h
crypto_xof_turboshake128.h
crypto_xof_turboshake256.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.26.3.0

to the top



Test Info


Library Namelibsodium
Version #11.0.21
Version #21.0.22
Archx86_64
SubjectSource Compatibility

Test Results


Total Header Files73
Total Libraries1
Total Symbols / Types956 / 115
Compatibility 100%

Problem Summary


SeverityCount
Added Symbols-43
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low2
Other Changes
in Symbols
-1
Other Changes
in Constants
-18

Added Symbols  43 


crypto_hash_sha3.h
crypto_hash_sha3256 ( unsigned char* out, unsigned char const* in, unsigned long long inlen )
crypto_hash_sha3256_bytes ( )
crypto_hash_sha3256_final ( crypto_hash_sha3256_state* state, unsigned char* out )
crypto_hash_sha3256_init ( crypto_hash_sha3256_state* state )
crypto_hash_sha3256_statebytes ( )
crypto_hash_sha3256_update ( crypto_hash_sha3256_state* state, unsigned char const* in, unsigned long long inlen )
crypto_hash_sha3512 ( unsigned char* out, unsigned char const* in, unsigned long long inlen )
crypto_hash_sha3512_bytes ( )
crypto_hash_sha3512_final ( crypto_hash_sha3512_state* state, unsigned char* out )
crypto_hash_sha3512_init ( crypto_hash_sha3512_state* state )
crypto_hash_sha3512_statebytes ( )
crypto_hash_sha3512_update ( crypto_hash_sha3512_state* state, unsigned char const* in, unsigned long long inlen )

crypto_ipcrypt.h
crypto_ipcrypt_nd_keygen ( unsigned char* k )

crypto_kem.h
crypto_kem_ciphertextbytes ( )
crypto_kem_dec ( unsigned char* ss, unsigned char const* ct, unsigned char const* sk )
crypto_kem_enc ( unsigned char* ct, unsigned char* ss, unsigned char const* pk )
crypto_kem_keypair ( unsigned char* pk, unsigned char* sk )
crypto_kem_primitive ( )
crypto_kem_publickeybytes ( )
crypto_kem_secretkeybytes ( )
crypto_kem_seed_keypair ( unsigned char* pk, unsigned char* sk, unsigned char const* seed )
crypto_kem_seedbytes ( )
crypto_kem_sharedsecretbytes ( )

crypto_kem_mlkem768.h
crypto_kem_mlkem768_ciphertextbytes ( )
crypto_kem_mlkem768_dec ( unsigned char* ss, unsigned char const* ct, unsigned char const* sk )
crypto_kem_mlkem768_enc ( unsigned char* ct, unsigned char* ss, unsigned char const* pk )
crypto_kem_mlkem768_enc_deterministic ( unsigned char* ct, unsigned char* ss, unsigned char const* pk, unsigned char const* seed )
crypto_kem_mlkem768_keypair ( unsigned char* pk, unsigned char* sk )
crypto_kem_mlkem768_publickeybytes ( )
crypto_kem_mlkem768_secretkeybytes ( )
crypto_kem_mlkem768_seed_keypair ( unsigned char* pk, unsigned char* sk, unsigned char const* seed )
crypto_kem_mlkem768_seedbytes ( )
crypto_kem_mlkem768_sharedsecretbytes ( )

crypto_kem_xwing.h
crypto_kem_xwing_ciphertextbytes ( )
crypto_kem_xwing_dec ( unsigned char* ss, unsigned char const* ct, unsigned char const* sk )
crypto_kem_xwing_enc ( unsigned char* ct, unsigned char* ss, unsigned char const* pk )
crypto_kem_xwing_enc_deterministic ( unsigned char* ct, unsigned char* ss, unsigned char const* pk, unsigned char const* seed )
crypto_kem_xwing_keypair ( unsigned char* pk, unsigned char* sk )
crypto_kem_xwing_publickeybytes ( )
crypto_kem_xwing_secretkeybytes ( )
crypto_kem_xwing_seed_keypair ( unsigned char* pk, unsigned char* sk, unsigned char const* seed )
crypto_kem_xwing_seedbytes ( )
crypto_kem_xwing_sharedsecretbytes ( )

to the top

Problems with Constants, Low Severity  2 


version.h
[+] SODIUM_LIBRARY_VERSION_MINOR
[+] SODIUM_VERSION_STRING

to the top

Other Changes in Symbols  1 


utils.h
[+] sodium_ip2bin ( unsigned char* bin, char const* ip, size_t ip_len )  1 

to the top

Other Changes in Constants  18 


crypto_hash_sha3.h
[+] crypto_hash_sha3256_BYTES
[+] crypto_hash_sha3512_BYTES

crypto_kem.h
[+] crypto_kem_CIPHERTEXTBYTES
[+] crypto_kem_PRIMITIVE
[+] crypto_kem_PUBLICKEYBYTES
[+] crypto_kem_SECRETKEYBYTES
[+] crypto_kem_SEEDBYTES
[+] crypto_kem_SHAREDSECRETBYTES

crypto_kem_mlkem768.h
[+] crypto_kem_mlkem768_CIPHERTEXTBYTES
[+] crypto_kem_mlkem768_PUBLICKEYBYTES
[+] crypto_kem_mlkem768_SECRETKEYBYTES
[+] crypto_kem_mlkem768_SEEDBYTES
[+] crypto_kem_mlkem768_SHAREDSECRETBYTES

crypto_kem_xwing.h
[+] crypto_kem_xwing_CIPHERTEXTBYTES
[+] crypto_kem_xwing_PUBLICKEYBYTES
[+] crypto_kem_xwing_SECRETKEYBYTES
[+] crypto_kem_xwing_SEEDBYTES
[+] crypto_kem_xwing_SHAREDSECRETBYTES

to the top

Header Files  73 


core.h
crypto_aead_aegis128l.h
crypto_aead_aegis256.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_keccak1600.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_ipcrypt.h
crypto_kdf.h
crypto_kdf_blake2b.h
crypto_kdf_hkdf_sha256.h
crypto_kdf_hkdf_sha512.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
crypto_xof_shake128.h
crypto_xof_shake256.h
crypto_xof_turboshake128.h
crypto_xof_turboshake256.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.26.3.0

to the top