Lines Matching refs:PSA_CHECK
74 #define PSA_CHECK(expr) \ macro
121 PSA_CHECK(psa_mac_sign_setup(&op, key, alg)); in hmac_demo()
122 PSA_CHECK(psa_mac_update(&op, msg1_part1, sizeof(msg1_part1))); in hmac_demo()
123 PSA_CHECK(psa_mac_update(&op, msg1_part2, sizeof(msg1_part2))); in hmac_demo()
124 PSA_CHECK(psa_mac_sign_finish(&op, out, sizeof(out), &out_len)); in hmac_demo()
128 PSA_CHECK(psa_mac_sign_setup(&op, key, alg)); in hmac_demo()
129 PSA_CHECK(psa_mac_update(&op, msg2_part1, sizeof(msg2_part1))); in hmac_demo()
130 PSA_CHECK(psa_mac_update(&op, msg2_part2, sizeof(msg2_part2))); in hmac_demo()
131 PSA_CHECK(psa_mac_sign_finish(&op, out, sizeof(out), &out_len)); in hmac_demo()
147 PSA_CHECK(psa_crypto_init()); in main()
150 PSA_CHECK(hmac_demo()); in main()