The return type should be `psa_algorithm_t` and not `psa_pake_primitive_t`. See [`psa_pake_cs_get_hash()`](https://arm-software.github.io/psa-api/crypto/1.1/ext-pake/api/pake.html#c.psa_pake_cs_get_hash). These are both typedefs of `uint32_t`, and the defect does not result in compilation issues, merely in comprehension of the API.
The return type should be
psa_algorithm_tand notpsa_pake_primitive_t. Seepsa_pake_cs_get_hash().These are both typedefs of
uint32_t, and the defect does not result in compilation issues, merely in comprehension of the API.