Question
I'm newbie c programming language. I'm developing an application for the STM32F410RBT. I am generating key pair using uECC library. I can't print the key pairs to the console. I am sharing the sample code below. Thank you for your help.
int _write(int file, char *ptr, int len) {
int i = 0;
for (i = 0; i < len; i++)
ITM_SendChar((*ptr++));
return len;
}
uint8_t private[32] = { 0 };
uint8_t public[64] = { 0 };
using uECC_make_key generate public and private keys
printf(public[0]); /* warning : passing argument 1 of 'printf' makes pointer from integer without a cast */