/openbsd/usr.bin/openssl/ |
H A D | s_apps.h | 148 unsigned int *cookie_len); 150 unsigned int cookie_len);
|
H A D | s_cb.c | 796 unsigned int *cookie_len) in generate_cookie_callback() argument 857 *cookie_len = resultlength; in generate_cookie_callback() 864 unsigned int cookie_len) in verify_cookie_callback() argument 927 if (cookie_len == resultlength && in verify_cookie_callback()
|
/openbsd/sbin/unwind/libunbound/util/ |
H A D | edns.h | 191 size_t cookie_len, const uint8_t* secret, size_t secret_len, int v4, 228 const uint8_t* cookie, size_t cookie_len,
|
H A D | edns.c | 157 edns_cookie_server_validate(const uint8_t* cookie, size_t cookie_len, in edns_cookie_server_validate() argument 165 if(cookie_len != 24) in edns_cookie_server_validate() 276 cookie_secrets_server_validate(const uint8_t* cookie, size_t cookie_len, in cookie_secrets_server_validate() argument 292 cookie_len, in cookie_secrets_server_validate()
|
/openbsd/usr.sbin/unbound/util/ |
H A D | edns.h | 191 size_t cookie_len, const uint8_t* secret, size_t secret_len, int v4, 228 const uint8_t* cookie, size_t cookie_len,
|
H A D | edns.c | 157 edns_cookie_server_validate(const uint8_t* cookie, size_t cookie_len, in edns_cookie_server_validate() argument 165 if(cookie_len != 24) in edns_cookie_server_validate() 276 cookie_secrets_server_validate(const uint8_t* cookie, size_t cookie_len, in cookie_secrets_server_validate() argument 292 cookie_len, in cookie_secrets_server_validate()
|
/openbsd/usr.sbin/nsd/ |
H A D | edns.c | 74 edns->cookie_len = 0; in edns_init_record() 111 edns->cookie_len = optlen; in edns_handle_option() 246 if(q->edns.cookie_len != 24) in cookie_verify()
|
H A D | edns.h | 63 size_t cookie_len; member
|
/openbsd/lib/libssl/ |
H A D | d1_lib.c | 97 s->d1->cookie_len = sizeof(s->d1->cookie); in dtls1_new() 210 s->d1->cookie_len = sizeof(s->d1->cookie); in dtls1_clear()
|
H A D | dtls_local.h | 148 unsigned int cookie_len; member
|
H A D | ssl_tlsext.c | 1813 s->s3->hs.tls13.cookie_len > 0 && s->s3->hs.tls13.cookie != NULL); in tlsext_cookie_client_needs() 1825 s->s3->hs.tls13.cookie_len)) in tlsext_cookie_client_build() 1842 if (CBS_len(&cookie) != s->s3->hs.tls13.cookie_len) in tlsext_cookie_server_process() 1851 s->s3->hs.tls13.cookie_len)) { in tlsext_cookie_server_process() 1868 s->s3->hs.tls13.cookie_len > 0 && s->s3->hs.tls13.cookie != NULL); in tlsext_cookie_server_needs() 1882 s->s3->hs.tls13.cookie_len)) in tlsext_cookie_server_build() 1902 s->s3->hs.tls13.cookie_len != 0) { in tlsext_cookie_client_process() 1911 &s->s3->hs.tls13.cookie_len)) in tlsext_cookie_client_process()
|
H A D | ssl_clnt.c | 705 if (s->d1->cookie_len > sizeof(s->d1->cookie)) { in ssl3_send_client_hello() 712 s->d1->cookie_len)) in ssl3_send_client_hello() 757 size_t cookie_len; in ssl3_get_dtls_hello_verify() local 797 sizeof(s->d1->cookie), &cookie_len)) { in ssl3_get_dtls_hello_verify() 798 s->d1->cookie_len = 0; in ssl3_get_dtls_hello_verify() 802 s->d1->cookie_len = cookie_len; in ssl3_get_dtls_hello_verify()
|
H A D | ssl_srvr.c | 935 size_t cookie_len; in ssl3_get_client_hello() local 939 sizeof(s->d1->rcvd_cookie), &cookie_len)) in ssl3_get_client_hello() 944 s->d1->rcvd_cookie, cookie_len) == 0) { in ssl3_get_client_hello() 952 s->d1->cookie, s->d1->cookie_len) != 0) { in ssl3_get_client_hello() 1184 &(s->d1->cookie_len)) == 0) { in ssl3_send_dtls_hello_verify_request() 1201 if (!CBB_add_bytes(&cookie, s->d1->cookie, s->d1->cookie_len)) in ssl3_send_dtls_hello_verify_request()
|
H A D | ssl_local.h | 508 size_t cookie_len; member 736 unsigned int *cookie_len); 740 unsigned int cookie_len);
|
H A D | ssl_sess.c | 1303 int (*cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)) in SSL_CTX_set_cookie_generate_cb() argument 1311 int (*cb)(SSL *ssl, const unsigned char *cookie, unsigned int cookie_len)) in SSL_CTX_set_cookie_verify_cb() argument
|
H A D | s3_lib.c | 1291 freezero(s->s3->hs.tls13.cookie, s->s3->hs.tls13.cookie_len); in ssl3_free() 1343 freezero(s->s3->hs.tls13.cookie, s->s3->hs.tls13.cookie_len); in ssl3_clear() 1345 s->s3->hs.tls13.cookie_len = 0; in ssl3_clear()
|
/openbsd/regress/lib/libssl/dtls/ |
H A D | dtlstest.c | 386 unsigned int *cookie_len) in dtls_cookie_generate() argument 390 *cookie_len = sizeof(dtls_cookie); in dtls_cookie_generate() 397 unsigned int cookie_len) in dtls_cookie_verify() argument 399 return cookie_len == sizeof(dtls_cookie) && in dtls_cookie_verify()
|
/openbsd/usr.bin/ldap/ |
H A D | aldap.h | 53 unsigned int cookie_len; member
|
H A D | aldap.c | 326 page->cookie_len) == NULL) in aldap_create_page_control() 475 page->cookie_len = elm->be_sub->be_next->be_len; in aldap_parse_page_control() 477 if ((page->cookie = malloc(page->cookie_len)) == NULL) { in aldap_parse_page_control() 484 memcpy(page->cookie, s, page->cookie_len); in aldap_parse_page_control()
|
/openbsd/libexec/login_ldap/ |
H A D | aldap.h | 55 unsigned int cookie_len; member
|
H A D | aldap.c | 326 page->cookie_len) == NULL) in aldap_create_page_control() 475 page->cookie_len = elm->be_sub->be_next->be_len; in aldap_parse_page_control() 477 if ((page->cookie = malloc(page->cookie_len)) == NULL) { in aldap_parse_page_control() 484 memcpy(page->cookie, s, page->cookie_len); in aldap_parse_page_control()
|
/openbsd/usr.sbin/ypldap/ |
H A D | aldap.h | 56 unsigned int cookie_len; member
|
H A D | aldap.c | 362 page->cookie_len) == NULL) in aldap_create_page_control() 511 page->cookie_len = elm->be_sub->be_next->be_len; in aldap_parse_page_control() 513 if ((page->cookie = malloc(page->cookie_len)) == NULL) { in aldap_parse_page_control() 520 memcpy(page->cookie, s, page->cookie_len); in aldap_parse_page_control()
|
/openbsd/usr.sbin/unbound/testcode/ |
H A D | testpkts.c | 1567 int cookie_len = extract_cookie(query_pkt, len, in find_match() local 1569 if(cookie_len == -1) { in find_match() 1574 cookie_len != 8) { in find_match() 1579 cookie_len != 24) { in find_match()
|
/openbsd/regress/lib/libssl/tlsext/ |
H A D | tlsexttest.c | 4004 ssl->s3->hs.tls13.cookie_len = strlen(cookie); in test_tlsext_cookie_client() 4094 ssl->s3->hs.tls13.cookie_len = strlen(cookie); in test_tlsext_cookie_server() 4125 freezero(ssl->s3->hs.tls13.cookie, ssl->s3->hs.tls13.cookie_len); in test_tlsext_cookie_server() 4127 ssl->s3->hs.tls13.cookie_len = 0; in test_tlsext_cookie_server() 4135 ssl->s3->hs.tls13.cookie_len) != 0) { in test_tlsext_cookie_server()
|