diff options
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -25,10 +25,6 @@ #include <gcrypt.h> #include <stdint.h> -extern gcry_mpi_point_t ec_gen; -extern gcry_ctx_t ec_ctx; - - void brandt_crypto_init (); @@ -57,5 +53,7 @@ void brandt_mpi_scan_unsigned (gcry_mpi_t *result, const void *data, size_t size void brandt_ec_skey_create (gcry_mpi_t* skey); void brandt_ec_pkey_compute (gcry_mpi_point_t* pkey, const gcry_mpi_t skey); void brandt_ec_keypair_create (gcry_mpi_point_t* pkey, gcry_mpi_t* skey); +void brandt_ec_keypair_create_base (gcry_mpi_point_t* pkey, gcry_mpi_t* skey, const gcry_mpi_point_t base); +int brandt_ec_point_cmp (const gcry_mpi_point_t a, const gcry_mpi_point_t b); #endif /* ifndef _BRANDT_CRYPTO_H */ |