Searched refs:plaintext (Results 1 – 12 of 12) sorted by relevance
/qemu/tests/unit/ |
H A D | test-crypto-cipher.c | 33 const char *plaintext; member 49 .plaintext = 66 .plaintext = 85 .plaintext = 103 .plaintext = 121 .plaintext = 141 .plaintext = 154 * Testing 'password' as plaintext fits 162 .plaintext = "70617373776f7264", 172 .plaintext 655 *plaintext = NULL, *outtext = NULL; test_cipher() local 749 uint8_t plaintext[32] = { 0 }; test_cipher_null_iv() local [all...] |
H A D | test-crypto-akcipher.c | 682 const uint8_t *plaintext; member 798 .plaintext = test_plaintext, 819 .plaintext = test_plaintext, 843 .plaintext = test_plaintext, 864 .plaintext = test_plaintext, 879 g_autofree uint8_t *plaintext = NULL; in test_akcipher() local 898 if (data->plaintext != NULL) { in test_akcipher() 901 g_assert(qcrypto_akcipher_encrypt(pub_key, data->plaintext, data->plen, in test_akcipher() 908 * plaintext in test_akcipher() 910 plaintext in test_akcipher() [all...] |
/qemu/crypto/ |
H A D | secret_common.c | 43 g_autofree uint8_t *plaintext = NULL; in qcrypto_secret_decrypt() local 94 plaintext = g_new0(uint8_t, ciphertextlen + 1); in qcrypto_secret_decrypt() 97 plaintext = g_new0(uint8_t, inputlen + 1); in qcrypto_secret_decrypt() 101 plaintext, in qcrypto_secret_decrypt() 107 if (plaintext[ciphertextlen - 1] > 16 || in qcrypto_secret_decrypt() 108 plaintext[ciphertextlen - 1] > ciphertextlen) { in qcrypto_secret_decrypt() 111 (int)plaintext[ciphertextlen - 1]); in qcrypto_secret_decrypt() 116 * Even though plaintext may contain arbitrary NUL in qcrypto_secret_decrypt() 119 ciphertextlen -= plaintext[ciphertextlen - 1]; in qcrypto_secret_decrypt() 120 plaintext[ciphertextle in qcrypto_secret_decrypt() [all...] |
H A D | akcipher-gcrypt.c.inc | 247 error_setg(errp, "Failed to build plaintext: %s/%s", 350 /* S-expression of plaintext: (value plaintext) */ 354 error_setg(errp, "Invalid plaintext result"); 377 error_setg(errp, "Invalid plaintext result");
|
/qemu/tests/bench/ |
H A D | benchmark-crypto-cipher.c | 25 uint8_t *plaintext = NULL, *ciphertext = NULL; in test_cipher_speed() local 49 plaintext = g_new0(uint8_t, chunk_size); in test_cipher_speed() 50 memset(plaintext, g_test_rand_int(), chunk_size); in test_cipher_speed() 65 plaintext, in test_cipher_speed() 82 plaintext, in test_cipher_speed() 96 g_free(plaintext); in test_cipher_speed()
|
/qemu/docs/system/i386/ |
H A D | amd-memory-encryption.rst | 46 The guest policy is passed as plaintext. A hypervisor may choose to read it, 128 GCTX.LD is finalized, producing the hash digest of all plaintext data
|
/qemu/qapi/ |
H A D | misc-target.json | 29 # @launch-update: The guest is currently being launched; plaintext
|
H A D | ui.json | 1699 # @port: spice tcp port for plaintext channels
|
/qemu/docs/system/ |
H A D | qemu-block-drivers.rst.inc | 79 on the sector number. This makes it vulnerable to chosen plaintext attacks
|
/qemu/docs/tools/ |
H A D | qemu-img.rst | 824 chosen plaintext attacks which can reveal the existence of
|
/qemu/ |
H A D | qemu-options.hx | 2275 " [,plaintext-channel=[main|display|cursor|inputs|record|playback]]\n" 2294 Set the TCP port spice is listening on for plaintext channels. 2344 ``tls-channel=[main|display|cursor|inputs|record|playback]``; \ ``plaintext-channel=[main|display|cursor|inputs|record|playback]`` 2350 pick tls/plaintext as he pleases. 5836 the data. Note that when encrypting, the plaintext must be
|
/qemu/docs/devel/ |
H A D | qapi-code-gen.rst | 1032 Optionally, a plaintext title may be provided by using the ``:title:``
|