Home
last modified time | relevance | path

Searched refs:ciphertext (Results 1 – 8 of 8) sorted by relevance

/qemu/tests/unit/
H A Dtest-crypto-cipher.c54 .ciphertext =
71 .ciphertext =
90 .ciphertext =
108 .ciphertext =
126 .ciphertext =
146 .ciphertext =
185 .ciphertext =
210 .ciphertext =
230 .ciphertext =
275 .ciphertext =
[all …]
H A Dtest-crypto-akcipher.c684 const uint8_t *ciphertext; member
800 .ciphertext = exp_ciphertext_rsa1024_raw,
821 .ciphertext = exp_ciphertext_rsa1024_pkcs1,
845 .ciphertext = exp_ciphertext_rsa2048_raw,
866 .ciphertext = exp_ciphertext_rsa2048_pkcs1,
880 g_autofree uint8_t *ciphertext = NULL; in test_akcipher() local
900 ciphertext = g_new0(uint8_t, data->clen); in test_akcipher()
902 ciphertext, data->clen, in test_akcipher()
911 g_assert(qcrypto_akcipher_decrypt(priv_key, ciphertext, in test_akcipher()
/qemu/tests/bench/
H A Dbenchmark-crypto-cipher.c25 uint8_t *plaintext = NULL, *ciphertext = NULL; in test_cipher_speed() local
47 ciphertext = g_new0(uint8_t, chunk_size); in test_cipher_speed()
66 ciphertext, in test_cipher_speed()
83 ciphertext, in test_cipher_speed()
97 g_free(ciphertext); in test_cipher_speed()
/qemu/crypto/
H A Dsecret_common.c40 g_autofree uint8_t *ciphertext = NULL; in qcrypto_secret_decrypt() local
87 ciphertext = qbase64_decode((const gchar *)input, in qcrypto_secret_decrypt()
91 if (!ciphertext) { in qcrypto_secret_decrypt()
100 ciphertext ? ciphertext : input, in qcrypto_secret_decrypt()
H A Dakcipher-gcrypt.c.inc262 error_setg(errp, "Invalid ciphertext result");
269 error_setg(errp, "Invalid ciphertext result");
295 error_setg(errp, "Invalid ciphertext result");
338 error_setg(errp, "Failed to build ciphertext: %s/%s",
/qemu/docs/system/
H A Dsecrets.rst109 the secret with ``masterkey.data`` and then base64 encoding the ciphertext.
/qemu/qapi/
H A Dmisc-target.json32 # @launch-secret: The guest is currently being launched; ciphertext
H A Dcrypto.json119 # @xts: XEX with tweaked code book and ciphertext stealing