Open ryandotsmith opened 1 year ago
Also, there might need to be a definition for auth-padding
and clarification on auth-size
.
Is auth-size = len(auth-body || auth-padding)
instead of size of enc-auth-bod
Ah, I suppose that auth-size can be known prior to ecies encryption using: len(auth-body || auth-padding) + 113
. Does that sound correct?
Ah, I suppose that auth-size can be known prior to ecies encryption using:
len(auth-body || auth-padding) + 113
. Does that sound correct?
Yes, 113 is the fixed ecies overhead which can be used to pre-calculate the total size.
Looking at various implementations, it seems like sig is:
and shared-secret is: