netxduo
_nx_crypto_huge_number_setup()
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading (2/7)...
Files
loading (6/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_setup()
_nx_crypto_huge_number_setup() function
Syntax
Show:
Summary
Declaration
Definition
from
nx_crypto_huge_number.h:169
UINT
_nx_crypto_huge_number_setup
(
NX_CRYPTO_HUGE_NUMBER
*
number
,
const
UCHAR
*
byte_stream
,
UINT
size
)
;
Implemented in
nx_crypto_huge_number.c:1658
Arguments
Argument
number
byte_stream
size
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_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_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_setup
(
NX_CRYPTO_HUGE_NUMBER
*
number
,
const
UCHAR
*
byte_stream
,
UINT
size
)
nx_crypto_huge_number.c:1658
UINT
_nx_crypto_huge_number_setup
(
NX_CRYPTO_HUGE_NUMBER
*
number
,
const
UCHAR
*
byte_stream
,
UINT
size
)
;
nx_crypto_huge_number.h:169
_nx_crypto_huge_number_setup
(
&
public_key
,
remote_public_key
,
remote_public_key_len
)
;
nx_crypto_dh.c:287
_nx_crypto_dh_compute_secret()
status
=
_nx_crypto_huge_number_setup
(
&
point
->
nx_crypto_ec_point_x
,
byte_stream
,
len
)
;
nx_crypto_ec.c:882
_nx_crypto_ec_point_setup()
status
=
_nx_crypto_huge_number_setup
(
&
point
->
nx_crypto_ec_point_y
,
byte_stream
,
len
)
;
nx_crypto_ec.c:889
_nx_crypto_ec_point_setup()
_nx_crypto_huge_number_setup
(
value
,
(
UCHAR
*
)
data
+
24
,
24
)
;
nx_crypto_ec.c:1220
_nx_crypto_ec_secp192r1_reduce()
_nx_crypto_huge_number_setup
(
value
,
(
UCHAR
*
)
data
+
28
,
28
)
;
nx_crypto_ec.c:1357
_nx_crypto_ec_secp224r1_reduce()
_nx_crypto_huge_number_setup
(
value
,
(
UCHAR
*
)
data
+
32
,
32
)
;
nx_crypto_ec.c:1501
_nx_crypto_ec_secp256r1_reduce()
_nx_crypto_huge_number_setup
(
value
,
(
UCHAR
*
)
data
+
48
,
48
)
;
nx_crypto_ec.c:1666
_nx_crypto_ec_secp384r1_reduce()
_nx_crypto_huge_number_setup
(
&
temp
,
(
UCHAR
*
)
data
,
48
)
;
nx_crypto_ec.c:1675
_nx_crypto_ec_secp384r1_reduce()
_nx_crypto_huge_number_setup
(
value
,
data
,
67
)
;
nx_crypto_ec.c:1838
_nx_crypto_ec_secp521r1_reduce()
_nx_crypto_huge_number_setup
(
&
temp
,
data
+
66
,
66
)
;
nx_crypto_ec.c:1843
_nx_crypto_ec_secp521r1_reduce()
status
=
_nx_crypto_huge_number_setup
(
&
random_number
,
(
const
UCHAR
*
)
scratch
,
buffer_size
)
;
nx_crypto_ec.c:3170
_nx_crypto_ec_key_pair_generation_extra()
_nx_crypto_huge_number_setup
(
&
private_key
,
local_private_key_ptr
,
local_private_key_len
)
;
nx_crypto_ecdh.c:109
_nx_crypto_ecdh_key_pair_import()
status
=
_nx_crypto_huge_number_setup
(
&
privkey
,
private_key
,
private_key_length
)
;
nx_crypto_ecdsa.c:130
_nx_crypto_ecdsa_sign()
status
=
_nx_crypto_huge_number_setup
(
&
z
,
hash
,
hash_length
)
;
nx_crypto_ecdsa.c:142
_nx_crypto_ecdsa_sign()
status
=
_nx_crypto_huge_number_setup
(
&
r
,
&
signature
[
2
]
,
signature
[
1
]
)
;
nx_crypto_ecdsa.c:399
_nx_crypto_ecdsa_verify()
status
=
_nx_crypto_huge_number_setup
(
&
s
,
&
signature
[
2
]
,
signature
[
1
]
)
;
nx_crypto_ecdsa.c:413
_nx_crypto_ecdsa_verify()
status
=
_nx_crypto_huge_number_setup
(
&
z
,
hash
,
hash_length
)
;
nx_crypto_ecdsa.c:441
_nx_crypto_ecdsa_verify()
status
=
_nx_crypto_huge_number_setup
(
&
r
,
&
input
[
total_length
+
1
]
,
(
UINT
)
input
[
total_length
]
)
;
nx_crypto_ecjpake.c:371
_nx_crypto_ecjpake_hello_process()
status
=
_nx_crypto_huge_number_setup
(
&
r
,
&
input
[
total_length
+
1
]
,
(
UINT
)
input
[
total_length
]
)
;
nx_crypto_ecjpake.c:412
_nx_crypto_ecjpake_hello_process()
_nx_crypto_huge_number_setup
(
&
s
,
shared_secret
,
shared_secret_len
)
;
nx_crypto_ecjpake.c:517
_nx_crypto_ecjpake_key_exchange_generate()
status
=
_nx_crypto_huge_number_setup
(
&
s
,
shared_secret
,
shared_secret_len
)
;
nx_crypto_ecjpake.c:654
_nx_crypto_ecjpake_key_exchange_process()
status
=
_nx_crypto_huge_number_setup
(
&
r
,
&
input
[
total_length
+
1
]
,
(
UINT
)
input
[
total_length
]
)
;
nx_crypto_ecjpake.c:686
_nx_crypto_ecjpake_key_exchange_process()
status
=
_nx_crypto_huge_number_setup
(
h
,
(
UCHAR
*
)
scratch
,
nx_crypto_ecjpake.c:1027
_nx_crypto_ecjpake_schnorr_zkp_hash()
_nx_crypto_huge_number_setup
(
&
exponent_hn
,
exponent
,
exponent_length
)
;
nx_crypto_rsa.c:126
_nx_crypto_rsa_operation()
_nx_crypto_huge_number_setup
(
&
input_hn
,
input
,
input_length
)
;
nx_crypto_rsa.c:129
_nx_crypto_rsa_operation()
_nx_crypto_huge_number_setup
(
&
modulus_hn
,
modulus
,
modulus_length
)
;
nx_crypto_rsa.c:132
_nx_crypto_rsa_operation()
_nx_crypto_huge_number_setup
(
&
p_hn
,
p
,
p_length
)
;
nx_crypto_rsa.c:146
_nx_crypto_rsa_operation()
_nx_crypto_huge_number_setup
(
&
q_hn
,
q
,
q_length
)
;
nx_crypto_rsa.c:147
_nx_crypto_rsa_operation()
Call Tree
from
examples
_nx_crypto_huge_number_setup()
is called by 16 functions:
_nx_crypto_dh_compute_secret()
_nx_crypto_ec_point_setup()
_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_key_pair_generation_extra()
_nx_crypto_ecdh_key_pair_import()
_nx_crypto_ecdsa_sign()
_nx_crypto_ecdsa_verify()
_nx_crypto_ecjpake_hello_process()
_nx_crypto_ecjpake_key_exchange_generate()
_nx_crypto_ecjpake_key_exchange_process()
_nx_crypto_ecjpake_schnorr_zkp_hash()
_nx_crypto_rsa_operation()
All items filtered out
_nx_crypto_huge_number_setup()
All items filtered out
Data Use
from
examples
_nx_crypto_huge_number_setup()
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_buffer_size
All items filtered out
_nx_crypto_huge_number_setup()
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