Merge pull request #578 from PX4/fix_mp_prime_strong_lucas_lefridge_compilation
[libtommath.git] / mp_sbin_size.c
blob2f40df3e15d86cb396f50c878193f205129316c4
1 #include "tommath_private.h"
2 #ifdef MP_SBIN_SIZE_C
3 /* LibTomMath, multiple-precision integer library -- Tom St Denis */
4 /* SPDX-License-Identifier: Unlicense */
6 /* get the size for an signed equivalent */
7 size_t mp_sbin_size(const mp_int *a)
9 return 1u + mp_ubin_size(a);
11 #endif