Home
last modified time | relevance | path

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

/qemu/backends/
A Dcryptodev-builtin.c138 int algo; in cryptodev_builtin_get_aes_algo() local
160 return algo; in cryptodev_builtin_get_aes_algo()
221 int algo; in cryptodev_builtin_create_cipher_session() local
244 if (algo < 0) { in cryptodev_builtin_create_cipher_session()
252 if (algo < 0) { in cryptodev_builtin_create_cipher_session()
260 if (algo < 0) { in cryptodev_builtin_create_cipher_session()
268 if (algo < 0) { in cryptodev_builtin_create_cipher_session()
274 algo = QCRYPTO_CIPHER_ALGO_3DES; in cryptodev_builtin_create_cipher_session()
278 algo = QCRYPTO_CIPHER_ALGO_3DES; in cryptodev_builtin_create_cipher_session()
282 algo = QCRYPTO_CIPHER_ALGO_3DES; in cryptodev_builtin_create_cipher_session()
[all …]
A Dcryptodev-lkcf.c519 switch (sess_info->algo) { in cryptodev_lkcf_create_asym_session()
531 error_report("Unsupported asym alg %u", sess_info->algo); in cryptodev_lkcf_create_asym_session()
/qemu/include/standard-headers/linux/
A Dvirtio_crypto.h66 uint32_t algo; member
88 uint32_t algo; member
125 uint32_t algo; member
153 uint32_t algo; member
171 uint32_t algo; member
222 uint32_t algo; member
338 uint32_t algo; member
/qemu/hw/misc/
A Daspeed_hace.c72 QCryptoHashAlgo algo; member
91 return hash_algo_map[i].algo; in hash_algo_lookup()
155 static void do_hash_operation(AspeedHACEState *s, int algo, bool sg_mode, in do_hash_operation() argument
169 s->hash_ctx = qcrypto_hash_new(algo, &local_err); in do_hash_operation()
274 } else if (qcrypto_hash_bytesv(algo, iov, i, &digest_buf, in do_hash_operation()
356 int algo; in aspeed_hace_write() local
369 algo = hash_algo_lookup(data); in aspeed_hace_write()
370 if (algo < 0) { in aspeed_hace_write()
376 do_hash_operation(s, algo, data & HASH_SG_EN, in aspeed_hace_write()
/qemu/hw/virtio/
A Dvirtio-crypto.c81 info->cipher_alg = ldl_le_p(&cipher_para->algo); in virtio_crypto_cipher_session_helper()
153 ldl_le_p(&sess_req->u.chain.para.u.mac_param.algo); in virtio_crypto_create_sym_session()
177 &sess_req->u.chain.para.u.hash_param.algo); in virtio_crypto_create_sym_session()
206 uint32_t algo, keytype, keylen; in virtio_crypto_create_asym_session() local
209 algo = ldl_le_p(&sess_req->para.algo); in virtio_crypto_create_asym_session()
229 asym_info->algo = algo; in virtio_crypto_create_asym_session()
232 switch (asym_info->algo) { in virtio_crypto_create_asym_session()
/qemu/include/sysemu/
A Dcryptodev.h97 uint32_t algo; member

Completed in 20 milliseconds