diff options
Diffstat (limited to 'crypto_aead/lilliputaei128v1/ref/test/helpers.h')
| -rw-r--r-- | crypto_aead/lilliputaei128v1/ref/test/helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto_aead/lilliputaei128v1/ref/test/helpers.h b/crypto_aead/lilliputaei128v1/ref/test/helpers.h index 2cb8e69..339ae0e 100644 --- a/crypto_aead/lilliputaei128v1/ref/test/helpers.h +++ b/crypto_aead/lilliputaei128v1/ref/test/helpers.h @@ -15,6 +15,11 @@ __FILE__, (VECTOR), (ELEMENT)); \ } while (0) +#define REPORT_INVALID(VECTOR) do { \ + fprintf(stderr, "%s: vector %s: ciphertext/tag invalid\n", \ + __FILE__, (VECTOR)); \ + } while (0) + static inline FILE* open_dump_file(const char *folder, const char* vector, const char *name) { |
