Home
last modified time | relevance | path

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

/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c204 CryptoDevBackendAsymSessionInfo *asym_info = &sreq->info.u.asym_sess_info; in virtio_crypto_create_asym_session() local
220 asym_info->key = g_malloc(keylen); in virtio_crypto_create_asym_session()
221 if (iov_to_buf(iov, out_num, 0, asym_info->key, keylen) != keylen) { in virtio_crypto_create_asym_session()
228 asym_info = &sreq->info.u.asym_sess_info; in virtio_crypto_create_asym_session()
229 asym_info->algo = algo; in virtio_crypto_create_asym_session()
230 asym_info->keytype = keytype; in virtio_crypto_create_asym_session()
231 asym_info->keylen = keylen; in virtio_crypto_create_asym_session()
232 switch (asym_info->algo) { in virtio_crypto_create_asym_session()
234 asym_info->u.rsa.padding_algo = in virtio_crypto_create_asym_session()
236 asym_info->u.rsa.hash_algo = in virtio_crypto_create_asym_session()