/net-tools-3.4.0/libcoap/tests/ |
D | test_wellknown.c | 31 size_t buflen, offset, ofs; in t_wellknown1() local 47 for (offset = 0; offset < sizeof(teststr); offset++) { in t_wellknown1() 48 ofs = offset; in t_wellknown1() 53 CU_ASSERT(result == sizeof(teststr) - offset); in t_wellknown1() 55 CU_ASSERT(memcmp(buf, teststr + offset, sizeof(teststr) - offset) == 0); in t_wellknown1() 59 ofs = offset; in t_wellknown1() 80 size_t buflen, offset, ofs; in t_wellknown2() local 94 for (offset = 0; offset < sizeof(teststr) - sizeof(buf); offset++) { in t_wellknown2() 95 ofs = offset; in t_wellknown2() 103 CU_ASSERT(memcmp(buf, teststr + offset, sizeof(buf)) == 0); in t_wellknown2() [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/aes/ |
D | aescrypt2.c | 92 long filesize, offset; in main() local 95 __int64 filesize, offset; in main() local 97 off_t filesize, offset; in main() local 282 for( offset = 0; offset < filesize; offset += 16 ) in main() 284 n = ( filesize - offset > 16 ) ? 16 : (int) in main() 285 ( filesize - offset ); in main() 384 for( offset = 0; offset < filesize; offset += 16 ) in main() 402 n = ( lastn > 0 && offset == filesize - 16 ) in main()
|
D | crypt_and_hash.c | 94 long filesize, offset; in main() local 97 __int64 filesize, offset; in main() local 99 off_t filesize, offset; in main() local 330 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main() 332 … ilen = ( (unsigned int) filesize - offset > mbedtls_cipher_get_block_size( &cipher_ctx ) ) ? in main() 333 mbedtls_cipher_get_block_size( &cipher_ctx ) : (unsigned int) ( filesize - offset ); in main() 473 for( offset = 0; offset < filesize; offset += mbedtls_cipher_get_block_size( &cipher_ctx ) ) in main() 475 … ilen = ( (unsigned int) filesize - offset > mbedtls_cipher_get_block_size( &cipher_ctx ) ) ? in main() 476 mbedtls_cipher_get_block_size( &cipher_ctx ) : (unsigned int) ( filesize - offset ); in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | timing.c | 210 LARGE_INTEGER offset; in mbedtls_timing_hardclock() local 212 QueryPerformanceCounter( &offset ); in mbedtls_timing_hardclock() 214 return( (unsigned long)( offset.QuadPart ) ); in mbedtls_timing_hardclock() 248 LARGE_INTEGER offset, hfreq; in mbedtls_timing_get_timer() local 251 QueryPerformanceCounter( &offset ); in mbedtls_timing_get_timer() 255 ( offset.QuadPart - t->start.QuadPart ) ) / in mbedtls_timing_get_timer() 289 struct timeval offset; in mbedtls_timing_get_timer() local 292 gettimeofday( &offset, NULL ); in mbedtls_timing_get_timer() 296 t->start.tv_sec = offset.tv_sec; in mbedtls_timing_get_timer() 297 t->start.tv_usec = offset.tv_usec; in mbedtls_timing_get_timer() [all …]
|
D | havege.c | 192 hs->offset[0] = 0; in havege_fill() 193 hs->offset[1] = MBEDTLS_HAVEGE_COLLECT_SIZE / 2; in havege_fill() 230 if( hs->offset[1] >= MBEDTLS_HAVEGE_COLLECT_SIZE ) in mbedtls_havege_random() 233 val = hs->pool[hs->offset[0]++]; in mbedtls_havege_random() 234 val ^= hs->pool[hs->offset[1]++]; in mbedtls_havege_random()
|
D | camellia.c | 905 size_t offset, len; in mbedtls_camellia_self_test() local 1023 offset = 0; in mbedtls_camellia_self_test() 1031 mbedtls_camellia_crypt_ctr( &ctx, len, &offset, nonce_counter, stream_block, in mbedtls_camellia_self_test() 1047 mbedtls_camellia_crypt_ctr( &ctx, len, &offset, nonce_counter, stream_block, in mbedtls_camellia_self_test()
|
D | ssl_cli.c | 2016 size_t offset, size_t *olen, argument 2023 if( offset + len_bytes > MBEDTLS_SSL_MAX_CONTENT_LEN ) 2065 ssl->out_msg + offset + len_bytes, olen, 2066 MBEDTLS_SSL_MAX_CONTENT_LEN - offset - len_bytes, 2077 ssl->out_msg[offset+0] = (unsigned char)( *olen >> 8 ); 2078 ssl->out_msg[offset+1] = (unsigned char)( *olen ); 3020 size_t n = 0, offset = 0; local 3128 offset = 2; 3138 ssl->out_msg + 6 + offset, &n, 3145 ssl->out_msg[4 + offset] = (unsigned char)( n >> 8 ); [all …]
|
D | aes.c | 1232 size_t offset; in mbedtls_aes_self_test() local 1380 offset = 0; in mbedtls_aes_self_test() 1386 mbedtls_aes_crypt_cfb128( &ctx, v, 64, &offset, iv, buf, buf ); in mbedtls_aes_self_test() 1400 mbedtls_aes_crypt_cfb128( &ctx, v, 64, &offset, iv, buf, buf ); in mbedtls_aes_self_test() 1436 offset = 0; in mbedtls_aes_self_test() 1444 mbedtls_aes_crypt_ctr( &ctx, len, &offset, nonce_counter, stream_block, in mbedtls_aes_self_test() 1461 mbedtls_aes_crypt_ctr( &ctx, len, &offset, nonce_counter, stream_block, in mbedtls_aes_self_test()
|
D | rsa.c | 933 unsigned int slen, hlen, offset = 0; in mbedtls_rsa_rsassa_pss_sign() local 996 offset = 1; in mbedtls_rsa_rsassa_pss_sign() 999 mgf_mask( sig + offset, olen - hlen - 1 - offset, p, hlen, &md_ctx ); in mbedtls_rsa_rsassa_pss_sign()
|
D | ssl_tls.c | 2859 static void ssl_bitmask_set( unsigned char *mask, size_t offset, size_t len ) in ssl_bitmask_set() argument 2863 start_bits = 8 - ( offset % 8 ); in ssl_bitmask_set() 2866 size_t first_byte_idx = offset / 8; in ssl_bitmask_set() 2878 offset += start_bits; /* Now offset % 8 == 0 */ in ssl_bitmask_set() 2888 size_t last_byte_idx = ( offset + len ) / 8; in ssl_bitmask_set() 2896 memset( mask + offset / 8, 0xFF, len / 8 ); in ssl_bitmask_set()
|
/net-tools-3.4.0/libcoap/src/ |
D | resource.c | 163 size_t offset, argument 168 size_t offset, coap_opt_t *query_filter) { 174 const size_t old_offset = offset; 263 PRINT_COND_WITH_OFFSET(p, bufend, offset, ',', written); 267 result = coap_print_link(r, p, &left, &offset); 281 if (result + old_offset - offset < *buflen) { 478 unsigned char *buf, size_t *len, size_t *offset) { argument 483 const size_t old_offset = *offset; 486 PRINT_COND_WITH_OFFSET(p, bufend, *offset, '<', *len); 487 PRINT_COND_WITH_OFFSET(p, bufend, *offset, '/', *len); [all …]
|
D | net.c | 1156 size_t offset = 0; in coap_wellknown_response() local 1188 offset = block.num << (block.szx + 4); in coap_wellknown_response() 1194 block.num = offset >> (block.szx + 4); in coap_wellknown_response() 1254 result = coap_print_wellknown(context, resp->data, &len, offset, query_filter); in coap_wellknown_response()
|
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/ |
D | havege.h | 39 int PT1, PT2, offset[2]; member
|
/net-tools-3.4.0/libcoap/ |
D | ChangeLog | 64 * resource.c (coap_print_link): This function now takes an offset 80 offset and ends at the buffer's upper bound. The meaning of the 85 additional parameter now is used to provide the offset into the
|
D | CONTRIBUTE | 123 /* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 * -*- */
|
/net-tools-3.4.0/libcoap/include/coap/ |
D | resource.h | 237 size_t *offset);
|
/net-tools-3.4.0/mbedtls-2.4.0/ |
D | ChangeLog | 1310 * Fixed offset for cert_type list in ssl_parse_certificate_request()
|