netxduo
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_is_negative
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
netxduo
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_is_negative
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_is_negative field
Syntax
Show:
Summary
Declaration
from
nx_crypto_huge_number.h:127
UINT
nx_crypto_huge_number_is_negative
;
Examples
References
from
examples
Code
Location
Referrer
UINT
nx_crypto_huge_number_is_negative
;
nx_crypto_huge_number.h:127
NX_CRYPTO_HUGE_NUMBER_INITIALIZE_DIGIT
(
&
generator
,
&
generator_value
,
nx_crypto_dh.c:140
_nx_crypto_dh_setup()
modulus
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_dh.c:147
_nx_crypto_dh_setup()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
public_key
,
scratch_buf_ptr
,
dh_ptr
->
nx_crypto_dh_key_size
<
<
1
)
;
nx_crypto_dh.c:161
_nx_crypto_dh_setup()
private_key
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_dh.c:167
_nx_crypto_dh_setup()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
public_key
,
scratch_buf_ptr
,
key_size
)
;
nx_crypto_dh.c:283
_nx_crypto_dh_compute_secret()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
shared_secret
,
scratch_buf_ptr
,
key_size
<
<
1
)
;
nx_crypto_dh.c:284
_nx_crypto_dh_compute_secret()
modulus
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_dh.c:295
_nx_crypto_dh_compute_secret()
private_key
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_dh.c:303
_nx_crypto_dh_compute_secret()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
point
->
nx_crypto_ec_point_x
,
0
)
;
nx_crypto_ec.c:812
_nx_crypto_ec_point_set_infinite()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
point
->
nx_crypto_ec_point_y
,
0
)
;
nx_crypto_ec.c:813
_nx_crypto_ec_point_set_infinite()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
point
->
nx_crypto_ec_point_z
,
0
)
;
nx_crypto_ec.c:817
_nx_crypto_ec_point_set_infinite()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
point
->
nx_crypto_ec_point_z
,
1
)
;
nx_crypto_ec.c:1028
_nx_crypto_ec_point_fp_affine_to_projective()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp1
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:1103
_nx_crypto_ec_point_fp_projective_to_affine()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp2
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:1104
_nx_crypto_ec_point_fp_projective_to_affine()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
zi
,
scratch
,
buffer_size
)
;
nx_crypto_ec.c:1105
_nx_crypto_ec_point_fp_projective_to_affine()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
point
->
nx_crypto_ec_point_x
,
&
temp2
)
;
nx_crypto_ec.c:1115
_nx_crypto_ec_point_fp_projective_to_affine()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
point
->
nx_crypto_ec_point_y
,
&
temp1
)
;
nx_crypto_ec.c:1121
_nx_crypto_ec_point_fp_projective_to_affine()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
value
,
0
)
;
nx_crypto_ec.c:1201
_nx_crypto_ec_secp192r1_reduce()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
36
)
;
nx_crypto_ec.c:1205
_nx_crypto_ec_secp192r1_reduce()
NX_CRYPTO_EC_SECP192R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1223
_nx_crypto_ec_secp192r1_reduce()
NX_CRYPTO_EC_SECP192R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1229
_nx_crypto_ec_secp192r1_reduce()
NX_CRYPTO_EC_SECP192R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1235
_nx_crypto_ec_secp192r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1249
_nx_crypto_ec_secp192r1_reduce()
else
if
(
value
->
nx_crypto_huge_number_is_negative
)
nx_crypto_ec.c:1251
_nx_crypto_ec_secp192r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1254
_nx_crypto_ec_secp192r1_reduce()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
value
,
0
)
;
nx_crypto_ec.c:1338
_nx_crypto_ec_secp224r1_reduce()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
36
)
;
nx_crypto_ec.c:1342
_nx_crypto_ec_secp224r1_reduce()
NX_CRYPTO_EC_SECP224R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1360
_nx_crypto_ec_secp224r1_reduce()
NX_CRYPTO_EC_SECP224R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1366
_nx_crypto_ec_secp224r1_reduce()
NX_CRYPTO_EC_SECP224R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1372
_nx_crypto_ec_secp224r1_reduce()
NX_CRYPTO_EC_SECP224R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1378
_nx_crypto_ec_secp224r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1392
_nx_crypto_ec_secp224r1_reduce()
else
if
(
value
->
nx_crypto_huge_number_is_negative
)
nx_crypto_ec.c:1394
_nx_crypto_ec_secp224r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1397
_nx_crypto_ec_secp224r1_reduce()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
value
,
0
)
;
nx_crypto_ec.c:1482
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
36
)
;
nx_crypto_ec.c:1486
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP_LS1
(
&
temp
,
rev1
,
rev2
,
nx_crypto_ec.c:1504
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP_LS1
(
&
temp
,
rev1
,
rev2
,
nx_crypto_ec.c:1510
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1516
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1522
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1528
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1534
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1540
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_EC_SECP256R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1546
_nx_crypto_ec_secp256r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1560
_nx_crypto_ec_secp256r1_reduce()
else
if
(
value
->
nx_crypto_huge_number_is_negative
)
nx_crypto_ec.c:1562
_nx_crypto_ec_secp256r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1565
_nx_crypto_ec_secp256r1_reduce()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
value
,
0
)
;
nx_crypto_ec.c:1647
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
52
)
;
nx_crypto_ec.c:1651
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP_LS1
(
&
temp
,
rev1
,
rev2
,
nx_crypto_ec.c:1669
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1679
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1686
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1693
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1700
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1707
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1714
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_EC_SECP384R1_DATA_SETUP
(
&
temp
,
rev1
,
nx_crypto_ec.c:1720
_nx_crypto_ec_secp384r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1734
_nx_crypto_ec_secp384r1_reduce()
else
if
(
value
->
nx_crypto_huge_number_is_negative
)
nx_crypto_ec.c:1736
_nx_crypto_ec_secp384r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1739
_nx_crypto_ec_secp384r1_reduce()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
value
,
0
)
;
nx_crypto_ec.c:1818
_nx_crypto_ec_secp521r1_reduce()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
66
)
;
nx_crypto_ec.c:1822
_nx_crypto_ec_secp521r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1855
_nx_crypto_ec_secp521r1_reduce()
else
if
(
value
->
nx_crypto_huge_number_is_negative
)
nx_crypto_ec.c:1857
_nx_crypto_ec_secp521r1_reduce()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ec.c:1860
_nx_crypto_ec_secp521r1_reduce()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_x
,
nx_crypto_ec.c:2275
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_y
,
nx_crypto_ec.c:2277
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp1
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2289
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp2
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2290
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp3
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2291
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp4
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2292
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp5
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2293
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_z
,
&
temp3
)
;
nx_crypto_ec.c:2318
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp3
,
&
temp2
)
;
nx_crypto_ec.c:2327
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_x
,
&
temp5
)
;
nx_crypto_ec.c:2332
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_y
,
&
temp3
)
;
nx_crypto_ec.c:2344
_nx_crypto_ec_fp_projective_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp1
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2428
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp2
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2429
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp3
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2430
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp4
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2431
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp5
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2432
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp4
,
&
projective_point
->
nx_crypto_ec_point_x
)
;
nx_crypto_ec.c:2449
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp5
,
&
projective_point
->
nx_crypto_ec_point_x
)
;
nx_crypto_ec.c:2450
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_z
,
&
temp5
)
;
nx_crypto_ec.c:2460
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp5
,
&
temp1
)
;
nx_crypto_ec.c:2466
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_x
,
&
temp3
)
;
nx_crypto_ec.c:2469
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
projective_point
->
nx_crypto_ec_point_y
,
&
temp3
)
;
nx_crypto_ec.c:2479
_nx_crypto_ec_fp_projective_double()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
left
->
nx_crypto_ec_point_x
,
nx_crypto_ec.c:2552
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
left
->
nx_crypto_ec_point_y
,
nx_crypto_ec.c:2554
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp1
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2567
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp2
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2568
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp3
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ec.c:2569
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp3
,
&
left
->
nx_crypto_ec_point_y
)
;
nx_crypto_ec.c:2579
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp1
,
&
right
->
nx_crypto_ec_point_x
)
;
nx_crypto_ec.c:2593
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp1
,
&
right
->
nx_crypto_ec_point_y
)
;
nx_crypto_ec.c:2596
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp2
,
&
left
->
nx_crypto_ec_point_x
)
;
nx_crypto_ec.c:2605
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
left
->
nx_crypto_ec_point_x
,
&
temp1
)
;
nx_crypto_ec.c:2606
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
left
->
nx_crypto_ec_point_y
,
&
temp1
)
;
nx_crypto_ec.c:2612
_nx_crypto_ec_fp_affine_add()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
point
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
nx_crypto_ec.c:2670
_nx_crypto_ec_fp_affine_subtract()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
point
.
nx_crypto_ec_point_x
,
&
right
->
nx_crypto_ec_point_x
)
;
nx_crypto_ec.c:2672
_nx_crypto_ec_fp_affine_subtract()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
point
.
nx_crypto_ec_point_y
,
&
curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:2673
_nx_crypto_ec_fp_affine_subtract()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
projective_point
,
NX_CRYPTO_EC_POINT_PROJECTIVE
,
scratch
,
nx_crypto_ec.c:2888
_nx_crypto_ec_fp_projective_multiple()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
negative_g
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
nx_crypto_ec.c:2890
_nx_crypto_ec_fp_projective_multiple()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
negative_g
.
nx_crypto_ec_point_x
,
&
g
->
nx_crypto_ec_point_x
)
;
nx_crypto_ec.c:2894
_nx_crypto_ec_fp_projective_multiple()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
negative_g
.
nx_crypto_ec_point_y
,
&
curve
->
nx_crypto_ec_field
.
fp
)
;
nx_crypto_ec.c:2895
_nx_crypto_ec_fp_projective_multiple()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
r
->
nx_crypto_ec_point_x
,
nx_crypto_ec.c:2938
_nx_crypto_ec_fp_projective_multiple()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
r
->
nx_crypto_ec_point_y
,
nx_crypto_ec.c:2940
_nx_crypto_ec_fp_projective_multiple()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
projective_point
,
NX_CRYPTO_EC_POINT_PROJECTIVE
,
scratch
,
nx_crypto_ec.c:3024
_nx_crypto_ec_fp_fixed_multiple()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
expanded_d
,
scratch
,
expanded_size
)
;
nx_crypto_ec.c:3026
_nx_crypto_ec_fp_fixed_multiple()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
expanded_d
,
d
)
;
nx_crypto_ec.c:3029
_nx_crypto_ec_fp_fixed_multiple()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
r
->
nx_crypto_ec_point_x
,
nx_crypto_ec.c:3082
_nx_crypto_ec_fp_fixed_multiple()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
r
->
nx_crypto_ec_point_y
,
nx_crypto_ec.c:3084
_nx_crypto_ec_fp_fixed_multiple()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
random_number
,
scratch
,
buffer_size
)
;
nx_crypto_ec.c:3159
_nx_crypto_ec_key_pair_generation_extra()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
modulus
,
scratch
,
buffer_size
)
;
nx_crypto_ec.c:3160
_nx_crypto_ec_key_pair_generation_extra()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
modulus
,
&
curve
->
nx_crypto_ec_n
)
;
nx_crypto_ec.c:3178
_nx_crypto_ec_key_pair_generation_extra()
NX_CRYPTO_HUGE_NUMBER_COPY
(
private_key
,
&
random_number
)
;
nx_crypto_ec.c:3184
_nx_crypto_ec_key_pair_generation_extra()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
public_key
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
nx_crypto_ec.c:3264
_nx_crypto_ec_key_pair_stream_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
private_key
,
scratch
,
private_key_len
)
;
nx_crypto_ec.c:3268
_nx_crypto_ec_key_pair_stream_generate()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
fixed_points
->
nx_crypto_ec_fixed_points_array
[
i
]
,
nx_crypto_ec.c:3396
_nx_crypto_ec_precomputation()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
fixed_points
->
nx_crypto_ec_fixed_points_array_2e
[
i
]
,
nx_crypto_ec.c:3402
_nx_crypto_ec_precomputation()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
d
,
scratch_ptr
,
nx_crypto_ec.c:3407
_nx_crypto_ec_precomputation()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
array
[
offset
-
1
]
.
nx_crypto_ec_point_x
,
nx_crypto_ec.c:3429
_nx_crypto_ec_precomputation()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
array
[
offset
-
1
]
.
nx_crypto_ec_point_y
,
nx_crypto_ec.c:3431
_nx_crypto_ec_precomputation()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
array
[
offset
+
j
-
1
]
.
nx_crypto_ec_point_x
,
nx_crypto_ec.c:3437
_nx_crypto_ec_precomputation()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
array
[
offset
+
j
-
1
]
.
nx_crypto_ec_point_y
,
nx_crypto_ec.c:3439
_nx_crypto_ec_precomputation()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
array
[
offset
+
j
]
.
nx_crypto_ec_point_x
,
nx_crypto_ec.c:3473
_nx_crypto_ec_precomputation()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
array
[
offset
+
j
]
.
nx_crypto_ec_point_y
,
nx_crypto_ec.c:3475
_nx_crypto_ec_precomputation()
if
(
public_key
->
nx_crypto_ec_point_x
.
nx_crypto_huge_number_is_negative
||
nx_crypto_ec.c:4321
_nx_crypto_ec_validate_public_key()
public_key
->
nx_crypto_ec_point_y
.
nx_crypto_huge_number_is_negative
)
nx_crypto_ec.c:4322
_nx_crypto_ec_validate_public_key()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch2
,
buffer_size
*
2
)
;
nx_crypto_ec.c:4332
_nx_crypto_ec_validate_public_key()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
right
,
scratch2
,
buffer_size
*
2
)
;
nx_crypto_ec.c:4333
_nx_crypto_ec_validate_public_key()
private_key
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ecdh.c:192
_nx_crypto_ecdh_private_key_export()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
public_key
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch_buf_ptr
,
nx_crypto_ecdh.c:278
_nx_crypto_ecdh_setup()
private_key
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ecdh.c:285
_nx_crypto_ecdh_setup()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
public_key
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch_buf_ptr
,
key_size
)
;
nx_crypto_ecdh.c:404
_nx_crypto_ecdh_compute_secret()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
shared_secret
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch_buf_ptr
,
key_size
)
;
nx_crypto_ecdh.c:405
_nx_crypto_ecdh_compute_secret()
private_key
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_ecdh.c:428
_nx_crypto_ecdh_compute_secret()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
privkey
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:121
_nx_crypto_ecdsa_sign()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
z
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:122
_nx_crypto_ecdsa_sign()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
k
,
scratch
,
buffer_size
+
8
)
;
nx_crypto_ecdsa.c:124
_nx_crypto_ecdsa_sign()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
ik
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:125
_nx_crypto_ecdsa_sign()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
buffer_size
*
2
)
;
nx_crypto_ecdsa.c:126
_nx_crypto_ecdsa_sign()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
pt
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:127
_nx_crypto_ecdsa_sign()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
k
,
&
temp
)
;
nx_crypto_ecdsa.c:172
_nx_crypto_ecdsa_sign()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
r
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:368
_nx_crypto_ecdsa_verify()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
s
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:369
_nx_crypto_ecdsa_verify()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
z
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:370
_nx_crypto_ecdsa_verify()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
w
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:371
_nx_crypto_ecdsa_verify()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
u1
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ecdsa.c:372
_nx_crypto_ecdsa_verify()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
u2
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ecdsa.c:373
_nx_crypto_ecdsa_verify()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
pubkey
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:374
_nx_crypto_ecdsa_verify()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
pt
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:375
_nx_crypto_ecdsa_verify()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
pt2
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecdsa.c:376
_nx_crypto_ecdsa_verify()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
ecjpake
->
nx_crypto_ecjpake_public_x1
,
nx_crypto_ecjpake.c:95
_nx_crypto_ecjpake_init()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
ecjpake
->
nx_crypto_ecjpake_public_x2
,
nx_crypto_ecjpake.c:97
_nx_crypto_ecjpake_init()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
ecjpake
->
nx_crypto_ecjpake_public_x3
,
nx_crypto_ecjpake.c:99
_nx_crypto_ecjpake_init()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
ecjpake
->
nx_crypto_ecjpake_public_x4
,
nx_crypto_ecjpake.c:101
_nx_crypto_ecjpake_init()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
ecjpake
->
nx_crypto_ecjpake_private_x2
,
scratch_ptr
,
buffer_size
)
;
nx_crypto_ecjpake.c:104
_nx_crypto_ecjpake_init()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
private_key
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:180
_nx_crypto_ecjpake_hello_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
r
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:181
_nx_crypto_ecjpake_hello_generate()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
v
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:182
_nx_crypto_ecjpake_hello_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
r
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:349
_nx_crypto_ecjpake_hello_process()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
v
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:350
_nx_crypto_ecjpake_hello_process()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
private_key
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:509
_nx_crypto_ecjpake_key_exchange_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
r
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:510
_nx_crypto_ecjpake_key_exchange_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
s
,
scratch
,
nx_crypto_ecjpake.c:511
_nx_crypto_ecjpake_key_exchange_generate()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
ga
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:513
_nx_crypto_ecjpake_key_exchange_generate()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
public_key
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:514
_nx_crypto_ecjpake_key_exchange_generate()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
v
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:515
_nx_crypto_ecjpake_key_exchange_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
r
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:647
_nx_crypto_ecjpake_key_exchange_process()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
s
,
scratch
,
nx_crypto_ecjpake.c:648
_nx_crypto_ecjpake_key_exchange_process()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
ga
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:650
_nx_crypto_ecjpake_key_exchange_process()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
public_key
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:651
_nx_crypto_ecjpake_key_exchange_process()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
v
,
NX_CRYPTO_EC_POINT_AFFINE
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:652
_nx_crypto_ecjpake_key_exchange_process()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
ga
.
nx_crypto_ec_point_x
,
nx_crypto_ecjpake.c:664
_nx_crypto_ecjpake_key_exchange_process()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
ga
.
nx_crypto_ec_point_y
,
nx_crypto_ecjpake.c:666
_nx_crypto_ecjpake_key_exchange_process()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
h
,
scratch
,
buffer_size
)
;
nx_crypto_ecjpake.c:1122
_nx_crypto_ecjpake_schnorr_zkp_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp1
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ecjpake.c:1123
_nx_crypto_ecjpake_schnorr_zkp_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp2
,
scratch
,
buffer_size
<
<
1
)
;
nx_crypto_ecjpake.c:1124
_nx_crypto_ecjpake_schnorr_zkp_generate()
NX_CRYPTO_HUGE_NUMBER_COPY
(
r
,
&
temp1
)
;
nx_crypto_ecjpake.c:1147
_nx_crypto_ecjpake_schnorr_zkp_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
h
,
scratch
,
nx_crypto_ecjpake.c:1223
_nx_crypto_ecjpake_schnorr_zkp_verify()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
temp1
,
nx_crypto_ecjpake.c:1225
_nx_crypto_ecjpake_schnorr_zkp_verify()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
temp2
,
nx_crypto_ecjpake.c:1228
_nx_crypto_ecjpake_schnorr_zkp_verify()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
g
->
nx_crypto_ec_point_x
,
&
x1
->
nx_crypto_ec_point_x
)
;
nx_crypto_ecjpake.c:1329
_nx_crypto_ecjpake_public_key_generate()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
g
->
nx_crypto_ec_point_y
,
&
x1
->
nx_crypto_ec_point_y
)
;
nx_crypto_ecjpake.c:1330
_nx_crypto_ecjpake_public_key_generate()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp1
,
scratch
,
nx_crypto_ecjpake.c:1335
_nx_crypto_ecjpake_public_key_generate()
NX_CRYPTO_HUGE_NUMBER_COPY
(
private_key
,
&
temp1
)
;
nx_crypto_ecjpake.c:1339
_nx_crypto_ecjpake_public_key_generate()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
temp1
,
nx_crypto_ecjpake.c:1415
_nx_crypto_ecjpake_pre_master_secret_generate()
NX_CRYPTO_EC_POINT_INITIALIZE
(
&
temp2
,
nx_crypto_ecjpake.c:1418
_nx_crypto_ecjpake_pre_master_secret_generate()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp1
.
nx_crypto_ec_point_x
,
&
x4
->
nx_crypto_ec_point_x
)
;
nx_crypto_ecjpake.c:1425
_nx_crypto_ecjpake_pre_master_secret_generate()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp1
.
nx_crypto_ec_point_y
,
&
x4
->
nx_crypto_ec_point_y
)
;
nx_crypto_ecjpake.c:1426
_nx_crypto_ecjpake_pre_master_secret_generate()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp2
.
nx_crypto_ec_point_x
,
&
public_key
->
nx_crypto_ec_point_x
)
;
nx_crypto_ecjpake.c:1429
_nx_crypto_ecjpake_pre_master_secret_generate()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp2
.
nx_crypto_ec_point_y
,
&
public_key
->
nx_crypto_ec_point_y
)
;
nx_crypto_ecjpake.c:1430
_nx_crypto_ecjpake_pre_master_secret_generate()
if
(
left
->
nx_crypto_huge_number_is_negative
==
right
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:178
_nx_crypto_huge_number_add()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
left
,
0
)
;
nx_crypto_huge_number.c:187
_nx_crypto_huge_number_add()
left
->
nx_crypto_huge_number_is_negative
=
right
->
nx_crypto_huge_number_is_negative
;
nx_crypto_huge_number.c:192
_nx_crypto_huge_number_add()
if
(
left
->
nx_crypto_huge_number_is_negative
!=
right
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:276
_nx_crypto_huge_number_subtract()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
left
,
0
)
;
nx_crypto_huge_number.c:285
_nx_crypto_huge_number_subtract()
left
->
nx_crypto_huge_number_is_negative
=
!
(
right
->
nx_crypto_huge_number_is_negative
)
;
nx_crypto_huge_number.c:290
_nx_crypto_huge_number_subtract()
val
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:829
_nx_crypto_huge_number_adjust_size()
if
(
left
->
nx_crypto_huge_number_is_negative
!=
right
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:898
_nx_crypto_huge_number_compare()
if
(
left
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:900
_nx_crypto_huge_number_compare()
if
(
left
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:910
_nx_crypto_huge_number_compare()
if
(
left
->
nx_crypto_huge_number_is_negative
==
right
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:1140
_nx_crypto_huge_number_multiply()
result
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:1142
_nx_crypto_huge_number_multiply()
result
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_TRUE
;
nx_crypto_huge_number.c:1146
_nx_crypto_huge_number_multiply()
result
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:1212
_nx_crypto_huge_number_multiply_digit()
result
->
nx_crypto_huge_number_is_negative
=
value
->
nx_crypto_huge_number_is_negative
;
nx_crypto_huge_number.c:1237
_nx_crypto_huge_number_multiply_digit()
result
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:1336
_nx_crypto_huge_number_square()
if
(
result
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:1464
_nx_crypto_huge_number_modulus()
if
(
result
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number.c:1582
_nx_crypto_huge_number_modulus()
number
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:1683
_nx_crypto_huge_number_setup()
number
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:1740
_nx_crypto_huge_number_setup()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
u
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2175
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
v
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2176
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
A
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2177
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
C
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2178
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
u
,
a
)
;
nx_crypto_huge_number.c:2180
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
v
,
p
)
;
nx_crypto_huge_number.c:2181
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
A
,
1
)
;
nx_crypto_huge_number.c:2182
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
C
,
0
)
;
nx_crypto_huge_number.c:2183
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_COPY
(
r
,
&
C
)
;
nx_crypto_huge_number.c:2228
_nx_crypto_huge_number_inverse_modulus_prime()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
u
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2327
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
v
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2328
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
A
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2329
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
B
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2330
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
C
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2331
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
D
,
scratch
,
buffer_size
)
;
nx_crypto_huge_number.c:2332
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
u
,
m
)
;
nx_crypto_huge_number.c:2334
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
v
,
a
)
;
nx_crypto_huge_number.c:2335
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
A
,
1
)
;
nx_crypto_huge_number.c:2336
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
B
,
0
)
;
nx_crypto_huge_number.c:2337
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
C
,
0
)
;
nx_crypto_huge_number.c:2338
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
&
D
,
1
)
;
nx_crypto_huge_number.c:2339
_nx_crypto_huge_number_inverse_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
r
,
&
D
)
;
nx_crypto_huge_number.c:2394
_nx_crypto_huge_number_inverse_modulus()
radix
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:2638
_nx_crypto_huge_number_mont_power_modulus()
m0
.
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number.c:2643
_nx_crypto_huge_number_mont_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
xx
,
scratch
,
m
->
nx_crypto_huge_buffer_size
+
sizeof
(
HN_UBASE
)
)
;
nx_crypto_huge_number.c:2653
_nx_crypto_huge_number_mont_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
m
->
nx_crypto_huge_buffer_size
+
sizeof
(
HN_UBASE
)
)
;
nx_crypto_huge_number.c:2654
_nx_crypto_huge_number_mont_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE_DIGIT
(
&
digit
,
&
digit_value
,
1
)
;
nx_crypto_huge_number.c:2655
_nx_crypto_huge_number_mont_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
result
,
&
temp
)
;
nx_crypto_huge_number.c:2672
_nx_crypto_huge_number_mont_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
result
,
&
temp
)
;
nx_crypto_huge_number.c:2718
_nx_crypto_huge_number_mont_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
pi
,
scratch
,
p
->
nx_crypto_huge_buffer_size
)
;
nx_crypto_huge_number.c:2824
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
qi
,
scratch
,
q
->
nx_crypto_huge_buffer_size
)
;
nx_crypto_huge_number.c:2825
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp1
,
scratch
,
m
->
nx_crypto_huge_buffer_size
)
;
nx_crypto_huge_number.c:2834
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp2
,
scratch
,
p
->
nx_crypto_huge_buffer_size
)
;
nx_crypto_huge_number.c:2835
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp3
,
scratch
,
p
->
nx_crypto_huge_buffer_size
)
;
nx_crypto_huge_number.c:2836
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE_DIGIT
(
&
digit
,
&
digit_value
,
1
)
;
nx_crypto_huge_number.c:2837
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
ep
,
e
)
;
nx_crypto_huge_number.c:2842
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp1
,
p
)
;
nx_crypto_huge_number.c:2843
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
xp
,
x
)
;
nx_crypto_huge_number.c:2849
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
eq
,
e
)
;
nx_crypto_huge_number.c:2866
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
&
temp1
,
q
)
;
nx_crypto_huge_number.c:2867
_nx_crypto_huge_number_crt_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
xq
,
x
)
;
nx_crypto_huge_number.c:2873
_nx_crypto_huge_number_crt_power_modulus()
if
(
value
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number_extended.c:84
_nx_crypto_huge_number_add_digit()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_FALSE
;
nx_crypto_huge_number_extended.c:100
_nx_crypto_huge_number_add_digit()
if
(
value
->
nx_crypto_huge_number_is_negative
)
nx_crypto_huge_number_extended.c:160
_nx_crypto_huge_number_subtract_digit()
value
->
nx_crypto_huge_number_is_negative
=
NX_CRYPTO_TRUE
;
nx_crypto_huge_number_extended.c:182
_nx_crypto_huge_number_subtract_digit()
NX_CRYPTO_HUGE_NUMBER_INITIALIZE
(
&
temp
,
scratch
,
nx_crypto_huge_number_extended.c:261
_nx_crypto_huge_number_power_modulus()
NX_CRYPTO_HUGE_NUMBER_SET_DIGIT
(
result
,
1
)
;
nx_crypto_huge_number_extended.c:265
_nx_crypto_huge_number_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
result
,
&
temp
)
;
nx_crypto_huge_number_extended.c:283
_nx_crypto_huge_number_power_modulus()
NX_CRYPTO_HUGE_NUMBER_COPY
(
number
,
&
temp
)
;
nx_crypto_huge_number_extended.c:295
_nx_crypto_huge_number_power_modulus()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_is_negative
is written by 48 functions and is read by 33 functions:
_nx_crypto_dh_setup()
_nx_crypto_dh_compute_secret()
_nx_crypto_ec_point_set_infinite()
_nx_crypto_ec_point_fp_affine_to_projective()
_nx_crypto_ec_point_fp_projective_to_affine()
_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_projective_add()
_nx_crypto_ec_fp_projective_double()
_nx_crypto_ec_fp_affine_add()
_nx_crypto_ec_fp_affine_subtract()
_nx_crypto_ec_fp_projective_multiple()
_nx_crypto_ec_fp_fixed_multiple()
_nx_crypto_ec_key_pair_generation_extra()
_nx_crypto_ec_key_pair_stream_generate()
_nx_crypto_ec_precomputation()
_nx_crypto_ec_validate_public_key()
_nx_crypto_ecdh_private_key_export()
_nx_crypto_ecdh_setup()
_nx_crypto_ecdh_compute_secret()
_nx_crypto_ecdsa_sign()
_nx_crypto_ecdsa_verify()
_nx_crypto_ecjpake_init()
_nx_crypto_ecjpake_hello_generate()
_nx_crypto_ecjpake_hello_process()
_nx_crypto_ecjpake_key_exchange_generate()
_nx_crypto_ecjpake_key_exchange_process()
_nx_crypto_ecjpake_schnorr_zkp_generate()
_nx_crypto_ecjpake_schnorr_zkp_verify()
_nx_crypto_ecjpake_public_key_generate()
_nx_crypto_ecjpake_pre_master_secret_generate()
_nx_crypto_huge_number_add()
_nx_crypto_huge_number_subtract()
_nx_crypto_huge_number_adjust_size()
_nx_crypto_huge_number_multiply()
_nx_crypto_huge_number_multiply_digit()
_nx_crypto_huge_number_square()
_nx_crypto_huge_number_setup()
_nx_crypto_huge_number_inverse_modulus_prime()
_nx_crypto_huge_number_inverse_modulus()
_nx_crypto_huge_number_mont_power_modulus()
_nx_crypto_huge_number_crt_power_modulus()
_nx_crypto_huge_number_add_digit()
_nx_crypto_huge_number_subtract_digit()
_nx_crypto_huge_number_power_modulus()
All items filtered out
NX_CRYPTO_HUGE_NUMBER_STRUCT::nx_crypto_huge_number_is_negative
_nx_crypto_ec_point_fp_projective_to_affine()
_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_projective_add()
_nx_crypto_ec_fp_projective_double()
_nx_crypto_ec_fp_affine_add()
_nx_crypto_ec_fp_affine_subtract()
_nx_crypto_ec_fp_projective_multiple()
_nx_crypto_ec_fp_fixed_multiple()
_nx_crypto_ec_key_pair_generation_extra()
_nx_crypto_ec_precomputation()
_nx_crypto_ec_validate_public_key()
_nx_crypto_ecdsa_sign()
_nx_crypto_ecjpake_key_exchange_process()
_nx_crypto_ecjpake_schnorr_zkp_generate()
_nx_crypto_ecjpake_public_key_generate()
_nx_crypto_ecjpake_pre_master_secret_generate()
_nx_crypto_huge_number_add()
_nx_crypto_huge_number_subtract()
_nx_crypto_huge_number_compare()
_nx_crypto_huge_number_multiply()
_nx_crypto_huge_number_multiply_digit()
_nx_crypto_huge_number_modulus()
_nx_crypto_huge_number_inverse_modulus_prime()
_nx_crypto_huge_number_inverse_modulus()
_nx_crypto_huge_number_mont_power_modulus()
_nx_crypto_huge_number_crt_power_modulus()
_nx_crypto_huge_number_add_digit()
_nx_crypto_huge_number_subtract_digit()
_nx_crypto_huge_number_power_modulus()
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