]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - bigint/bigint.h
first idea of RSA (PKCS#1 v1.5)
[arm-crypto-lib.git] / bigint / bigint.h
index af1e451a10b81c2883ce544bbc458a1faf9aa562..63938f8066fdcc04c0a9afbde5b950f1d2151456 100644 (file)
@@ -48,6 +48,8 @@ typedef struct{
 /******************************************************************************/
 
 void   bigint_adjust(bigint_t* a);
+uint32_t bigint_get_first_set_bit(bigint_t* a);
+uint32_t bigint_get_last_set_bit(bigint_t* a);
 void   bigint_copy(bigint_t* dest, const bigint_t* src);
 void   bigint_add_u(bigint_t* dest, const bigint_t* a, const bigint_t* b);
 void   bigint_add_scale_u(bigint_t* dest, const bigint_t* a, uint16_t scale);