Home
last modified time | relevance | path

Searched refs:key_size (Results 1 – 6 of 6) sorted by relevance

/qemu/tests/bench/
H A Dbenchmark-crypto-akcipher.c36 size_t key_size) in test_rsa_speed() argument
53 signature = g_new0(uint8_t, key_size / BYTE); in test_rsa_speed()
55 g_test_message("benchmark rsa%zu (%s-%s) sign...", key_size, in test_rsa_speed()
61 signature, key_size / BYTE, in test_rsa_speed()
67 key_size, QCryptoRSAPaddingAlgo_str(PADDING), in test_rsa_speed()
72 g_test_message("benchmark rsa%zu (%s-%s) verification...", key_size, in test_rsa_speed()
77 g_assert(qcrypto_akcipher_verify(rsa, signature, key_size / BYTE, in test_rsa_speed()
84 key_size, QCryptoRSAPaddingAlgo_str(PADDING), in test_rsa_speed()
92 size_t key_size = (size_t)opaque; in test_rsa_1024_speed() local
93 test_rsa_speed(rsa1024_priv_key, sizeof(rsa1024_priv_key), key_size); in test_rsa_1024_speed()
[all …]
/qemu/crypto/
H A Dakcipher-nettle.c.inc76 int key_size)
78 akcipher->max_plaintext_len = key_size;
79 akcipher->max_ciphertext_len = key_size;
80 akcipher->max_signature_len = key_size;
81 akcipher->max_dgst_len = key_size;
H A Dakcipher-gcrypt.c.inc76 size_t key_size = (gcry_mpi_get_nbits(n) + 7) / 8;
77 akcipher->max_plaintext_len = key_size;
78 akcipher->max_ciphertext_len = key_size;
79 akcipher->max_dgst_len = key_size;
80 akcipher->max_signature_len = key_size;
/qemu/tools/ebpf/
H A Drss.bpf.c81 __uint(key_size, sizeof(__u32));
89 __uint(key_size, sizeof(__u32));
97 __uint(key_size, sizeof(__u32));
/qemu/migration/
H A Dvmstate-types.c768 size_t key_size = field->start; in get_gtree() local
805 key = g_malloc0(key_size); in get_gtree()
/qemu/include/standard-headers/linux/
H A Dethtool.h1556 uint32_t key_size; member