diff options
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -44,17 +44,11 @@ struct brandt_hash_code { void brandt_hash (const void *block, size_t size, struct brandt_hash_code *ret); -/* --- MPI --- */ - -void brandt_mpi_print_unsigned (void *buf, size_t size, gcry_mpi_t val); -void brandt_mpi_scan_unsigned (gcry_mpi_t *result, - const void *data, - size_t size); - - /* --- EC --- */ -struct ec_point { +/* used for serialized mpis and serialized curve points (they are the same size + * when compressed) */ +struct ec_mpi { unsigned char data[256 / 8]; }; |