A tpm12 function that is only needed with freebl library can
be conditionally enabled with '#if USE_FREEBL_CRYPTO_LIBRARY'.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
return rc;
}
-#if 0
+#if USE_FREEBL_CRYPTO_LIBRARY
/* TPM_RSAPublicEncryptRaw() does a raw public key operation without any padding.
*/
#ifndef TPM_CRYPTO_H
#define TPM_CRYPTO_H
+#include "config.h" /* libtpms added */
+
#include "tpm_secret.h"
#include "tpm_types.h"
uint32_t nbytes,
unsigned char *earr,
uint32_t ebytes);
-#if 0
+#if USE_FREEBL_CRYPTO_LIBRARY
TPM_RESULT TPM_RSAPublicEncryptRaw(unsigned char *encrypt_data,
uint32_t encrypt_data_size,
unsigned char *decrypt_data,