keripy icon indicating copy to clipboard operation
keripy copied to clipboard

Some Ed448 sizes appear to be incorrect in `Matter`

Open jasoncolburne opened this issue 2 years ago • 0 comments

It was noticed during a spike integration in cesride that the Ed448_Seed, X448 and Ed448_Sig sizes are incorrect.

The PR linked has more details and a working solution, but effectively these are the available raw sizes:

  • Ed448_Seed: 56 octets
  • X448: 56 octets
  • Ed448_Sig: 39 octets (? this is from memory but it's way too small in any case)

These are the required sizes:

  • Ed448_Seed: 57 octets
  • X448: 57 octets
  • Ed448_Sig: 114 octets

The public key sizes looked correct.

The values were copied from KERIpy, and I verified they are incorrect there as well.

jasoncolburne avatar Mar 07 '23 15:03 jasoncolburne