ed448 icon indicating copy to clipboard operation
ed448 copied to clipboard

public key size is 56 bytes, but not 57 bytes

Open SashaZezulinsky opened this issue 4 years ago • 1 comments

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?

SashaZezulinsky avatar Jan 27 '21 10:01 SashaZezulinsky

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?

claucece avatar Jan 27 '21 12:01 claucece