|
- if ((err = ocb3_encrypt_authenticate_memory(cipher_idx, key, 16, IV, 16, (unsigned char*)"", 0, buf, MAC_SIZE*1024, buf, tag, &z)) != CRYPT_OK) {
|
|
|
|
|
|
+ if ((err = ocb3_encrypt_authenticate_memory(cipher_idx, key, 16, IV, 15, (unsigned char*)"", 0, buf, MAC_SIZE*1024, buf, tag, &z)) != CRYPT_OK) {
|
|
fprintf(stderr, "\nOCB3 error... %s\n", error_to_string(err));
|
|
fprintf(stderr, "\nOCB3 error... %s\n", error_to_string(err));
|