Home
last modified time | relevance | path

Searched defs:parseLen (Results 1 – 25 of 35) sorted by relevance

12

/third_party/openhitls/testcode/framework/tls/msg/src/
Dframe_parse_msg.c342 FRAME_ClientHelloMsg *clientHello, uint32_t *parseLen) in ParseClientHelloMsg()
495 uint32_t *parseLen) in ParseServerHelloMsg()
571 …ype, const uint8_t *buffer, uint32_t bufLen, FRAME_CertificateMsg *certificate, uint32_t *parseLen) in ParseCertificateMsg()
630 FRAME_ServerEcdh *ecdh, uint32_t *parseLen) in ParseServerKxEcdhMsg()
651 FRAME_ServerDh *dh, uint32_t *parseLen) in ParseServerKxDhMsg()
671 FRAME_ServerEcdh *ecdh, uint32_t *parseLen) in ParseServerKxEccMsg()
681 FRAME_ServerKeyExchangeMsg *serverKx, uint32_t *parseLen) in ParseServerKxMsg()
718 FRAME_CertificateRequestMsg *certReq, uint32_t *parseLen) in ParseCertReqMsgExBody()
735 …, const uint8_t *buffer, uint32_t bufLen, FRAME_CertificateRequestMsg *certReq, uint32_t *parseLen) in ParseCertReqMsg()
799 FRAME_ClientKeyExchangeMsg *clientKx, uint32_t *parseLen) in ParseClientKxMsg()
[all …]
Dframe_msg_method.c211 uint32_t parseLen = 0; in GetdefaultHsMsg() local
/third_party/openhitls/testcode/sdv/testcase/tls/consistency/tlcp/
Dtest_suite_sdv_frame_tlcp_consistency_1.c65 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_RECORDTYPE_TC001() local
127 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_RECORDTYPE_TC002() local
190 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_RECORDTYPE_TC003() local
263 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_RECORDTYPE_TC004() local
335 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_RECORDTYPE_TC005() local
446 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_RECORDTYPE_TC007() local
744 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_HANDSHAKEMSG_TC001() local
817 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_HANDSHAKEMSG_TC002() local
890 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_HANDSHAKEMSG_TC003() local
1016 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_UNEXPECT_HANDSHAKEMSG_TC005() local
[all …]
Dtest_suite_sdv_frame_tlcp_consistency_3.c37 uint32_t parseLen = 0; in Test_MisSessionId() local
111 uint32_t parseLen = 0; in Test_DiffServerKeyEx() local
463 uint32_t parseLen = 0; in Test_ErrCertVerify() local
640 uint32_t parseLen = 0; in Test_Finish_Len_TooLong() local
667 uint32_t parseLen = 0; in Test_Finish_Len_TooLong_client() local
970 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_DISORDER_TC003() local
1447 uint32_t parseLen = 0; in UT_TLS_TLCP_CONSISTENCY_AMEND_APPDATA_TC001() local
/third_party/openhitls/testcode/sdv/testcase/tls/consistency/tls12/
Dtest_suite_sdv_frame_tls12_consistency_rfc5746.c101 uint32_t parseLen = 0; in Test_ServerHelloHaveSecRenego() local
194 uint32_t parseLen = 0; in Test_RenegoWrapperFunc() local
215 uint32_t parseLen = 0; in Test_RenegoRemoveExtension() local
256 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5746_CONSISTENCY_EXTENDED_RENEGOTIATION_FUNC_TC001() local
305 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5746_CONSISTENCY_EXTENDED_RENEGOTIATION_FUNC_TC003() local
388 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5746_CONSISTENCY_EXTENDED_RENEGOTIATION_FUNC_TC002() local
609 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5746_CONSISTENCY_EXTENDED_RENEGOTIATION_FUNC_TC010() local
728 uint32_t parseLen = 0; in Test_ClientHello_SecRenego() local
804 uint32_t parseLen = 0; in Test_ModifyServerHello_Secrenegotiation1() local
828 uint32_t parseLen = 0; in Test_ModifyServerHello_Secrenegotiation2() local
[all …]
Dtest_suite_sdv_frame_tls12_consistency_rfc5246.c74 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_RECV_ZEROLENGTH_MSG_TC001() local
156 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_RECV_ZEROLENGTH_MSG_TC002() local
236 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_RECV_ZEROLENGTH_MSG_TC003() local
309 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_RECV_ZEROLENGTH_MSG_TC004() local
386 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_RECV_ZEROLENGTH_MSG_TC005() local
582 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_RECV_ZEROLENGTH_MSG_TC008() local
673 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_HANDSHAKE_UNEXPECTMSG_TC001() local
741 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_HANDSHAKE_UNEXPECTMSG_TC002() local
810 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_HANDSHAKE_UNEXPECTMSG_TC003() local
879 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_HANDSHAKE_UNEXPECTMSG_TC004() local
[all …]
Dtest_suite_sdv_frame_tls12_consistency_rfc5246_extensions.c130 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_MSGLENGTH_TOOLONG_TC001() local
200 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_MSGLENGTH_TOOLONG_TC002() local
454 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC7627_CONSISTENCY_EXTENDED_MASTER_SECRET_TC001() local
538 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC7627_CONSISTENCY_EXTENDED_MASTER_SECRET_TC002() local
606 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC7627_CONSISTENCY_EXTENDED_MASTER_SECRET_TC004() local
Dtest_suite_sdv_frame_tls12_consistency_rfc8422.c60 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC8422_CONSISTENCY_ECDHE_LOSE_POINT_FUNC_TC001() local
Dtest_suite_sdv_frame_tls12_consistency_rfc5246_cert.c313 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_CERTFICATE_VERITY_FAIL_TC004() local
564 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_RSA_REMASTER_TC001() local
Dtest_suite_sdv_frame_tls12_consistency_rfc5246_malformed_msg.c172 uint32_t parseLen = 0; in UT_TLS_TLS12_RFC5246_CONSISTENCY_MISS_CLIENT_KEYEXCHANGE_TC001() local
/third_party/openhitls/testcode/sdv/testcase/tls/consistency/tls13/
Dtest_suite_sdv_frame_tls13_consistency_rfc8446_appendix.c155 uint32_t parseLen = 0; in Test_ServerHelloNoSupportedVersion() local
260 uint32_t parseLen = 0; in Test_ResumeServerHelloNoSupportedVersion() local
287 uint32_t parseLen = 0; in Test_ResumeClientHelloNoSupportedVersion() local
311 uint32_t parseLen = 0; in Test_ClientHelloNoSupportedVersion() local
469 uint32_t parseLen = 0; in Test_ClientHello2NoSupportedVersion() local
534 uint32_t parseLen = 0; in Test_Client2HelloNoSupportedGroup() local
557 uint32_t parseLen = 0; in Test_ClientHelloNoSupportedGroup() local
Dtest_suite_sdv_frame_tls13_consistency_rfc8446_cert.c114 uint32_t parseLen = 0; in Test_Cert_len0() local
142 uint32_t parseLen = 0; in Test_CertPackAndParse() local
216 uint32_t parseLen = 0; in Test_EE_len0() local
331 uint32_t parseLen = 0; in Test_Cert_verify_len0() local
397 uint32_t parseLen = 0; in Test_finished_len0() local
465 uint32_t parseLen = 0; in Test_NewSessionTicket_len0() local
564 uint32_t parseLen = 0; in Test_CertReqAbCtxLen() local
717 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_CLIENT_CERTCHAIN_FUNC_TC002() local
780 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_CLIENT_CERTCHAIN_FUNC_TC003() local
844 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_CLIENT_CERTCHAIN_FUNC_TC004() local
[all …]
Dtest_suite_sdv_frame_tls13_consistency_rfc8446_kex.c251 uint32_t parseLen = 0; in Test_ModifyClientHello() local
963 uint32_t parseLen = 0; in Test_ModifyClientHelloNullKeyshare() local
1239 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_SECOND_GROUP_SUPPORT_FUNC_TC003() local
1501 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_LEGACY_VERSION_FUNC_TC001() local
1572 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_LEGACY_VERSION_FUNC_TC002() local
1643 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_SESSION_ID_FUNC_TC001() local
1669 uint32_t parseLen = 0; in Test_ModifyClientHello_Sessionid_002() local
1779 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_SESSION_ID_FUNC_TC003() local
1854 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_SESSION_ID_FUNC_TC004() local
1893 uint32_t parseLen = 0; in Test_ModifyClientHello_Sessionid_005() local
[all …]
Dtest_suite_sdv_frame_tls13_consistency_rfc8446_extensions_1.c341 uint32_t parseLen = 0; in Test_ClientHelloMissKeyShare() local
445 uint32_t parseLen = 0; in Test_ErrorOrderPsk() local
512 uint32_t parseLen = 0; in Test_RepeatClientHelloExtension() local
730 uint32_t parseLen = 0; in Test_RepeatServerHelloExtension() local
858 uint32_t parseLen = 0; in Test_ErrLegacyVersion() local
947 uint32_t parseLen = 0; in Test_UnknownVersion() local
1058 uint32_t parseLen = 0; in Test_ServerVersion() local
1174 uint32_t parseLen = 0; in Test_ServerHelloSessionId() local
1321 uint32_t parseLen = 0; in Test_ErrorServerVersion() local
1433 uint32_t parseLen = 0; in Test_AbsentGroup() local
[all …]
Dtest_suite_sdv_frame_tls13_consistency_rfc8446_2.c354 uint32_t parseLen = 0; in Test_ServerAddKeyExchangeMode() local
386 uint32_t parseLen = 0; in Test_Server_KeyShare_Miss() local
412 uint32_t parseLen = 0; in Test_Client_MasterSecret_Miss() local
438 uint32_t parseLen = 0; in Test_Client_ObfuscatedTicketAge_NotZero() local
465 uint32_t parseLen = 0; in Test_Client_ObfuscatedTicketAge_Zero() local
492 uint32_t parseLen = 0; in Test_Client_Binder_Unnormal() local
608 uint32_t parseLen = 0; in UT_TLS_TLS13_CONSISTENCY_RFC8446_REQUEST_CLIENT_HELLO_FUNC_TC001() local
690 uint32_t parseLen = 0; in UT_TLS_TLS13_CONSISTENCY_RFC8446_REQUEST_CLIENT_HELLO_FUNC_TC002() local
787 uint32_t parseLen = 0; in UT_TLS_TLS13_CONSISTENCY_RFC8446_REQUEST_CLIENT_HELLO_FUNC_TC003() local
875 uint32_t parseLen = 0; in UT_TLS_TLS13_CONSISTENCY_RFC8446_REQUEST_CLIENT_HELLO_FUNC_TC004() local
[all …]
Dtest_suite_sdv_frame_tls13_consistency_rfc8446_extensions_2.c336 uint32_t parseLen = 0; in Test_Client_Mode() local
412 uint32_t parseLen = 0; in Test_Server_Keyshare() local
482 uint32_t parseLen = 0; in Test_Server_Keyshare3() local
552 uint32_t parseLen = 0; in Test_Server_Keyshare4() local
671 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_SVERSION_FUNC_TC001() local
868 uint32_t parseLen = 0; in Test_SERVERHELLO_VERSION() local
1192 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_RECVERSION_FUNC_TC001() local
1258 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_RECVERSION_FUNC_TC002() local
Dtest_suite_sdv_hlt_tls13_consistency_rfc8446_extensions.c68 uint32_t parseLen = 0; in Test_Client_Mode() local
97 uint32_t parseLen = 0; in Test_Server_Keyshare() local
161 uint32_t parseLen = 0; in Test_Server_SVersion2() local
292 uint32_t parseLen = 0; in Test_Server_Keyshare1() local
460 uint32_t parseLen = 0; in Test_Server_Keyshare2() local
550 uint32_t parseLen = 0; in Test_Server_SVersion() local
777 uint32_t parseLen = 0; in Test_Server_SVersion6() local
905 uint32_t parseLen = 0; in Test_Server_MasterExtKey() local
992 uint32_t parseLen = 0; in Test_Client_PskTicket() local
Dtest_suite_sdv_hlt_tls13_consistency_rfc8446_ffdhe.c131 uint32_t parseLen = 0; in Test_FFDHE_Key_ERROR() local
161 uint32_t parseLen = 0; in Test_FFDHE_Key_Client_DecodeError() local
189 uint32_t parseLen = 0; in Test_FFDHE_KeyLen_LessThenStandard() local
226 uint32_t parseLen = 0; in Test_FFDHE_KeyLen_MoreThenStandard() local
263 uint32_t parseLen = 0; in Test_FFDHE_KeyLen_Error() local
Dtest_suite_sdv_hlt_tls13_consistency_rfc8446_pha.c79 uint32_t parseLen = 0; in Test_FinishToAPP() local
105 uint32_t parseLen = 0; in Test_ServerHello_Add_PhaExtensions() local
136 uint32_t parseLen = 0; in Test_CertificateRequest_Ctx_Zero() local
162 uint32_t parseLen = 0; in Test_Certificate_Ctx_Zero() local
188 uint32_t parseLen = 0; in Test_Certificate_Ctx_NotSame() local
213 uint32_t parseLen = 0; in Test_Finish_Error() local
Dtest_suite_sdv_frame_tls13_consistency_rfc8446_1.c168 uint32_t parseLen; in UT_TLS_TLS13_RFC8446_CONSISTENCY_NO_SUPPORTED_GROUP_FUNC_TC001() local
393 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_MODIFIED_SESSID_FROM_SH_FUNC_TC001() local
454 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_MODIFIED_SESSID_FROM_SH_FUNC_TC002() local
514 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_MODIFIED_CIPHERSUITE_FROM_SH_FUNC_TC001() local
584 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_MISSING_SIG_ALG_FROM_CH_FUNC_TC001() local
1689 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_RECV_INCORRECT_LENGTH_CHMSG_FUNC_TC001() local
2603 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_UNEXPECT_RECODETYPE_FUNC_TC003() local
2662 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_UNEXPECT_RECODETYPE_FUNC_TC004() local
2978 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_MSGLENGTH_TOOLONG_FUNC_TC001() local
3057 uint32_t parseLen = 0; in UT_TLS_TLS13_RFC8446_CONSISTENCY_MSGLENGTH_TOOLONG_FUNC_TC002() local
[all …]
Dtest_suite_tls13_consistency_rfc8446.base.c237 uint32_t parseLen = 0; in Test_MisClientHelloExtension() local
/third_party/openhitls/testcode/sdv/testcase/tls/consistency/dtls12/
Dtest_suite_sdv_frame_dtls12_consistency.c111 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_SEQ_NUMBER_TC001() local
157 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_SEQ_NUMBER_TC002() local
205 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_SEQ_NUMBER_TC003() local
267 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_MSGLENGTH_TOOLONG_TC001() local
333 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_MSGLENGTH_TOOLONG_TC002() local
457 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_MSGLENGTH_ZERO_TC001() local
534 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_MSGLENGTH_ZERO_TC002() local
609 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_MSGLENGTH_ZERO_TC003() local
676 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_MSGLENGTH_ZERO_TC004() local
748 uint32_t parseLen = 0; in UT_TLS_DTLS_CONSISTENCY_RFC5246_MSGLENGTH_ZERO_TC005() local
[all …]
/third_party/openhitls/testcode/framework/tls/transfer/src/
Dsocket_common.c210 uint32_t parseLen = 0; in GetNewBuf() local
/third_party/openhitls/testcode/sdv/testcase/tls/feature/
Dtest_suite_sdv_frame_servername_function.c229 uint32_t parseLen = 0; in GetSessionId() local
328 uint32_t parseLen = 0; in UT_TLS_SNI_RESUME_SERVERNAME_FUNC_TC001() local
/third_party/openhitls/testcode/sdv/testcase/tls/consistency/dtlcp/
Dtest_suite_sdv_frame_dtlcp_consistency.c421 uint32_t parseLen = 0; in UT_TLS_DTLCP_CONSISTENCY_RFC8422_ECPOINT_TC001() local
492 uint32_t parseLen = 0; in UT_TLS_DTLCP_CONSISTENCY_RFC8422_EXTENSION_MISS_TC001() local

12