/src/bin/fp_signed_bin_size.c

http://github.com/libtom/tomsfastmath · C · 8 lines · 5 code · 1 blank · 2 comment · 0 complexity · 8d8abf2455ecb542d30b8df812721883 MD5 · raw file

  1. /* TomsFastMath, a fast ISO C bignum library. -- Tom St Denis */
  2. /* SPDX-License-Identifier: Unlicense */
  3. #include <tfm_private.h>
  4. int fp_signed_bin_size(fp_int *a)
  5. {
  6. return 1 + fp_unsigned_bin_size (a);
  7. }