Skip to content

Commit

Permalink
Fix path to KATs
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklonga committed Nov 9, 2019
1 parent 8fbd12d commit 9fae98a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main()
FILE *fp_rsp;
unsigned char pk_rsp[CRYPTO_PUBLICKEYBYTES], sk_rsp[CRYPTO_SECRETKEYBYTES];

sprintf(fn_rsp, "../../KAT/avx2/PQCsignKAT_%s.rsp", CRYPTO_ALGNAME);
sprintf(fn_rsp, "../../../KAT/avx2/PQCsignKAT_%s.rsp", CRYPTO_ALGNAME);
if ( (fp_rsp = fopen(fn_rsp, "r")) == NULL ) {
printf("Couldn't open <%s> for read\n", fn_rsp);
return KAT_FILE_OPEN_ERROR;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main()
FILE *fp_rsp;
unsigned char pk_rsp[CRYPTO_PUBLICKEYBYTES], sk_rsp[CRYPTO_SECRETKEYBYTES];

sprintf(fn_rsp, "../../KAT/avx2/PQCsignKAT_%s.rsp", CRYPTO_ALGNAME);
sprintf(fn_rsp, "../../../KAT/avx2/PQCsignKAT_%s.rsp", CRYPTO_ALGNAME);
if ( (fp_rsp = fopen(fn_rsp, "r")) == NULL ) {
printf("Couldn't open <%s> for read\n", fn_rsp);
return KAT_FILE_OPEN_ERROR;
Expand Down

0 comments on commit 9fae98a

Please sign in to comment.