Lines Matching refs:capacity
8738 size_t capacity;
8745 /* A default operation should not be able to report its capacity. */
8746 TEST_EQUAL(psa_key_derivation_get_capacity(&func, &capacity),
8748 TEST_EQUAL(psa_key_derivation_get_capacity(&init, &capacity),
8750 TEST_EQUAL(psa_key_derivation_get_capacity(&zero, &capacity),
8783 size_t capacity = capacity_arg;
8791 TEST_EQUAL(psa_key_derivation_set_capacity(&operation, capacity),
8938 size_t capacity = sizeof(buffer);
8958 capacity, 0)) {
8966 PSA_ASSERT(psa_key_derivation_output_bytes(&operation, buffer, capacity));
8968 TEST_EQUAL(psa_key_derivation_output_bytes(&operation, buffer, capacity),
8983 size_t capacity = 0;
8990 TEST_ASSERT(psa_key_derivation_get_capacity(&operation, &capacity)
8999 TEST_ASSERT(psa_key_derivation_get_capacity(&operation, &capacity)
9300 /* Check that the operation refuses to go over capacity. */
9316 int capacity, int expected_capacity_status_arg,
9333 TEST_EQUAL(psa_key_derivation_set_capacity(&operation, capacity),
9377 size_t capacity = PSA_BITS_TO_BYTES(derived_bits);
9394 capacity, 0)) {
9442 size_t capacity = bytes1 + bytes2;
9450 TEST_CALLOC(output_buffer, capacity);
9451 TEST_CALLOC(export_buffer, capacity);
9464 capacity, 0)) {
9470 capacity));
9477 capacity, 0)) {
9502 export_buffer, capacity);
9930 /* Test the advertised capacity. */
9935 /* Test the actual capacity by reading the output. */