Lines Matching refs:zero

75  * \return          1 if the buffer is all-bits-zero.
348 * \param is_encrypt If non-zero this is an encryption operation.
349 * \param do_zero_parts If non-zero, interleave zero length chunks
351 * \return int Zero on failure, non-zero on success.
607 * \param is_verify If non-zero this is a verify operation.
608 * \param do_zero_parts If non-zero, interleave zero length chunks
610 * \return int Zero on failure, non-zero on success.
2133 psa_key_attributes_t zero;
2135 memset(&zero, 0, sizeof(zero));
2139 TEST_EQUAL(psa_get_key_lifetime(&zero), PSA_KEY_LIFETIME_VOLATILE);
2143 TEST_EQUAL(psa_get_key_type(&zero), 0);
2147 TEST_EQUAL(psa_get_key_bits(&zero), 0);
2151 TEST_EQUAL(psa_get_key_usage_flags(&zero), 0);
2155 TEST_EQUAL(psa_get_key_algorithm(&zero), 0);
2942 psa_hash_operation_t zero;
2944 memset(&zero, 0, sizeof(zero));
2951 TEST_EQUAL(psa_hash_update(&zero, input, sizeof(input)),
2957 PSA_ASSERT(psa_hash_abort(&zero));
3462 psa_mac_operation_t zero;
3464 memset(&zero, 0, sizeof(zero));
3473 TEST_EQUAL(psa_mac_update(&zero,
3480 PSA_ASSERT(psa_mac_abort(&zero));
3887 psa_cipher_operation_t zero;
3889 memset(&zero, 0, sizeof(zero));
3902 TEST_EQUAL(psa_cipher_update(&zero,
3911 PSA_ASSERT(psa_cipher_abort(&zero));
4375 /* Usage of either of these two size macros would cause divide by zero
5620 /* -1 == zero length and valid buffer, 0 = zero length and NULL buffer. */
5622 /* Arbitrary size buffer, to test zero length valid buffer. */
5626 /* If length is zero, then this will return NULL. */
6586 /* Test for not sending any additional data or data after setting non zero
6605 /* Test for not sending any additional data or data after setting non-zero
6624 /* Test for not sending any additional data after setting a non-zero length
6641 /* Test for not sending any data after setting a non-zero length for it.*/
6874 * 3. Test that the number of ops done prior to start and after abort is zero
7049 * 3. Test that the number of ops done prior to start and after abort is zero
7271 * is zero and that each successful signing stage completes some ops (this is
7471 * 3. Test that the number of ops done prior to start and after abort is zero
7637 * 3. Test that the number of ops done prior to start and after abort is zero
8761 psa_key_derivation_operation_t zero;
8763 memset(&zero, 0, sizeof(zero));
8770 TEST_EQUAL(psa_key_derivation_get_capacity(&zero, &capacity),
8776 PSA_ASSERT(psa_key_derivation_abort(&zero));
10229 psa_key_production_parameters_t zero;
10230 memset(&zero, 0, sizeof(zero));
10233 TEST_EQUAL(zero.flags, 0);