Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public key size is 56 bytes, but not 57 bytes #8

Open
SashaZezulinsky opened this issue Jan 27, 2021 · 1 comment
Open

public key size is 56 bytes, but not 57 bytes #8

SashaZezulinsky opened this issue Jan 27, 2021 · 1 comment

Comments

@SashaZezulinsky
Copy link

otrv4/ed448 public key size is 56 bytes, private key size is 144 bytes, signature is 112 bytes

According the rfc8032 standard: https://tools.ietf.org/html/rfc8032

  1. EdDSA uses small public keys (32 or 57 bytes) and signatures (64 or 114 bytes) for Ed25519 and Ed448, respectively;

Why are pub/priv/sig sizes for otrv4/ed448 are so different from a rfc8032 standard?
What standard does otrv4/ed448 implementation follow?

@claucece
Copy link
Member

Hi, @SashaZezulinsky .

The code that implements eddsa as per the RFC is here: https://github.com/otrv4/ed448/blob/master/eddsa.go and it is 57 and 114 bytes.

What are you referring to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants