Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 8 of 8) sorted by relevance

/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_hmac.c439 NX_CRYPTO_METHOD *hash; in _nx_crypto_hmac_hash_initialize() local
449 hash = hmac->hash_method; in _nx_crypto_hmac_hash_initialize()
450 metadata_size = hash->nx_crypto_metadata_area_size; in _nx_crypto_hmac_hash_initialize()
452 status = hash->nx_crypto_operation(NX_CRYPTO_HASH_INITIALIZE, in _nx_crypto_hmac_hash_initialize()
454 hash, in _nx_crypto_hmac_hash_initialize()
517 NX_CRYPTO_METHOD *hash; in _nx_crypto_hmac_hash_update() local
525 hash = hmac->hash_method; in _nx_crypto_hmac_hash_update()
526 metadata_size = hash->nx_crypto_metadata_area_size; in _nx_crypto_hmac_hash_update()
529 status = hash->nx_crypto_operation(NX_CRYPTO_HASH_UPDATE, in _nx_crypto_hmac_hash_update()
531 hash, in _nx_crypto_hmac_hash_update()
[all …]
Dnx_crypto_ecdsa.c76 NX_CRYPTO_KEEP UINT _nx_crypto_ecdsa_sign(NX_CRYPTO_EC *curve, UCHAR *hash, UINT hash_length, in _nx_crypto_ecdsa_sign() argument
141 status = _nx_crypto_huge_number_setup(&z, hash, hash_length); in _nx_crypto_ecdsa_sign()
315 NX_CRYPTO_KEEP UINT _nx_crypto_ecdsa_verify(NX_CRYPTO_EC *curve, UCHAR *hash, UINT hash_length, in _nx_crypto_ecdsa_verify() argument
440 status = _nx_crypto_huge_number_setup(&z, hash, hash_length); in _nx_crypto_ecdsa_verify()
/NetX-Duo-v6.2.1/test/regression/nx_secure_test/
Dnx_secure_ecdsa_test.c31 static UCHAR hash[32] = { 0 }; /* arbitrary */ variable
117 status = _nx_crypto_ecdsa_verify(curve, hash, sizeof(hash), in thread_0_entry()
123 status = _nx_crypto_ecdsa_verify(curve, hash, sizeof(hash), in thread_0_entry()
222 ecdsa_data[i].hash, in thread_0_entry()
Dnx_secure_ecdsa_test_data.c12 UCHAR *hash; member
/NetX-Duo-v6.2.1/crypto_libraries/inc/
Dnx_crypto_ecdsa.h86 UCHAR *hash,
96 UCHAR *hash,
/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_process_server_key_exchange.c33 static UCHAR hash[64]; /* We concatenate MD5 and SHA-1 hashes into this buffer, OR SHA-256, SHA-384… variable
466 hash, in _nx_secure_process_server_key_exchange()
614 &hash[16], in _nx_secure_process_server_key_exchange()
780 compare_result = (UINT)NX_SECURE_MEMCMP(hash, decrypted_hash, decrypted_hash_length); in _nx_secure_process_server_key_exchange()
783 NX_SECURE_MEMSET(hash, 0, sizeof(hash)); in _nx_secure_process_server_key_exchange()
843 hash, in _nx_secure_process_server_key_exchange()
Dnx_secure_tls_ecc_generate_keys.c32 static UCHAR hash[64]; /* We concatenate MD5 and SHA-1 hashes into this buffer, OR SHA-256, SHA-384… variable
495 hash, in _nx_secure_tls_ecc_generate_keys()
644 &hash[16], in _nx_secure_tls_ecc_generate_keys()
774 …NX_CRYPTO_MEMCPY(&_nx_secure_padded_signature[signature_offset], hash, hash_length); /* Use case o… in _nx_secure_tls_ecc_generate_keys()
874 hash, in _nx_secure_tls_ecc_generate_keys()
/NetX-Duo-v6.2.1/docs/
Drevision_history.txt3261 Files are modified to assure that MAC hash checking happens even if
3273 Files are modified to fix the usage of crypto metadata for hash method:
3477 nx_secure_module_hash_compute.c Compute the hash value of module.
3489 …nx_secure_tls_metadata_size_calculate.c Fixed the usage of crypto metadata for hash method.
3508 … nx_secure_tls_send_record.c Skipped the hash when it was not required.
3512 …nx_secure_tls_session_create.c Fixed the usage of crypto metadata for hash method.
3771 Files are added to hash record: