Searched refs:rsa_ctx (Results 1 – 1 of 1) sorted by relevance
33 struct virtio_crypto_rsa_ctx rsa_ctx; member372 struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx; in virtio_crypto_rsa_set_key() local382 mpi_free(rsa_ctx->n); in virtio_crypto_rsa_set_key()383 rsa_ctx->n = NULL; in virtio_crypto_rsa_set_key()396 rsa_ctx->n = mpi_read_raw_data(rsa_key.n, rsa_key.n_sz); in virtio_crypto_rsa_set_key()397 if (!rsa_ctx->n) in virtio_crypto_rsa_set_key()468 struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx; in virtio_crypto_rsa_max_size() local470 return mpi_get_size(rsa_ctx->n); in virtio_crypto_rsa_max_size()488 struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx; in virtio_crypto_rsa_exit_tfm() local492 mpi_free(rsa_ctx->n); in virtio_crypto_rsa_exit_tfm()[all …]