Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/crypto/
Drsa.c170 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_pub_key()
174 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_pub_key()
204 mpi_key->d = mpi_read_raw_data(raw_key.d, raw_key.d_sz); in rsa_set_priv_key()
208 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_priv_key()
212 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_priv_key()
Ddh.c58 ctx->p = mpi_read_raw_data(params->p, params->p_size); in dh_set_params()
63 ctx->q = mpi_read_raw_data(params->q, params->q_size); in dh_set_params()
68 ctx->g = mpi_read_raw_data(params->g, params->g_size); in dh_set_params()
90 ctx->xa = mpi_read_raw_data(params.key, params.key_size); in dh_set_secret()
Dsm2.c158 x = mpi_read_raw_data(buf + 1, n); in sm2_ecc_os2ec()
161 y = mpi_read_raw_data(buf + 1 + n, n); in sm2_ecc_os2ec()
194 sig->sig_r = mpi_read_raw_data(value, vlen); in sm2_get_signature_r()
209 sig->sig_s = mpi_read_raw_data(value, vlen); in sm2_get_signature_s()
376 hash = mpi_read_raw_data(buffer + req->src_len, req->dst_len); in sm2_verify()
398 a = mpi_read_raw_data(key, keylen); in sm2_set_pub_key()
/kernel/linux/linux-5.10/lib/mpi/
Dmpicoder.c36 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes) in mpi_read_raw_data() function
80 EXPORT_SYMBOL_GPL(mpi_read_raw_data);
104 val = mpi_read_raw_data(buffer + 2, nbytes); in mpi_read_from_buffer()
/kernel/linux/linux-5.10/include/linux/
Dmpi.h92 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes);