Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_x509_find_certificate_methods.c79 UINT _nx_secure_x509_find_certificate_methods(NX_SECURE_X509_CERT *cert, USHORT signature_algorithm, in _nx_secure_x509_find_certificate_methods() argument
88 …cert -> nx_secure_x509_cipher_table[index].nx_secure_x509_crypto_identifier == signature_algorithm) in _nx_secure_x509_find_certificate_methods()
Dnx_secure_process_server_key_exchange.c140 UCHAR signature_algorithm; in _nx_secure_process_server_key_exchange() local
298 signature_algorithm = NX_SECURE_TLS_SIGNATURE_ALGORITHM_ECDSA; in _nx_secure_process_server_key_exchange()
302 signature_algorithm = NX_SECURE_TLS_SIGNATURE_ALGORITHM_RSA; in _nx_secure_process_server_key_exchange()
314 signature_algorithm = current_buffer[1]; in _nx_secure_process_server_key_exchange()
320 … _nx_secure_tls_get_signature_algorithm_id(((UINT)(hash_algorithm << 8) + signature_algorithm), in _nx_secure_process_server_key_exchange()
334 if (signature_algorithm == NX_SECURE_TLS_SIGNATURE_ALGORITHM_RSA && in _nx_secure_process_server_key_exchange()
339 if (signature_algorithm == NX_SECURE_TLS_SIGNATURE_ALGORITHM_RSA && in _nx_secure_process_server_key_exchange()
491 if (signature_algorithm == NX_SECURE_TLS_SIGNATURE_ALGORITHM_RSA && in _nx_secure_process_server_key_exchange()
496 if (signature_algorithm == NX_SECURE_TLS_SIGNATURE_ALGORITHM_RSA && in _nx_secure_process_server_key_exchange()
670 if (signature_algorithm == NX_SECURE_TLS_SIGNATURE_ALGORITHM_RSA && in _nx_secure_process_server_key_exchange()
[all …]
Dnx_secure_tls_process_certificate_verify.c114 USHORT signature_algorithm; in _nx_secure_tls_process_certificate_verify() local
191 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_256; in _nx_secure_tls_process_certificate_verify()
194 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_384; in _nx_secure_tls_process_certificate_verify()
197 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_512; in _nx_secure_tls_process_certificate_verify()
206 signature_algorithm = NX_SECURE_TLS_X509_TYPE_RSA_SHA_256; in _nx_secure_tls_process_certificate_verify()
210 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_256; in _nx_secure_tls_process_certificate_verify()
216 …status = _nx_secure_x509_find_certificate_methods(client_certificate, signature_algorithm, &crypto… in _nx_secure_tls_process_certificate_verify()
Dnx_secure_tls_send_clienthello_extensions.c32 USHORT *signature_algorithm);
342 USHORT signature_algorithm; in _nx_secure_tls_send_clienthello_sig_extension() local
376 _nx_secure_tls_get_signature_algorithm(tls_session, &cipher_table[i], &signature_algorithm); in _nx_secure_tls_send_clienthello_sig_extension()
377 if (signature_algorithm == 0) in _nx_secure_tls_send_clienthello_sig_extension()
382 packet_buffer[offset] = (UCHAR)((signature_algorithm & 0xFF00) >> 8); in _nx_secure_tls_send_clienthello_sig_extension()
383 packet_buffer[offset + 1] = (UCHAR)(signature_algorithm & 0x00FF); in _nx_secure_tls_send_clienthello_sig_extension()
418 USHORT *signature_algorithm) in _nx_secure_tls_get_signature_algorithm() argument
427 *signature_algorithm = 0; in _nx_secure_tls_get_signature_algorithm()
477 *signature_algorithm = 0; in _nx_secure_tls_get_signature_algorithm()
491 *signature_algorithm = (USHORT)((hash_algo << 8) + sig_algo); in _nx_secure_tls_get_signature_algorithm()
[all …]
Dnx_secure_tls_send_certificate_verify.c120 USHORT signature_algorithm; in _nx_secure_tls_send_certificate_verify() local
211 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_256; in _nx_secure_tls_send_certificate_verify()
214 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_384; in _nx_secure_tls_send_certificate_verify()
217 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_512; in _nx_secure_tls_send_certificate_verify()
226 signature_algorithm = NX_SECURE_TLS_X509_TYPE_RSA_SHA_256; in _nx_secure_tls_send_certificate_verify()
232 signature_algorithm = NX_SECURE_TLS_X509_TYPE_ECDSA_SHA_256; in _nx_secure_tls_send_certificate_verify()
238 …status = _nx_secure_x509_find_certificate_methods(local_certificate, signature_algorithm, &crypto_… in _nx_secure_tls_send_certificate_verify()
Dnx_secure_tls_process_clienthello_extensions.c527 USHORT signature_algorithm; in _nx_secure_tls_proc_clienthello_sec_sa_extension() local
668signature_algorithm = (USHORT)((signature_algorithms[j] << 8) + signature_algorithms[j + 1]); in _nx_secure_tls_proc_clienthello_sec_sa_extension()
671 … _nx_secure_tls_get_signature_algorithm_id((UINT)signature_algorithm, &signature_algorithm_id); in _nx_secure_tls_proc_clienthello_sec_sa_extension()
683 *ecdhe_signature_algorithm = signature_algorithm; in _nx_secure_tls_proc_clienthello_sec_sa_extension()
689 if (*ecdhe_signature_algorithm == signature_algorithm) in _nx_secure_tls_proc_clienthello_sec_sa_extension()
1270 VOID _nx_secure_tls_get_signature_algorithm_id(UINT signature_algorithm, USHORT *signature_algorith… in _nx_secure_tls_get_signature_algorithm_id() argument
1275 switch (signature_algorithm) in _nx_secure_tls_get_signature_algorithm_id()
/NetX-Duo-v6.2.1/nx_secure/inc/
Dnx_secure_x509.h970 UINT _nx_secure_x509_find_certificate_methods(NX_SECURE_X509_CERT *cert, USHORT signature_algorithm,
Dnx_secure_tls.h1498 VOID _nx_secure_tls_get_signature_algorithm_id(UINT signature_algorithm, USHORT *signature_algorith…