Lines Matching refs:line
86 char line[1024]; in generic_check() local
103 memset( line, 0, sizeof( line ) ); in generic_check()
105 n = sizeof( line ); in generic_check()
107 while( fgets( line, (int) n - 1, f ) != NULL ) in generic_check()
109 n = strlen( line ); in generic_check()
117 …if( line[2 * mbedtls_md_get_size( md_info )] != ' ' || line[2 * mbedtls_md_get_size( md_info ) + 1… in generic_check()
123 if( line[n - 1] == '\n' ) { n--; line[n] = '\0'; } in generic_check()
124 if( line[n - 1] == '\r' ) { n--; line[n] = '\0'; } in generic_check()
128 if( generic_wrapper( md_info, line + 2 + 2 * mbedtls_md_get_size( md_info ), sum ) != 0 ) in generic_check()
142 diff |= line[i] ^ buf[i]; in generic_check()
147 mbedtls_fprintf( stderr, "wrong checksum: %s\n", line + 66 ); in generic_check()
150 n = sizeof( line ); in generic_check()