Home
last modified time | relevance | path

Searched refs:byte_stream (Results 1 – 5 of 5) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_huge_number.c1660 …NT _nx_crypto_huge_number_setup(NX_CRYPTO_HUGE_NUMBER *number, const UCHAR *byte_stream, UINT size) in _nx_crypto_huge_number_setup() argument
1669 while (size > 0 && *byte_stream == 0) in _nx_crypto_huge_number_setup()
1672 byte_stream++; in _nx_crypto_huge_number_setup()
1704 word = byte_stream[0]; in _nx_crypto_huge_number_setup()
1709 word = byte_stream[0]; in _nx_crypto_huge_number_setup()
1714 word = (HN_UBASE)((byte_stream[0] << 8) | byte_stream[1]); in _nx_crypto_huge_number_setup()
1719 word = (HN_UBASE)((byte_stream[0] << 16) | (byte_stream[1] << 8) | byte_stream[2]); in _nx_crypto_huge_number_setup()
1730 word = (HN_UBASE)((byte_stream[i] << 8) | (byte_stream[i + 1])); in _nx_crypto_huge_number_setup()
1732 word = (HN_UBASE)((byte_stream[i] << 24) | in _nx_crypto_huge_number_setup()
1733 (byte_stream[i + 1] << 16) | in _nx_crypto_huge_number_setup()
[all …]
Dnx_crypto_ec.c866 NX_CRYPTO_KEEP UINT _nx_crypto_ec_point_setup(NX_CRYPTO_EC_POINT *point, UCHAR *byte_stream, UINT b… in _nx_crypto_ec_point_setup() argument
871 if (*byte_stream != 0x04) in _nx_crypto_ec_point_setup()
878 byte_stream++; in _nx_crypto_ec_point_setup()
881 status = _nx_crypto_huge_number_setup(&point -> nx_crypto_ec_point_x, byte_stream, len); in _nx_crypto_ec_point_setup()
887 byte_stream += len; in _nx_crypto_ec_point_setup()
888 status = _nx_crypto_huge_number_setup(&point -> nx_crypto_ec_point_y, byte_stream, len); in _nx_crypto_ec_point_setup()
941 … UCHAR *byte_stream, UINT byte_stream_size, in _nx_crypto_ec_point_extract_uncompressed() argument
955 *byte_stream++ = 0x04; in _nx_crypto_ec_point_extract_uncompressed()
960 byte_stream, clen); in _nx_crypto_ec_point_extract_uncompressed()
967 byte_stream += clen; in _nx_crypto_ec_point_extract_uncompressed()
[all …]
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_huge_number_test.c105 UCHAR byte_stream[4] = { 1, 1, 1, 1}; in thread_0_entry() local
106 _nx_crypto_huge_number_setup( &a, byte_stream, 1); in thread_0_entry()
107 _nx_crypto_huge_number_setup( &a, byte_stream, 2); in thread_0_entry()
108 _nx_crypto_huge_number_setup( &a, byte_stream, 3); in thread_0_entry()
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_huge_number.h168 UINT _nx_crypto_huge_number_setup(NX_CRYPTO_HUGE_NUMBER *number, const UCHAR *byte_stream, UINT siz…
169 UINT _nx_crypto_huge_number_extract(NX_CRYPTO_HUGE_NUMBER *number, UCHAR *byte_stream,
172 UCHAR *byte_stream, UINT byte_stream_size);
Dnx_crypto_ec.h489 UINT _nx_crypto_ec_point_setup(NX_CRYPTO_EC_POINT *point, UCHAR *byte_stream, UINT byte_stream_size…
490 …o_ec_point_extract_uncompressed(NX_CRYPTO_EC *curve, NX_CRYPTO_EC_POINT *point, UCHAR *byte_stream,
671 UCHAR *byte_stream, UINT byte_stream_size);