update callgraph and tommath_class

This commit is contained in:
Steffen Jaeckel 2019-04-04 07:55:02 +02:00
parent 42b1609222
commit 646ac8802f
2 changed files with 57 additions and 96 deletions

View File

@ -2333,6 +2333,7 @@ BN_MP_GET_DOUBLE_C
BN_MP_GET_INT_C
+--->BN_MP_GET_LONG_C
BN_MP_GET_LONG_C
@ -2380,15 +2381,9 @@ BN_MP_INIT_SET_C
BN_MP_INIT_SET_INT_C
+--->BN_MP_INIT_C
+--->BN_MP_SET_INT_C
| +--->BN_MP_ZERO_C
| +--->BN_MP_MUL_2D_C
| | +--->BN_MP_COPY_C
| | | +--->BN_MP_GROW_C
| +--->BN_MP_SET_LONG_C
| | +--->BN_MP_GROW_C
| | +--->BN_MP_LSHD_C
| | | +--->BN_MP_RSHD_C
| | +--->BN_MP_CLAMP_C
| +--->BN_MP_CLAMP_C
| | +--->BN_MP_ZERO_C
BN_MP_INIT_SIZE_C
@ -2713,15 +2708,9 @@ BN_MP_IS_SQUARE_C
+--->BN_MP_INIT_SET_INT_C
| +--->BN_MP_INIT_C
| +--->BN_MP_SET_INT_C
| | +--->BN_MP_ZERO_C
| | +--->BN_MP_MUL_2D_C
| | | +--->BN_MP_COPY_C
| | | | +--->BN_MP_GROW_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_LSHD_C
| | | | +--->BN_MP_RSHD_C
| | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_CLAMP_C
| | | +--->BN_MP_ZERO_C
+--->BN_MP_MOD_C
| +--->BN_MP_INIT_SIZE_C
| | +--->BN_MP_INIT_C
@ -2787,6 +2776,7 @@ BN_MP_IS_SQUARE_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_CLAMP_C
+--->BN_MP_GET_INT_C
| +--->BN_MP_GET_LONG_C
+--->BN_MP_SQRT_C
| +--->BN_MP_N_ROOT_C
| | +--->BN_MP_N_ROOT_EX_C
@ -5634,15 +5624,9 @@ BN_MP_PRIME_FROBENIUS_UNDERWOOD_C
| | +--->BN_MP_INIT_SET_INT_C
| | | +--->BN_MP_INIT_C
| | | +--->BN_MP_SET_INT_C
| | | | +--->BN_MP_ZERO_C
| | | | +--->BN_MP_MUL_2D_C
| | | | | +--->BN_MP_COPY_C
| | | | | | +--->BN_MP_GROW_C
| | | | +--->BN_MP_SET_LONG_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_LSHD_C
| | | | | | +--->BN_MP_RSHD_C
| | | | | +--->BN_MP_CLAMP_C
| | | | +--->BN_MP_CLAMP_C
| | | | | +--->BN_MP_ZERO_C
| | +--->BN_MP_MOD_C
| | | +--->BN_MP_INIT_SIZE_C
| | | | +--->BN_MP_INIT_C
@ -5708,6 +5692,7 @@ BN_MP_PRIME_FROBENIUS_UNDERWOOD_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_GET_INT_C
| | | +--->BN_MP_GET_LONG_C
| | +--->BN_MP_SQRT_C
| | | +--->BN_MP_N_ROOT_C
| | | | +--->BN_MP_N_ROOT_EX_C
@ -7245,6 +7230,8 @@ BN_MP_PRIME_FROBENIUS_UNDERWOOD_C
| | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_INIT_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_ZERO_C
| | +--->BN_MP_MUL_C
| | | +--->BN_MP_TOOM_MUL_C
| | | | +--->BN_MP_INIT_MULTI_C
@ -7595,6 +7582,8 @@ BN_MP_PRIME_FROBENIUS_UNDERWOOD_C
| +--->BN_MP_INIT_C
| +--->BN_MP_CLEAR_C
+--->BN_MP_SET_LONG_C
| +--->BN_MP_GROW_C
| +--->BN_MP_ZERO_C
+--->BN_MP_SQR_C
| +--->BN_MP_TOOM_SQR_C
| | +--->BN_MP_MOD_2D_C
@ -7951,15 +7940,9 @@ BN_MP_PRIME_IS_PRIME_C
| +--->BN_MP_INIT_SET_INT_C
| | +--->BN_MP_INIT_C
| | +--->BN_MP_SET_INT_C
| | | +--->BN_MP_ZERO_C
| | | +--->BN_MP_MUL_2D_C
| | | | +--->BN_MP_COPY_C
| | | | | +--->BN_MP_GROW_C
| | | +--->BN_MP_SET_LONG_C
| | | | +--->BN_MP_GROW_C
| | | | +--->BN_MP_LSHD_C
| | | | | +--->BN_MP_RSHD_C
| | | | +--->BN_MP_CLAMP_C
| | | +--->BN_MP_CLAMP_C
| | | | +--->BN_MP_ZERO_C
| +--->BN_MP_MOD_C
| | +--->BN_MP_INIT_SIZE_C
| | | +--->BN_MP_INIT_C
@ -8025,6 +8008,7 @@ BN_MP_PRIME_IS_PRIME_C
| | | | +--->BN_MP_GROW_C
| | | | +--->BN_MP_CLAMP_C
| +--->BN_MP_GET_INT_C
| | +--->BN_MP_GET_LONG_C
| +--->BN_MP_SQRT_C
| | +--->BN_MP_N_ROOT_C
| | | +--->BN_MP_N_ROOT_EX_C
@ -9561,6 +9545,8 @@ BN_MP_PRIME_IS_PRIME_C
| | +--->BN_MP_INIT_C
| | +--->BN_MP_CLEAR_C
| +--->BN_MP_SET_LONG_C
| | +--->BN_MP_GROW_C
| | +--->BN_MP_ZERO_C
| +--->BN_MP_SQR_C
| | +--->BN_MP_TOOM_SQR_C
| | | +--->BN_MP_MOD_2D_C
@ -9870,6 +9856,8 @@ BN_MP_PRIME_IS_PRIME_C
| | +--->BN_MP_CLAMP_C
| +--->BN_MP_INIT_C
| +--->BN_MP_SET_LONG_C
| | +--->BN_MP_GROW_C
| | +--->BN_MP_ZERO_C
| +--->BN_MP_MUL_C
| | +--->BN_MP_TOOM_MUL_C
| | | +--->BN_MP_INIT_MULTI_C
@ -11348,15 +11336,9 @@ BN_MP_PRIME_NEXT_PRIME_C
| +--->BN_MP_IS_SQUARE_C
| | +--->BN_MP_INIT_SET_INT_C
| | | +--->BN_MP_SET_INT_C
| | | | +--->BN_MP_ZERO_C
| | | | +--->BN_MP_MUL_2D_C
| | | | | +--->BN_MP_COPY_C
| | | | | | +--->BN_MP_GROW_C
| | | | +--->BN_MP_SET_LONG_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_LSHD_C
| | | | | | +--->BN_MP_RSHD_C
| | | | | +--->BN_MP_CLAMP_C
| | | | +--->BN_MP_CLAMP_C
| | | | | +--->BN_MP_ZERO_C
| | +--->BN_MP_MOD_C
| | | +--->BN_MP_INIT_SIZE_C
| | | +--->BN_MP_DIV_C
@ -11418,6 +11400,7 @@ BN_MP_PRIME_NEXT_PRIME_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_GET_INT_C
| | | +--->BN_MP_GET_LONG_C
| | +--->BN_MP_SQRT_C
| | | +--->BN_MP_N_ROOT_C
| | | | +--->BN_MP_N_ROOT_EX_C
@ -12892,6 +12875,8 @@ BN_MP_PRIME_NEXT_PRIME_C
| | +--->BN_MP_INIT_MULTI_C
| | | +--->BN_MP_CLEAR_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_ZERO_C
| | +--->BN_MP_SQR_C
| | | +--->BN_MP_TOOM_SQR_C
| | | | +--->BN_MP_MOD_2D_C
@ -13181,6 +13166,8 @@ BN_MP_PRIME_NEXT_PRIME_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_ZERO_C
| | +--->BN_MP_MUL_C
| | | +--->BN_MP_TOOM_MUL_C
| | | | +--->BN_MP_INIT_MULTI_C
@ -13546,15 +13533,9 @@ BN_MP_PRIME_RANDOM_EX_C
| | +--->BN_MP_INIT_SET_INT_C
| | | +--->BN_MP_INIT_C
| | | +--->BN_MP_SET_INT_C
| | | | +--->BN_MP_ZERO_C
| | | | +--->BN_MP_MUL_2D_C
| | | | | +--->BN_MP_COPY_C
| | | | | | +--->BN_MP_GROW_C
| | | | +--->BN_MP_SET_LONG_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_LSHD_C
| | | | | | +--->BN_MP_RSHD_C
| | | | | +--->BN_MP_CLAMP_C
| | | | +--->BN_MP_CLAMP_C
| | | | | +--->BN_MP_ZERO_C
| | +--->BN_MP_MOD_C
| | | +--->BN_MP_INIT_SIZE_C
| | | | +--->BN_MP_INIT_C
@ -13620,6 +13601,7 @@ BN_MP_PRIME_RANDOM_EX_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_GET_INT_C
| | | +--->BN_MP_GET_LONG_C
| | +--->BN_MP_SQRT_C
| | | +--->BN_MP_N_ROOT_C
| | | | +--->BN_MP_N_ROOT_EX_C
@ -15156,6 +15138,8 @@ BN_MP_PRIME_RANDOM_EX_C
| | | +--->BN_MP_INIT_C
| | | +--->BN_MP_CLEAR_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_ZERO_C
| | +--->BN_MP_SQR_C
| | | +--->BN_MP_TOOM_SQR_C
| | | | +--->BN_MP_MOD_2D_C
@ -15465,6 +15449,8 @@ BN_MP_PRIME_RANDOM_EX_C
| | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_INIT_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_ZERO_C
| | +--->BN_MP_MUL_C
| | | +--->BN_MP_TOOM_MUL_C
| | | | +--->BN_MP_INIT_MULTI_C
@ -15853,15 +15839,9 @@ BN_MP_PRIME_STRONG_LUCAS_SELFRIDGE_C
| | +--->BN_MP_INIT_SET_INT_C
| | | +--->BN_MP_INIT_C
| | | +--->BN_MP_SET_INT_C
| | | | +--->BN_MP_ZERO_C
| | | | +--->BN_MP_MUL_2D_C
| | | | | +--->BN_MP_COPY_C
| | | | | | +--->BN_MP_GROW_C
| | | | +--->BN_MP_SET_LONG_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_LSHD_C
| | | | | | +--->BN_MP_RSHD_C
| | | | | +--->BN_MP_CLAMP_C
| | | | +--->BN_MP_CLAMP_C
| | | | | +--->BN_MP_ZERO_C
| | +--->BN_MP_MOD_C
| | | +--->BN_MP_INIT_SIZE_C
| | | | +--->BN_MP_INIT_C
@ -15927,6 +15907,7 @@ BN_MP_PRIME_STRONG_LUCAS_SELFRIDGE_C
| | | | | +--->BN_MP_GROW_C
| | | | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_GET_INT_C
| | | +--->BN_MP_GET_LONG_C
| | +--->BN_MP_SQRT_C
| | | +--->BN_MP_N_ROOT_C
| | | | +--->BN_MP_N_ROOT_EX_C
@ -17463,6 +17444,8 @@ BN_MP_PRIME_STRONG_LUCAS_SELFRIDGE_C
| | | +--->BN_MP_INIT_C
| | | +--->BN_MP_CLEAR_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_ZERO_C
| | +--->BN_MP_SQR_C
| | | +--->BN_MP_TOOM_SQR_C
| | | | +--->BN_MP_MOD_2D_C
@ -17805,6 +17788,8 @@ BN_MP_PRIME_STRONG_LUCAS_SELFRIDGE_C
| +--->BN_MP_CLAMP_C
+--->BN_MP_INIT_C
+--->BN_MP_SET_LONG_C
| +--->BN_MP_GROW_C
| +--->BN_MP_ZERO_C
+--->BN_MP_MUL_C
| +--->BN_MP_TOOM_MUL_C
| | +--->BN_MP_INIT_MULTI_C
@ -18646,18 +18631,14 @@ BN_MP_SET_DOUBLE_C
BN_MP_SET_INT_C
+--->BN_MP_ZERO_C
+--->BN_MP_MUL_2D_C
| +--->BN_MP_COPY_C
| | +--->BN_MP_GROW_C
+--->BN_MP_SET_LONG_C
| +--->BN_MP_GROW_C
| +--->BN_MP_LSHD_C
| | +--->BN_MP_RSHD_C
| +--->BN_MP_CLAMP_C
+--->BN_MP_CLAMP_C
| +--->BN_MP_ZERO_C
BN_MP_SET_LONG_C
+--->BN_MP_GROW_C
+--->BN_MP_ZERO_C
BN_MP_SET_LONG_LONG_C
@ -19839,12 +19820,8 @@ BN_MP_SQRTMOD_PRIME_C
| +--->BN_MP_GROW_C
| +--->BN_MP_CLAMP_C
+--->BN_MP_SET_INT_C
| +--->BN_MP_MUL_2D_C
| +--->BN_MP_SET_LONG_C
| | +--->BN_MP_GROW_C
| | +--->BN_MP_LSHD_C
| | | +--->BN_MP_RSHD_C
| | +--->BN_MP_CLAMP_C
| +--->BN_MP_CLAMP_C
+--->BN_MP_SQRMOD_C
| +--->BN_MP_INIT_C
| +--->BN_MP_SQR_C
@ -20581,15 +20558,9 @@ BN_MP_TC_AND_C
+--->BN_MP_INIT_SET_INT_C
| +--->BN_MP_INIT_C
| +--->BN_MP_SET_INT_C
| | +--->BN_MP_ZERO_C
| | +--->BN_MP_MUL_2D_C
| | | +--->BN_MP_COPY_C
| | | | +--->BN_MP_GROW_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_LSHD_C
| | | | +--->BN_MP_RSHD_C
| | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_CLAMP_C
| | | +--->BN_MP_ZERO_C
+--->BN_MP_MUL_2D_C
| +--->BN_MP_COPY_C
| | +--->BN_MP_GROW_C
@ -20649,15 +20620,9 @@ BN_MP_TC_OR_C
+--->BN_MP_INIT_SET_INT_C
| +--->BN_MP_INIT_C
| +--->BN_MP_SET_INT_C
| | +--->BN_MP_ZERO_C
| | +--->BN_MP_MUL_2D_C
| | | +--->BN_MP_COPY_C
| | | | +--->BN_MP_GROW_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_LSHD_C
| | | | +--->BN_MP_RSHD_C
| | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_CLAMP_C
| | | +--->BN_MP_ZERO_C
+--->BN_MP_MUL_2D_C
| +--->BN_MP_COPY_C
| | +--->BN_MP_GROW_C
@ -20698,15 +20663,9 @@ BN_MP_TC_XOR_C
+--->BN_MP_INIT_SET_INT_C
| +--->BN_MP_INIT_C
| +--->BN_MP_SET_INT_C
| | +--->BN_MP_ZERO_C
| | +--->BN_MP_MUL_2D_C
| | | +--->BN_MP_COPY_C
| | | | +--->BN_MP_GROW_C
| | +--->BN_MP_SET_LONG_C
| | | +--->BN_MP_GROW_C
| | | +--->BN_MP_LSHD_C
| | | | +--->BN_MP_RSHD_C
| | | +--->BN_MP_CLAMP_C
| | +--->BN_MP_CLAMP_C
| | | +--->BN_MP_ZERO_C
+--->BN_MP_MUL_2D_C
| +--->BN_MP_COPY_C
| | +--->BN_MP_GROW_C

View File

@ -9,6 +9,7 @@
*
* SPDX-License-Identifier: Unlicense
*/
#if !(defined(LTM1) && defined(LTM2) && defined(LTM3))
#if defined(LTM2)
# define LTM3
@ -441,6 +442,7 @@
#endif
#if defined(BN_MP_GET_INT_C)
# define BN_MP_GET_LONG_C
#endif
#if defined(BN_MP_GET_LONG_C)
@ -916,12 +918,12 @@
#endif
#if defined(BN_MP_SET_INT_C)
# define BN_MP_ZERO_C
# define BN_MP_MUL_2D_C
# define BN_MP_CLAMP_C
# define BN_MP_SET_LONG_C
#endif
#if defined(BN_MP_SET_LONG_C)
# define BN_MP_GROW_C
# define BN_MP_ZERO_C
#endif
#if defined(BN_MP_SET_LONG_LONG_C)