--- a/src/tpm_mgmt/tpm_createek.c
+++ b/src/tpm_mgmt/tpm_createek.c
@@ -93,7 +93,7 @@
 	int rc = 0;
 	BYTE eofile;
 
-	memset(*buffer, 0x00, bytesToRead);
+	__memset(*buffer, 0x00, bytesToRead);
 	infile = fopen(in_filename, "r");
 	if ( !infile ){
 		logError(_("Unable to open input file: %s\n"),