Lines Matching refs:sigAlg
38 for _, sigAlg := range config.signSignatureAlgorithms() {
39 if !isSupportedSignatureAlgorithm(sigAlg, peerSigAlgs) {
43 signer, err := getSigner(version, key, config, sigAlg, false)
49 return sigAlg, nil
55 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, …
63 signer, err := getSigner(version, key, config, sigAlg, false)
71 func verifyMessage(version uint16, key crypto.PublicKey, config *Config, sigAlg signatureAlgorithm,…
72 …if version >= VersionTLS12 && !isSupportedSignatureAlgorithm(sigAlg, config.verifySignatureAlgorit…
76 signer, err := getSigner(version, key, config, sigAlg, true)
276 func getSigner(version uint16, key interface{}, config *Config, sigAlg signatureAlgorithm, isVerify…
291 sigAlg = config.Bugs.UseLegacySigningAlgorithm
294 switch sigAlg {
333 return nil, fmt.Errorf("unsupported signature algorithm %04x", sigAlg)