Lines Matching full:ciphertext
65 const char *ciphertext;
305 *nonce = NULL, *ciphertext = NULL, *tag = NULL, *out = NULL;
316 !decode_hex(&ciphertext, &ciphertext_len, test->ciphertext, test_num,
317 "ciphertext") ||
323 fprintf(stderr, "%u: plaintext and ciphertext have differing lengths.\n",
357 (ciphertext && memcmp(out, ciphertext, plaintext_len) != 0)) {
360 hexdump(stderr, "want:", ciphertext, plaintext_len);
369 if (ciphertext) {
370 CRYPTO_gcm128_decrypt(&ctx, &aes_key, ciphertext, out, plaintext_len);
388 OPENSSL_free(ciphertext);