netxduo
_nx_crypto_huge_number_square()
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
netxduo
_nx_crypto_huge_number_square()
_nx_crypto_huge_number_square() function
Syntax
Show:
Summary
Declaration
Definition
from
nx_crypto_huge_number.h:195
VOID
_nx_crypto_huge_number_square
(
NX_CRYPTO_HUGE_NUMBER
*
value
,
NX_CRYPTO_HUGE_NUMBER
*
result
)
;
Implemented in
nx_crypto_huge_number.c:1289
Arguments
Argument
value
result
Related Functions
Found 45 other functions taking a
NX_CRYPTO_HUGE_NUMBER_STRUCT
argument:
Function
_nx_crypto_huge_number_multiply()
_nx_crypto_huge_number_modulus()
_nx_crypto_huge_number_setup()
_nx_crypto_huge_number_subtract()
_nx_crypto_huge_number_add()
_nx_crypto_huge_number_compare_unsigned()
_nx_crypto_huge_number_shift_right()
_nx_crypto_huge_number_subtract_unsigned()
_nx_crypto_ec_subtract_reduce()
_nx_crypto_huge_number_compare()
_nx_crypto_huge_number_is_zero()
_nx_crypto_huge_number_adjust_size()
_nx_crypto_huge_number_extract()
_nx_crypto_huge_number_extract_fixed_size()
_nx_crypto_huge_number_add_unsigned()
_nx_crypto_huge_number_shift_left()
_nx_crypto_ec_key_pair_generation_extra()
_nx_crypto_huge_number_inverse_modulus_prime()
_nx_crypto_huge_number_mont()
_nx_crypto_huge_number_mont_power_modulus()
_nx_crypto_ec_fp_projective_multiple()
_nx_crypto_huge_number_add_digit_unsigned()
_nx_crypto_huge_number_subtract_digit_unsigned()
_nx_crypto_huge_number_inverse_modulus()
_nx_crypto_ecjpake_schnorr_zkp_generate()
_nx_crypto_ecjpake_schnorr_zkp_verify()
_nx_crypto_huge_number_multiply_digit()
_nx_crypto_ec_add_reduce()
_nx_crypto_ecjpake_schnorr_zkp_hash()
_nx_crypto_huge_number_crt_power_modulus()
_nx_crypto_ec_secp192r1_reduce()
_nx_crypto_ec_secp224r1_reduce()
_nx_crypto_ec_naf_compute()
_nx_crypto_ec_fp_fixed_multiple()
_nx_crypto_ec_secp256r1_reduce()
_nx_crypto_ec_secp384r1_reduce()
_nx_crypto_ec_subtract_digit_reduce()
_nx_crypto_ec_secp521r1_reduce()
_nx_crypto_ecjpake_public_key_generate()
_nx_crypto_ecjpake_pre_master_secret_generate()
_nx_crypto_huge_number_power_modulus()
_nx_crypto_huge_number_add_digit()
_nx_crypto_huge_number_subtract_digit()
_nx_crypto_ec_fp_reduce()
_nx_crypto_ec_add_digit_reduce()
Examples
References
from
examples
Code
Location
Referrer
NX_CRYPTO_KEEP
VOID
_nx_crypto_huge_number_square
(
NX_CRYPTO_HUGE_NUMBER
*
value
,
NX_CRYPTO_HUGE_NUMBER
*
result
)
nx_crypto_huge_number.c:1289
VOID
_nx_crypto_huge_number_square
(
NX_CRYPTO_HUGE_NUMBER
*
value
,
NX_CRYPTO_HUGE_NUMBER
*
result
)
;
nx_crypto_huge_number.h:195
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
zi
,
&
temp1
,
scratch
)
;
nx_crypto_ec.c:1112
_nx_crypto_ec_point_fp_projective_to_affine()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
projective_point
->
nx_crypto_ec_point_z
,
nx_crypto_ec.c:2297
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
temp2
,
&
temp3
,
scratch
)
;
nx_crypto_ec.c:2323
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
temp1
,
&
temp5
,
scratch
)
;
nx_crypto_ec.c:2330
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
projective_point
->
nx_crypto_ec_point_y
,
nx_crypto_ec.c:2435
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
temp3
,
&
temp2
,
scratch
)
;
nx_crypto_ec.c:2443
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
projective_point
->
nx_crypto_ec_point_z
,
nx_crypto_ec.c:2447
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
temp4
,
&
temp3
,
scratch
)
;
nx_crypto_ec.c:2465
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
left
->
nx_crypto_ec_point_x
,
nx_crypto_ec.c:2582
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_EC_SQUARE_REDUCE
(
curve
,
&
temp3
,
&
temp1
,
scratch
)
;
nx_crypto_ec.c:2602
_nx_crypto_ec_fp_affine_add()
_nx_crypto_huge_number_square
(
&
temp
,
result
)
;
nx_crypto_huge_number.c:2667
_nx_crypto_huge_number_mont_power_modulus()
_nx_crypto_huge_number_square
(
number
,
&
temp
)
;
nx_crypto_huge_number_extended.c:293
_nx_crypto_huge_number_power_modulus()
Call Tree
from
examples
_nx_crypto_huge_number_square()
is called by 6 functions and calls 2 functions:
_nx_crypto_huge_number_mont_power_modulus()
_nx_crypto_ec_point_fp_projective_to_affine()
_nx_crypto_ec_fp_projective_add()
_nx_crypto_ec_fp_projective_double()
_nx_crypto_ec_fp_affine_add()
_nx_crypto_huge_number_power_modulus()
All items filtered out
_nx_crypto_huge_number_square()
_nx_crypto_memset_ptr
_nx_crypto_huge_number_adjust_size()
All items filtered out
Data Use
from
examples
_nx_crypto_huge_number_square()
reads 2 variables and writes 2 variables:
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_data
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_size
All items filtered out
_nx_crypto_huge_number_square()
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_size
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_is_negative
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out