Be more precise about the user/peer ID limitation

Signed-off-by: Gilles Peskine <[email protected]>
(cherry picked from commit 84a9b26b88)
Signed-off-by: Minos Galanakis <[email protected]>
This commit is contained in:
Gilles Peskine
2025-10-10 18:04:55 +01:00
committed by Minos Galanakis
parent 7e81fe32d0
commit 0c4a951b37
+2 -1
View File
@@ -767,7 +767,8 @@ int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg);
* - 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.
*
*/