| /freebsd-12.1/crypto/heimdal/lib/krb5/ |
| H A D | mk_req_ext.c | 40 krb5_data *in_data, in _krb5_mk_req_internal() argument 81 if (in_data) { in _krb5_mk_req_internal() 88 in_data->data, in _krb5_mk_req_internal() 89 in_data->length, in _krb5_mk_req_internal() 100 in_data->data, in _krb5_mk_req_internal() 101 in_data->length, in _krb5_mk_req_internal() 113 in_data->data, in _krb5_mk_req_internal() 114 in_data->length, in _krb5_mk_req_internal() 150 krb5_data *in_data, in krb5_mk_req_extended() argument 157 in_data, in krb5_mk_req_extended()
|
| H A D | mk_req.c | 41 krb5_data *in_data, in krb5_mk_req_exact() argument 73 in_data, in krb5_mk_req_exact() 86 krb5_data *in_data, in krb5_mk_req() argument 111 server, in_data, ccache, outbuf); in krb5_mk_req()
|
| H A D | rd_cred.c | 58 krb5_data *in_data, in krb5_rd_cred() argument 80 ret = decode_KRB_CRED(in_data->data, in_data->length, in krb5_rd_cred() 330 krb5_data *in_data) in krb5_rd_cred2() argument 336 ret = krb5_rd_cred(context, auth_context, in_data, &creds, NULL); in krb5_rd_cred2()
|
| H A D | sendauth.c | 71 krb5_data *in_data, in krb5_sendauth() argument 161 in_data, in krb5_sendauth()
|
| /freebsd-12.1/contrib/wpa/src/crypto/ |
| H A D | tls_internal.c | 474 const struct wpabuf *in_data, in tls_connection_handshake() argument 484 const struct wpabuf *in_data, in tls_connection_handshake2() argument 498 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2() 499 in_data ? wpabuf_len(in_data) : 0, in tls_connection_handshake2() 528 const struct wpabuf *in_data, in tls_connection_server_handshake() argument 543 wpabuf_len(in_data), &res_len); in tls_connection_server_handshake() 573 wpabuf_len(in_data), in tls_connection_encrypt() 592 wpabuf_len(in_data), in tls_connection_encrypt() 617 const struct wpabuf *in_data, in tls_connection_decrypt2() argument 626 wpabuf_len(in_data), in tls_connection_decrypt2() [all …]
|
| H A D | tls.h | 449 const struct wpabuf *in_data, 454 const struct wpabuf *in_data, 470 const struct wpabuf *in_data, 486 const struct wpabuf *in_data); 501 const struct wpabuf *in_data); 505 const struct wpabuf *in_data,
|
| H A D | tls_none.c | 113 const struct wpabuf *in_data, in tls_connection_handshake() argument 122 const struct wpabuf *in_data, in tls_connection_server_handshake() argument 131 const struct wpabuf *in_data) in tls_connection_encrypt() argument 139 const struct wpabuf *in_data) in tls_connection_decrypt() argument
|
| H A D | tls_wolfssl.c | 45 const struct wpabuf *in_data; member 120 in->in_data = buf; in wolfssl_reset_in_data() 1610 const struct wpabuf *in_data, in wolfssl_handshake() argument 1690 const struct wpabuf *in_data, in wolfssl_connection_handshake() argument 1708 if (appl_data && in_data) in wolfssl_connection_handshake() 1710 wpabuf_len(in_data)); in wolfssl_connection_handshake() 1719 const struct wpabuf *in_data, in tls_connection_handshake() argument 1728 const struct wpabuf *in_data, in tls_connection_server_handshake() argument 1737 const struct wpabuf *in_data) in tls_connection_encrypt() argument 1749 wpabuf_len(in_data)); in tls_connection_encrypt() [all …]
|
| H A D | tls_gnutls.c | 1449 const struct wpabuf *in_data, in tls_connection_handshake() argument 1459 if (in_data && wpabuf_len(in_data) > 0) { in tls_connection_handshake() 1466 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_handshake() 1570 const struct wpabuf *in_data, in tls_connection_server_handshake() argument 1573 return tls_connection_handshake(tls_ctx, conn, in_data, appl_data); in tls_connection_server_handshake() 1579 const struct wpabuf *in_data) in tls_connection_encrypt() argument 1584 res = gnutls_record_send(conn->session, wpabuf_head(in_data), in tls_connection_encrypt() 1585 wpabuf_len(in_data)); in tls_connection_encrypt() 1600 const struct wpabuf *in_data) in tls_connection_decrypt() argument 1611 conn->pull_buf = wpabuf_dup(in_data); in tls_connection_decrypt() [all …]
|
| H A D | tls_openssl.c | 4143 if (in_data && wpabuf_len(in_data) > 0 && in openssl_handshake() 4144 BIO_write(conn->ssl_in, wpabuf_head(in_data), wpabuf_len(in_data)) in openssl_handshake() 4287 const struct wpabuf *in_data, in openssl_connection_handshake() argument 4324 if (appl_data && in_data) in openssl_connection_handshake() 4326 wpabuf_len(in_data)); in openssl_connection_handshake() 4345 const struct wpabuf *in_data, in tls_connection_handshake() argument 4354 const struct wpabuf *in_data, in tls_connection_server_handshake() argument 4364 const struct wpabuf *in_data) in tls_connection_encrypt() argument 4378 res = SSL_write(conn->ssl, wpabuf_head(in_data), wpabuf_len(in_data)); in tls_connection_encrypt() 4404 const struct wpabuf *in_data) in tls_connection_decrypt() argument [all …]
|
| /freebsd-12.1/crypto/heimdal/lib/gssapi/krb5/ |
| H A D | encapsulate.c | 102 const krb5_data *in_data, in _gssapi_encapsulate() argument 110 _gssapi_encap_length (in_data->length, &len, &outer_len, mech); in _gssapi_encapsulate() 120 memcpy (p, in_data->data, in_data->length); in _gssapi_encapsulate() 132 const krb5_data *in_data, in _gsskrb5_encapsulate() argument 141 _gsskrb5_encap_length (in_data->length, &len, &outer_len, mech); in _gsskrb5_encapsulate() 151 memcpy (p, in_data->data, in_data->length); in _gsskrb5_encapsulate()
|
| /freebsd-12.1/contrib/wpa/src/tls/ |
| H A D | tlsv1_record.c | 279 const u8 *in_data, size_t in_len, in tlsv1_record_receive() argument 294 in_data, in_len); in tlsv1_record_receive() 298 ct = in_data[0]; in tlsv1_record_receive() 299 rlen = WPA_GET_BE16(in_data + 3); in tlsv1_record_receive() 301 "length %d", ct, in_data[1], in_data[2], (int) rlen); in tlsv1_record_receive() 308 if (in_data[1] != 0x03) { in tlsv1_record_receive() 310 "%u.%u", in_data[1], in_data[2]); in tlsv1_record_receive() 323 in_data += TLS_RECORD_HEADER_LEN; in tlsv1_record_receive() 334 in_data, rlen); in tlsv1_record_receive() 357 if (crypto_cipher_decrypt(rl->read_cbc, in_data, in tlsv1_record_receive() [all …]
|
| H A D | tlsv1_client_read.c | 94 pos = in_data; in tls_process_server_hello() 265 *in_len = end - in_data; in tls_process_server_hello() 363 pos = in_data; in tls_process_certificate() 624 *in_len = end - in_data; in tls_process_certificate() 834 pos = in_data; in tls_process_certificate_status() 1029 pos = in_data; in tls_process_server_key_exchange() 1125 pos = in_data; in tls_process_certificate_request() 1189 pos = in_data; in tls_process_server_hello_done() 1277 pos = in_data; in tls_process_server_change_cipher_spec() 1327 pos = in_data; in tls_process_server_finished() [all …]
|
| H A D | tlsv1_server_read.c | 26 u8 ct, const u8 *in_data, 139 pos = in_data; in tls_process_client_hello() 381 *in_len = end - in_data; in tls_process_client_hello() 413 pos = in_data; in tls_process_certificate() 590 *in_len = end - in_data; in tls_process_certificate() 824 pos = in_data; in tls_process_client_key_exchange() 876 *in_len = end - in_data; in tls_process_client_key_exchange() 914 pos = in_data; in tls_process_certificate_verify() 1037 *in_len = end - in_data; in tls_process_certificate_verify() 1060 pos = in_data; in tls_process_change_cipher_spec() [all …]
|
| H A D | tlsv1_client.c | 140 const u8 *in_data, size_t in_len, in tlsv1_client_handshake() argument 168 in_data = wpabuf_head(conn->partial_input); in tlsv1_client_handshake() 172 if (in_data == NULL || in_len == 0) in tlsv1_client_handshake() 175 pos = in_data; in tlsv1_client_handshake() 176 end = in_data + in_len; in tlsv1_client_handshake() 274 const u8 *in_data, size_t in_len, in tlsv1_client_encrypt() argument 280 in_data, in_len); in tlsv1_client_encrypt() 307 const u8 *in_data, size_t in_len, in tlsv1_client_decrypt() argument 327 in_data = wpabuf_head(conn->partial_input); in tlsv1_client_decrypt() 331 pos = in_data; in tlsv1_client_decrypt() [all …]
|
| H A D | tlsv1_server.c | 133 const u8 *in_data, size_t in_len, in tlsv1_server_handshake() argument 141 if (in_data == NULL || in_len == 0) { in tlsv1_server_handshake() 146 pos = in_data; in tlsv1_server_handshake() 147 end = in_data + in_len; in tlsv1_server_handshake() 228 const u8 *in_data, size_t in_len, in tlsv1_server_encrypt() argument 234 in_data, in_len); in tlsv1_server_encrypt() 237 out_data, out_len, in_data, in_len, &rlen) < 0) { in tlsv1_server_encrypt() 261 const u8 *in_data, size_t in_len, in tlsv1_server_decrypt() argument 269 pos = in_data; in tlsv1_server_decrypt() 270 in_end = in_data + in_len; in tlsv1_server_decrypt()
|
| H A D | tlsv1_server.h | 25 const u8 *in_data, size_t in_len, size_t *out_len); 27 const u8 *in_data, size_t in_len, 30 const u8 *in_data, size_t in_len,
|
| H A D | tlsv1_client.h | 25 const u8 *in_data, size_t in_len, 29 const u8 *in_data, size_t in_len, 32 const u8 *in_data, size_t in_len,
|
| /freebsd-12.1/contrib/wpa/src/eap_peer/ |
| H A D | eap_tls_common.c | 465 const struct wpabuf *in_data) in eap_peer_tls_reassemble_fragment() argument 470 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment() 508 if (in_data) in eap_peer_tls_reassemble_fragment() 509 wpabuf_put_buf(data->tls_in, in_data); in eap_peer_tls_reassemble_fragment() 553 data->tls_in = wpabuf_dup(in_data); in eap_peer_tls_data_reassemble() 572 const struct wpabuf *in_data, in eap_tls_process_input() argument 729 wpabuf_len(in_data) > 0) { in eap_peer_tls_process_helper() 1027 const struct wpabuf *in_data, in eap_peer_tls_decrypt() argument 1060 const struct wpabuf *in_data, in eap_peer_tls_encrypt() argument 1063 if (in_data) { in eap_peer_tls_encrypt() [all …]
|
| H A D | eap_tls_common.h | 111 u8 id, const struct wpabuf *in_data, 127 const struct wpabuf *in_data, 131 const struct wpabuf *in_data,
|
| H A D | eap_ttls.c | 1396 const struct wpabuf *in_data, in eap_ttls_decrypt() argument 1407 in_data ? (unsigned long) wpabuf_len(in_data) : 0); in eap_ttls_decrypt() 1425 if ((in_data == NULL || wpabuf_len(in_data) == 0) && in eap_ttls_decrypt() 1431 if (in_data == NULL || wpabuf_len(in_data) == 0) { in eap_ttls_decrypt() 1438 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_ttls_decrypt() 1470 const struct wpabuf *in_data, in eap_ttls_process_handshake() argument 1503 in_data, out_data); in eap_ttls_process_handshake() 1551 res = eap_ttls_decrypt(sm, data, ret, identifier, in_data, in eap_ttls_process_handshake()
|
| /freebsd-12.1/sbin/hastd/ |
| H A D | lzf.c | 101 lzf_compress (const void *const in_data, unsigned int in_len, in lzf_compress() argument 112 const u8 *ip = (const u8 *)in_data; in lzf_compress() 159 && ref > (const u8 *)in_data in lzf_compress() 314 lzf_decompress (const void *const in_data, unsigned int in_len, in lzf_decompress() argument 317 u8 const *ip = (const u8 *)in_data; in lzf_decompress()
|
| H A D | lzf.h | 79 lzf_compress (const void *const in_data, unsigned int in_len, 98 lzf_decompress (const void *const in_data, unsigned int in_len,
|
| /freebsd-12.1/contrib/wpa/src/eap_server/ |
| H A D | eap_server_peap.c | 660 struct wpabuf *in_data) in eap_peap_process_phase2_tlv() argument 780 struct wpabuf *in_data) in eap_peap_process_phase2_soh() argument 911 struct wpabuf *in_data) in eap_peap_process_phase2_response() argument 920 eap_peap_process_phase2_tlv(sm, data, in_data); in eap_peap_process_phase2_response() 926 eap_peap_process_phase2_soh(sm, data, in_data); in eap_peap_process_phase2_response() 937 hdr = wpabuf_head(in_data); in eap_peap_process_phase2_response() 940 if (wpabuf_len(in_data) > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { in eap_peap_process_phase2_response() 941 left = wpabuf_len(in_data) - sizeof(*hdr); in eap_peap_process_phase2_response() 966 if (data->phase2_method->check(sm, data->phase2_priv, in_data)) { in eap_peap_process_phase2_response() 972 data->phase2_method->process(sm, data->phase2_priv, in_data); in eap_peap_process_phase2_response() [all …]
|
| H A D | eap_server_teap.c | 955 u8 *in_data, size_t in_len) in eap_teap_process_phase2_response() argument 972 hdr = (struct eap_hdr *) in_data; in eap_teap_process_phase2_response() 1005 wpabuf_set(&buf, in_data, in_len); in eap_teap_process_phase2_response() 1078 u8 *in_data, size_t in_len) in eap_teap_process_phase2_eap() argument 1083 hdr = (struct eap_hdr *) in_data; in eap_teap_process_phase2_eap() 1118 u8 *in_data, size_t in_len) in eap_teap_process_basic_auth_resp() argument 1123 pos = in_data; in eap_teap_process_basic_auth_resp() 1378 struct wpabuf *in_data) in eap_teap_process_phase2_tlvs() argument 1383 if (eap_teap_parse_tlvs(in_data, &tlv) < 0) { in eap_teap_process_phase2_tlvs()
|