From 83b86bf0132acc9bef14c0645940f77ce269155a Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Thu, 27 May 2010 10:40:05 -0500 Subject: [PATCH] add fp_radix_size --- lib/hcrypto/tomsfastmath/src/headers/tfm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hcrypto/tomsfastmath/src/headers/tfm.h b/lib/hcrypto/tomsfastmath/src/headers/tfm.h index 7144d4910..ecf16181e 100644 --- a/lib/hcrypto/tomsfastmath/src/headers/tfm.h +++ b/lib/hcrypto/tomsfastmath/src/headers/tfm.h @@ -449,6 +449,8 @@ int fp_prime_random_ex(fp_int *a, int t, int size, int flags, tfm_prime_callback /* radix conersions */ int fp_count_bits(fp_int *a); +int fp_radix_size(fp_int *a, int radix, int *size); + int fp_unsigned_bin_size(fp_int *a); void fp_read_unsigned_bin(fp_int *a, unsigned char *b, int c); void fp_to_unsigned_bin(fp_int *a, unsigned char *b);