mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
9 lines
243 B
C
9 lines
243 B
C
#include "cyclone/types.h"
|
|
|
|
// Some custom function to speed-up code
|
|
mp_int sub_big_nums(void *data, mp_int bnx, mp_int bny) {
|
|
alloc_bignum(data, bn);
|
|
BIGNUM_CALL(mp_sub(&bnx, &bny, &bignum_value(bn)));
|
|
|
|
return bignum_value(bn);
|
|
}
|