Lines Matching refs:PSA_ASSERT
21 PSA_ASSERT(psa_crypto_init());
23 PSA_ASSERT(psa_hash_setup(&operation, alg));
24 PSA_ASSERT(psa_hash_update(&operation,
26 PSA_ASSERT(psa_hash_finish(&operation,
52 PSA_ASSERT(psa_crypto_init());
57 PSA_ASSERT(psa_import_key(&attributes, key_data, sizeof(key_data), &key));
63 PSA_ASSERT(psa_mac_compute(key, alg, (uint8_t const *) input, input_len, mac, sizeof(mac),
70 PSA_ASSERT(psa_mac_verify(key, alg, (uint8_t const *) input, input_len, expected_mac->x,
78 PSA_ASSERT(psa_destroy_key(key));
90 PSA_ASSERT(psa_crypto_init());
92 PSA_ASSERT(psa_hash_setup(&operation, alg));
93 PSA_ASSERT(psa_hash_update(&operation,
96 PSA_ASSERT(psa_hash_verify(&operation,
116 PSA_ASSERT(psa_crypto_init());
120 PSA_ASSERT(psa_hash_setup(&operation, alg));
122 PSA_ASSERT(psa_hash_update(&operation,
124 PSA_ASSERT(psa_hash_clone(&operation, &operation2));
125 PSA_ASSERT(psa_hash_update(&operation,
127 PSA_ASSERT(psa_hash_update(&operation2,
130 PSA_ASSERT(psa_hash_finish(&operation,
136 PSA_ASSERT(psa_hash_finish(&operation2,