Lines Matching refs:zero
53 * \return 1 if the buffer is all-bits-zero.
326 * \param is_encrypt If non-zero this is an encryption operation.
327 * \param do_zero_parts If non-zero, interleave zero length chunks
329 * \return int Zero on failure, non-zero on success.
585 * \param is_verify If non-zero this is a verify operation.
586 * \param do_zero_parts If non-zero, interleave zero length chunks
588 * \return int Zero on failure, non-zero on success.
2113 psa_key_attributes_t zero;
2115 memset(&zero, 0, sizeof(zero));
2119 TEST_EQUAL(psa_get_key_lifetime(&zero), PSA_KEY_LIFETIME_VOLATILE);
2123 TEST_EQUAL(psa_get_key_type(&zero), 0);
2127 TEST_EQUAL(psa_get_key_bits(&zero), 0);
2131 TEST_EQUAL(psa_get_key_usage_flags(&zero), 0);
2135 TEST_EQUAL(psa_get_key_algorithm(&zero), 0);
2922 psa_hash_operation_t zero;
2924 memset(&zero, 0, sizeof(zero));
2931 TEST_EQUAL(psa_hash_update(&zero, input, sizeof(input)),
2937 PSA_ASSERT(psa_hash_abort(&zero));
3442 psa_mac_operation_t zero;
3444 memset(&zero, 0, sizeof(zero));
3453 TEST_EQUAL(psa_mac_update(&zero,
3460 PSA_ASSERT(psa_mac_abort(&zero));
3867 psa_cipher_operation_t zero;
3869 memset(&zero, 0, sizeof(zero));
3882 TEST_EQUAL(psa_cipher_update(&zero,
3891 PSA_ASSERT(psa_cipher_abort(&zero));
4355 /* Usage of either of these two size macros would cause divide by zero
5600 /* -1 == zero length and valid buffer, 0 = zero length and NULL buffer. */
5602 /* Arbitrary size buffer, to test zero length valid buffer. */
5606 /* If length is zero, then this will return NULL. */
6566 /* Test for not sending any additional data or data after setting non zero
6585 /* Test for not sending any additional data or data after setting non-zero
6604 /* Test for not sending any additional data after setting a non-zero length
6621 /* Test for not sending any data after setting a non-zero length for it.*/
6854 * 3. Test that the number of ops done prior to start and after abort is zero
7029 * 3. Test that the number of ops done prior to start and after abort is zero
7251 * is zero and that each successful signing stage completes some ops (this is
7451 * 3. Test that the number of ops done prior to start and after abort is zero
7617 * 3. Test that the number of ops done prior to start and after abort is zero
8741 psa_key_derivation_operation_t zero;
8743 memset(&zero, 0, sizeof(zero));
8750 TEST_EQUAL(psa_key_derivation_get_capacity(&zero, &capacity),
8756 PSA_ASSERT(psa_key_derivation_abort(&zero));
10345 psa_key_production_parameters_t zero;
10346 memset(&zero, 0, sizeof(zero));
10349 TEST_EQUAL(zero.flags, 0);