Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 45) sorted by relevance

12

/net-tools-3.4.0/mbedtls-2.4.0/library/
Dx509_crt.c1518 uint32_t flags ) in mbedtls_x509_crt_verify_info() argument
1527 if( ( flags & cur->code ) == 0 ) in mbedtls_x509_crt_verify_info()
1532 flags ^= cur->code; in mbedtls_x509_crt_verify_info()
1535 if( flags != 0 ) in mbedtls_x509_crt_verify_info()
1633 int flags = 0; in x509_crt_verifycrl() local
1638 return( flags ); in x509_crt_verifycrl()
1657 flags |= MBEDTLS_X509_BADCRL_NOT_TRUSTED; in x509_crt_verifycrl()
1666 flags |= MBEDTLS_X509_BADCRL_BAD_MD; in x509_crt_verifycrl()
1669 flags |= MBEDTLS_X509_BADCRL_BAD_PK; in x509_crt_verifycrl()
1677 flags |= MBEDTLS_X509_BADCRL_NOT_TRUSTED; in x509_crt_verifycrl()
[all …]
Dpadlock.c51 static int flags = -1; in mbedtls_padlock_has_support() local
54 if( flags == -1 ) in mbedtls_padlock_has_support()
71 flags = edx; in mbedtls_padlock_has_support()
74 return( flags & feature ); in mbedtls_padlock_has_support()
Dentropy_poll.c96 static int getrandom_wrapper( void *buf, size_t buflen, unsigned int flags ) in getrandom_wrapper() argument
105 return( syscall( SYS_getrandom, buf, buflen, flags ) ); in getrandom_wrapper()
/net-tools-3.4.0/libcoap/src/
Dasync.c25 coap_pdu_t *request, unsigned char flags, void *data) { in coap_register_async() argument
50 s->flags = flags & ~COAP_ASYNC_CONFIRM; in coap_register_async()
52 s->flags |= COAP_ASYNC_CONFIRM; in coap_register_async()
93 if (s && (s->flags & COAP_ASYNC_RELEASE_DATA) != 0) in coap_free_async()
Dresource.c178 int flags = 0; /* MATCH_SUBSTRING, MATCH_PREFIX, MATCH_URI */ local
201 flags |= MATCH_URI;
206 flags |= MATCH_SUBSTRING;
219 if ((query_pattern.s[0] == '/') && ((flags & MATCH_URI) == MATCH_URI)) {
227 flags |= MATCH_PREFIX;
238 if (flags & MATCH_URI) { /* match resource URI */
239 if (!match(&r->uri, &query_pattern, (flags & MATCH_PREFIX) != 0, (flags & MATCH_SUBSTRING) != 0))
253 (flags & MATCH_PREFIX) != 0,
254 (flags & MATCH_SUBSTRING) != 0)))
288 coap_resource_init(const unsigned char *uri, size_t len, int flags) { argument
[all …]
Dcoap_io_lwip.c67 coap_endpoint_t *coap_new_endpoint(const coap_address_t *addr, int flags) { in coap_new_endpoint() argument
71 LWIP_ASSERT("Flags not supported for LWIP endpoints", flags == COAP_ENDPOINT_NOSEC); in coap_new_endpoint()
Dcoap_io.c78 coap_new_endpoint(const coap_address_t *addr, int flags) { in coap_new_endpoint() argument
120 coap_new_endpoint(const coap_address_t *addr, int flags) { in coap_new_endpoint() argument
169 ep->flags = flags; in coap_new_endpoint()
187 ep->flags & COAP_ENDPOINT_DTLS ? "DTLS " : "", in coap_new_endpoint()
386 target->flags = 0; /* FIXME */ in coap_packet_populate_endpoint()
/net-tools-3.4.0/libcoap/include/coap/
Dresource.h57 int flags; member
95 int flags; member
110 size_t len, int flags);
120 r->flags = (r->flags & !COAP_RESOURCE_FLAGS_NOTIFY_CON) | mode; in coap_resource_set_mode()
173 int flags);
Dasync.h32 unsigned char flags; /**< holds the flags to control behaviour */ member
88 unsigned char flags,
Dcoap_io.h56 int flags; member
62 coap_endpoint_t *coap_new_endpoint(const coap_address_t *addr, int flags);
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509parse.function23 int verify_none( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags )
28 *flags |= MBEDTLS_X509_BADCERT_OTHER;
33 int verify_all( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags )
38 *flags = 0;
85 int verify_print( void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags )
91 ((void) flags);
190 void x509_verify_info( int flags, char *prefix, char *result_str )
197 res = mbedtls_x509_crt_verify_info( buf, sizeof( buf ), prefix, flags );
213 uint32_t flags = 0;
238 …res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, &compat_profile, cn_name, &flags, f_v…
[all …]
/net-tools-3.4.0/mbedtls-2.4.0/programs/x509/
Dcert_app.c126 static int my_verify( void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags ) in my_verify() argument
135 if ( ( *flags ) == 0 ) in my_verify()
139 mbedtls_x509_crt_verify_info( buf, sizeof( buf ), " ! ", *flags ); in my_verify()
158 uint32_t flags; in main() local
344 if( ( ret = mbedtls_x509_crt_verify( &crt, &cacert, &cacrl, NULL, &flags, in main()
351 mbedtls_x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags ); in main()
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/
Dssl_cert_test.c137 uint32_t flags; in main() local
164 ret = mbedtls_x509_crt_verify( &clicert, &cacert, &crl, NULL, &flags, NULL, in main()
173 mbedtls_x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags ); in main()
/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/
Dssl_client1.c85 uint32_t flags; in main() local
214 if( ( flags = mbedtls_ssl_get_verify_result( &ssl ) ) != 0 ) in main()
220 mbedtls_x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags ); in main()
Ddtls_client.c87 uint32_t flags; in main() local
229 if( ( flags = mbedtls_ssl_get_verify_result( &ssl ) ) != 0 ) in main()
235 mbedtls_x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags ); in main()
Dssl_client2.c379 static int my_verify( void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags ) in my_verify() argument
388 if ( ( *flags ) == 0 ) in my_verify()
392 mbedtls_x509_crt_verify_info( buf, sizeof( buf ), " ! ", *flags ); in my_verify()
423 uint32_t flags; in main() local
1315 if( ( flags = mbedtls_ssl_get_verify_result( &ssl ) ) != 0 ) in main()
1321 mbedtls_x509_crt_verify_info( vrfy_buf, sizeof( vrfy_buf ), " ! ", flags ); in main()
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dx509_crt.h253 uint32_t flags );
302 const char *cn, uint32_t *flags,
337 const char *cn, uint32_t *flags,
/net-tools-3.4.0/
Ddtls-client.c336 uint32_t flags; in main() local
516 if ((flags = mbedtls_ssl_get_verify_result(&ssl)) != 0) { in main()
521 mbedtls_x509_crt_verify_info(vrfy_buf, sizeof(vrfy_buf), " ! ", flags); in main()
Dtunslip6.c80 int devopen(const char *dev, int flags);
681 devopen_readlink(const char *dev, int flags) in devopen_readlink() argument
683 int fd = open(dev, flags); in devopen_readlink()
697 return open(buf, flags); in devopen_readlink()
703 devopen(const char *dev, int flags) in devopen() argument
709 return devopen_readlink(t, flags); in devopen()
711 return devopen_readlink(dev, flags); in devopen()
/net-tools-3.4.0/tinydtls-0.8.2/tests/
Ddtls-server.c328 flags = fcntl(fd, F_GETFL, 0);
329 if (flags < 0 || fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
Ddtls-client.c442 flags = fcntl(fd, F_GETFL, 0);
443 if (flags < 0 || fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
/net-tools-3.4.0/libcoap/examples/lwip/
Dserver.c66 netif.flags |= NETIF_FLAG_ETHARP; in main()
/net-tools-3.4.0/libcoap/m4/
Dax_check_compile_flag.m418 # flags (e.g. CFLAGS) when the check is done. The check is thus made with
19 # the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to
Dax_check_link_flag.m417 # If EXTRA-FLAGS is defined, it is added to the linker's default flags
18 # when the check is done. The check is thus made with the flags: "LDFLAGS
/net-tools-3.4.0/libcoap/examples/
Detsi_iot_01.c44 unsigned int flags; /* some flags to control behavior */ member
168 if (test_payload->flags & REQUIRE_ETAG) { in hnd_get_resource()
466 response = coap_pdu_init(async->flags & COAP_ASYNC_CONFIRM in check_async()
574 test_payload->flags |= REQUIRE_ETAG; in init_resources()

12