in tfm_svcall_psa_wait()
if ((timeout == PSA_BLOCK) && ((partition->signals & signal_mask) == 0)) { tfm_event_wait(&partition->signal_event); }
the thread could be awaken by a signal without changing the partition signals causing the function to return 0 on PSA_BLOCK