Be more precise about the user/peer ID limitation
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
(cherry picked from commit 84a9b26b88c81ec5abc3f7e156acdbcca2664f08)
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
diff --git a/include/psa/crypto_extra.h b/include/psa/crypto_extra.h
index 7ec110a..a710397 100644
--- a/include/psa/crypto_extra.h
+++ b/include/psa/crypto_extra.h
@@ -767,7 +767,8 @@
* - The only supported hash algorithm is SHA-256, i.e.
* `PSA_ALG_SHA_256`.
* - When using the built-in implementation, the user ID and the peer ID
- * must be `"client"` (6-byte string) or `"server"` (6-byte string).
+ * must be `"client"` (6-byte string) and `"server"` (6-byte string),
+ * or the other way round.
* Third-party drivers may or may not have this limitation.
*
*/