hpav_mme.c:673:5: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
673 | AES_set_encrypt_key(dak, HPAV_AES_KEY_SIZE * 8, &aes_key);
| ^~~~~~~~~~~~~~~~~~~
In file included from hpav_mme.c:39:
/usr/include/openssl/aes.h:51:5: note: declared here
51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
hpav_mme.c:676:5: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
676 | AES_cbc_encrypt(data_to_encrypt, encrypted_data, total_size, &aes_key,
| ^~~~~~~~~~~~~~~
In file included from hpav_mme.c:39:
/usr/include/openssl/aes.h:66:6: note: declared here
66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
hpav_mme.c: In function ‘hpav_decrypt_with_key’:
hpav_mme.c:721:5: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
721 | AES_set_decrypt_key(decrypt_key, HPAV_AES_KEY_SIZE * 8, &aes_key);
| ^~~~~~~~~~~~~~~~~~~
In file included from hpav_mme.c:39:
/usr/include/openssl/aes.h:54:5: note: declared here
54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
| ^~~~~~~~~~~~~~~~~~~
hpav_mme.c:722:5: warning: ‘AES_cbc_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
722 | AES_cbc_encrypt(rx_encrypted_mme->encrypted_data, decrypted_payload,
| ^~~~~~~~~~~~~~~
In file included from hpav_mme.c:39:
/usr/include/openssl/aes.h:66:6: note: declared here
66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
| ^~~~~~~~~~~~~~~
cc -I. -I. -I../libhpav_mtk -fPIC -fsanitize=address -I. -c -o hpav_security.o hpav_security.c
hpav_security.c: In function ‘hpav_pbkdf1_sha256’:
hpav_security.c:44:5: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
44 | SHA256_Init(&sha_ctx);
| ^~~~~~~~~~~
In file included from hpav_security.c:27:
/usr/include/openssl/sha.h:73:27: note: declared here
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
| ^~~~~~~~~~~
hpav_security.c:45:5: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
45 | SHA256_Update(&sha_ctx, password, password_size);
| ^~~~~~~~~~~~~
In file included from hpav_security.c:27:
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
hpav_security.c:46:5: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
46 | SHA256_Update(&sha_ctx, salt, salt_size);
| ^~~~~~~~~~~~~
In file included from hpav_security.c:27:
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
hpav_security.c:47:5: warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
47 | SHA256_Final(digest, &sha_ctx);
| ^~~~~~~~~~~~
In file included from hpav_security.c:27:
/usr/include/openssl/sha.h:76:27: note: declared here
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
| ^~~~~~~~~~~~
hpav_security.c:50:9: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
50 | SHA256_Init(&sha_ctx);
| ^~~~~~~~~~~
In file included from hpav_security.c:27:
/usr/include/openssl/sha.h:73:27: note: declared here
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
| ^~~~~~~~~~~
hpav_security.c:51:9: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
51 | SHA256_Update(&sha_ctx, digest, SHA256_DIGEST_LENGTH);
| ^~~~~~~~~~~~~
In file included from hpav_security.c:27:
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
hpav_security.c:52:9: warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
52 | SHA256_Final(digest, &sha_ctx);
| ^~~~~~~~~~~~
In file included from hpav_security.c:27:
/usr/include/openssl/sha.h:76:27: note: declared here
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
| ^~~~~~~~~~~~
While compiling tulum_utils we get the following warnings: