| /NetX-Duo-v6.2.1/test/regression/nx_secure_test/ |
| D | nx_secure_hmac_sha384_test_data.c | 14 UCHAR *key; 16 UCHAR *plain; 18 UCHAR *secret; 23 static UCHAR key_0_0[] = { 27 static UCHAR plain_0_0[] = { 31 static UCHAR secret_0_0[] = { 41 static UCHAR key_1_0[] = { 45 static UCHAR plain_1_0[] = { 49 static UCHAR secret_1_0[] = { 56 static UCHAR key_1_1[] = { [all …]
|
| D | nx_secure_hmac_sha512_test_data.c | 14 UCHAR *key; 16 UCHAR *plain; 18 UCHAR *secret; 23 static UCHAR key_0_0[] = { 27 static UCHAR plain_0_0[] = { 31 static UCHAR secret_0_0[] = { 42 static UCHAR key_1_0[] = { 46 static UCHAR plain_1_0[] = { 50 static UCHAR secret_1_0[] = { 58 static UCHAR key_1_1[] = { [all …]
|
| D | nx_secure_hmac_sha224_test_data.c | 14 UCHAR *key; 16 UCHAR *plain; 18 UCHAR *secret; 23 static UCHAR key_1_1[] = { 27 static UCHAR plain_1_1[] = { 31 static UCHAR secret_1_1[] = { 36 static UCHAR key_1_2[] = { 40 static UCHAR plain_1_2[] = { 44 static UCHAR secret_1_2[] = { 49 static UCHAR key_1_3[] = { [all …]
|
| D | nx_secure_hmac_sha256_test_data.c | 14 UCHAR *key; 16 UCHAR *plain; 18 UCHAR *secret; 23 static UCHAR key_1_1[] = { 27 static UCHAR plain_1_1[] = { 31 static UCHAR secret_1_1[] = { 37 static UCHAR key_1_2[] = { 41 static UCHAR plain_1_2[] = { 45 static UCHAR secret_1_2[] = { 51 static UCHAR key_1_3[] = { [all …]
|
| D | nx_secure_hmac_md5_test_data.c | 14 UCHAR *key; 16 UCHAR *plain; 18 UCHAR *secret; 23 static UCHAR key_1_1[] = { 27 static UCHAR plain_1_1[] = { 31 static UCHAR secret_1_1[] = { 36 static UCHAR key_1_2[] = { 40 static UCHAR plain_1_2[] = { 44 static UCHAR secret_1_2[] = { 49 static UCHAR key_1_3[] = { [all …]
|
| D | nx_secure_hmac_sha1_test_data.c | 14 UCHAR *key; 16 UCHAR *plain; 18 UCHAR *secret; 23 static UCHAR key_1_1[] = { 27 static UCHAR plain_1_1[] = { 31 static UCHAR secret_1_1[] = { 36 static UCHAR key_1_2[] = { 40 static UCHAR plain_1_2[] = { 44 static UCHAR secret_1_2[] = { 49 static UCHAR key_1_3[] = { [all …]
|
| D | nx_secure_sha224_test_data.c | 14 UCHAR *plain; 16 UCHAR *secret; 21 static UCHAR plain_0_0[] = { 25 static UCHAR secret_0_0[] = { 33 static UCHAR plain_1_0[] = { 37 static UCHAR secret_1_0[] = { 42 static UCHAR plain_1_1[] = { 46 static UCHAR secret_1_1[] = { 51 static UCHAR plain_1_2[] = { 55 static UCHAR secret_1_2[] = { [all …]
|
| D | nx_secure_sha256_test_data.c | 14 UCHAR *plain; 16 UCHAR *secret; 21 static UCHAR plain_0_0[] = { 25 static UCHAR secret_0_0[] = { 34 static UCHAR plain_1_0[] = { 38 static UCHAR secret_1_0[] = { 44 static UCHAR plain_1_1[] = { 48 static UCHAR secret_1_1[] = { 54 static UCHAR plain_1_2[] = { 58 static UCHAR secret_1_2[] = { [all …]
|
| D | nx_secure_sha384_test_data.c | 14 UCHAR *plain; 16 UCHAR *secret; 21 static UCHAR plain_0_0[] = { 25 static UCHAR secret_0_0[] = { 35 static UCHAR plain_1_0[] = { 39 static UCHAR secret_1_0[] = { 46 static UCHAR plain_1_1[] = { 50 static UCHAR secret_1_1[] = { 57 static UCHAR plain_1_2[] = { 61 static UCHAR secret_1_2[] = { [all …]
|
| D | nx_secure_sha512_test_data.c | 14 UCHAR *plain; 16 UCHAR *secret; 21 static UCHAR plain_0_0[] = { 25 static UCHAR secret_0_0[] = { 36 static UCHAR plain_1_0[] = { 40 static UCHAR secret_1_0[] = { 48 static UCHAR plain_1_1[] = { 52 static UCHAR secret_1_1[] = { 60 static UCHAR plain_1_2[] = { 64 static UCHAR secret_1_2[] = { [all …]
|
| D | nx_secure_rsa_test_data.c | 15 UCHAR *pub_e; 17 UCHAR *pri_e; 19 UCHAR *m; 21 UCHAR *p; 23 UCHAR *q; 25 UCHAR *plain; 27 UCHAR *secret; 33 static UCHAR pub_e_512_0[] = { 37 static UCHAR pri_e_512_0[] = { 45 static UCHAR m_512_0[] = { [all …]
|
| D | nx_secure_ecdsa_test_data.c | 10 UCHAR *public_key; 12 UCHAR *hash; 14 UCHAR *signature; 19 static UCHAR public_key_secp192r1_0[] = { 26 static UCHAR hash_secp192r1_0[] = { 31 static UCHAR signature_secp192r1_0[] = { 38 static UCHAR public_key_secp192r1_1[] = { 45 static UCHAR hash_secp192r1_1[] = { 50 static UCHAR signature_secp192r1_1[] = { 57 static UCHAR public_key_secp192r1_2[] = { [all …]
|
| D | nx_secure_ecdh_test_data.c | 10 UCHAR *local_private_key; 12 UCHAR *local_public_key; 14 UCHAR *remote_public_key; 16 UCHAR *shared_secret; 21 static UCHAR local_private_key_secp192r1_0[] = { 26 static UCHAR local_public_key_secp192r1_0[] = { 33 static UCHAR remote_public_key_secp192r1_0[] = { 40 static UCHAR shared_secret_secp192r1_0[] = { 45 static UCHAR local_private_key_secp192r1_1[] = { 50 static UCHAR local_public_key_secp192r1_1[] = { [all …]
|
| D | nx_secure_aes_ccm_test_data.c | 15 UCHAR *key; 17 UCHAR *iv; 19 UCHAR *plain; 21 UCHAR *secret; 27 static UCHAR key_16_ccm_8_0[] = { 32 static UCHAR iv_16_ccm_8_0[] = { 36 static UCHAR plain_16_ccm_8_0[] = { 41 static UCHAR secret_16_ccm_8_0[] = { 47 static UCHAR key_16_ccm_8_1[] = { 52 static UCHAR iv_16_ccm_8_1[] = { [all …]
|
| D | nx_secure_aes_test_data.c | 15 UCHAR *key; 17 UCHAR *iv; 19 UCHAR *plain; 21 UCHAR *secret; 27 static UCHAR key_cbc_128_0[] = { 32 static UCHAR iv_cbc_128_0[] = { 37 static UCHAR plain_cbc_128_0[] = { 42 static UCHAR secret_cbc_128_0[] = { 47 static UCHAR key_cbc_128_1[] = { 52 static UCHAR iv_cbc_128_1[] = { [all …]
|
| D | nx_secure_ec_test_data.c | 10 UCHAR *point_data; 12 UCHAR *m; 14 UCHAR *mul_data; 19 static UCHAR point_secp192r1_0[] = { 26 static UCHAR m_secp192r1_0[] = { 31 static UCHAR mul_secp192r1_0[] = { 38 static UCHAR point_secp192r1_1[] = { 45 static UCHAR m_secp192r1_1[] = { 50 static UCHAR mul_secp192r1_1[] = { 57 static UCHAR point_secp192r1_2[] = { [all …]
|
| D | nx_secure_x509_name_check_test.c | 11 const UCHAR *cert_data; 13 const UCHAR **match_names; 15 const UCHAR **mismatch_names; 19 static const UCHAR rtos_com_der[] = { 188 static const UCHAR* rtos_com_match_names[] = 195 static const UCHAR* rtos_com_mismatch_names[] = 202 static const UCHAR yahoo_com_der[] = { 417 static const UCHAR* yahoo_com_match_names[] = 426 static const UCHAR* yahoo_com_mismatch_names[] = 434 static const UCHAR example_com_der[] = { [all …]
|
| D | nx_secure_hkdf_test_data.c | 13 const UCHAR *ikm; 17 const UCHAR *salt; 21 const UCHAR *info; 25 const UCHAR *prk; 30 const UCHAR *okm; 42 static const UCHAR HKDF_TEST_IKM_2[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,… 43 static const UCHAR HKDF_TEST_SALT_2[] = {0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69… 44 static const UCHAR HKDF_TEST_INFO_2[] = {0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9… 45 static const UCHAR HKDF_TEST_PRK_2[] = {0x06, 0xa6, 0xb8, 0x8c, 0x58, 0x53, 0x36, 0x1a, 0x06, 0x10,… 47 static const UCHAR HKDF_TEST_OKM_2[] = {0xb1, 0x1e, 0x39, 0x8d, 0xc8, 0x03, 0x27, 0xa1, 0xc8, 0xe7,… [all …]
|
| /NetX-Duo-v6.2.1/nx_secure/src/ |
| D | nx_secure_crypto_method_self_test_aes.c | 35 static const UCHAR key_cbc_128[] = { 40 static const UCHAR iv_cbc_128[] = { 45 static const UCHAR plain_cbc_128[] = { 50 static const UCHAR secret_cbc_128[] = { 55 static const UCHAR key_cbc_192[] = { 60 static const UCHAR iv_cbc_192[] = { 65 static const UCHAR plain_cbc_192[] = { 70 static const UCHAR secret_cbc_192[] = { 74 static const UCHAR key_cbc_256[] = { 80 static const UCHAR iv_cbc_256[] = { [all …]
|
| D | nx_secure_x509_oid_parse.c | 45 static const UCHAR NX_SECURE_X509_OID_RSA[] = {0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0… 46 static const UCHAR NX_SECURE_X509_OID_RSA_MD5[] = {0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0… 47 static const UCHAR NX_SECURE_X509_OID_RSA_SHA1[] = {0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0… 48 static const UCHAR NX_SECURE_X509_OID_RSA_SHA256[] = {0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0… 49 static const UCHAR NX_SECURE_X509_OID_RSA_SHA384[] = {0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0… 50 static const UCHAR NX_SECURE_X509_OID_RSA_SHA512[] = {0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0… 55 static const UCHAR NX_SECURE_X509_OID_DH[] = {0x2A, 0x86, 0x48, 0xCE, 0x3E, 0x02, 0x01}; … 56 static const UCHAR NX_SECURE_X509_OID_DSS_SHA1[] = {0x2A, 0x86, 0x48, 0xCE, 0x38, 0x04, 0x03}; … 64 static const UCHAR NX_SECURE_X509_OID_COMMON_NAME[] = {0x55, 0x04, 0x03}; /* ISO-ITU.DirectorySer… 65 static const UCHAR NX_SECURE_X509_OID_SURNAME[] = {0x55, 0x04, 0x04}; /* ISO-ITU.DirectorySer… [all …]
|
| /NetX-Duo-v6.2.1/tsn/inc/ |
| D | nx_shaper.h | 111 …PER_DEFAULT_MAPPING_GET)(NX_INTERFACE *interface_ptr, UCHAR *pcp_list, UCHAR *queue_id_list, UCHAR… 115 UCHAR hw_queue_id; 116 UCHAR priority; 117 UCHAR type; 118 UCHAR reserved; 123 UCHAR shaper_type; 124 UCHAR reserved[3]; 132 UCHAR shaper_capability; /* cbs/tas/preemption control */ 133 UCHAR hw_queue_number; /* total number of hardware queues */ 134 UCHAR shaper_number; /* total number of shapers */ [all …]
|
| /NetX-Duo-v6.2.1/crypto_libraries/src/ |
| D | nx_crypto_method_self_test_aes.c | 32 static const UCHAR key_cbc_256_encrypt[] = { 38 static const UCHAR iv_cbc_256_encrypt[] = { 43 static const UCHAR plain_cbc_256_encrypt[] = { 48 static const UCHAR secret_cbc_256_encrypt[] = { 53 static UCHAR key_cbc_256_decrypt[] = { 59 static UCHAR iv_cbc_256_decrypt[] = { 64 static UCHAR plain_cbc_256_decrypt[] = { 69 static UCHAR secret_cbc_256_decrypt[] = { 75 static const UCHAR key_ctr_256_encrypt[] = { 82 static const UCHAR iv_ctr_256_encrypt[] = { [all …]
|
| D | nx_crypto_gcm.c | 69 NX_CRYPTO_KEEP static VOID _nx_crypto_gcm_xor(UCHAR *plaintext, UCHAR *key, UCHAR *ciphertext) in _nx_crypto_gcm_xor() 142 NX_CRYPTO_KEEP static VOID _nx_crypto_gcm_inc32(UCHAR *counter_block) in _nx_crypto_gcm_inc32() 148 counter_block[15] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32() 152 counter_block[14] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32() 154 counter_block[13] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32() 156 counter_block[12] = (UCHAR)(result & 0xFF); in _nx_crypto_gcm_inc32() 201 NX_CRYPTO_KEEP static VOID _nx_crypto_gcm_multi(UCHAR *x, UCHAR *y, UCHAR *output) in _nx_crypto_gcm_multi() 205 UCHAR v[NX_CRYPTO_GCM_BLOCK_SIZE]; in _nx_crypto_gcm_multi() 206 UCHAR lsb; in _nx_crypto_gcm_multi() 207 UCHAR mask; in _nx_crypto_gcm_multi() [all …]
|
| D | nx_crypto_method_self_test_rsa.c | 32 static const UCHAR pub_e_1024[] = { 36 static const UCHAR pri_e_1024[] = { 48 static const UCHAR m_1024[] = { 60 static const UCHAR p_1024[] = { 68 static const UCHAR q_1024[] = { 76 static const UCHAR plain_1024[] = { 88 static const UCHAR secret_1024[] = { 101 static const UCHAR pub_e_2048[] = { 105 static const UCHAR pri_e_2048[] = { 125 static const UCHAR m_2048[] = { [all …]
|
| /NetX-Duo-v6.2.1/test/regression/snmp_test/ |
| D | small_mib_helper.c | 15 UINT mib2_get_processing(NX_SNMP_AGENT *agent_ptr, UCHAR *object_requested, NX_SNMP_OBJECT_DATA … 16 UINT mib2_getnext_processing(NX_SNMP_AGENT *agent_ptr, UCHAR *object_requested, NX_SNMP_OBJECT_D… 17 UINT mib2_set_processing(NX_SNMP_AGENT *agent_ptr, UCHAR *object_requested, NX_SNMP_OBJECT_DATA … 18 UINT mib2_username_processing(NX_SNMP_AGENT *agent_ptr, UCHAR *username); 30 UCHAR sysDescr[] = "NetX SNMP Agent"; /* sysDescr:OctetString … 31 UCHAR sysObjectID[] = "1.3.6.1.2.1.1"; /* sysObjectID:ObjectID … 33 UCHAR sysContact[128] = "NetX sysContact Name"; /* sysContact:OctetString … 34 UCHAR sysName[128] = "NetX sysName"; /* sysName:OctetString … 35 UCHAR sysLocation[128] = "NetX sysLocation"; /* sysLocation:OctetString … 47 UCHAR ifDescr[] = "NetX Physical Interface"; /* ifDescr:OctetString … [all …]
|