Searched refs:rsa_ctx (Results 1 – 1 of 1) sorted by relevance
33 struct virtio_crypto_rsa_ctx rsa_ctx; member373 struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx; in virtio_crypto_rsa_set_key() local383 mpi_free(rsa_ctx->n); in virtio_crypto_rsa_set_key()384 rsa_ctx->n = NULL; in virtio_crypto_rsa_set_key()397 rsa_ctx->n = mpi_read_raw_data(rsa_key.n, rsa_key.n_sz); in virtio_crypto_rsa_set_key()398 if (!rsa_ctx->n) in virtio_crypto_rsa_set_key()469 struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx; in virtio_crypto_rsa_max_size() local471 return mpi_get_size(rsa_ctx->n); in virtio_crypto_rsa_max_size()489 struct virtio_crypto_rsa_ctx *rsa_ctx = &ctx->rsa_ctx; in virtio_crypto_rsa_exit_tfm() local493 mpi_free(rsa_ctx->n); in virtio_crypto_rsa_exit_tfm()[all …]