Searched refs:mask (Results 1 – 8 of 8) sorted by relevance
/net-tools-3.4.0/libcoap/examples/lwip/ |
D | server.c | 54 sigset_t mask, oldmask, empty; in main() local 88 sigemptyset(&mask); in main() 89 sigaddset(&mask, SIGALRM); in main() 90 sigprocmask(SIG_BLOCK, &mask, &oldmask); in main()
|
/net-tools-3.4.0/libcoap/src/ |
D | option.c | 412 uint16_t mask; member 454 uint16_t nr, mask = 0; in coap_option_filter_op() local 457 mask = LONG_MASK; in coap_option_filter_op() 461 if (((of->mask & nr) > 0) && (of->long_opts[index] == type)) { in coap_option_filter_op() 463 of->mask &= ~nr; in coap_option_filter_op() 470 mask = SHORT_MASK; in coap_option_filter_op() 475 if (((of->mask & nr) > 0) && (of->short_opts[index] == (type & 0xff))) { in coap_option_filter_op() 477 of->mask &= ~nr; in coap_option_filter_op() 492 index = coap_fls(~of->mask & mask); in coap_option_filter_op() 503 of->mask |= 1 << (index - 1); in coap_option_filter_op()
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | cmac.c | 91 unsigned char R_n, mask; in cmac_multiply_by_u() local 123 mask = - ( input[0] >> 7 ); in cmac_multiply_by_u() 128 output[ blocksize - 1 ] ^= R_n & mask; in cmac_multiply_by_u()
|
D | ecp_curves.c | 1211 size_t adjust, size_t shift, mbedtls_mpi_uint mask ) in ecp_mod_koblitz() argument 1241 if( mask != 0 ) in ecp_mod_koblitz() 1242 N->p[p_limbs - 1] &= mask; in ecp_mod_koblitz() 1263 if( mask != 0 ) in ecp_mod_koblitz() 1264 N->p[p_limbs - 1] &= mask; in ecp_mod_koblitz()
|
D | rsa.c | 467 unsigned char mask[MBEDTLS_MD_MAX_SIZE]; in mgf_mask() local 473 memset( mask, 0, MBEDTLS_MD_MAX_SIZE ); in mgf_mask() 490 mbedtls_md_finish( md_ctx, mask ); in mgf_mask() 493 *p++ ^= mask[i]; in mgf_mask()
|
D | ssl_srv.c | 3118 unsigned char mask; local 3195 mask = - ( ( diff | - diff ) >> ( sizeof( unsigned int ) * 8 - 1 ) ); 3201 pms[i] = ( mask & fake_pms[i] ) | ( (~mask) & peer_pms[i] );
|
D | ssl_tls.c | 2859 static void ssl_bitmask_set( unsigned char *mask, size_t offset, size_t len ) in ssl_bitmask_set() argument 2872 mask[first_byte_idx] |= 1 << ( start_bits - len ); in ssl_bitmask_set() 2882 mask[first_byte_idx] |= 1 << ( start_bits - 1 ); in ssl_bitmask_set() 2893 mask[last_byte_idx] |= 1 << ( 8 - end_bits ); in ssl_bitmask_set() 2896 memset( mask + offset / 8, 0xFF, len / 8 ); in ssl_bitmask_set() 2902 static int ssl_bitmask_check( unsigned char *mask, size_t len ) in ssl_bitmask_check() argument 2907 if( mask[i] != 0xFF ) in ssl_bitmask_check() 2911 if( ( mask[len / 8] & ( 1 << ( 7 - i ) ) ) == 0 ) in ssl_bitmask_check()
|
D | bignum.c | 365 mbedtls_mpi_uint mask = (mbedtls_mpi_uint) 1 << (biL - 1); in mbedtls_clz() local 369 if( x & mask ) break; in mbedtls_clz() 371 mask >>= 1; in mbedtls_clz()
|