Home
last modified time | relevance | path

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

/linux-6.6.21/lib/crypto/mpi/
Dmpi-inv.c127 mpi_free(u1); in mpi_invm()
128 mpi_free(v1); in mpi_invm()
129 mpi_free(t1); in mpi_invm()
131 mpi_free(u2); in mpi_invm()
132 mpi_free(v2); in mpi_invm()
133 mpi_free(t2); in mpi_invm()
135 mpi_free(u3); in mpi_invm()
136 mpi_free(v3); in mpi_invm()
137 mpi_free(t3); in mpi_invm()
139 mpi_free(u); in mpi_invm()
[all …]
Dmpi-mod.c70 mpi_free(ctx->y); in mpi_barrett_free()
71 mpi_free(ctx->r1); in mpi_barrett_free()
72 mpi_free(ctx->r2); in mpi_barrett_free()
74 mpi_free(ctx->r3); in mpi_barrett_free()
76 mpi_free(ctx->m); in mpi_barrett_free()
Dec.c74 mpi_free(p->x); p->x = NULL; in mpi_point_free_parts()
75 mpi_free(p->y); p->y = NULL; in mpi_point_free_parts()
76 mpi_free(p->z); p->z = NULL; in mpi_point_free_parts()
502 mpi_free(tmp); in ec_get_a_is_pminus3()
600 mpi_free(p_candidate); in mpi_ec_init()
632 mpi_free(f_p); in mpi_ec_init()
646 mpi_free(f_p); in mpi_ec_init()
658 mpi_free(ctx->p); in mpi_ec_deinit()
659 mpi_free(ctx->a); in mpi_ec_deinit()
660 mpi_free(ctx->b); in mpi_ec_deinit()
[all …]
Dmpi-div.c40 mpi_free(temp_divisor); in mpi_fdiv_r()
47 mpi_free(tmp); in mpi_fdiv_q()
68 mpi_free(temp_divisor); in mpi_fdiv_qr()
Dmpiutil.c175 void mpi_free(MPI a) in mpi_free() function
189 EXPORT_SYMBOL_GPL(mpi_free);
246 mpi_free(u); in mpi_snatch()
Dmpi-add.c139 mpi_free(vv); in mpi_sub()
Dmpicoder.c211 mpi_free(a); in mpi_scanval()
/linux-6.6.21/crypto/
Drsa.c83 mpi_free(m12_or_qh); in _rsa_dec_crt()
84 mpi_free(m2); in _rsa_dec_crt()
126 mpi_free(m); in rsa_enc()
128 mpi_free(c); in rsa_enc()
164 mpi_free(c); in rsa_dec()
166 mpi_free(m); in rsa_dec()
172 mpi_free(key->d); in rsa_free_mpi_key()
173 mpi_free(key->e); in rsa_free_mpi_key()
174 mpi_free(key->n); in rsa_free_mpi_key()
175 mpi_free(key->p); in rsa_free_mpi_key()
[all …]
Dsm2.c119 mpi_free(x); in sm2_ec_ctx_init()
120 mpi_free(y); in sm2_ec_ctx_init()
122 mpi_free(p); in sm2_ec_ctx_init()
123 mpi_free(a); in sm2_ec_ctx_init()
124 mpi_free(b); in sm2_ec_ctx_init()
179 mpi_free(y); in sm2_ecc_os2ec()
181 mpi_free(x); in sm2_ecc_os2ec()
263 mpi_free(x); in sm2_z_digest_update_point()
264 mpi_free(y); in sm2_z_digest_update_point()
371 mpi_free(x1); in _sm2_verify()
[all …]
Ddh.c24 mpi_free(ctx->p); in dh_clear_ctx()
25 mpi_free(ctx->g); in dh_clear_ctx()
26 mpi_free(ctx->xa); in dh_clear_ctx()
138 mpi_free(val); in dh_is_pubkey_valid()
149 mpi_free(q); in dh_is_pubkey_valid()
151 mpi_free(val); in dh_is_pubkey_valid()
157 mpi_free(val); in dh_is_pubkey_valid()
222 mpi_free(pone); in dh_compute_value()
244 mpi_free(base); in dh_compute_value()
246 mpi_free(val); in dh_compute_value()
/linux-6.6.21/lib/
Ddigsig.c173 mpi_free(in); in digsig_verify_rsa()
174 mpi_free(res); in digsig_verify_rsa()
177 mpi_free(pkey[i]); in digsig_verify_rsa()
/linux-6.6.21/drivers/crypto/virtio/
Dvirtio_crypto_akcipher_algs.c383 mpi_free(rsa_ctx->n); in virtio_crypto_rsa_set_key()
493 mpi_free(rsa_ctx->n); in virtio_crypto_rsa_exit_tfm()
/linux-6.6.21/include/linux/
Dmpi.h48 void mpi_free(MPI a);