Lines Matching refs:i
147 size_t i, idx = 0; in mbedtls_debug_print_buf() local
159 for( i = 0; i < len; i++ ) in mbedtls_debug_print_buf()
161 if( i >= 4096 ) in mbedtls_debug_print_buf()
164 if( i % 16 == 0 ) in mbedtls_debug_print_buf()
166 if( i > 0 ) in mbedtls_debug_print_buf()
176 (unsigned int) i ); in mbedtls_debug_print_buf()
181 (unsigned int) buf[i] ); in mbedtls_debug_print_buf()
182 txt[i % 16] = ( buf[i] > 31 && buf[i] < 127 ) ? buf[i] : '.' ; in mbedtls_debug_print_buf()
187 for( /* i = i */; i % 16 != 0; i++ ) in mbedtls_debug_print_buf()
220 size_t i, n, idx = 0; in mbedtls_debug_print_mpi() local
239 for( i = n + 1, j = 0; i > 0; i-- ) in mbedtls_debug_print_mpi()
241 if( zeros && X->p[i - 1] == 0 ) in mbedtls_debug_print_mpi()
246 if( zeros && ( ( X->p[i - 1] >> ( k << 3 ) ) & 0xFF ) == 0 ) in mbedtls_debug_print_mpi()
262 ( X->p[i - 1] >> ( k << 3 ) ) & 0xFF ); in mbedtls_debug_print_mpi()
282 size_t i; in debug_print_pk() local
295 for( i = 0; i < MBEDTLS_PK_DEBUG_MAX_ITEMS; i++ ) in debug_print_pk()
297 if( items[i].type == MBEDTLS_PK_DEBUG_NONE ) in debug_print_pk()
300 mbedtls_snprintf( name, sizeof( name ), "%s%s", text, items[i].name ); in debug_print_pk()
303 if( items[i].type == MBEDTLS_PK_DEBUG_MPI ) in debug_print_pk()
304 mbedtls_debug_print_mpi( ssl, level, file, line, name, items[i].value ); in debug_print_pk()
307 if( items[i].type == MBEDTLS_PK_DEBUG_ECP ) in debug_print_pk()
308 mbedtls_debug_print_ecp( ssl, level, file, line, name, items[i].value ); in debug_print_pk()
346 int i = 0; in mbedtls_debug_print_crt() local
355 mbedtls_snprintf( str, sizeof( str ), "%s #%d:\n", text, ++i ); in mbedtls_debug_print_crt()