Searched refs:shift (Results 1 – 5 of 5) sorted by relevance
70 unsigned char shift = 8 - ( grp.nbits % 8 );74 rnd_buf_A[i] = rnd_buf_A[i] << shift75 | rnd_buf_A[i+1] >> ( 8 - shift );77 rnd_buf_A[rnd_info_A.length-1] <<= shift;86 unsigned char shift = 8 - ( grp.nbits % 8 );90 rnd_buf_B[i] = rnd_buf_B[i] << shift91 | rnd_buf_B[i+1] >> ( 8 - shift );93 rnd_buf_B[rnd_info_B.length-1] <<= shift;
73 unsigned char shift = 8 - ( grp.nbits % 8 );77 rnd_buf[i] = rnd_buf[i] << shift | rnd_buf[i+1] >> ( 8 - shift );79 rnd_buf[rnd_info.length-1] <<= shift;
1211 size_t adjust, size_t shift, mbedtls_mpi_uint mask ) in ecp_mod_koblitz() argument1236 if( shift != 0 ) in ecp_mod_koblitz()1237 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &M, shift ) ); in ecp_mod_koblitz()1258 if( shift != 0 ) in ecp_mod_koblitz()1259 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &M, shift ) ); in ecp_mod_koblitz()
3242 uint64_t shift = rec_seqnum - ssl->in_window_top; in mbedtls_ssl_dtls_replay_update() local3244 if( shift >= 64 ) in mbedtls_ssl_dtls_replay_update()3248 ssl->in_window <<= shift; in mbedtls_ssl_dtls_replay_update()
69 …oid rshiftby(const uint32_t *in, uint8_t in_size, uint32_t *out, uint8_t out_size, uint8_t shift) { in rshiftby() argument72 for (i = 0; i < (in_size - shift) && i < out_size; i++) in rshiftby()73 out[i] = in[i + shift]; in rshiftby()