Searched refs:mpi_read_raw_data (Results 1 – 4 of 4) sorted by relevance
/linux/crypto/ |
H A D | rsa.c | 283 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_pub_key() 287 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_pub_key() 322 mpi_key->d = mpi_read_raw_data(raw_key.d, raw_key.d_sz); in rsa_set_priv_key() 326 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_priv_key() 330 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_priv_key() 334 mpi_key->p = mpi_read_raw_data(raw_key.p, raw_key.p_sz); in rsa_set_priv_key() 338 mpi_key->q = mpi_read_raw_data(raw_key.q, raw_key.q_sz); in rsa_set_priv_key() 342 mpi_key->dp = mpi_read_raw_data(raw_key.dp, raw_key.dp_sz); in rsa_set_priv_key() 346 mpi_key->dq = mpi_read_raw_data(raw_key.dq, raw_key.dq_sz); in rsa_set_priv_key() 350 mpi_key->qinv = mpi_read_raw_data(raw_key.qinv, raw_key.qinv_sz); in rsa_set_priv_key()
|
H A D | dh.c | 60 ctx->p = mpi_read_raw_data(params->p, params->p_size); in dh_set_params() 64 ctx->g = mpi_read_raw_data(params->g, params->g_size); in dh_set_params() 86 ctx->xa = mpi_read_raw_data(params.key, params.key_size); in dh_set_secret()
|
/linux/lib/crypto/mpi/ |
H A D | mpicoder.c | 35 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes) in mpi_read_raw_data() function 79 EXPORT_SYMBOL_GPL(mpi_read_raw_data); 103 val = mpi_read_raw_data(buffer + 2, nbytes); in mpi_read_from_buffer()
|
/linux/include/linux/ |
H A D | mpi.h | 52 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes);
|