From 002d86dfc768e95aa7bd4ebf8e840da86e7ffb45 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 19 Oct 2021 19:47:45 +0200 Subject: fix test vector output --- src/util/anastasis-crypto-tvg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/util/anastasis-crypto-tvg.c b/src/util/anastasis-crypto-tvg.c index ee3df2e..b426ee5 100644 --- a/src/util/anastasis-crypto-tvg.c +++ b/src/util/anastasis-crypto-tvg.c @@ -484,14 +484,15 @@ output_vectors () ANASTASIS_CRYPTO_truth_encrypt (&nonce, &truth_enc_key, - &truth, truth_size, + truth, + truth_size, &enc_truth, &ect_size); d2j_auto (vec, "input_nonce", &nonce); d2j_auto (vec, "input_truth_enc_key", &truth_enc_key); d2j (vec, "input_truth", &truth, truth_size); - d2j (vec, "output_encrypted_truth", &enc_truth, ect_size); + d2j (vec, "output_encrypted_truth", enc_truth, ect_size); } { -- cgit v1.2.3