Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: '...' is deprecated: Since OpenSSL 3.0 #200

Closed
leongross opened this issue May 17, 2022 · 2 comments
Closed

warning: '...' is deprecated: Since OpenSSL 3.0 #200

leongross opened this issue May 17, 2022 · 2 comments

Comments

@leongross
Copy link

When compiling the project I receive these warnings about the use of deprecated macros being used in the code.

OS: Ubuntu 22.04
Kernel: 5.15.0-1004-gcp
go-tpm-tools: v0.3.5
go: go1.18.2 linux/amd64

The following snippet shows the reduced output.

warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA384_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA384_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA384_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA512_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA512_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘SHA512_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘EC_POINT_get_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘EC_POINT_set_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘EC_POINT_set_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
warning: ‘EC_POINTs_mul’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations

Here the full output:

/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptCmac.c: In function ‘CryptCmacData’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptCmac.c:104:5: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  104 |     SELECT(ENCRYPT);
      |     ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:153:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptCmac.c:104:5: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  104 |     SELECT(ENCRYPT);
      |     ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
In file included from include.c:153:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptCmac.c: In function ‘CryptCmacEnd’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptCmac.c:144:5: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  144 |     SELECT(ENCRYPT);
      |     ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:153:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptCmac.c:144:5: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  144 |     SELECT(ENCRYPT);
      |     ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c: At top level:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:51:1: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   51 | HASH_DEF_TEMPLATE(SHA1, Sha1);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:51:1: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   51 | HASH_DEF_TEMPLATE(SHA1, Sha1);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:51:1: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   51 | HASH_DEF_TEMPLATE(SHA1, Sha1);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:54:1: warning: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   54 | HASH_DEF_TEMPLATE(SHA256, Sha256);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:73:27: note: declared here
   73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
      |                           ^~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:54:1: warning: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   54 | HASH_DEF_TEMPLATE(SHA256, Sha256);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:74:27: note: declared here
   74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
      |                           ^~~~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:54:1: warning: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   54 | HASH_DEF_TEMPLATE(SHA256, Sha256);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:76:27: note: declared here
   76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
      |                           ^~~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:57:1: warning: ‘SHA384_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   57 | HASH_DEF_TEMPLATE(SHA384, Sha384);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:119:27: note: declared here
  119 | OSSL_DEPRECATEDIN_3_0 int SHA384_Init(SHA512_CTX *c);
      |                           ^~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:57:1: warning: ‘SHA384_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   57 | HASH_DEF_TEMPLATE(SHA384, Sha384);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:120:27: note: declared here
  120 | OSSL_DEPRECATEDIN_3_0 int SHA384_Update(SHA512_CTX *c,
      |                           ^~~~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:57:1: warning: ‘SHA384_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   57 | HASH_DEF_TEMPLATE(SHA384, Sha384);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:122:27: note: declared here
  122 | OSSL_DEPRECATEDIN_3_0 int SHA384_Final(unsigned char *md, SHA512_CTX *c);
      |                           ^~~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:60:1: warning: ‘SHA512_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   60 | HASH_DEF_TEMPLATE(SHA512, Sha512);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:123:27: note: declared here
  123 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
      |                           ^~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:60:1: warning: ‘SHA512_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   60 | HASH_DEF_TEMPLATE(SHA512, Sha512);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:124:27: note: declared here
  124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
      |                           ^~~~~~~~~~~~~
In file included from include.c:159:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptHash.c:60:1: warning: ‘SHA512_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   60 | HASH_DEF_TEMPLATE(SHA512, Sha512);
      | ^~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h:45,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:64,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/sha.h:126:27: note: declared here
  126 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
      |                           ^~~~~~~~~~~~
In file included from include.c:162:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c: In function ‘DfCompute’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c:133:9: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  133 |         DRBG_ENCRYPT(&dfState->keySchedule, &temp, pIv);
      |         ^~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
In file included from include.c:162:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c: In function ‘DfStart’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c:162:5: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  162 |     DRBG_ENCRYPT_SETUP(&dfKey[0], DRBG_KEY_SIZE_BITS, &dfState->keySchedule);
      |     ^~~~~~~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:162:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c: In function ‘EncryptDRBG’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c:342:9: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  342 |         DRBG_ENCRYPT(keySchedule, iv, temp);
      |         ^~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
In file included from include.c:162:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c: In function ‘DRBG_Update’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c:419:9: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  419 |         if(DRBG_ENCRYPT_SETUP((BYTE *)key,
      |         ^~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:162:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c: In function ‘DRBG_Generate’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptRand.c:873:9: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  873 |         if(DRBG_ENCRYPT_SETUP((BYTE *)pDRBG_KEY(seed),
      |         ^~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:166:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c: In function ‘CryptSymmetricEncrypt’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c:190:5: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  190 |     SELECT(ENCRYPT);
      |     ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:166:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c:190:5: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  190 |     SELECT(ENCRYPT);
      |     ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
In file included from include.c:166:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c: In function ‘CryptSymmetricDecrypt’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c:358:13: warning: ‘AES_set_decrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  358 |             SELECT(DECRYPT);
      |             ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:54:5: note: declared here
   54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:166:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c:358:13: warning: ‘AES_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  358 |             SELECT(DECRYPT);
      |             ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:60:6: note: declared here
   60 | void AES_decrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
In file included from include.c:166:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c:363:13: warning: ‘AES_set_encrypt_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  363 |             SELECT(ENCRYPT);
      |             ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:51:5: note: declared here
   51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
      |     ^~~~~~~~~~~~~~~~~~~
In file included from include.c:166:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/CryptSym.c:363:13: warning: ‘AES_encrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  363 |             SELECT(ENCRYPT);
      |             ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslSym.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/LibSupport.h:63,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:47,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/aes.h:57:6: note: declared here
   57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
      |      ^~~~~~~~~~~
In file included from include.c:172:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c: In function ‘PointFromOssl’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c:429:5: warning: ‘EC_POINT_get_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  429 |     OK = EC_POINT_get_affine_coordinates_GFp(E->G, pIn, x, y, E->CTX);
      |     ^~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslMath.h:48,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:317,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:82,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:52,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/ec.h:659:27: note: declared here
  659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include.c:172:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c: In function ‘EcPointInitialized’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c:459:9: warning: ‘EC_POINT_set_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  459 |         if(!EC_POINT_set_affine_coordinates_GFp(E->G, P, bnX, bnY, E->CTX))
      |         ^~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslMath.h:48,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:317,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:82,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:52,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/ec.h:646:27: note: declared here
  646 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include.c:172:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c: In function ‘BnCurveInitialize’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c:511:9: warning: ‘EC_POINT_set_affine_coordinates_GFp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  511 |         VERIFY(EC_POINT_set_affine_coordinates_GFp(E->G, P, bnX, bnY, CTX));
      |         ^~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslMath.h:48,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:317,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:82,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:52,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/ec.h:646:27: note: declared here
  646 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include.c:172:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c: In function ‘BnEccModMult2’:
/home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/TpmToOsslMath.c:600:9: warning: ‘EC_POINTs_mul’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  600 |         EC_POINTs_mul(E->G, pR, NULL, 2, points, scalars, E->CTX);
      |         ^~~~~~~~~~~~~
In file included from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslMath.h:48,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:317,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:82,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:52,
                 from /home/leon/go/pkg/mod/github.com/google/go-tpm-tools@v0.3.5/simulator/ms-tpm-20-ref/TPMCmd/tpm/src/support/Global.c:57,
                 from include.c:17:
/usr/include/openssl/ec.h:859:27: note: declared here
  859 | OSSL_DEPRECATEDIN_3_0 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r,
      |                           ^~~~~~~~~~~~~
@azdagron
Copy link

This is a dup of #155. Looks like this was fixed recently in an unrelated PR (#244).

I don't know when the next release is (maybe someone from the project can comment), but it looks like we'll get this then!

@leongross
Copy link
Author

Alright, then we can handle this issue as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants