I have a declaration of unsigned char *
for the sake of an encryption key:
unsigned char *key = (unsigned char *)"0123456789012345";
I want to make it so that the key is all 0
(not the ASCII character ‘0’).
I'm a bit rusty with C, so I'm declaring it like this:
unsigned char *iv = (unsigned char *){0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
Which is giving me warnings, so how can I do this correctly?