aboutsummaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/crypto.h b/crypto.h
index aa518cd..4ccd1ca 100644
--- a/crypto.h
+++ b/crypto.h
@@ -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];
};