Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

crypto/ecc.c ecc_point_double_jacobian() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-255
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
RX_PATH
TASK_NOT_RUNNING
UNITS 3 ndigits unit_array_size

crypto/ecc.c ecc_point_mult() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 2 right 0,4096-ptr_max
PARAM_VALUE 3 ndigits 1-u32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left (-1),72
BUF_SIZE 1 left (-1),72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 1 left $2
DATA_SOURCE 3 ndigits $5
RX_PATH
TASK_NOT_RUNNING
UNITS 3 ndigits unit_array_size

crypto/ecc.c ecc_point_mult() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left 72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 3 ndigits $5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mmod_barrett() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 3 ndigits 0-255
DATA_SOURCE 3 ndigits $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mmod_fast_192() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 3 ndigits 3
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_192() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 3 ndigits 3
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_192() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 3 ndigits 3
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_256() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 2 *right 0,2-18446744073709551614
PARAM_VALUE 3 ndigits 4
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_256() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 3 ndigits 4
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_256() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 3 ndigits 4
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_256() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 3 ndigits 4
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_256() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 4
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $2
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_384() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 2 *right 0,2-18446744073709551614
PARAM_VALUE 3 ndigits 6
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_384() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 2 *right 0,2-18446744073709551614
PARAM_VALUE 3 ndigits 6
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_384() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 2 *right 0,2-18446744073709551614
PARAM_VALUE 3 ndigits 6
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_384() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 2 *right 0,2-18446744073709551614
PARAM_VALUE 3 ndigits 6
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_384() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 2 *right 0,2-18446744073709551614
PARAM_VALUE 3 ndigits 6
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_384() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 3305023986384113664
PARAM_VALUE 2 *right 0,2-18446744073709551614
PARAM_VALUE 3 ndigits 6
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right 144
BUF_SIZE 2 right 144
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_fast_384() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 4096-ptr_max
PARAM_VALUE 1 left 4096-ptr_max
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 6
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $2
RX_PATH
TASK_NOT_RUNNING

crypto/ecc.c vli_mmod_special() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 8499600104465281024
PARAM_VALUE 1 left 8499600104465281024
PARAM_VALUE 2 right 202133725228777472
PARAM_VALUE 3 ndigits 2-510
BUF_SIZE 0 result 144
BUF_SIZE 1 left 144
BUF_SIZE 2 right 144
CAPPED_DATA 3 ndigits 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/ecc.c vli_mmod_special2() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 5594039353691275264
PARAM_VALUE 0 *result 0
PARAM_VALUE 1 left 5594039353691275264
PARAM_VALUE 1 *left 0
PARAM_VALUE 2 right 2115378017890078720
PARAM_VALUE 2 *right 0
PARAM_VALUE 3 ndigits 0-510
BUF_SIZE 0 result 144
BUF_SIZE 1 left 144
BUF_SIZE 2 right 144
CAPPED_DATA 3 ndigits 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/ecc.c vli_mmod_special2() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 5594039353691275264
PARAM_VALUE 0 *result 0
PARAM_VALUE 1 left 5594039353691275264
PARAM_VALUE 1 *left 0
PARAM_VALUE 2 right 7317474417252052992
PARAM_VALUE 2 *right 0
PARAM_VALUE 3 ndigits 0-510
BUF_SIZE 0 result 144
BUF_SIZE 1 left 144
BUF_SIZE 2 right 144
CAPPED_DATA 3 ndigits 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

crypto/ecc.c vli_mod_add() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 3 ndigits 0-255
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 2 right (-1),8-s32max
BUF_SIZE 2 right (-1),8-s32max
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $1
DATA_SOURCE 2 right $2
DATA_SOURCE 3 ndigits $4
RX_PATH
TASK_NOT_RUNNING
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mod_inv() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 7393416940008321024
PARAM_VALUE 1 left 7393416940008321024
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left 72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 2 right $2
DATA_SOURCE 3 ndigits $3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mod_inv() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 5637703361080786944
PARAM_VALUE 1 left 5637703361080786944
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left 72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 2 right $2
DATA_SOURCE 3 ndigits $3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mod_inv() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 7393416940008321024
PARAM_VALUE 1 left 7393416940008321024
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left 72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 2 right $2
DATA_SOURCE 3 ndigits $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mod_inv() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 7393416940008321024
PARAM_VALUE 1 left 7393416940008321024
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left 72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 2 right $2
DATA_SOURCE 3 ndigits $3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mod_inv() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 5637703361080786944
PARAM_VALUE 1 left 5637703361080786944
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left 72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 2 right $2
DATA_SOURCE 3 ndigits $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mod_inv() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 0 result 5637703361080786944
PARAM_VALUE 1 left 5637703361080786944
PARAM_VALUE 2 right 4096-ptr_max
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 72
BUF_SIZE 1 left 72
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 2 right $2
DATA_SOURCE 3 ndigits $3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 ndigits unit_array_size

crypto/ecc.c vli_mod_sub() -> vli_add()

Type Parameter Key Value
PARAM_VALUE 3 ndigits 1-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 0 result 8-s32max
BUF_SIZE 1 left 8-s32max
BUF_SIZE 1 left 8-s32max
CAPPED_DATA 3 ndigits 1
DATA_SOURCE 0 result $0
DATA_SOURCE 1 left $0
DATA_SOURCE 2 right $3
DATA_SOURCE 3 ndigits $4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 ndigits unit_array_size