Lines Matching refs:plaintext
4224 data_t *plaintext, data_t *ciphertext)
4240 PSA_CIPHER_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext->len));
4241 TEST_LE_U(PSA_CIPHER_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext->len),
4242 PSA_CIPHER_ENCRYPT_OUTPUT_MAX_SIZE(plaintext->len));
4243 TEST_LE_U(plaintext->len,
4257 plaintext->len);
4283 plaintext->x, plaintext->len,
4311 TEST_MEMORY_COMPARE(plaintext->x, plaintext->len,
4316 PSA_ASSERT(psa_cipher_encrypt(key, alg, plaintext->x, plaintext->len,
4327 TEST_MEMORY_COMPARE(plaintext->x, plaintext->len,
4692 /* Allocate input buffer and copy the iv and the plaintext */
4782 /* Allocate input buffer and copy the iv and the plaintext */
5850 unsigned char *plaintext = NULL;
5873 TEST_CALLOC(plaintext, plaintext_size);
5907 plaintext, plaintext_size,
5924 mbedtls_free(plaintext);
6349 /* Test for setting nonce after calling set lengths with plaintext length of SIZE_MAX */
6368 /* Test for calling set lengths with a plaintext length of SIZE_MAX, after setting nonce */
8568 * the original plaintext because of the non-optional random