You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ed25519.go 196B

123456789101112
  1. // +build go1.13
  2. package webauthncose
  3. import (
  4. "crypto/ed25519"
  5. "crypto/x509"
  6. )
  7. func marshalEd25519PublicKey(pub ed25519.PublicKey) ([]byte, error) {
  8. return x509.MarshalPKIXPublicKey(pub)
  9. }