netxduo
_nx_crypto_huge_number_compare()
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/7)...
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_compare()
_nx_crypto_huge_number_compare() function
Syntax
Show:
Summary
Declaration
Definition
from
nx_crypto_huge_number.h:175
UINT
_nx_crypto_huge_number_compare
(
NX_CRYPTO_HUGE_NUMBER
*
left
,
NX_CRYPTO_HUGE_NUMBER
*
right
)
;
Implemented in
nx_crypto_huge_number.c:896
Arguments
Argument
left
right
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_is_zero()
_nx_crypto_huge_number_square()
_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
UINT
_nx_crypto_huge_number_compare
(
NX_CRYPTO_HUGE_NUMBER
*
left
,
NX_CRYPTO_HUGE_NUMBER
*
right
)
nx_crypto_huge_number.c:896
UINT
_nx_crypto_huge_number_compare
(
NX_CRYPTO_HUGE_NUMBER
*
left
,
NX_CRYPTO_HUGE_NUMBER
*
right
)
;
nx_crypto_huge_number.h:175
compare_value
=
_nx_crypto_huge_number_compare
(
value
,
&
curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:1194
_nx_crypto_ec_secp192r1_reduce()
compare_value
=
_nx_crypto_huge_number_compare
(
value
,
&
curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:1331
_nx_crypto_ec_secp224r1_reduce()
compare_value
=
_nx_crypto_huge_number_compare
(
value
,
&
curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:1475
_nx_crypto_ec_secp256r1_reduce()
compare_value
=
_nx_crypto_huge_number_compare
(
value
,
&
curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:1640
_nx_crypto_ec_secp384r1_reduce()
compare_value
=
_nx_crypto_huge_number_compare
(
value
,
&
curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:1811
_nx_crypto_ec_secp521r1_reduce()
if
(
(
_nx_crypto_huge_number_compare
(
&
left
->
nx_crypto_ec_point_x
,
nx_crypto_ec.c:2571
_nx_crypto_ec_fp_affine_add()
(
_nx_crypto_huge_number_compare
(
&
left
->
nx_crypto_ec_point_y
,
nx_crypto_ec.c:2573
_nx_crypto_ec_fp_affine_add()
compare_value
=
_nx_crypto_huge_number_compare
(
&
public_key
->
nx_crypto_ec_point_x
,
&
chosen_curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:4309
_nx_crypto_ec_validate_public_key()
compare_value
=
_nx_crypto_huge_number_compare
(
&
public_key
->
nx_crypto_ec_point_y
,
&
chosen_curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:4315
_nx_crypto_ec_validate_public_key()
compare_value
=
_nx_crypto_huge_number_compare
(
&
temp
,
&
right
)
;
nx_crypto_ec.c:4349
_nx_crypto_ec_validate_public_key()
if
(
(
_nx_crypto_huge_number_compare
(
&
temp1
.
nx_crypto_ec_point_x
,
nx_crypto_ecjpake.c:1247
_nx_crypto_ecjpake_schnorr_zkp_verify()
(
_nx_crypto_huge_number_compare
(
&
temp1
.
nx_crypto_ec_point_y
,
nx_crypto_ecjpake.c:1249
_nx_crypto_ecjpake_schnorr_zkp_verify()
if
(
_nx_crypto_huge_number_compare
(
&
u
,
&
v
)
!=
NX_CRYPTO_HUGE_NUMBER_LESS
)
nx_crypto_huge_number.c:2215
_nx_crypto_huge_number_inverse_modulus_prime()
if
(
_nx_crypto_huge_number_compare
(
&
u
,
&
v
)
!=
NX_CRYPTO_HUGE_NUMBER_LESS
)
nx_crypto_huge_number.c:2378
_nx_crypto_huge_number_inverse_modulus()
if
(
_nx_crypto_huge_number_compare
(
result
,
m
)
!=
NX_CRYPTO_HUGE_NUMBER_LESS
)
nx_crypto_huge_number.c:2532
_nx_crypto_huge_number_mont()
Call Tree
from
examples
_nx_crypto_huge_number_compare()
is called by 11 functions and calls 1 function:
_nx_crypto_huge_number_inverse_modulus_prime()
_nx_crypto_huge_number_inverse_modulus()
_nx_crypto_huge_number_mont()
_nx_crypto_ec_secp192r1_reduce()
_nx_crypto_ec_secp224r1_reduce()
_nx_crypto_ec_secp256r1_reduce()
_nx_crypto_ec_secp384r1_reduce()
_nx_crypto_ec_secp521r1_reduce()
_nx_crypto_ec_fp_affine_add()
_nx_crypto_ec_validate_public_key()
_nx_crypto_ecjpake_schnorr_zkp_verify()
All items filtered out
_nx_crypto_huge_number_compare()
_nx_crypto_huge_number_compare_unsigned()
All items filtered out
Data Use
from
examples
_nx_crypto_huge_number_compare()
reads 1 variable:
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_is_negative
All items filtered out
_nx_crypto_huge_number_compare()
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