Searched refs:method_ptr (Results 1 – 7 of 7) sorted by relevance
| /NetX-Duo-v6.2.1/nx_secure/src/ |
| D | nx_secure_tls_handshake_hash_init.c | 72 const NX_CRYPTO_METHOD *method_ptr; in _nx_secure_tls_handshake_hash_init() local 92 …method_ptr = tls_session -> nx_secure_tls_crypto_table->nx_secure_tls_handshake_hash_sha256_method; in _nx_secure_tls_handshake_hash_init() 98 method_ptr = tls_session -> nx_secure_tls_session_ciphersuite -> nx_secure_tls_hash; in _nx_secure_tls_handshake_hash_init() 111 if (method_ptr -> nx_crypto_init) in _nx_secure_tls_handshake_hash_init() 113 status = method_ptr -> nx_crypto_init((NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init() 127 if (method_ptr -> nx_crypto_operation != NX_NULL) in _nx_secure_tls_handshake_hash_init() 129 status = method_ptr -> nx_crypto_operation(NX_CRYPTO_HASH_INITIALIZE, in _nx_secure_tls_handshake_hash_init() 131 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_init() 158 …method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha256_meth… in _nx_secure_tls_handshake_hash_init() 162 if (method_ptr -> nx_crypto_init) in _nx_secure_tls_handshake_hash_init() [all …]
|
| D | nx_secure_tls_finished_hash_generate.c | 84 const NX_CRYPTO_METHOD *method_ptr = NX_NULL; in _nx_secure_tls_finished_hash_generate() local 143 …method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha256_meth… in _nx_secure_tls_finished_hash_generate() 146 if (method_ptr -> nx_crypto_operation != NX_NULL) in _nx_secure_tls_finished_hash_generate() 148 status = method_ptr -> nx_crypto_operation(NX_CRYPTO_HASH_CALCULATE, in _nx_secure_tls_finished_hash_generate() 150 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_finished_hash_generate() 179 method_ptr = tls_session -> nx_secure_tls_session_ciphersuite -> nx_secure_tls_prf; in _nx_secure_tls_finished_hash_generate() 202 … method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_md5_method; in _nx_secure_tls_finished_hash_generate() 207 if (method_ptr -> nx_crypto_operation != NX_NULL) in _nx_secure_tls_finished_hash_generate() 209 status = method_ptr -> nx_crypto_operation(NX_CRYPTO_HASH_CALCULATE, in _nx_secure_tls_finished_hash_generate() 211 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_finished_hash_generate() [all …]
|
| D | nx_secure_tls_handshake_hash_update.c | 86 const NX_CRYPTO_METHOD *method_ptr; in _nx_secure_tls_handshake_hash_update() local 100 …method_ptr = tls_session -> nx_secure_tls_crypto_table->nx_secure_tls_handshake_hash_sha256_method; in _nx_secure_tls_handshake_hash_update() 106 method_ptr = tls_session -> nx_secure_tls_session_ciphersuite -> nx_secure_tls_hash; in _nx_secure_tls_handshake_hash_update() 113 if (method_ptr -> nx_crypto_operation != NX_NULL) in _nx_secure_tls_handshake_hash_update() 115 status = method_ptr -> nx_crypto_operation(NX_CRYPTO_HASH_UPDATE, in _nx_secure_tls_handshake_hash_update() 117 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update() 152 status = method_ptr -> nx_crypto_operation(NX_CRYPTO_HASH_CALCULATE, in _nx_secure_tls_handshake_hash_update() 154 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_handshake_hash_update() 175 hash_length = method_ptr -> nx_crypto_ICV_size_in_bits >> 3; in _nx_secure_tls_handshake_hash_update() 181 status = method_ptr -> nx_crypto_operation(NX_CRYPTO_HASH_UPDATE, in _nx_secure_tls_handshake_hash_update() [all …]
|
| D | nx_secure_tls_1_3_transcript_hash_save.c | 78 const NX_CRYPTO_METHOD *method_ptr; in _nx_secure_tls_1_3_transcript_hash_save() local 93 …method_ptr = tls_session -> nx_secure_tls_crypto_table->nx_secure_tls_handshake_hash_sha256_method; in _nx_secure_tls_1_3_transcript_hash_save() 99 method_ptr = tls_session -> nx_secure_tls_session_ciphersuite -> nx_secure_tls_hash; in _nx_secure_tls_1_3_transcript_hash_save() 124 hash_size = (method_ptr ->nx_crypto_ICV_size_in_bits >> 3); in _nx_secure_tls_1_3_transcript_hash_save() 128 if (method_ptr -> nx_crypto_operation != NX_NULL) in _nx_secure_tls_1_3_transcript_hash_save() 130 status = method_ptr -> nx_crypto_operation(NX_CRYPTO_HASH_CALCULATE, in _nx_secure_tls_1_3_transcript_hash_save() 132 (NX_CRYPTO_METHOD*)method_ptr, in _nx_secure_tls_1_3_transcript_hash_save()
|
| D | nx_secure_tls_server_handshake.c | 128 const NX_CRYPTO_METHOD *method_ptr = NX_NULL; in _nx_secure_tls_server_handshake() local 456 …method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha256_meth… in _nx_secure_tls_server_handshake() 458 if (method_ptr -> nx_crypto_cleanup != NX_NULL) in _nx_secure_tls_server_handshake() 460 …temp_status = method_ptr -> nx_crypto_cleanup(tls_session -> nx_secure_tls_handshake_hash.nx_secur… in _nx_secure_tls_server_handshake() 470 … method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_md5_method; in _nx_secure_tls_server_handshake() 471 if (method_ptr != NX_NULL && method_ptr -> nx_crypto_cleanup != NX_NULL) in _nx_secure_tls_server_handshake() 473 …temp_status = method_ptr -> nx_crypto_cleanup(tls_session -> nx_secure_tls_handshake_hash.nx_secur… in _nx_secure_tls_server_handshake() 481 …method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha1_method; in _nx_secure_tls_server_handshake() 482 if (method_ptr != NX_NULL && method_ptr -> nx_crypto_cleanup != NX_NULL) in _nx_secure_tls_server_handshake() 484 …temp_status = method_ptr -> nx_crypto_cleanup(tls_session -> nx_secure_tls_handshake_hash.nx_secur… in _nx_secure_tls_server_handshake()
|
| D | nx_secure_tls_client_handshake.c | 141 *method_ptr = NX_NULL; in _nx_secure_tls_client_handshake() local 230 …method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha256_meth… in _nx_secure_tls_client_handshake() 233 if (method_ptr -> nx_crypto_cleanup != NX_NULL) in _nx_secure_tls_client_handshake() 235 …temp_status = method_ptr -> nx_crypto_cleanup(tls_session -> nx_secure_tls_handshake_hash.nx_secur… in _nx_secure_tls_client_handshake() 245 … method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_md5_method; in _nx_secure_tls_client_handshake() 246 if (method_ptr != NX_NULL && method_ptr -> nx_crypto_cleanup != NX_NULL) in _nx_secure_tls_client_handshake() 248 …temp_status = method_ptr -> nx_crypto_cleanup(tls_session -> nx_secure_tls_handshake_hash.nx_secur… in _nx_secure_tls_client_handshake() 255 …method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha1_method; in _nx_secure_tls_client_handshake() 256 if (method_ptr != NX_NULL && method_ptr -> nx_crypto_cleanup != NX_NULL) in _nx_secure_tls_client_handshake() 258 …temp_status = method_ptr -> nx_crypto_cleanup(tls_session -> nx_secure_tls_handshake_hash.nx_secur… in _nx_secure_tls_client_handshake()
|
| D | nx_secure_tls_1_3_client_handshake.c | 165 *method_ptr = NX_NULL; in _nx_secure_tls_1_3_client_handshake() local 653 …method_ptr = tls_session -> nx_secure_tls_crypto_table -> nx_secure_tls_handshake_hash_sha256_meth… in _nx_secure_tls_1_3_client_handshake() 654 if (method_ptr -> nx_crypto_cleanup != NX_NULL) in _nx_secure_tls_1_3_client_handshake() 656 …status = method_ptr -> nx_crypto_cleanup(tls_session -> nx_secure_tls_handshake_hash.nx_secure_tls… in _nx_secure_tls_1_3_client_handshake()
|