Lines Matching refs:ver

1199 	for _, ver := range tlsVersions {
1200 if !strings.Contains("-"+test.name+"-", "-"+ver.name+"-") {
1205 …em should probably be %x", test.name, test.config.MinVersion, test.config.MaxVersion, ver.version))
3295 func addTestForCipherSuite(suite testCipherSuite, ver tlsVersion, protocol protocol) {
3301 if !ver.hasDTLS {
3332 if isTLS12Only(suite.name) && ver.version < VersionTLS12 {
3335 if !isTLS13Suite(suite.name) && ver.version >= VersionTLS13 {
3338 if isTLS13Suite(suite.name) && ver.version < VersionTLS13 {
3360 name: prefix + ver.name + "-" + suite.name + "-server",
3362 MinVersion: ver.version,
3363 MaxVersion: ver.version,
3384 name: prefix + ver.name + "-" + suite.name + "-client",
3386 MinVersion: ver.version,
3387 MaxVersion: ver.version,
3411 name: prefix + ver.name + "-" + suite.name + "-LargeRecord",
3413 MinVersion: ver.version,
3414 MaxVersion: ver.version,
3434 name: prefix + ver.name + "-" + suite.name + "-BadRecord",
3436 MinVersion: ver.version,
3437 MaxVersion: ver.version,
3455 for _, ver := range tlsVersions {
3457 addTestForCipherSuite(suite, ver, protocol)
3906 for _, ver := range tlsVersions {
3909 name: ver.name + "-Client-ClientAuth-RSA",
3911 MinVersion: ver.version,
3912 MaxVersion: ver.version,
3923 name: ver.name + "-Server-ClientAuth-RSA",
3925 MinVersion: ver.version,
3926 MaxVersion: ver.version,
3933 name: ver.name + "-Server-ClientAuth-ECDSA",
3935 MinVersion: ver.version,
3936 MaxVersion: ver.version,
3943 name: ver.name + "-Client-ClientAuth-ECDSA",
3945 MinVersion: ver.version,
3946 MaxVersion: ver.version,
3957 name: "NoClientCertificate-" + ver.name,
3959 MinVersion: ver.version,
3960 MaxVersion: ver.version,
3971 name: "NoClientCertificateRequested-Server-" + ver.name,
3973 MinVersion: ver.version,
3974 MaxVersion: ver.version,
3986 name: "NoClientCertificate-Server-" + ver.name,
3988 MinVersion: ver.version,
3989 MaxVersion: ver.version,
3999 if ver.version < VersionTLS13 {
4006 name: "RequireAnyClientCertificate-" + ver.name,
4008 MinVersion: ver.version,
4009 MaxVersion: ver.version,
4019 name: "SkipClientCertificate-" + ver.name,
4021 MinVersion: ver.version,
4022 MaxVersion: ver.version,
4035 name: "VerifyPeerIfNoOBC-NoChannelID-" + ver.name,
4037 MinVersion: ver.version,
4038 MaxVersion: ver.version,
4051 name: "VerifyPeerIfNoOBC-ChannelID-" + ver.name,
4053 MinVersion: ver.version,
4054 MaxVersion: ver.version,
4066 name: ver.name + "-Server-CertReq-CA-List",
4068 MinVersion: ver.version,
4069 MaxVersion: ver.version,
4083 name: ver.name + "-Client-CertReq-CA-List",
4085 MinVersion: ver.version,
4086 MaxVersion: ver.version,
4189 for _, ver := range tlsVersions {
4193 if with || ver.version >= VersionTLS13 {
4199 name: prefix + "ExtendedMasterSecret-" + ver.name + suffix,
4201 MinVersion: ver.version,
4202 MaxVersion: ver.version,
5415 for _, ver := range tlsVersions {
5416 if ver.version < VersionTLS10 {
5421 name: "ChannelID-Client-" + ver.name,
5423 MaxVersion: ver.version,
5434 name: "ChannelID-Server-" + ver.name,
5436 MaxVersion: ver.version,
5449 name: "InvalidChannelIDSignature-" + ver.name,
5451 MaxVersion: ver.version,
5462 if ver.version < VersionTLS13 {
5466 name: "ChannelID-NoECDHE-" + ver.name,
5468 MaxVersion: ver.version,
5479 name: "ChannelID-ECDHE-" + ver.name,
5481 MaxVersion: ver.version,
6325 for _, ver := range tlsVersions {
6329 name: "DuplicateExtensionClient-" + ver.name,
6331 MaxVersion: ver.version,
6341 name: "DuplicateExtensionServer-" + ver.name,
6343 MaxVersion: ver.version,
6355 name: "ServerNameExtensionClient-" + ver.name,
6357 MaxVersion: ver.version,
6366 name: "ServerNameExtensionClientMismatch-" + ver.name,
6368 MaxVersion: ver.version,
6379 name: "ServerNameExtensionClientMissing-" + ver.name,
6381 MaxVersion: ver.version,
6391 name: "TolerateServerNameAck-" + ver.name,
6393 MaxVersion: ver.version,
6403 name: "UnsolicitedServerNameAck-" + ver.name,
6405 MaxVersion: ver.version,
6416 name: "ServerNameExtensionServer-" + ver.name,
6418 MaxVersion: ver.version,
6428 name: "ALPNClient-" + ver.name,
6430 MaxVersion: ver.version,
6443 name: "ALPNClient-RejectUnknown-" + ver.name,
6445 MaxVersion: ver.version,
6459 name: "ALPNClient-AllowUnknown-" + ver.name,
6461 MaxVersion: ver.version,
6474 name: "ALPNServer-" + ver.name,
6476 MaxVersion: ver.version,
6489 name: "ALPNServer-Decline-" + ver.name,
6491 MaxVersion: ver.version,
6502 name: "ALPNServer-SelectEmpty-" + ver.name,
6504 MaxVersion: ver.version,
6520 name: "ALPNServer-Async-" + ver.name,
6522 MaxVersion: ver.version,
6525 SessionTicketsDisabled: ver.version < VersionTLS13,
6540 name: "ALPNClient-EmptyProtocolName-" + ver.name,
6542 MaxVersion: ver.version,
6558 name: "ALPNServer-EmptyProtocolName-" + ver.name,
6560 MaxVersion: ver.version,
6573 if ver.version < VersionTLS13 {
6577 name: "ALPNServer-Preferred-" + ver.name,
6579 MaxVersion: ver.version,
6593 name: "ALPNServer-Preferred-Swapped-" + ver.name,
6595 MaxVersion: ver.version,
6613 name: "NegotiateALPNAndNPN-" + ver.name,
6615 MaxVersion: ver.version,
6629 name: "NegotiateALPNAndNPN-Swapped-" + ver.name,
6631 MaxVersion: ver.version,
6653 name: "TokenBinding-Server-" + ver.name,
6656 MinVersion: ver.version,
6657 MaxVersion: ver.version,
6672 name: "TokenBinding-Server-UnsupportedParam-" + ver.name,
6675 MinVersion: ver.version,
6676 MaxVersion: ver.version,
6687 name: "TokenBinding-Server-OldVersion-" + ver.name,
6690 MinVersion: ver.version,
6691 MaxVersion: ver.version,
6702 name: "TokenBinding-Server-NewVersion-" + ver.name,
6705 MinVersion: ver.version,
6706 MaxVersion: ver.version,
6721 name: "TokenBinding-Server-NoParams-" + ver.name,
6724 MinVersion: ver.version,
6725 MaxVersion: ver.version,
6738 name: "TokenBinding-Server-RepeatedParam" + ver.name,
6741 MinVersion: ver.version,
6742 MaxVersion: ver.version,
6757 name: "TokenBinding-Client-" + ver.name,
6760 MinVersion: ver.version,
6761 MaxVersion: ver.version,
6775 name: "TokenBinding-Client-Unexpected-" + ver.name,
6778 MinVersion: ver.version,
6779 MaxVersion: ver.version,
6788 name: "TokenBinding-Client-ExtraParams-" + ver.name,
6791 MinVersion: ver.version,
6792 MaxVersion: ver.version,
6808 name: "TokenBinding-Client-NoParams-" + ver.name,
6811 MinVersion: ver.version,
6812 MaxVersion: ver.version,
6828 name: "TokenBinding-Client-WrongParam-" + ver.name,
6831 MinVersion: ver.version,
6832 MaxVersion: ver.version,
6848 name: "TokenBinding-Client-OldVersion-" + ver.name,
6851 MinVersion: ver.version,
6852 MaxVersion: ver.version,
6864 name: "TokenBinding-Client-MinVersion-" + ver.name,
6867 MinVersion: ver.version,
6868 MaxVersion: ver.version,
6882 name: "TokenBinding-Client-VersionTooNew-" + ver.name,
6885 MinVersion: ver.version,
6886 MaxVersion: ver.version,
6898 if ver.version < VersionTLS13 {
6901 name: "TokenBinding-Client-NoEMS-" + ver.name,
6904 MinVersion: ver.version,
6905 MaxVersion: ver.version,
6922 name: "TokenBinding-Server-NoEMS-" + ver.name,
6925 MinVersion: ver.version,
6926 MaxVersion: ver.version,
6942 name: "TokenBinding-Client-NoRI-" + ver.name,
6945 MinVersion: ver.version,
6946 MaxVersion: ver.version,
6963 name: "TokenBinding-Server-NoRI-" + ver.name,
6966 MinVersion: ver.version,
6967 MaxVersion: ver.version,
6984 name: "TokenBinding-WithEarlyDataFails-" + ver.name,
6986 MinVersion: ver.version,
6987 MaxVersion: ver.version,
7005 name: "TokenBinding-EarlyDataRejected-" + ver.name,
7007 MinVersion: ver.version,
7008 MaxVersion: ver.version,
7026 if ver.version >= VersionTLS13 {
7030 name: "QUICTransportParams-Client-" + ver.name,
7032 MinVersion: ver.version,
7033 MaxVersion: ver.version,
7047 name: "QUICTransportParams-Server-" + ver.name,
7049 MinVersion: ver.version,
7050 MaxVersion: ver.version,
7064 name: "QUICTransportParams-Client-NotSent-" + ver.name,
7066 MinVersion: ver.version,
7067 MaxVersion: ver.version,
7071 strconv.Itoa(int(ver.version)),
7078 name: "QUICTransportParams-Client-Rejected-" + ver.name,
7080 MinVersion: ver.version,
7081 MaxVersion: ver.version,
7093 name: "QUICTransportParams-Server-Rejected-" + ver.name,
7095 MinVersion: ver.version,
7096 MaxVersion: ver.version,
7108 name: "QUICTransportParams-OldServerIgnores-" + ver.name,
7114 "-min-version", ver.shimFlag(tls),
7115 "-max-version", ver.shimFlag(tls),
7125 name: "CorruptTicket-" + ver.name,
7127 MaxVersion: ver.version,
7141 name: "TicketCallback-" + ver.name,
7143 MaxVersion: ver.version,
7150 name: "TicketCallback-Renew-" + ver.name,
7152 MaxVersion: ver.version,
7166 name: "TicketCallback-SingleCall-" + ver.name,
7168 MaxVersion: ver.version,
7185 if ver.version < VersionTLS13 {
7188 name: "TicketSessionIDLength-0-" + ver.name,
7190 MaxVersion: ver.version,
7199 name: "TicketSessionIDLength-16-" + ver.name,
7201 MaxVersion: ver.version,
7210 name: "TicketSessionIDLength-32-" + ver.name,
7212 MaxVersion: ver.version,
7221 name: "TicketSessionIDLength-33-" + ver.name,
7223 MaxVersion: ver.version,
7237 if ver.hasDTLS {
7240 name: "SRTP-Client-" + ver.name,
7242 MaxVersion: ver.version,
7254 name: "SRTP-Server-" + ver.name,
7256 MaxVersion: ver.version,
7269 name: "SRTP-Server-IgnoreMKI-" + ver.name,
7271 MaxVersion: ver.version,
7288 name: "SRTP-Server-NoMatch-" + ver.name,
7290 MaxVersion: ver.version,
7303 name: "SRTP-Client-NoMatch-" + ver.name,
7305 MaxVersion: ver.version,
7321 name: "SignedCertificateTimestampList-Client-" + ver.name,
7324 MaxVersion: ver.version,
7341 name: "SendSCTListOnResume-" + ver.name,
7343 MaxVersion: ver.version,
7357 name: "SignedCertificateTimestampList-Server-" + ver.name,
7360 MaxVersion: ver.version,
7375 name: "SignedCertificateTimestampListEmpty-Client-" + ver.name,
7378 MaxVersion: ver.version,
7393 name: "SignedCertificateTimestampListEmptySCT-Client-" + ver.name,
7396 MaxVersion: ver.version,
7409 name: "UnsolicitedCertificateExtensions-" + ver.name,
7411 MaxVersion: ver.version,
8760 for _, ver := range tlsVersions {
8761 if (ver.version < VersionTLS12) != (alg.id == 0) {
8767 if ver.version >= VersionTLS13 && alg.id == signatureECDSAWithSHA1 {
8772 if ver.version >= VersionTLS13 && hasComponent(alg.name, "PKCS1") {
8778 if ver.version >= VersionTLS13 && alg.cert == testCertECDSAP224 {
8798 suffix := "-" + alg.name + "-" + ver.name
8803 MaxVersion: ver.version,
8827 MaxVersion: ver.version,
8857 MaxVersion: ver.version,
8880 MaxVersion: ver.version,
8911 MaxVersion: ver.version,
8932 MaxVersion: ver.version,
8951 if ver.version >= VersionTLS12 && !shouldSignFail {
8955 MaxVersion: ver.version,
8973 MaxVersion: ver.version,
8991 for _, ver := range tlsVersions {
8992 if ver.version < VersionTLS12 {
8996 name: "ClientAuth-PeerVerifyPrefs-" + ver.name,
8998 MaxVersion: ver.version,
9017 name: "ServerAuth-PeerVerifyPrefs-" + ver.name,
9019 MaxVersion: ver.version,
9810 for _, ver := range tlsVersions {
9811 if ver.version < VersionTLS12 {
9818 if ver.version < VersionTLS13 && expect == RSAPSSSupportOnlineSignatureOnly {
9826 if ver.version >= VersionTLS13 && expect == RSAPSSSupportNone {
9831 flags := []string{"-max-version", ver.shimFlag(tls)}
9834 name: fmt.Sprintf("RSAPSSSupport-%s-%s-Client", test.name, ver.name),
9836 MinVersion: ver.version,
9837 MaxVersion: ver.version,
9852 name: fmt.Sprintf("RSAPSSSupport-%s-%s-Server", test.name, ver.name),
9854 MinVersion: ver.version,
9855 MaxVersion: ver.version,
10589 for _, ver := range tlsVersions {
10590 if curve.id == CurveCECPQ2 && ver.version < VersionTLS13 {
10594 suffix := curve.name + "-" + ver.name
10599 MaxVersion: ver.version,
10617 MaxVersion: ver.version,
10636 MaxVersion: ver.version,
10655 MaxVersion: ver.version,
11411 for _, ver := range tlsVersions {
11413 useStatefulResumption := ver.version < VersionTLS13
11418 name: ver.name + "-NoTicket-NoMint",
11420 MinVersion: ver.version,
11421 MaxVersion: ver.version,
11434 name: ver.name + "-NoTicket-NoAccept",
11436 MinVersion: ver.version,
11437 MaxVersion: ver.version,
13901 for _, ver := range tlsVersions {
13904 name: "CheckRecordVersion-" + ver.name,
13906 MinVersion: ver.version,
13907 MaxVersion: ver.version,
13920 name: "LooseInitialRecordVersion-" + ver.name,
13922 MinVersion: ver.version,
13923 MaxVersion: ver.version,
13933 name: "GarbageInitialRecordVersion-" + ver.name,
13935 MinVersion: ver.version,
13936 MaxVersion: ver.version,
13948 for _, ver := range tlsVersions {
13953 name: "SendReceiveIntermediate-Client-" + ver.name,
13955 MinVersion: ver.version,
13956 MaxVersion: ver.version,
13970 name: "SendReceiveIntermediate-Server-" + ver.name,
13972 MinVersion: ver.version,
13973 MaxVersion: ver.version,
13988 name: "GarbageCertificate-Client-" + ver.name,
13990 MinVersion: ver.version,
13991 MaxVersion: ver.version,
14001 name: "GarbageCertificate-Server-" + ver.name,
14003 MinVersion: ver.version,
14004 MaxVersion: ver.version,
14016 for _, ver := range tlsVersions {
14022 name: "RetainOnlySHA256-NoCert-" + ver.name,
14024 MinVersion: ver.version,
14025 MaxVersion: ver.version,
14038 name: "RetainOnlySHA256-Cert-" + ver.name,
14040 MinVersion: ver.version,
14041 MaxVersion: ver.version,
14059 name: "RetainOnlySHA256-OnOff-" + ver.name,
14061 MinVersion: ver.version,
14062 MaxVersion: ver.version,
14079 name: "RetainOnlySHA256-OffOn-" + ver.name,
14081 MinVersion: ver.version,
14082 MaxVersion: ver.version,
14134 for _, ver := range tlsVersions {
14135 if ver.version < VersionTLS12 {
14141 name: "ECDSAKeyUsage-" + ver.name,
14143 MinVersion: ver.version,
14144 MaxVersion: ver.version,
14216 for _, ver := range tlsVersions {
14219 name: "RSAKeyUsage-WantSignature-GotEncipherment-" + ver.name,
14221 MinVersion: ver.version,
14222 MaxVersion: ver.version,
14235 name: "RSAKeyUsage-WantSignature-GotSignature-" + ver.name,
14237 MinVersion: ver.version,
14238 MaxVersion: ver.version,
14248 if ver.version < VersionTLS13 {
14251 name: "RSAKeyUsage-WantEncipherment-GotEncipherment" + ver.name,
14253 MinVersion: ver.version,
14254 MaxVersion: ver.version,
14265 name: "RSAKeyUsage-WantEncipherment-GotSignature-" + ver.name,
14267 MinVersion: ver.version,
14268 MaxVersion: ver.version,
14282 name: "RSAKeyUsage-WantSignature-GotEncipherment-Unenforced" + ver.name,
14284 MinVersion: ver.version,
14285 MaxVersion: ver.version,
14293 name: "RSAKeyUsage-WantEncipherment-GotSignature-Unenforced" + ver.name,
14295 MinVersion: ver.version,
14296 MaxVersion: ver.version,
14304 if ver.version >= VersionTLS13 {
14308 name: "RSAKeyUsage-WantSignature-GotEncipherment-Enforced" + ver.name,
14310 MinVersion: ver.version,
14311 MaxVersion: ver.version,
14444 for _, ver := range tlsVersions {
14445 if ver.version > VersionTLS12 {
14451 name: "OmitExtensions-ClientHello-" + ver.name,
14453 MinVersion: ver.version,
14454 MaxVersion: ver.version,
14467 name: "EmptyExtensions-ClientHello-" + ver.name,
14469 MinVersion: ver.version,
14470 MaxVersion: ver.version,
14483 name: "OmitExtensions-ServerHello-" + ver.name,
14485 MinVersion: ver.version,
14486 MaxVersion: ver.version,
14502 name: "EmptyExtensions-ServerHello-" + ver.name,
14504 MinVersion: ver.version,
14505 MaxVersion: ver.version,
14566 for _, ver := range tlsVersions {
14567 if ver.version < VersionTLS12 {
14575 name: "DuplicateCertCompressionExt-" + ver.name,
14577 MinVersion: ver.version,
14578 MaxVersion: ver.version,
14591 name: "DuplicateCertCompressionExt2-" + ver.name,
14594 MinVersion: ver.version,
14595 MaxVersion: ver.version,
14604 if ver.version < VersionTLS13 {
14607 name: "CertCompressionIgnoredBefore13-" + ver.name,
14610 MinVersion: ver.version,
14611 MaxVersion: ver.version,
14621 name: "CertCompressionExpands-" + ver.name,
14624 MinVersion: ver.version,
14625 MaxVersion: ver.version,
14635 name: "CertCompressionShrinks-" + ver.name,
14638 MinVersion: ver.version,
14639 MaxVersion: ver.version,
14651 name: "CertCompressionPriority-" + ver.name,
14654 MinVersion: ver.version,
14655 MaxVersion: ver.version,
14668 name: "CertCompressionExpandsClient-" + ver.name,
14671 MinVersion: ver.version,
14672 MaxVersion: ver.version,
14684 name: "CertCompressionShrinksClient-" + ver.name,
14687 MinVersion: ver.version,
14688 MaxVersion: ver.version,
14700 name: "CertCompressionBadAlgIdClient-" + ver.name,
14703 MinVersion: ver.version,
14704 MaxVersion: ver.version,
14719 name: "CertCompressionTooSmallClient-" + ver.name,
14722 MinVersion: ver.version,
14723 MaxVersion: ver.version,
14738 name: "CertCompressionTooLargeClient-" + ver.name,
14741 MinVersion: ver.version,
14742 MaxVersion: ver.version,