MCPcopy Create free account

hub / github.com/pion/dtls / functions

Functions1,125 in github.com/pion/dtls

FunctionTestFlight4_Process_CertificateVerify
Assert that if a Client sends a certificate they must also send a CertificateVerify message. The flight4handler must not interact with the CipherSuite
flight4handler_test.go:49
FunctionTestFragmentBuffer
(t *testing.T)
fragment_buffer_test.go:12
FunctionTestFragmentBuffer_Overflow
(t *testing.T)
fragment_buffer_test.go:159
FunctionTestFragmentBuffer_Retransmission
(t *testing.T)
conn_test.go:3401
FunctionTestFragmentBuffer_TooSmall
(t *testing.T)
fragment_buffer_test.go:175
FunctionTestFragmentBuffer_UnmarshalInvalid
(t *testing.T)
fragment_buffer_test.go:187
FunctionTestFromCertificate
(t *testing.T)
pkg/crypto/signaturehash/signaturehash_test.go:303
FunctionTestGenerateAEADAdditionalDataCID
(t *testing.T)
pkg/crypto/ciphersuite/ciphersuite_test.go:15
FunctionTestGenerateKeySignature
(t *testing.T)
crypto_test.go:87
FunctionTestGenerateKeypair_InvalidCurve
(t *testing.T)
pkg/crypto/elliptic/elliptic_test.go:32
FunctionTestGenerateKeypair_RandFailure
(t *testing.T)
pkg/crypto/elliptic/elliptic_test.go:45
FunctionTestGetCertificate
(t *testing.T)
certificate_test.go:14
FunctionTestGetPSSHash
(t *testing.T)
pkg/crypto/signature/signature_test.go:69
FunctionTestHKDFExpandLabel_Simple
(t *testing.T)
pkg/crypto/keyschedule/keyschedule_test.go:40
FunctionTestHKDFExtract_Nil_Hash_Error
(t *testing.T)
pkg/crypto/keyschedule/keyschedule_test.go:32
FunctionTestHKDFExtract_SHA256_VectorA1
RFC 5869 Appendix A.1 (Test Case 1, SHA-256).
pkg/crypto/keyschedule/keyschedule_test.go:17
FunctionTestHKDFLabel_Encoding_Shape
(t *testing.T)
pkg/crypto/keyschedule/keyschedule_test.go:49
FunctionTestHKDFLabel_Encoding_Shape_Context_Length_Zero
(t *testing.T)
pkg/crypto/keyschedule/keyschedule_test.go:73
FunctionTestHKDFLabel_Encoding_Shape_Context_Too_Big
(t *testing.T)
pkg/crypto/keyschedule/keyschedule_test.go:84
FunctionTestHKDFLabel_Encoding_Shape_Label_Big
(t *testing.T)
pkg/crypto/keyschedule/keyschedule_test.go:65
FunctionTestHKDFLabel_Encoding_Shape_Label_Small
(t *testing.T)
pkg/crypto/keyschedule/keyschedule_test.go:57
FunctionTestHandshakeCacheSessionHash
(t *testing.T)
handshake_cache_test.go:128
FunctionTestHandshakeCacheSinglePush
(t *testing.T)
handshake_cache_test.go:14
FunctionTestHandshakeMessage
(t *testing.T)
handshake_test.go:16
FunctionTestHandshakeMessageCertificate
(t *testing.T)
pkg/protocol/handshake/message_certificate_test.go:13
FunctionTestHandshakeMessageCertificate13
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:23
FunctionTestHandshakeMessageCertificateRequest
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_test.go:16
FunctionTestHandshakeMessageCertificateRequest13
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:17
FunctionTestHandshakeMessageCertificateRequest_CertificateTypesTooLong
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_test.go:116
FunctionTestHandshakeMessageCertificateRequest_SkipsUnknownAlgorithms
verify unrecognized signature algorithm pairs in a CertificateRequest are silently skipped rather than causing a handshake failure.
pkg/protocol/handshake/message_certificate_request_test.go:94
FunctionTestHandshakeMessageCertificateVerify
(t *testing.T)
pkg/protocol/handshake/message_certificate_verify_test.go:14
FunctionTestHandshakeMessageCertificateVerify_InvalidAlgorithmValue
(t *testing.T)
pkg/protocol/handshake/message_certificate_verify_test.go:37
FunctionTestHandshakeMessageClientHello
(t *testing.T)
pkg/protocol/handshake/message_client_hello_test.go:16
FunctionTestHandshakeMessageClientHelloSessionID
(t *testing.T)
pkg/protocol/handshake/message_client_hello_test.go:59
FunctionTestHandshakeMessageClientHello_CompressionMethodsTooLong
(t *testing.T)
pkg/protocol/handshake/message_client_hello_test.go:97
FunctionTestHandshakeMessageClientHello_SessionIDTooLong
(t *testing.T)
pkg/protocol/handshake/message_client_hello_test.go:86
FunctionTestHandshakeMessageClientKeyExchange
(t *testing.T)
pkg/protocol/handshake/message_client_key_exchange_test.go:13
FunctionTestHandshakeMessageClientKeyExchange_PublicKeyTooLong
(t *testing.T)
pkg/protocol/handshake/message_client_key_exchange_test.go:35
FunctionTestHandshakeMessageFinished
(t *testing.T)
pkg/protocol/handshake/message_finished_test.go:12
FunctionTestHandshakeMessageHelloVerifyRequest
(t *testing.T)
pkg/protocol/handshake/message_hello_verify_request_test.go:13
FunctionTestHandshakeMessageServerHello
(t *testing.T)
pkg/protocol/handshake/message_server_hello_test.go:15
FunctionTestHandshakeMessageServerHelloDone
(t *testing.T)
pkg/protocol/handshake/message_server_hello_done_test.go:12
FunctionTestHandshakeMessageServerHelloSessionID
(t *testing.T)
pkg/protocol/handshake/message_server_hello_test.go:49
FunctionTestHandshakeMessageServerHello_SessionIDTooLong
(t *testing.T)
pkg/protocol/handshake/message_server_hello_test.go:77
FunctionTestHandshakeMessageServerKeyExchange
(t *testing.T)
pkg/protocol/handshake/message_server_key_exchange_test.go:16
FunctionTestHandshakeMessageServerKeyExchangeUnmarshalErrors
(t *testing.T)
pkg/protocol/handshake/message_server_key_exchange_test.go:75
FunctionTestHandshakeWithAlert
(t *testing.T)
conn_test.go:358
FunctionTestHandshakeWithInvalidRecord
(t *testing.T)
conn_test.go:415
FunctionTestHandshaker
(t *testing.T)
handshaker_test.go:46
FunctionTestHashAlgorithm_StringRoundtrip
(t *testing.T)
pkg/crypto/hash/hash_test.go:13
FunctionTestHashFromString
(t *testing.T)
pkg/crypto/fingerprint/hash_test.go:13
FunctionTestHelloRandom
(t *testing.T)
conn_test.go:3307
FunctionTestInsecureCipherSuites
(t *testing.T)
cipher_suite_test.go:39
FunctionTestInvalidNumericOptionsReturnError
TestInvalidNumericOptionsReturnError verifies that invalid numeric values return appropriate errors.
options_test.go:226
FunctionTestIsPSS
(t *testing.T)
pkg/crypto/signature/signature_test.go:13
FunctionTestIsSupportedBytes
(t *testing.T)
pkg/protocol/version_test.go:35
FunctionTestIsSupportedVersion
(t *testing.T)
pkg/protocol/version_test.go:53
FunctionTestIsUnsupported
(t *testing.T)
pkg/crypto/signature/signature_test.go:43
FunctionTestIsValidBytes
(t *testing.T)
pkg/protocol/version_test.go:70
FunctionTestIsValidVersion
(t *testing.T)
pkg/protocol/version_test.go:89
FunctionTestKeyShare_Marshal_ClientHello_EmptyVector_RoundTrip
(t *testing.T)
pkg/protocol/extension/key_share_test.go:14
FunctionTestKeyShare_Marshal_ClientHello_Errors
(t *testing.T)
pkg/protocol/extension/key_share_test.go:86
FunctionTestKeyShare_Marshal_ClientHello_OK
(t *testing.T)
pkg/protocol/extension/key_share_test.go:37
FunctionTestKeyShare_Marshal_HelloRetryRequest
(t *testing.T)
pkg/protocol/extension/key_share_test.go:148
FunctionTestKeyShare_Marshal_MultipleContexts_Error
(t *testing.T)
pkg/protocol/extension/key_share_test.go:164
FunctionTestKeyShare_Marshal_ServerHello_OK
(t *testing.T)
pkg/protocol/extension/key_share_test.go:122
FunctionTestKeyShare_Unmarshal_ClientHello
(t *testing.T)
pkg/protocol/extension/key_share_test.go:176
FunctionTestKeyShare_Unmarshal_ClientHello_TruncatedEntries
(t *testing.T)
pkg/protocol/extension/key_share_test.go:240
FunctionTestKeyShare_Unmarshal_Errors
(t *testing.T)
pkg/protocol/extension/key_share_test.go:351
FunctionTestKeyShare_Unmarshal_HelloRetryRequest
(t *testing.T)
pkg/protocol/extension/key_share_test.go:269
FunctionTestKeyShare_Unmarshal_ServerHello
(t *testing.T)
pkg/protocol/extension/key_share_test.go:306
FunctionTestListenerAcceptFilter
(t *testing.T)
internal/net/udp/packet_conn_test.go:139
FunctionTestListenerCloseTimeout
(t *testing.T)
internal/net/udp/packet_conn_test.go:84
FunctionTestListenerCloseUnaccepted
(t *testing.T)
internal/net/udp/packet_conn_test.go:102
FunctionTestListenerConcurrent
(t *testing.T)
internal/net/udp/packet_conn_test.go:216
FunctionTestListenerCustomConnIDs
(t *testing.T)
internal/net/udp/packet_conn_test.go:409
FunctionTestMasterSecret
(t *testing.T)
pkg/crypto/prf/prf_test.go:37
FunctionTestMessageCertificate13_CertDataAtMaxBoundary
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:266
FunctionTestMessageCertificate13_CertDataJustBelowMaxBoundary
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:290
FunctionTestMessageCertificate13_CertDataOneByteOverBoundary
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:318
FunctionTestMessageCertificate13_CertListAtExactBoundary
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:369
FunctionTestMessageCertificate13_ContextTooLong
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:239
FunctionTestMessageCertificate13_EmptyCertData
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:253
FunctionTestMessageCertificate13_EmptyCertificateList
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:228
FunctionTestMessageCertificate13_MaxContextLength
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:213
FunctionTestMessageCertificate13_MultipleCertificates
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:200
FunctionTestMessageCertificate13_MultipleCertsExceedingBoundary
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:340
FunctionTestMessageCertificate13_SingleCertNoExtensions
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:139
FunctionTestMessageCertificate13_Type
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:134
FunctionTestMessageCertificate13_UnmarshalBufferTooSmall
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:404
FunctionTestMessageCertificate13_UnmarshalInvalidCertEntry
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:437
FunctionTestMessageCertificate13_UnmarshalLengthMismatch
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:423
FunctionTestMessageCertificate13_WithContext
(t *testing.T)
pkg/protocol/handshake/message_certificate_13_test.go:186
FunctionTestMessageCertificateRequest13_ContextTooLong
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:175
FunctionTestMessageCertificateRequest13_MaxContextLength
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:137
FunctionTestMessageCertificateRequest13_MinimalValid
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:106
FunctionTestMessageCertificateRequest13_MissingSignatureAlgorithms
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:193
FunctionTestMessageCertificateRequest13_MultipleExtensions
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:156
FunctionTestMessageCertificateRequest13_Type
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:101
FunctionTestMessageCertificateRequest13_UnmarshalBufferTooSmall
(t *testing.T)
pkg/protocol/handshake/message_certificate_request_13_test.go:212
← previousnext →801–900 of 1,125, ranked by callers