/NetX-Duo-v6.4.1/crypto_libraries/inc/ |
D | nx_crypto_ec.h | 197 #define NX_CRYPTO_EC_SECP192R1_DATA_SETUP(s, b, c0, c1, c2, c3, c4, c5) \ argument 198 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[5], b, c0); \ 199 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[4], b, c1); \ 200 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[3], b, c2); \ 201 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[2], b, c3); \ 202 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[1], b, c4); \ 203 NX_CRYPTO_EC_CHANGE_ENDIAN((s) -> nx_crypto_huge_number_data[0], b, c5); \ 204 (s) -> nx_crypto_huge_number_size = 6; \ 205 (s) -> nx_crypto_huge_number_is_negative = NX_CRYPTO_FALSE; 207 #define NX_CRYPTO_EC_SECP224R1_DATA_SETUP(s, b, c0, c1, c2, c3, c4, c5, c6) \ argument [all …]
|
/NetX-Duo-v6.4.1/test/regression/interoperability_test/mqtt_test/ |
D | mqtt_interoperability_test.h | 12 #define STRING(s) str(s) argument 13 #define str(s) #s argument
|
/NetX-Duo-v6.4.1/crypto_libraries/src/ |
D | nx_crypto_gcm.c | 464 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_encrypt_init() local 508 NX_CRYPTO_MEMSET(s, 0, NX_CRYPTO_GCM_BLOCK_SIZE); in _nx_crypto_gcm_encrypt_init() 509 _nx_crypto_gcm_ghash_update(hkey, additional_data, additional_len, s); in _nx_crypto_gcm_encrypt_init() 577 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_encrypt_update() local 590 _nx_crypto_gcm_ghash_update(hkey, output, length, s); in _nx_crypto_gcm_encrypt_update() 649 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_encrypt_calculate() local 678 _nx_crypto_gcm_ghash_update(hkey, tmp_block, NX_CRYPTO_GCM_BLOCK_SIZE, s); in _nx_crypto_gcm_encrypt_calculate() 682 _nx_crypto_gcm_gctr(crypto_metadata, crypto_function, s, s, NX_CRYPTO_GCM_BLOCK_SIZE, j0); in _nx_crypto_gcm_encrypt_calculate() 685 NX_CRYPTO_MEMCPY(output, s, icv_len); /* Use case of memcpy is verified. */ in _nx_crypto_gcm_encrypt_calculate() 746 UCHAR *s = gcm_metadata -> nx_crypto_gcm_s; in _nx_crypto_gcm_decrypt_update() local [all …]
|
D | nx_crypto_drbg.c | 754 UCHAR *s; in _nx_crypto_drbg_block_cipher_df() local 778 s = &iv[NX_CRYPTO_DRBG_BLOCK_LENGTH]; in _nx_crypto_drbg_block_cipher_df() 780 s[0] = (UCHAR)((input_len >> 24) & 0xff); in _nx_crypto_drbg_block_cipher_df() 781 s[1] = (UCHAR)((input_len >> 16) & 0xff); in _nx_crypto_drbg_block_cipher_df() 782 s[2] = (UCHAR)((input_len >> 8) & 0xff); in _nx_crypto_drbg_block_cipher_df() 783 s[3] = (UCHAR)(input_len & 0xff); in _nx_crypto_drbg_block_cipher_df() 784 s[4] = (UCHAR)((output_len >> 24) & 0xff); in _nx_crypto_drbg_block_cipher_df() 785 s[5] = (UCHAR)((output_len >> 16) & 0xff); in _nx_crypto_drbg_block_cipher_df() 786 s[6] = (UCHAR)((output_len >> 8) & 0xff); in _nx_crypto_drbg_block_cipher_df() 787 s[7] = (UCHAR)(output_len & 0xff); in _nx_crypto_drbg_block_cipher_df() [all …]
|
D | nx_crypto_md5.c | 67 #define FF(a, b, c, d, x, s, ac) { \ argument 69 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \ 72 #define GG(a, b, c, d, x, s, ac) { \ argument 74 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \ 77 #define HH(a, b, c, d, x, s, ac) { \ argument 79 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \ 82 #define II(a, b, c, d, x, s, ac) { \ argument 84 (a) = LEFT_SHIFT_CIRCULAR((a), (s)); \
|
D | nx_crypto_ecjpake.c | 501 NX_CRYPTO_HUGE_NUMBER private_key, r, s; in _nx_crypto_ecjpake_key_exchange_generate() local 510 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&s, scratch, in _nx_crypto_ecjpake_key_exchange_generate() 516 _nx_crypto_huge_number_setup(&s, shared_secret, shared_secret_len); in _nx_crypto_ecjpake_key_exchange_generate() 517 _nx_crypto_huge_number_modulus(&s, &curve -> nx_crypto_ec_n); in _nx_crypto_ecjpake_key_exchange_generate() 524 &s, in _nx_crypto_ecjpake_key_exchange_generate() 638 NX_CRYPTO_HUGE_NUMBER r, s; in _nx_crypto_ecjpake_key_exchange_process() local 647 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&s, scratch, in _nx_crypto_ecjpake_key_exchange_process() 653 status = _nx_crypto_huge_number_setup(&s, shared_secret, shared_secret_len); in _nx_crypto_ecjpake_key_exchange_process() 660 _nx_crypto_huge_number_modulus(&s, &curve -> nx_crypto_ec_n); in _nx_crypto_ecjpake_key_exchange_process() 711 &s, in _nx_crypto_ecjpake_key_exchange_process() [all …]
|
D | nx_crypto_ecdsa.c | 321 NX_CRYPTO_HUGE_NUMBER s; in _nx_crypto_ecdsa_verify() local 368 NX_CRYPTO_HUGE_NUMBER_INITIALIZE(&s, scratch, buffer_size); in _nx_crypto_ecdsa_verify() 412 status = _nx_crypto_huge_number_setup(&s, &signature[2], signature[1]); in _nx_crypto_ecdsa_verify() 419 if(_nx_crypto_huge_number_is_zero(&r) || _nx_crypto_huge_number_is_zero(&s)) in _nx_crypto_ecdsa_verify() 429 …if(NX_CRYPTO_HUGE_NUMBER_LESS != _nx_crypto_huge_number_compare_unsigned(&s, &curve -> nx_crypto_e… in _nx_crypto_ecdsa_verify() 452 _nx_crypto_huge_number_inverse_modulus(&s, &curve -> nx_crypto_ec_n, &w, scratch); in _nx_crypto_ecdsa_verify()
|
/NetX-Duo-v6.4.1/common/src/ |
D | nx_md5.c | 66 #define FF(a, b, c, d, x, s, ac) { \ argument 68 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \ 71 #define GG(a, b, c, d, x, s, ac) { \ argument 73 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \ 76 #define HH(a, b, c, d, x, s, ac) { \ argument 78 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \ 81 #define II(a, b, c, d, x, s, ac) { \ argument 83 (a) = LEFT_SHIFT_CIRCULAR ((a), (s)); \
|
/NetX-Duo-v6.4.1/test/regression/azure_iot/ |
D | trusted_cert_unit_test.c | 33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
|
D | device_cert_unit_test.c | 33 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
|
D | connection_non_block_ram_test.c | 32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
|
D | connection_sas_expiry_ram_test.c | 32 #define STRING_UNSIGNED_ARGS(s) (UCHAR *)s, strlen(s) argument
|
/NetX-Duo-v6.4.1/test/regression/interoperability_test/test_frame/ |
D | tls_test_frame.h | 163 #define xstr(s) str(s) argument 164 #define str(s) #s argument
|
/NetX-Duo-v6.4.1/test/regression/interoperability_test/nx_secure_test/ |
D | signature_algorithm_test_nx_secure_echo_server_entry.c | 18 #define SIGALGS_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument 19 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
|
D | nx_secure_ecc_server_ciphersuites_entry.c | 18 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument 19 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
|
D | signature_algorithm_test_nx_secure_echo_client_entry.c | 22 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument 23 #define SIGALGS_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument
|
D | nx_secure_ecc_server_curves_entry.c | 16 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument 17 #define TEST_CASE_INIT(g, c, s, t) {g, sizeof(g) / sizeof(USHORT),\ argument 18 c, sizeof(c) / sizeof(NX_CRYPTO_METHOD *), s, t}
|
/NetX-Duo-v6.4.1/test/regression/nx_secure_test/ |
D | nx_secure_tls_1_3_provisioned_psk_test.c | 21 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument 22 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
|
D | nx_secure_tls_empty_clienthello_extension_test.c | 27 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument 28 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
|
D | nx_secure_tls_1_3_ciphersuites_test.c | 21 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument 22 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
|
D | nx_secure_tls_1_3_clienthello_length_checking_test.c | 28 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument 29 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
|
D | nx_secure_tls_1_3_serverhello_length_checking_test.c | 27 #define CIPHERSUITE_INIT(p, s, c) {p, sizeof(p) / sizeof(UINT), s, c} argument 28 #define CERTIFICATE_INIT(s, k, c, t) {s, sizeof(s), k, sizeof(k), c, sizeof(c), t} argument
|
/NetX-Duo-v6.4.1/utility/iperf/ |
D | nx_iperf.h | 120 #define htmlwrite(p, s, l) (nx_packet_data_append(p, s, l, server_ptr -> nx_web_http_server_packet_… argument
|
/NetX-Duo-v6.4.1/addons/azure_iot/ |
D | nx_azure_iot.h | 64 #define LogLiteralArgs(s) (UCHAR *)s, sizeof(s) - 1 argument
|
/NetX-Duo-v6.4.1/ |
D | CONTRIBUTING.md | 12 * FileX - high-performance, FAT-compatible file system that’s fully integrated with ThreadX kernel 63 the email address matching the "Author" field of your contribution's Git commits 64 fulfills the DCO's requirement that you sign-off on your contributions. 71 Contact the project developers via the project's "dev" list.
|