Lines Matching refs:PSA_CHECK
86 #define PSA_CHECK(expr) \
133 PSA_CHECK(psa_mac_sign_setup(&op, key, alg));
134 PSA_CHECK(psa_mac_update(&op, msg1_part1, sizeof(msg1_part1)));
135 PSA_CHECK(psa_mac_update(&op, msg1_part2, sizeof(msg1_part2)));
136 PSA_CHECK(psa_mac_sign_finish(&op, out, sizeof(out), &out_len));
140 PSA_CHECK(psa_mac_sign_setup(&op, key, alg));
141 PSA_CHECK(psa_mac_update(&op, msg2_part1, sizeof(msg2_part1)));
142 PSA_CHECK(psa_mac_update(&op, msg2_part2, sizeof(msg2_part2)));
143 PSA_CHECK(psa_mac_sign_finish(&op, out, sizeof(out), &out_len));
159 PSA_CHECK(psa_crypto_init());
162 PSA_CHECK(hmac_demo());