Home
last modified time | relevance | path

Searched refs:in_data (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/crypto/heimdal/lib/krb5/
H A Dmk_req_ext.c40 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 Dmk_req.c41 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 Drd_cred.c58 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 Dsendauth.c71 krb5_data *in_data, in krb5_sendauth() argument
161 in_data, in krb5_sendauth()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_internal.c474 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 Dtls_none.c113 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 Dtls.h449 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 Dtls_wolfssl.c46 const struct wpabuf *in_data; member
121 in->in_data = buf; in wolfssl_reset_in_data()
1617 const struct wpabuf *in_data, in wolfssl_handshake() argument
1697 const struct wpabuf *in_data, in wolfssl_connection_handshake() argument
1715 if (appl_data && in_data) in wolfssl_connection_handshake()
1717 wpabuf_len(in_data)); in wolfssl_connection_handshake()
1726 const struct wpabuf *in_data, in tls_connection_handshake() argument
1735 const struct wpabuf *in_data, in tls_connection_server_handshake() argument
1744 const struct wpabuf *in_data) in tls_connection_encrypt() argument
1756 wpabuf_len(in_data)); in tls_connection_encrypt()
[all …]
H A Dtls_gnutls.c1449 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/crypto/heimdal/lib/gssapi/krb5/
H A Dencapsulate.c102 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/contrib/wpa/src/tls/
H A Dtlsv1_record.c279 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 Dtlsv1_client_read.c94 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()
842 pos = in_data; in tls_process_certificate_status()
1037 pos = in_data; in tls_process_server_key_exchange()
1133 pos = in_data; in tls_process_certificate_request()
1197 pos = in_data; in tls_process_server_hello_done()
1285 pos = in_data; in tls_process_server_change_cipher_spec()
1335 pos = in_data; in tls_process_server_finished()
[all …]
H A Dtlsv1_server_read.c26 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 Dtlsv1_client.c164 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 Dtlsv1_server.h25 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 Dtlsv1_server.c133 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 Dtlsv1_client.h25 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 Dtlsv1_record.h68 const u8 *in_data, size_t in_len,
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c467 const struct wpabuf *in_data) in eap_peer_tls_reassemble_fragment() argument
472 in_len = in_data ? wpabuf_len(in_data) : 0; in eap_peer_tls_reassemble_fragment()
510 if (in_data) in eap_peer_tls_reassemble_fragment()
511 wpabuf_put_buf(data->tls_in, in_data); in eap_peer_tls_reassemble_fragment()
555 data->tls_in = wpabuf_dup(in_data); in eap_peer_tls_data_reassemble()
574 const struct wpabuf *in_data, in eap_tls_process_input() argument
732 wpabuf_len(in_data) > 0) { in eap_peer_tls_process_helper()
1030 const struct wpabuf *in_data, in eap_peer_tls_decrypt() argument
1063 const struct wpabuf *in_data, in eap_peer_tls_encrypt() argument
1066 if (in_data) { in eap_peer_tls_encrypt()
[all …]
H A Deap_tls_common.h111 u8 id, const struct wpabuf *in_data,
127 const struct wpabuf *in_data,
131 const struct wpabuf *in_data,
H A Deap_ttls.c1425 const struct wpabuf *in_data, in eap_ttls_decrypt() argument
1436 in_data ? (unsigned long) wpabuf_len(in_data) : 0); in eap_ttls_decrypt()
1454 if ((in_data == NULL || wpabuf_len(in_data) == 0) && in eap_ttls_decrypt()
1461 if (in_data == NULL || wpabuf_len(in_data) == 0) { in eap_ttls_decrypt()
1468 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_ttls_decrypt()
1514 const struct wpabuf *in_data, in eap_ttls_process_handshake() argument
1547 in_data, out_data); in eap_ttls_process_handshake()
1595 res = eap_ttls_decrypt(sm, data, ret, identifier, in_data, in eap_ttls_process_handshake()
/freebsd/sbin/hastd/
H A Dlzf.c101 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 Dlzf.h79 lzf_compress (const void *const in_data, unsigned int in_len,
98 lzf_decompress (const void *const in_data, unsigned int in_len,
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_peap.c691 struct wpabuf *in_data) in eap_peap_process_phase2_tlv() argument
811 struct wpabuf *in_data) in eap_peap_process_phase2_soh() argument
942 struct wpabuf *in_data) in eap_peap_process_phase2_response() argument
951 eap_peap_process_phase2_tlv(sm, data, in_data); in eap_peap_process_phase2_response()
957 eap_peap_process_phase2_soh(sm, data, in_data); in eap_peap_process_phase2_response()
968 hdr = wpabuf_head(in_data); in eap_peap_process_phase2_response()
971 if (wpabuf_len(in_data) > sizeof(*hdr) && *pos == EAP_TYPE_NAK) { in eap_peap_process_phase2_response()
972 left = wpabuf_len(in_data) - sizeof(*hdr); in eap_peap_process_phase2_response()
997 if (data->phase2_method->check(sm, data->phase2_priv, in_data)) { in eap_peap_process_phase2_response()
1003 data->phase2_method->process(sm, data->phase2_priv, in_data); in eap_peap_process_phase2_response()
[all …]
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dfreebsd_crypto.h79 void crypto_mac(const crypto_key_t *key, const void *in_data,

12