Lines Matching refs:status
61 psa_status_t status;
69 status = psa_crypto_init();
70 if (status != PSA_SUCCESS) {
76 status = psa_hash_setup(&hash_operation, HASH_ALG);
77 if (status == PSA_ERROR_NOT_SUPPORTED) {
80 } else if (status != PSA_SUCCESS) {
85 status = psa_hash_update(&hash_operation, sample_message, sample_message_length);
86 if (status != PSA_SUCCESS) {
91 status = psa_hash_clone(&hash_operation, &cloned_hash_operation);
92 if (status != PSA_SUCCESS) {
97 status = psa_hash_finish(&hash_operation, hash, sizeof(hash), &hash_length);
98 if (status != PSA_SUCCESS) {
110 status =
113 if (status != PSA_SUCCESS) {
125 status = psa_hash_compute(HASH_ALG,
129 if (status != PSA_SUCCESS) {