Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 9 of 9) sorted by relevance

/net-tools-3.4.0/mbedtls-2.4.0/library/
Ddebug.c147 size_t i, idx = 0; in mbedtls_debug_print_buf() local
152 mbedtls_snprintf( str + idx, sizeof( str ) - idx, "dumping '%s' (%u bytes)\n", in mbedtls_debug_print_buf()
157 idx = 0; in mbedtls_debug_print_buf()
168 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf()
171 idx = 0; in mbedtls_debug_print_buf()
175 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, "%04x: ", in mbedtls_debug_print_buf()
180 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %02x", in mbedtls_debug_print_buf()
188 idx += mbedtls_snprintf( str + idx, sizeof( str ) - idx, " " ); in mbedtls_debug_print_buf()
190 mbedtls_snprintf( str + idx, sizeof( str ) - idx, " %s\n", txt ); in mbedtls_debug_print_buf()
220 size_t i, n, idx = 0; in mbedtls_debug_print_mpi() local
[all …]
Dversion_features.c630 const char **idx = features; in mbedtls_version_check_feature() local
632 if( *idx == NULL ) in mbedtls_version_check_feature()
638 while( *idx != NULL ) in mbedtls_version_check_feature()
640 if( !strcmp( *idx, feature ) ) in mbedtls_version_check_feature()
642 idx++; in mbedtls_version_check_feature()
Dcamellia.c345 int idx; in mbedtls_camellia_setkey_enc() local
360 case 128: ctx->nr = 3; idx = 0; break; in mbedtls_camellia_setkey_enc()
362 case 256: ctx->nr = 4; idx = 1; break; in mbedtls_camellia_setkey_enc()
419 SHIFT_AND_PLACE( idx, 0 ); in mbedtls_camellia_setkey_enc()
423 SHIFT_AND_PLACE( idx, 1 ); in mbedtls_camellia_setkey_enc()
427 SHIFT_AND_PLACE( idx, 2 ); in mbedtls_camellia_setkey_enc()
431 SHIFT_AND_PLACE( idx, 3 ); in mbedtls_camellia_setkey_enc()
436 if( transposes[idx][i] != -1 ) { in mbedtls_camellia_setkey_enc()
437 RK[32 + 12 * idx + i] = RK[transposes[idx][i]]; in mbedtls_camellia_setkey_enc()
450 int idx, ret; in mbedtls_camellia_setkey_dec() local
[all …]
Dbignum.c323 size_t idx = pos % biL; in mbedtls_mpi_set_bit() local
336 X->p[off] &= ~( (mbedtls_mpi_uint) 0x01 << idx ); in mbedtls_mpi_set_bit()
337 X->p[off] |= (mbedtls_mpi_uint) val << idx; in mbedtls_mpi_set_bit()
/net-tools-3.4.0/mbedtls-2.4.0/scripts/data_files/
Dversion_features.fmt43 const char **idx = features;
45 if( *idx == NULL )
51 while( *idx != NULL )
53 if( !strcmp( *idx, feature ) )
55 idx++;
/net-tools-3.4.0/
Ddtls-client.c334 int ret, len, idx = 0; in main() local
536 len = data[idx].len; in main()
546 "at index %d\n", idx); in main()
550 do ret = mbedtls_ssl_write(&ssl, data[idx].buf, len); in main()
600 if (memcmp(data[idx].buf, buf, len)) { in main()
605 idx++; in main()
607 if (idx >= ((sizeof(data) / sizeof(data[0])) - 1)) { in main()
612 idx = 0; in main()
/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/
Dssl_mail_client.c244 size_t i, idx = 0; in write_ssl_and_get_response() local
280 if( idx < 4 ) in write_ssl_and_get_response()
281 code[ idx++ ] = data[i]; in write_ssl_and_get_response()
285 if( idx == 4 && code[0] >= '0' && code[0] <= '9' && code[3] == ' ' ) in write_ssl_and_get_response()
291 idx = 0; in write_ssl_and_get_response()
302 size_t i, idx = 0; in write_and_get_response() local
330 if( idx < 4 ) in write_and_get_response()
331 code[ idx++ ] = data[i]; in write_and_get_response()
335 if( idx == 4 && code[0] >= '0' && code[0] <= '9' && code[3] == ' ' ) in write_and_get_response()
341 idx = 0; in write_and_get_response()
/net-tools-3.4.0/tinydtls-0.8.2/
Duthash.h112 #define HASH_BLOOM_BITSET(bv,idx) (bv[(idx)/8] |= (1U << ((idx)%8))) argument
113 #define HASH_BLOOM_BITTEST(bv,idx) (bv[(idx)/8] & (1U << ((idx)%8))) argument
/net-tools-3.4.0/libcoap/include/coap/
Duthash.h133 #define HASH_BLOOM_BITSET(bv,idx) (bv[(idx)/8] |= (1U << ((idx)%8))) argument
134 #define HASH_BLOOM_BITTEST(bv,idx) (bv[(idx)/8] & (1U << ((idx)%8))) argument