Searched refs:shift (Results 1 – 6 of 6) sorted by relevance
249 unsigned char shift = 8 - ( grp.nbits % 8 );253 rnd_buf_A->x[i] = rnd_buf_A->x[i] << shift254 | rnd_buf_A->x[i+1] >> ( 8 - shift );256 rnd_buf_A->x[rnd_info_A.length-1] <<= shift;267 unsigned char shift = 8 - ( grp.nbits % 8 );271 rnd_buf_B->x[i] = rnd_buf_B->x[i] << shift272 | rnd_buf_B->x[i+1] >> ( 8 - shift );274 rnd_buf_B->x[rnd_info_B.length-1] <<= shift;
303 unsigned char shift = 8 - ( grp.nbits % 8 );307 rnd_buf->x[i] = rnd_buf->x[i] << shift | rnd_buf->x[i+1] >> ( 8 - shift );309 rnd_buf->x[rnd_info.length-1] <<= shift;
61 shift66 shift; shift
1356 size_t adjust, size_t shift, mbedtls_mpi_uint mask ) in ecp_mod_koblitz() argument1381 if( shift != 0 ) in ecp_mod_koblitz()1382 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &M, shift ) ); in ecp_mod_koblitz()1403 if( shift != 0 ) in ecp_mod_koblitz()1404 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &M, shift ) ); in ecp_mod_koblitz()
3207 uint64_t shift = rec_seqnum - ssl->in_window_top; in mbedtls_ssl_dtls_replay_update() local3209 if( shift >= 64 ) in mbedtls_ssl_dtls_replay_update()3213 ssl->in_window <<= shift; in mbedtls_ssl_dtls_replay_update()
248 + static char eval_line[] = "eval\\ \\\"set\\ x\\;\\ shift\\;\\ ";