netxduo
_nx_crypto_pkcs1_v1_5_encode()
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
netxduo
_nx_crypto_pkcs1_v1_5_encode()
_nx_crypto_pkcs1_v1_5_encode() function
Syntax
Show:
Summary
Declaration
Definition
from
nx_crypto_pkcs1_v1.5.h:97
UINT
_nx_crypto_pkcs1_v1_5_encode
(
UCHAR
*
input
,
UINT
input_length
,
NX_CRYPTO_METHOD
*
hash_method
,
UCHAR
*
metadata_area
,
UINT
metadata_size
,
UCHAR
*
output
,
UINT
expected_output_length
)
;
Implemented in
nx_crypto_pkcs1_v1.5.c:348
Arguments
Argument
input
input_length
hash_method
metadata_area
metadata_size
output
expected_output_length
Examples
References
from
examples
Code
Location
Referrer
NX_CRYPTO_KEEP
UINT
_nx_crypto_pkcs1_v1_5_encode
(
UCHAR
*
input
,
UINT
input_length
,
nx_crypto_pkcs1_v1.5.c:348
UINT
_nx_crypto_pkcs1_v1_5_encode
(
UCHAR
*
input
,
UINT
input_length
,
nx_crypto_pkcs1_v1.5.h:97
status
=
_nx_crypto_pkcs1_v1_5_encode
(
input
,
input_length
,
ctx
->
hash_method
,
ctx
->
hash_metadata
,
ctx
->
hash_metadata_size
,
output
,
private_key_size
)
;
nx_crypto_pkcs1_v1.5.c:136
_nx_crypto_pkcs1_v1_5_sign()
status
=
_nx_crypto_pkcs1_v1_5_encode
(
message
,
message_length
,
ctx
->
hash_method
,
ctx
->
hash_metadata
,
ctx
->
hash_metadata_size
,
EM2
,
ctx
->
modulus_size
)
;
nx_crypto_pkcs1_v1.5.c:294
_nx_crypto_pkcs1_v1_5_verify()
Call Tree
from
examples
_nx_crypto_pkcs1_v1_5_encode()
is called by 2 functions and calls 3 functions:
_nx_crypto_pkcs1_v1_5_sign()
_nx_crypto_pkcs1_v1_5_verify()
All items filtered out
_nx_crypto_pkcs1_v1_5_encode()
NX_CRYPTO_METHOD_STRUCT::nx_crypto_operation
_nx_crypto_memset_ptr
_nx_crypto_memcpy_ptr
All items filtered out
Data Use
from
examples
_nx_crypto_pkcs1_v1_5_encode()
reads 9 variables:
NX_CRYPTO_METHOD_STRUCT::nx_crypto_algorithm
NX_CRYPTO_METHOD_STRUCT::nx_crypto_ICV_size_in_bits
_NX_CRYPTO_DER_OID_SHA_1
_NX_CRYPTO_DER_OID_SHA_224
_NX_CRYPTO_DER_OID_SHA_256
_NX_CRYPTO_DER_OID_SHA_384
_NX_CRYPTO_DER_OID_SHA_512
_NX_CRYPTO_DER_OID_SHA_512_224
_NX_CRYPTO_DER_OID_SHA_512_256
All items filtered out
_nx_crypto_pkcs1_v1_5_encode()
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