Searched refs:shift (Results 1 – 9 of 9) sorted by relevance
/mbedtls-latest/tests/suites/ |
D | test_suite_bignum_core.generated.data | 21445 Core shift(L) #1 0 (0 bits in 1 limbs) << 0 21449 Core shift(L) #2 0 (0 bits in 1 limbs) << 0 21453 Core shift(L) #3 0 (0 bits in 1 limbs) << 1 21457 Core shift(L) #4 0 (0 bits in 1 limbs) << 1 21461 Core shift(L) #5 0 (0 bits in 1 limbs) << 2 21465 Core shift(L) #6 0 (0 bits in 1 limbs) << 2 21469 Core shift(L) #7 0 (0 bits in 1 limbs) << 3 21473 Core shift(L) #8 0 (0 bits in 1 limbs) << 3 21477 Core shift(L) #9 0 (0 bits in 1 limbs) << 4 21481 Core shift(L) #10 0 (0 bits in 1 limbs) << 4 [all …]
|
D | test_suite_ecdh.function | 130 unsigned char shift = 8 - (grp.nbits % 8); 134 rnd_buf_A->x[i] = rnd_buf_A->x[i] << shift 135 | rnd_buf_A->x[i+1] >> (8 - shift); 138 rnd_buf_A->x[rnd_info_A.length-1] <<= shift; 148 unsigned char shift = 8 - (grp.nbits % 8); 152 rnd_buf_B->x[i] = rnd_buf_B->x[i] << shift 153 | rnd_buf_B->x[i+1] >> (8 - shift); 156 rnd_buf_B->x[rnd_info_B.length-1] <<= shift;
|
D | test_suite_ecdsa.function | 106 unsigned char shift = 8 - (grp.nbits % 8); 110 rnd_buf->x[i] = rnd_buf->x[i] << shift | rnd_buf->x[i+1] >> (8 - shift); 113 rnd_buf->x[rnd_info.length-1] <<= shift;
|
D | test_suite_alignment.function | 293 uint8_t shift = (big_endian) ? (8 * ((size / 8 - 1) - i)) : (8 * i); 294 expected |= b << shift;
|
D | test_suite_pk.function | 1859 * shift data back to the beginning of the buffer. */ 1880 * we shift that to the origin of the buffer instead. */
|
/mbedtls-latest/library/ |
D | ecp_curves_new.c | 5360 mbedtls_mpi_uint shift = ((mbedtls_mpi_uint) 1u) << (biL - 9); in mbedtls_ecp_mod_p521_raw() local 5361 carry = mbedtls_mpi_core_mla(X0, X0_limbs, X1, X1_limbs, shift); in mbedtls_ecp_mod_p521_raw() 5641 size_t shift = bits % biL; in ecp_mod_koblitz() local 5642 size_t adjust = (shift + biL - 1) / biL; in ecp_mod_koblitz() 5661 mask = ((mbedtls_mpi_uint) 1 << shift) - 1; in ecp_mod_koblitz() 5673 if (shift != 0) { in ecp_mod_koblitz() 5674 mbedtls_mpi_core_shift_r(A1, P_limbs, shift); in ecp_mod_koblitz()
|
D | ecp_curves.c | 5315 size_t adjust, size_t shift, mbedtls_mpi_uint mask) in ecp_mod_koblitz() argument 5342 if (shift != 0) { in ecp_mod_koblitz() 5343 MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&M, shift)); in ecp_mod_koblitz() 5368 if (shift != 0) { in ecp_mod_koblitz() 5369 MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&M, shift)); in ecp_mod_koblitz()
|
D | ssl_msg.c | 3437 uint64_t shift = rec_seqnum - ssl->in_window_top; in mbedtls_ssl_dtls_replay_update() local 3439 if (shift >= 64) { in mbedtls_ssl_dtls_replay_update() 3442 ssl->in_window <<= shift; in mbedtls_ssl_dtls_replay_update()
|
/mbedtls-latest/3rdparty/p256-m/p256-m/ |
D | README.md | 337 - multiply-and-add, shift by one limb (for Montgomery multiplication);
|