Lines Matching refs:data
93 union tls_event_data *data);
120 * @ca_cert_blob: ca_cert as inlined data or %NULL if not used
142 * @client_cert_blob: client_cert as inlined data or %NULL if not used
146 * @private_key_blob: private_key as inlined data or %NULL if not used
150 * @dh_file: File name for DH/DSA data in PEM format, or %NULL if not used
151 * @dh_blob: dh_file as inlined data or %NULL if not used
177 * (file path or reference to certificate store) or by providing the same data
178 * as a pointer to the data in memory. Only one option will be used for each
223 * @conf: Configuration data for TLS library
224 * Returns: Context data to be used as tls_ctx in calls to other functions,
237 * @tls_ctx: TLS context data from tls_init()
249 * @tls_ctx: TLS context data from tls_init()
258 * @tls_ctx: TLS context data from tls_init()
259 * Returns: Connection context data, conn for other function calls
264 * tls_connection_deinit - Free TLS connection data
265 * @tls_ctx: TLS context data from tls_init()
266 * @conn: Connection context data from tls_connection_init()
274 * @tls_ctx: TLS context data from tls_init()
275 * @conn: Connection context data from tls_connection_init()
282 * @tls_ctx: TLS context data from tls_init()
283 * @conn: Connection context data from tls_connection_init()
294 * @tls_ctx: TLS context data from tls_init()
295 * @conn: Connection context data from tls_connection_init()
313 * @tls_ctx: TLS context data from tls_init()
314 * @conn: Connection context data from tls_connection_init()
330 * @tls_ctx: TLS context data from tls_init()
345 * @tls_ctx: TLS context data from tls_init()
356 * @tls_ctx: TLS context data from tls_init()
357 * @conn: Connection context data from tls_connection_init()
372 * tls_connection_get_random - Get random data from TLS connection
373 * @tls_ctx: TLS context data from tls_init()
374 * @conn: Connection context data from tls_connection_init()
375 * @data: Structure of client/server random data (filled on success)
380 struct tls_random *data);
384 * @tls_ctx: TLS context data from tls_init()
385 * @conn: Connection context data from tls_connection_init()
389 * @out: Buffer for output data from TLS-PRF
406 * @tls_ctx: TLS context data from tls_init()
407 * @conn: Connection context data from tls_connection_init()
408 * @out: Buffer for output data from TLS-PRF
422 * @tls_ctx: TLS context data from tls_init()
423 * @conn: Connection context data from tls_connection_init()
424 * @in_data: Input data from TLS server
425 * @appl_data: Pointer to application data pointer, or %NULL if dropped
426 * Returns: Output data, %NULL on failure
428 * The caller is responsible for freeing the returned output data. If the final
429 * handshake message includes application data, this is decrypted and
430 * appl_data (if not %NULL) is set to point this data. The caller is
441 * output data. In this case, tls_connection_get_failed() must return failure
460 * @tls_ctx: TLS context data from tls_init()
461 * @conn: Connection context data from tls_connection_init()
462 * @in_data: Input data from TLS peer
463 * @appl_data: Pointer to application data pointer, or %NULL if dropped
464 * Returns: Output data, %NULL on failure
466 * The caller is responsible for freeing the returned output data.
474 * tls_connection_encrypt - Encrypt data into TLS tunnel
475 * @tls_ctx: TLS context data from tls_init()
476 * @conn: Connection context data from tls_connection_init()
477 * @in_data: Plaintext data to be encrypted
478 * Returns: Encrypted TLS data or %NULL on failure
481 * send data in the encrypted tunnel. The caller is responsible for freeing the
482 * returned output data.
489 * tls_connection_decrypt - Decrypt data from TLS tunnel
490 * @tls_ctx: TLS context data from tls_init()
491 * @conn: Connection context data from tls_connection_init()
492 * @in_data: Encrypted TLS data
493 * Returns: Decrypted TLS data or %NULL on failure
496 * receive data from the encrypted tunnel. The caller is responsible for
497 * freeing the returned output data.
510 * @tls_ctx: TLS context data from tls_init()
511 * @conn: Connection context data from tls_connection_init()
528 * @tls_ctx: TLS context data from tls_init()
529 * @conn: Connection context data from tls_connection_init()
540 * @tls_ctx: TLS context data from tls_init()
541 * @conn: Connection context data from tls_connection_init()
553 * @tls_ctx: TLS context data from tls_init()
554 * @conn: Connection context data from tls_connection_init()
566 * @tls_ctx: TLS context data from tls_init()
567 * @conn: Connection context data from tls_connection_init()
578 * @tls_ctx: TLS context data from tls_init()
579 * @conn: Connection context data from tls_connection_init()
581 * @data: Extension payload (%NULL to remove extension)
587 int ext_type, const u8 *data,
592 * @tls_ctx: TLS context data from tls_init()
593 * @conn: Connection context data from tls_connection_init()
601 * @tls_ctx: TLS context data from tls_init()
602 * @conn: Connection context data from tls_connection_init()
610 * @tls_ctx: TLS context data from tls_init()
611 * @conn: Connection context data from tls_connection_init()
644 struct wpabuf *data);
655 * @conn: Connection context data from tls_connection_init()
668 * @conn: Connection context data from tls_connection_init()