tpm2: Introduce #define USE_OPENSSL_FUNCTIONS

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2019-05-07 07:38:56 -04:00 committed by Stefan Berger
parent 31e4db99f4
commit 1ae430e708

View File

@ -1218,4 +1218,8 @@ typedef TPM2B_MAX_HASH_BLOCK TPM2B_HASH_BLOCK;
#if MAX_SYM_KEY_BITS == 0 || MAX_SYM_BLOCK_SIZE == 0
# error Bad size for MAX_SYM_KEY_BITS or MAX_SYM_BLOCK_SIZE
#endif
/* libtpms: Use OpenSSL's crypto functions where possible */
#define USE_OPENSSL_FUNCTIONS YES
#endif // _IMPLEMENTATION_H_