Home
last modified time | relevance | path

Searched refs:output_len (Results 1 – 6 of 6) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_phash.c73 UINT output_len; /* desired output length of hmac */ in _nx_crypto_phash() local
188 output_len = remaining_len; in _nx_crypto_phash()
192 output_len = hash_size; in _nx_crypto_phash()
205 output_len, in _nx_crypto_phash()
217 for (i = 0; i < output_len; i++) in _nx_crypto_phash()
Dnx_crypto_drbg.c45 …pto_drbg_block_cipher_df(NX_CRYPTO_DRBG *drbg_ptr, UINT input_len, UCHAR *output, UINT output_len);
744 UCHAR *output, UINT output_len) in _nx_crypto_drbg_block_cipher_df() argument
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()
861 while (temp_len < output_len) in _nx_crypto_drbg_block_cipher_df()
863 if (output_len - temp_len < NX_CRYPTO_DRBG_BLOCK_LENGTH) in _nx_crypto_drbg_block_cipher_df()
892 if (output_len - temp_len < NX_CRYPTO_DRBG_BLOCK_LENGTH_AES) in _nx_crypto_drbg_block_cipher_df()
894 …NX_CRYPTO_MEMCPY(&output[temp_len], bcc_chain, output_len - temp_len); /* Use case of memcpy is ve… in _nx_crypto_drbg_block_cipher_df()
Dnx_crypto_hkdf.c590 UINT output_len; in _nx_crypto_hkdf_expand() local
735 output_len = (desired_length - offset); in _nx_crypto_hkdf_expand()
739 output_len = hash_size; in _nx_crypto_hkdf_expand()
745 output_len = desired_length; in _nx_crypto_hkdf_expand()
749 NX_CRYPTO_MEMCPY(&output[offset], temp_T, output_len); /* Use case of memcpy is verified. */ in _nx_crypto_hkdf_expand()
/NetX-Duo-v6.2.1/test/regression/azure_iot/
Dnx_azure_iot_unit_test.c77 UINT output_len; in test_nx_azure_iot_url_encoded_hmac_sha256_calculate_success() local
98 … buffer, sizeof(buffer), &output_ptr, &output_len); in test_nx_azure_iot_url_encoded_hmac_sha256_calculate_success()
/NetX-Duo-v6.2.1/addons/azure_iot/
Dnx_azure_iot_provisioning_client.c753 UINT output_len; in nx_azure_iot_provisioning_client_sas_token_get() local
786 &output_ptr, &output_len); in nx_azure_iot_provisioning_client_sas_token_get()
794 buffer_span = az_span_create(output_ptr, (INT)output_len); in nx_azure_iot_provisioning_client_sas_token_get()
Dnx_azure_iot_hub_client.c3135 UINT output_len; in nx_azure_iot_hub_client_sas_token_get() local
3156 … buffer_ptr, buffer_size, &output_ptr, &output_len); in nx_azure_iot_hub_client_sas_token_get()
3164 buffer_span = az_span_create(output_ptr, (INT)output_len); in nx_azure_iot_hub_client_sas_token_get()