| /freebsd-14.2/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-14.2/contrib/wpa/src/crypto/ |
| H A D | tls_internal.c | 466 const struct wpabuf *in_data, in tls_connection_handshake() argument 476 const struct wpabuf *in_data, in tls_connection_handshake2() argument 490 in_data ? wpabuf_head(in_data) : NULL, in tls_connection_handshake2() 491 in_data ? wpabuf_len(in_data) : 0, in tls_connection_handshake2() 520 const struct wpabuf *in_data, in tls_connection_server_handshake() argument 535 wpabuf_len(in_data), &res_len); in tls_connection_server_handshake() 565 wpabuf_len(in_data), in tls_connection_encrypt() 584 wpabuf_len(in_data), in tls_connection_encrypt() 609 const struct wpabuf *in_data, in tls_connection_decrypt2() argument 618 wpabuf_len(in_data), in tls_connection_decrypt2() [all …]
|
| 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.h | 455 const struct wpabuf *in_data, 460 const struct wpabuf *in_data, 476 const struct wpabuf *in_data, 492 const struct wpabuf *in_data); 507 const struct wpabuf *in_data); 511 const struct wpabuf *in_data,
|
| H A D | tls_wolfssl.c | 50 const struct wpabuf *in_data; member 127 in->in_data = buf; in wolfssl_reset_in_data() 1655 const struct wpabuf *in_data, in wolfssl_handshake() argument 1746 const struct wpabuf *in_data, in wolfssl_connection_handshake() argument 1764 if (appl_data && in_data) in wolfssl_connection_handshake() 1766 wpabuf_len(in_data)); in wolfssl_connection_handshake() 1775 const struct wpabuf *in_data, in tls_connection_handshake() argument 1784 const struct wpabuf *in_data, in tls_connection_server_handshake() argument 1793 const struct wpabuf *in_data) in tls_connection_encrypt() argument 1805 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 …]
|
| /freebsd-14.2/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-14.2/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() 371 pos = in_data; in tls_process_certificate() 632 *in_len = end - in_data; in tls_process_certificate() 843 pos = in_data; in tls_process_certificate_status() 1038 pos = in_data; in tls_process_server_key_exchange() 1134 pos = in_data; in tls_process_certificate_request() 1198 pos = in_data; in tls_process_server_hello_done() 1286 pos = in_data; in tls_process_server_change_cipher_spec() 1336 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 | 164 const u8 *in_data, size_t in_len, in tlsv1_client_handshake() argument 192 in_data = wpabuf_head(conn->partial_input); in tlsv1_client_handshake() 196 if (in_data == NULL || in_len == 0) in tlsv1_client_handshake() 199 pos = in_data; in tlsv1_client_handshake() 200 end = in_data + in_len; in tlsv1_client_handshake() 298 const u8 *in_data, size_t in_len, in tlsv1_client_encrypt() argument 304 in_data, in_len); in tlsv1_client_encrypt() 331 const u8 *in_data, size_t in_len, in tlsv1_client_decrypt() argument 351 in_data = wpabuf_head(conn->partial_input); in tlsv1_client_decrypt() 355 pos = in_data; in tlsv1_client_decrypt() [all …]
|
| 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_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_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,
|
| H A D | tlsv1_record.h | 68 const u8 *in_data, size_t in_len,
|
| /freebsd-14.2/contrib/wpa/src/eap_peer/ |
| H A D | eap_tls_common.c | 476 const struct wpabuf *in_data) in eap_peer_tls_reassemble_fragment() argument 481 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment() 519 if (in_data) in eap_peer_tls_reassemble_fragment() 520 wpabuf_put_buf(data->tls_in, in_data); in eap_peer_tls_reassemble_fragment() 564 data->tls_in = wpabuf_dup(in_data); in eap_peer_tls_data_reassemble() 583 const struct wpabuf *in_data, in eap_tls_process_input() argument 741 wpabuf_len(in_data) > 0) { in eap_peer_tls_process_helper() 1039 const struct wpabuf *in_data, in eap_peer_tls_decrypt() argument 1072 const struct wpabuf *in_data, in eap_peer_tls_encrypt() argument 1075 if (in_data) { in eap_peer_tls_encrypt() [all …]
|
| H A D | eap_tls_common.h | 116 u8 id, const struct wpabuf *in_data, 132 const struct wpabuf *in_data, 136 const struct wpabuf *in_data,
|
| H A D | eap_ttls.c | 1450 const struct wpabuf *in_data, in eap_ttls_decrypt() argument 1461 in_data ? (unsigned long) wpabuf_len(in_data) : 0); in eap_ttls_decrypt() 1479 if ((in_data == NULL || wpabuf_len(in_data) == 0) && in eap_ttls_decrypt() 1486 if (in_data == NULL || wpabuf_len(in_data) == 0) { in eap_ttls_decrypt() 1493 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_ttls_decrypt() 1539 const struct wpabuf *in_data, in eap_ttls_process_handshake() argument 1572 in_data, out_data); in eap_ttls_process_handshake() 1620 res = eap_ttls_decrypt(sm, data, ret, identifier, in_data, in eap_ttls_process_handshake()
|
| /freebsd-14.2/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-14.2/contrib/wpa/src/eap_server/ |
| H A D | eap_server_peap.c | 709 struct wpabuf *in_data) in eap_peap_process_phase2_tlv() argument 829 struct wpabuf *in_data) in eap_peap_process_phase2_soh() argument 960 struct wpabuf *in_data) in eap_peap_process_phase2_response() argument 969 eap_peap_process_phase2_tlv(sm, data, in_data); in eap_peap_process_phase2_response() 975 eap_peap_process_phase2_soh(sm, data, in_data); in eap_peap_process_phase2_response() 986 hdr = wpabuf_head(in_data); in eap_peap_process_phase2_response() 989 if (wpabuf_len(in_data) > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { in eap_peap_process_phase2_response() 990 left = wpabuf_len(in_data) - sizeof(*hdr); in eap_peap_process_phase2_response() 1015 if (data->phase2_method->check(sm, data->phase2_priv, in_data)) { in eap_peap_process_phase2_response() 1021 data->phase2_method->process(sm, data->phase2_priv, in_data); in eap_peap_process_phase2_response() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
| H A D | freebsd_crypto.h | 79 void crypto_mac(const crypto_key_t *key, const void *in_data,
|