Home
last modified time | relevance | path

Searched refs:point (Results 1 – 7 of 7) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_ec_additional_test.c38 NX_CRYPTO_EC_POINT point, point1; in thread_0_entry() local
47 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&(point.nx_crypto_ec_point_x), scratch_ptr, 64); in thread_0_entry()
48 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&(point.nx_crypto_ec_point_y), scratch_ptr, 64); in thread_0_entry()
52 point.nx_crypto_ec_point_type = NX_CRYPTO_EC_POINT_AFFINE; in thread_0_entry()
53 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(&(point.nx_crypto_ec_point_x), 0); in thread_0_entry()
54 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(&(point.nx_crypto_ec_point_y), 1); in thread_0_entry()
56 status = _nx_crypto_ec_point_is_infinite(&point); in thread_0_entry()
59 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(&(point.nx_crypto_ec_point_y), 0); in thread_0_entry()
60 status = _nx_crypto_ec_point_is_infinite(&point); in thread_0_entry()
63 _nx_crypto_ec_point_set_infinite(&point); in thread_0_entry()
[all …]
Dnx_secure_ec_test.c45 NX_CRYPTO_EC_POINT point; in thread_0_entry() local
61 …NX_CRYPTO_EC_POINT_INITIALIZE(&point, NX_CRYPTO_EC_POINT_AFFINE, scratch, ec_data[i].point_len * 2… in thread_0_entry()
62 _nx_crypto_ec_point_setup(&point, ec_data[i].point_data, ec_data[i].point_len); in thread_0_entry()
71 …_nx_crypto_ec_fp_projective_multiple((NX_CRYPTO_EC*)ec_data[i].curve, &point, &m, &output, scratch… in thread_0_entry()
87 …NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&point.nx_crypto_ec_point_x, scratch, ec_data_x25519_448[i].point… in thread_0_entry()
93 …NX_CRYPTO_MEMCPY(point.nx_crypto_ec_point_x.nx_crypto_huge_number_data, ec_data_x25519_448[i].poin… in thread_0_entry()
94point.nx_crypto_ec_point_x.nx_crypto_huge_number_size = ec_data_x25519_448[i].point_len >> HN_SIZE… in thread_0_entry()
97 …ve -> nx_crypto_ec_multiple((NX_CRYPTO_EC *)ec_data_x25519_448[i].curve, &point, &m, &output, scra… in thread_0_entry()
/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_ec.c743 NX_CRYPTO_KEEP UINT _nx_crypto_ec_point_is_infinite(NX_CRYPTO_EC_POINT *point) in _nx_crypto_ec_point_is_infinite() argument
745 if (point -> nx_crypto_ec_point_type == NX_CRYPTO_EC_POINT_AFFINE) in _nx_crypto_ec_point_is_infinite()
747 if (_nx_crypto_huge_number_is_zero(&point -> nx_crypto_ec_point_x) && in _nx_crypto_ec_point_is_infinite()
748 _nx_crypto_huge_number_is_zero(&point -> nx_crypto_ec_point_y)) in _nx_crypto_ec_point_is_infinite()
758 return(_nx_crypto_huge_number_is_zero(&point -> nx_crypto_ec_point_z)); in _nx_crypto_ec_point_is_infinite()
807 NX_CRYPTO_KEEP VOID _nx_crypto_ec_point_set_infinite(NX_CRYPTO_EC_POINT *point) in _nx_crypto_ec_point_set_infinite() argument
809 if (point -> nx_crypto_ec_point_type == NX_CRYPTO_EC_POINT_AFFINE) in _nx_crypto_ec_point_set_infinite()
811 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(&point -> nx_crypto_ec_point_x, 0); in _nx_crypto_ec_point_set_infinite()
812 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(&point -> nx_crypto_ec_point_y, 0); in _nx_crypto_ec_point_set_infinite()
816 NX_CRYPTO_HUGE_NUMBER_SET_DIGIT(&point -> nx_crypto_ec_point_z, 0); in _nx_crypto_ec_point_set_infinite()
[all …]
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_ec.h487 UINT _nx_crypto_ec_point_is_infinite(NX_CRYPTO_EC_POINT *point);
488 VOID _nx_crypto_ec_point_set_infinite(NX_CRYPTO_EC_POINT *point);
489 UINT _nx_crypto_ec_point_setup(NX_CRYPTO_EC_POINT *point, UCHAR *byte_stream, UINT byte_stream_size…
490 VOID _nx_crypto_ec_point_extract_uncompressed(NX_CRYPTO_EC *curve, NX_CRYPTO_EC_POINT *point, UCHAR…
493 VOID _nx_crypto_ec_point_fp_affine_to_projective(NX_CRYPTO_EC_POINT *point);
495 NX_CRYPTO_EC_POINT *point,
/NetX-Duo-v6.2.1/addons/azure_iot/docs/
Dazure_rtos_iot_hub_client_properties.md292 Below is a code snippet which you can use as a starting point:
Dazure_rtos_iot_json.md572 | fractional_digits [in] | The number of digits of the value to write after the decimal point and …
868 | fractional_digits [in] | The number of digits of the value to write after the decimal point and …
/NetX-Duo-v6.2.1/docs/
Drevision_history.txt1261 …Files are added or modified to ensure only one ARP entry point to specific address and optimized t…