Miscellaneous SPAKE2+ support APIs#120
Conversation
|
Some feedback would be very welcome from @silabs-Kusumit, @silabs-hannes, @oberon-sk, and @yanesca; given your involvement in the PAKE API development. Note some differences to #73, and other fallout:
|
Note: the size of the output for SPAKE2+ depends on the primitive (for the key share step), and the MAC (for the confirmation step). It does not require the hash algorithm. However, other PAKE protocols (e.g SRP) do not use a MAC, and use the output of the cipher-suite hash algorithm for the confirmation step. |
|
LGTM |
Approach in #124 looks better and output size macros requiring MAC for SPAKE2+ is also resolved. We can remove MAC from the ciphersuite. |
6db9942 to
8f33664
Compare
|
Rebased, and removed the unnecessary MAC attribute of the cipher-suite. MAC parameterization of a PAKE cipher-suite will be part of the algorithm identifier. |
For SPAKE2+, we need some additions to the PAKE API (also see #73):