Home
last modified time | relevance | path

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

/openbmc/linux/lib/crypto/mpi/
H A 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 …]
H A 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()
H A Dec.c502 mpi_free(tmp); in ec_get_a_is_pminus3()
646 mpi_free(f_p); in mpi_ec_init()
706 mpi_free(z2); in mpi_ec_get_affine()
745 mpi_free(z); in mpi_ec_get_affine()
1347 mpi_free(z2); in mpi_ec_mul_point()
1348 mpi_free(z3); in mpi_ec_mul_point()
1395 mpi_free(h); in mpi_ec_mul_point()
1396 mpi_free(k); in mpi_ec_mul_point()
1503 mpi_free(w); in mpi_ec_curve_point()
1504 mpi_free(x); in mpi_ec_curve_point()
[all …]
H A 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()
H A Dmpiutil.c175 void mpi_free(MPI a) in mpi_free() function
189 EXPORT_SYMBOL_GPL(mpi_free);
246 mpi_free(u); in mpi_snatch()
H A Dmpi-add.c139 mpi_free(vv); in mpi_sub()
H A Dmpicoder.c211 mpi_free(a); in mpi_scanval()
/openbmc/linux/crypto/
H A Drsa.c84 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()
176 mpi_free(key->q); in rsa_free_mpi_key()
[all …]
H A 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()
373 mpi_free(t); in _sm2_verify()
[all …]
H A 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()
/openbmc/linux/lib/
H A 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()
/openbmc/linux/drivers/crypto/virtio/
H A 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()
/openbmc/linux/include/linux/
H A Dmpi.h48 void mpi_free(MPI a);