Searched refs:keysize (Results 1 – 4 of 4) sorted by relevance
/qemu/tests/bench/ |
H A D | benchmark-crypto-akcipher.c | 115 #define ADD_TEST(asym_alg, keysize) \ in main() argument 117 (!size || g_str_equal(size, #keysize))) \ in main() 119 "/crypto/akcipher/" #asym_alg "-" #keysize, \ in main() 120 (void *)keysize, \ in main() 121 test_ ## asym_alg ## _ ## keysize ## _speed) in main()
|
H A D | benchmark-crypto-cipher.c | 175 #define ADD_TEST(mode, cipher, keysize, chunk) \ in main() argument 179 "/crypto/cipher/" #mode "-" #cipher "-" #keysize "/chunk-" #chunk, \ in main() 181 test_cipher_speed_ ## mode ## _ ## cipher ## _ ## keysize) in main()
|
/qemu/tests/unit/ |
H A D | test-crypto-cipher.c | 658 size_t ivsize, keysize, blocksize; in test_cipher() local 688 keysize = qcrypto_cipher_get_key_len(data->alg); in test_cipher() 693 g_assert_cmpint(keysize * 2, ==, nkey); in test_cipher() 695 g_assert_cmpint(keysize, ==, nkey); in test_cipher()
|
/qemu/ui/ |
H A D | vnc-auth-sasl.c | 601 int keysize; in start_auth_sasl() local 604 keysize = qcrypto_tls_session_get_key_size(vs->tls, in start_auth_sasl() 606 if (keysize < 0) { in start_auth_sasl() 613 ssf = keysize * CHAR_BIT; /* tls key size is bytes, sasl wants bits */ in start_auth_sasl()
|