Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for ed25519 (0.15 sec)

  1. src/crypto/ed25519/ed25519.go

    			return errors.New("ed25519: invalid signature")
    		}
    		return nil
    	default:
    		return errors.New("ed25519: expected opts.Hash zero (unhashed message, for standard Ed25519) or SHA-512 (for Ed25519ph)")
    	}
    }
    
    func verify(publicKey PublicKey, message, sig []byte, domPrefix, context string) bool {
    	if l := len(publicKey); l != PublicKeySize {
    		panic("ed25519: bad public key length: " + strconv.Itoa(l))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/crypto/tls/testdata/Client-TLSv13-Ed25519

    Roland Shoemaker <******@****.***> 1715710936 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/crypto/tls/testdata/Client-TLSv12-Ed25519

    Roland Shoemaker <******@****.***> 1715710936 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/crypto/tls/testdata/Client-TLSv13-ClientCert-Ed25519

    Roland Shoemaker <******@****.***> 1715710936 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/crypto/tls/testdata/Client-TLSv12-ClientCert-Ed25519

    Roland Shoemaker <******@****.***> 1715710936 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/crypto/x509/pkcs8.go

    			return nil, errors.New("x509: invalid Ed25519 private key parameters")
    		}
    		var curvePrivateKey []byte
    		if _, err := asn1.Unmarshal(privKey.PrivateKey, &curvePrivateKey); err != nil {
    			return nil, fmt.Errorf("x509: invalid Ed25519 private key: %v", err)
    		}
    		if l := len(curvePrivateKey); l != ed25519.SeedSize {
    			return nil, fmt.Errorf("x509: invalid Ed25519 private key length: %d", l)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. src/crypto/tls/auth.go

    			return errors.New("ECDSA verification failure")
    		}
    	case signatureEd25519:
    		pubKey, ok := pubkey.(ed25519.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an Ed25519 public key, got %T", pubkey)
    		}
    		if !ed25519.Verify(pubKey, signed, sig) {
    			return errors.New("Ed25519 verification failure")
    		}
    	case signaturePKCS1v15:
    		pubKey, ok := pubkey.(*rsa.PublicKey)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. internal/config/identity/openid/jwks.go

    			Curve: curve,
    			X:     &x,
    			Y:     &y,
    		}, nil
    	default:
    		if key.Alg == "EdDSA" && key.Crv == "Ed25519" && key.X != "" {
    			pb, err := base64.RawURLEncoding.DecodeString(key.X)
    			if err != nil {
    				return nil, errMalformedJWKECKey
    			}
    			return ed25519.PublicKey(pb), nil
    		}
    		return nil, fmt.Errorf("Unknown JWK key type %s", key.Kty)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/crypto/tls/defaults.go

    var tlskyber = godebug.New("tlskyber")
    
    func defaultCurvePreferences() []CurveID {
    	if tlskyber.Value() == "0" {
    		return []CurveID{X25519, CurveP256, CurveP384, CurveP521}
    	}
    	// For now, x25519Kyber768Draft00 must always be followed by X25519.
    	return []CurveID{x25519Kyber768Draft00, X25519, CurveP256, CurveP384, CurveP521}
    }
    
    // defaultSupportedSignatureAlgorithms contains the signature and hash algorithms that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. cmd/testdata/dillon_test_key.pub

    ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDVGk/SRz4fwTPK0+Ra7WYUGf3o08YkpI0yTMPpHwYoq ******@****.***...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 99 bytes
    - Viewed (0)
Back to top