Lines Matching refs:ciphertext
4244 data_t *plaintext, data_t *ciphertext)
4259 TEST_LE_U(ciphertext->len,
4264 PSA_CIPHER_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext->len));
4265 TEST_LE_U(PSA_CIPHER_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext->len),
4266 PSA_CIPHER_DECRYPT_OUTPUT_MAX_SIZE(ciphertext->len));
4313 TEST_MEMORY_COMPARE(ciphertext->x, ciphertext->len,
4321 ciphertext->x, ciphertext->len,
4339 TEST_MEMORY_COMPARE(ciphertext->x, ciphertext->len,
4344 PSA_ASSERT(psa_cipher_decrypt(key, alg, ciphertext->x, ciphertext->len,
5477 unsigned char *ciphertext = NULL;
5503 TEST_CALLOC(ciphertext, ciphertext_size);
5544 PSA_ASSERT(psa_aead_finish(&operation, ciphertext, ciphertext_size,
5552 mbedtls_free(ciphertext);
5577 unsigned char *ciphertext = NULL;
5606 TEST_CALLOC(ciphertext, ciphertext_size);
5665 TEST_EQUAL(psa_aead_finish(&operation, ciphertext, ciphertext_size,
5674 mbedtls_free(ciphertext);
5699 unsigned char *ciphertext = NULL;
5721 TEST_CALLOC(ciphertext, ciphertext_size);
5750 PSA_ASSERT(psa_aead_finish(&operation, ciphertext, ciphertext_size,
5758 mbedtls_free(ciphertext);
5782 unsigned char *ciphertext = NULL;
5804 TEST_CALLOC(ciphertext, ciphertext_size);
5831 ciphertext, ciphertext_size, &ciphertext_length));
5843 mbedtls_free(ciphertext);
8573 /* Determine the maximum ciphertext length */
8595 /* We don't know what ciphertext length to expect, but check that
8650 /* Determine the maximum ciphertext length */