API compatibility report for the libsodium library between 1.0.3 and 1.0.4 versions on x86_64


Binary
Compatibility
Source
Compatibility

Test Info


Library Namelibsodium
Version #11.0.3
Version #21.0.4
CPU Typex86_64
GCC Version4.9.2
SubjectBinary Compatibility

Test Results


Total Header Files1
Total Shared Libraries1
Total Symbols / Types319 / 101
VerdictIncompatible
(0.9%)

Problem Summary


SeverityCount
Added Symbols-22
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium1
Low0
Problems with
Symbols
High0
Medium0
Low2
Problems with
Constants
Low0

Added Symbols (22)


crypto_aead_aes256gcm.h, libsodium.so.13.3.0
crypto_aead_aes256gcm_abytes ( )
crypto_aead_aes256gcm_beforenm ( crypto_aead_aes256gcm_state* ctx_, unsigned char const* k )
crypto_aead_aes256gcm_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_aes256gcm_decrypt_afternm ( 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, crypto_aead_aes256gcm_state const* ctx_ )
crypto_aead_aes256gcm_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_aes256gcm_encrypt_afternm ( 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, crypto_aead_aes256gcm_state const* ctx_ )
crypto_aead_aes256gcm_is_available ( )
crypto_aead_aes256gcm_keybytes ( )
crypto_aead_aes256gcm_npubbytes ( )
crypto_aead_aes256gcm_nsecbytes ( )
crypto_aead_aes256gcm_statebytes ( )

crypto_aead_chacha20poly1305.h, libsodium.so.13.3.0
crypto_aead_chacha20poly1305_ietf_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_chacha20poly1305_ietf_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_chacha20poly1305_ietf_npubbytes ( )

crypto_stream_chacha20.h, libsodium.so.13.3.0
crypto_stream_chacha20_ietf ( unsigned char* c, unsigned long long clen, unsigned char const* n, unsigned char const* k )
crypto_stream_chacha20_ietf_noncebytes ( )
crypto_stream_chacha20_ietf_xor ( unsigned char* c, unsigned char const* m, unsigned long long mlen, unsigned char const* n, unsigned char const* k )
crypto_stream_chacha20_ietf_xor_ic ( unsigned char* c, unsigned char const* m, unsigned long long mlen, unsigned char const* n, uint32_t ic, unsigned char const* k )

runtime.h, libsodium.so.13.3.0
sodium_runtime_has_aesni ( )
sodium_runtime_has_pclmul ( )

utils.h, libsodium.so.13.3.0
sodium_compare ( unsigned char const* b1_, unsigned char const* b2_, size_t len )
sodium_increment ( unsigned char* n, size_t const nlen )

to the top

Problems with Data Types, Medium Severity (1)


crypto_hash_sha256.h
[+] struct crypto_hash_sha256_state (1)

to the top

Problems with Symbols, Low Severity (2)


crypto_aead_chacha20poly1305.h, libsodium.so.13.2.0
[+] crypto_aead_chacha20poly1305_decrypt ( unsigned char* m, unsigned long long* mlen, 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 ) (1)
[+] crypto_aead_chacha20poly1305_encrypt ( unsigned char* c, unsigned long long* clen, 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 ) (1)

to the top

Header Files (1)


sodium.h

to the top

Shared Libraries (1)


libsodium.so.13.2.0

to the top



Test Info


Library Namelibsodium
Version #11.0.3
Version #21.0.4
CPU Typex86_64
GCC Version4.9.2
SubjectSource Compatibility

Test Results


Total Header Files1
Total Shared Libraries1
Total Symbols / Types569 / 212
VerdictIncompatible
(0.5%)

Problem Summary


SeverityCount
Added Symbols-22
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium1
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
Other Changes
in Symbols
-2

Added Symbols (22)


crypto_aead_aes256gcm.h
crypto_aead_aes256gcm_abytes ( )
crypto_aead_aes256gcm_beforenm ( crypto_aead_aes256gcm_state* ctx_, unsigned char const* k )
crypto_aead_aes256gcm_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_aes256gcm_decrypt_afternm ( 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, crypto_aead_aes256gcm_state const* ctx_ )
crypto_aead_aes256gcm_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_aes256gcm_encrypt_afternm ( 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, crypto_aead_aes256gcm_state const* ctx_ )
crypto_aead_aes256gcm_is_available ( )
crypto_aead_aes256gcm_keybytes ( )
crypto_aead_aes256gcm_npubbytes ( )
crypto_aead_aes256gcm_nsecbytes ( )
crypto_aead_aes256gcm_statebytes ( )

crypto_aead_chacha20poly1305.h
crypto_aead_chacha20poly1305_ietf_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_chacha20poly1305_ietf_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_chacha20poly1305_ietf_npubbytes ( )

crypto_stream_chacha20.h
crypto_stream_chacha20_ietf ( unsigned char* c, unsigned long long clen, unsigned char const* n, unsigned char const* k )
crypto_stream_chacha20_ietf_noncebytes ( )
crypto_stream_chacha20_ietf_xor ( unsigned char* c, unsigned char const* m, unsigned long long mlen, unsigned char const* n, unsigned char const* k )
crypto_stream_chacha20_ietf_xor_ic ( unsigned char* c, unsigned char const* m, unsigned long long mlen, unsigned char const* n, uint32_t ic, unsigned char const* k )

runtime.h
sodium_runtime_has_aesni ( )
sodium_runtime_has_pclmul ( )

utils.h
sodium_compare ( unsigned char const* b1_, unsigned char const* b2_, size_t len )
sodium_increment ( unsigned char* n, size_t const nlen )

to the top

Problems with Data Types, Medium Severity (1)


crypto_hash_sha256.h
[+] struct crypto_hash_sha256_state (1)

to the top

Other Changes in Symbols (2)


crypto_aead_chacha20poly1305.h
[+] crypto_aead_chacha20poly1305_decrypt ( unsigned char* m, unsigned long long* mlen, 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 ) (1)
[+] crypto_aead_chacha20poly1305_encrypt ( unsigned char* c, unsigned long long* clen, 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 ) (1)

to the top

Header Files (1)


sodium.h

to the top

Shared Libraries (1)


libsodium.so.13.2.0

to the top