Home
last modified time | relevance | path

Searched refs:priv_key (Results 1 – 2 of 2) sorted by relevance

/qemu/tests/unit/
H A Dtest-crypto-akcipher.c677 const uint8_t *priv_key; member
795 .priv_key = rsa1024_private_key,
816 .priv_key = rsa1024_private_key,
840 .priv_key = rsa2048_private_key,
861 .priv_key = rsa2048_private_key,
882 QCryptoAkCipher *pub_key, *priv_key; in test_akcipher() local
892 priv_key = qcrypto_akcipher_new(&data->opt, in test_akcipher()
894 data->priv_key, data->priv_key_len, in test_akcipher()
896 g_assert(priv_key != NULL); in test_akcipher()
911 g_assert(qcrypto_akcipher_decrypt(priv_key, ciphertext, in test_akcipher()
[all …]
/qemu/tests/bench/
H A Dbenchmark-crypto-akcipher.c21 static QCryptoAkCipher *create_rsa_akcipher(const uint8_t *priv_key, in create_rsa_akcipher() argument
32 priv_key, keylen, &error_abort); in create_rsa_akcipher()
35 static void test_rsa_speed(const uint8_t *priv_key, size_t keylen, in test_rsa_speed() argument
46 create_rsa_akcipher(priv_key, keylen, PADDING, HASH); in test_rsa_speed()