Searched refs:BYTES_PER_MPI_LIMB (Results 1 – 4 of 4) sorted by relevance
/linux/lib/mpi/ |
A D | mpicoder.c | 66 i = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; in mpi_read_raw_data() 67 i %= BYTES_PER_MPI_LIMB; in mpi_read_raw_data() 143 nlimbs = (nbytes+BYTES_PER_MPI_LIMB-1) / BYTES_PER_MPI_LIMB; in mpi_fromstr() 148 i = BYTES_PER_MPI_LIMB - (nbytes % BYTES_PER_MPI_LIMB); in mpi_fromstr() 149 i %= BYTES_PER_MPI_LIMB; in mpi_fromstr() 254 #if BYTES_PER_MPI_LIMB == 4 in mpi_read_buffer() 283 #if BYTES_PER_MPI_LIMB == 4 in mpi_read_buffer() 358 #if BYTES_PER_MPI_LIMB == 4 in mpi_write_to_sgl() 400 #if BYTES_PER_MPI_LIMB == 4 in mpi_write_to_sgl() 502 z = BYTES_PER_MPI_LIMB - nbytes % BYTES_PER_MPI_LIMB; in mpi_read_raw_from_sgl() [all …]
|
A D | ec.c | 260 memcpy(wp, n, wsize * BYTES_PER_MPI_LIMB); in ec_mulm_25519() 263 memcpy(m, n+LIMB_SIZE_25519-1, (wsize+1) * BYTES_PER_MPI_LIMB); in ec_mulm_25519() 266 memcpy(n, m, wsize * BYTES_PER_MPI_LIMB); in ec_mulm_25519() 279 memset(m, 0, wsize * BYTES_PER_MPI_LIMB); in ec_mulm_25519() 427 memset(n, 0, wsize * BYTES_PER_MPI_LIMB); in ec_mulm_448() 437 memset(n, 0, wsize * BYTES_PER_MPI_LIMB); in ec_mulm_448()
|
/linux/include/linux/ |
A D | mpi.h | 23 #define BYTES_PER_MPI_LIMB (BITS_PER_LONG / 8) macro 276 return a->nlimbs * BYTES_PER_MPI_LIMB; in mpi_get_size()
|
/linux/lib/ |
A D | digsig.c | 149 if (mpi_get_nlimbs(res) * BYTES_PER_MPI_LIMB > mlen) { in digsig_verify_rsa()
|
Completed in 10 milliseconds