This issue has been replicated from a posting to the psa-crypto@lists.trustedfirmware.org mailing list, originally submitted by Oberon.
The PAKE input and output size macros are defined with the argument list (alg, primitive, step). However, some input/output values depend on the digest size of the selected hash algorithm. This holds for instance for a SPAKE2+ confirmation key or the SRP client/server proofs.
It is therefore mandatory to include either the hash algorithm or the hash size in the argument list of the two macros.
This issue has been replicated from a posting to the psa-crypto@lists.trustedfirmware.org mailing list, originally submitted by Oberon.
The PAKE input and output size macros are defined with the argument list
(alg, primitive, step). However, some input/output values depend on the digest size of the selected hash algorithm. This holds for instance for a SPAKE2+ confirmation key or the SRP client/server proofs.It is therefore mandatory to include either the hash algorithm or the hash size in the argument list of the two macros.