diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-16 20:58:20 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-08-16 20:58:20 +0200 |
commit | fe7b13889217f4268d87d3712cb9ffe265e6a4e2 (patch) | |
tree | 59a17a13bdd9f22281bb0a59d8056675814a0cfd /crypto.h | |
parent | 01c2b8d710ff5a526d1ae2ed2a7fafdec0b1f973 (diff) |
some stuff
- finish BRANDT_destroy()
- fix include mess related to platform.h and brandt_config.h
- add first brandt.c testcase
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -26,7 +26,6 @@ #include <gcrypt.h> #include <stdint.h> -#include "platform.h" #include <gnunet/gnunet_util_lib.h> #include "internals.h" @@ -42,6 +41,16 @@ struct ec_mpi { unsigned char data[256 / 8]; }; +gcry_mpi_point_t *smc_init1 (uint16_t size1); +gcry_mpi_point_t **smc_init2 (uint16_t size1, uint16_t size2); +gcry_mpi_point_t ***smc_init3 (uint16_t size1, uint16_t size2, uint16_t size3); +void smc_free1 (gcry_mpi_point_t *dst, uint16_t size1); +void smc_free2 (gcry_mpi_point_t **dst, uint16_t size1, uint16_t size2); +void smc_free3 (gcry_mpi_point_t ***dst, + uint16_t size1, + uint16_t size2, + uint16_t size3); + void ec_point_copy (gcry_mpi_point_t dst, const gcry_mpi_point_t src); int ec_point_cmp (const gcry_mpi_point_t a, const gcry_mpi_point_t b); void ec_skey_create (gcry_mpi_t skey); |