Searched refs:mpi_read_raw_data (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/crypto/ |
D | rsa.c | 250 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_pub_key() 254 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_pub_key() 289 mpi_key->d = mpi_read_raw_data(raw_key.d, raw_key.d_sz); in rsa_set_priv_key() 293 mpi_key->e = mpi_read_raw_data(raw_key.e, raw_key.e_sz); in rsa_set_priv_key() 297 mpi_key->n = mpi_read_raw_data(raw_key.n, raw_key.n_sz); in rsa_set_priv_key() 301 mpi_key->p = mpi_read_raw_data(raw_key.p, raw_key.p_sz); in rsa_set_priv_key() 305 mpi_key->q = mpi_read_raw_data(raw_key.q, raw_key.q_sz); in rsa_set_priv_key() 309 mpi_key->dp = mpi_read_raw_data(raw_key.dp, raw_key.dp_sz); in rsa_set_priv_key() 313 mpi_key->dq = mpi_read_raw_data(raw_key.dq, raw_key.dq_sz); in rsa_set_priv_key() 317 mpi_key->qinv = mpi_read_raw_data(raw_key.qinv, raw_key.qinv_sz); in rsa_set_priv_key()
|
D | sm2.c | 164 x = mpi_read_raw_data(buf + 1, n); in sm2_ecc_os2ec() 167 y = mpi_read_raw_data(buf + 1 + n, n); in sm2_ecc_os2ec() 200 sig->sig_r = mpi_read_raw_data(value, vlen); in sm2_get_signature_r() 215 sig->sig_s = mpi_read_raw_data(value, vlen); in sm2_get_signature_s() 406 hash = mpi_read_raw_data(buffer + req->src_len, req->dst_len); in sm2_verify() 436 a = mpi_read_raw_data(key, keylen); in __sm2_set_pub_key()
|
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-6.6.21/lib/crypto/mpi/ |
D | mpicoder.c | 36 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()
|
/linux-6.6.21/include/linux/ |
D | mpi.h | 92 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes);
|
/linux-6.6.21/drivers/crypto/virtio/ |
D | virtio_crypto_akcipher_algs.c | 397 rsa_ctx->n = mpi_read_raw_data(rsa_key.n, rsa_key.n_sz); in virtio_crypto_rsa_set_key()
|