cangrepp

Some cryptographic attacks
Log | Files | Refs | README

commit bb2eac4b2a5ab2552374a38909d03de79a3ad02a
parent 88e5b3bb17ccec76736347320b4bcd2186d3e8ef
Author: olikru <olikru@tkruger.se>
Date:   Tue,  7 May 2024 22:17:39 +0200

merge fix

Diffstat:
Mpierre.h | 1+
Mtools/dbtool.c | 3++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/pierre.h b/pierre.h @@ -1,6 +1,7 @@ #ifndef _PIERRE_H_ #define _PIERRE_H_ + #include <fmpz.h> #include <fmpz_vec.h> #include <stdint.h> diff --git a/tools/dbtool.c b/tools/dbtool.c @@ -16,6 +16,7 @@ enum command { INSERT, CREATE, NONE }; +// layout of tables to create as (table name, column definition) pairs const char* layout[][2] = { { "factor", "modulus TEXT, factor TEXT, callback INTEGER" }, { "same", "id INTEGER PRIMARY KEY, row INTEGER" }, @@ -76,7 +77,7 @@ create_tables(sqlite3 *db) sqlite3_errmsg(db)); } - fprintf(stderr, "[+] Done creating the factor table"); + fprintf(stderr, "[+] Done creating the factor table\n"); i++; }