Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_huge_number.c1661 …NT _nx_crypto_huge_number_setup(NX_CRYPTO_HUGE_NUMBER *number, const UCHAR *byte_stream, UINT size) in _nx_crypto_huge_number_setup() argument
1670 while (size > 0 && *byte_stream == 0) in _nx_crypto_huge_number_setup()
1673 byte_stream++; in _nx_crypto_huge_number_setup()
1705 word = byte_stream[0]; in _nx_crypto_huge_number_setup()
1710 word = byte_stream[0]; in _nx_crypto_huge_number_setup()
1715 word = (HN_UBASE)((byte_stream[0] << 8) | byte_stream[1]); in _nx_crypto_huge_number_setup()
1720 word = (HN_UBASE)((byte_stream[0] << 16) | (byte_stream[1] << 8) | byte_stream[2]); in _nx_crypto_huge_number_setup()
1731 word = (HN_UBASE)((byte_stream[i] << 8) | (byte_stream[i + 1])); in _nx_crypto_huge_number_setup()
1733 word = (HN_UBASE)((byte_stream[i] << 24) | in _nx_crypto_huge_number_setup()
1734 (byte_stream[i + 1] << 16) | in _nx_crypto_huge_number_setup()
[all …]
Dnx_crypto_ec.c867 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
872 if (*byte_stream != 0x04) in _nx_crypto_ec_point_setup()
879 byte_stream++; in _nx_crypto_ec_point_setup()
882 status = _nx_crypto_huge_number_setup(&point -> nx_crypto_ec_point_x, byte_stream, len); in _nx_crypto_ec_point_setup()
888 byte_stream += len; in _nx_crypto_ec_point_setup()
889 status = _nx_crypto_huge_number_setup(&point -> nx_crypto_ec_point_y, byte_stream, len); in _nx_crypto_ec_point_setup()
942 … UCHAR *byte_stream, UINT byte_stream_size, in _nx_crypto_ec_point_extract_uncompressed() argument
956 *byte_stream++ = 0x04; in _nx_crypto_ec_point_extract_uncompressed()
961 byte_stream, clen); in _nx_crypto_ec_point_extract_uncompressed()
968 byte_stream += clen; in _nx_crypto_ec_point_extract_uncompressed()
[all …]
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_huge_number.h169 UINT _nx_crypto_huge_number_setup(NX_CRYPTO_HUGE_NUMBER *number, const UCHAR *byte_stream, UINT siz…
170 UINT _nx_crypto_huge_number_extract(NX_CRYPTO_HUGE_NUMBER *number, UCHAR *byte_stream,
173 UCHAR *byte_stream, UINT byte_stream_size);
Dnx_crypto_ec.h490 UINT _nx_crypto_ec_point_setup(NX_CRYPTO_EC_POINT *point, UCHAR *byte_stream, UINT byte_stream_size…
491 …o_ec_point_extract_uncompressed(NX_CRYPTO_EC *curve, NX_CRYPTO_EC_POINT *point, UCHAR *byte_stream,
672 UCHAR *byte_stream, UINT byte_stream_size);