Lines Matching full:data
78 union tls_event_data *data);
90 * @ca_cert_blob: ca_cert as inlined data or %NULL if not used
99 * @client_cert_blob: client_cert as inlined data or %NULL if not used
103 * @private_key_blob: private_key as inlined data or %NULL if not used
107 * @dh_file: File name for DH/DSA data in PEM format, or %NULL if not used
108 * @dh_blob: dh_file as inlined data or %NULL if not used
125 * (file path or reference to certificate store) or by providing the same data
126 * as a pointer to the data in memory. Only one option will be used for each
161 * @conf: Configuration data for TLS library
162 * Returns: Context data to be used as tls_ctx in calls to other functions,
175 * @tls_ctx: TLS context data from tls_init()
187 * @tls_ctx: TLS context data from tls_init()
196 * @tls_ctx: TLS context data from tls_init()
197 * Returns: Connection context data, conn for other function calls
202 * tls_connection_deinit - Free TLS connection data
203 * @tls_ctx: TLS context data from tls_init()
204 * @conn: Connection context data from tls_connection_init()
212 * @tls_ctx: TLS context data from tls_init()
213 * @conn: Connection context data from tls_connection_init()
220 * @tls_ctx: TLS context data from tls_init()
221 * @conn: Connection context data from tls_connection_init()
238 * @tls_ctx: TLS context data from tls_init()
239 * @conn: Connection context data from tls_connection_init()
253 * @tls_ctx: TLS context data from tls_init()
266 * @tls_ctx: TLS context data from tls_init()
275 * @tls_ctx: TLS context data from tls_init()
276 * @conn: Connection context data from tls_connection_init()
285 * tls_connection_get_keys - Get master key and random data from TLS connection
286 * @tls_ctx: TLS context data from tls_init()
287 * @conn: Connection context data from tls_connection_init()
288 * @keys: Structure of key/random data (filled on success)
297 * @tls_ctx: TLS context data from tls_init()
298 * @conn: Connection context data from tls_connection_init()
302 * @out: Buffer for output data from TLS-PRF
323 * @tls_ctx: TLS context data from tls_init()
324 * @conn: Connection context data from tls_connection_init()
325 * @in_data: Input data from TLS server
326 * @appl_data: Pointer to application data pointer, or %NULL if dropped
327 * Returns: Output data, %NULL on failure
329 * The caller is responsible for freeing the returned output data. If the final
330 * handshake message includes application data, this is decrypted and
331 * appl_data (if not %NULL) is set to point this data. The caller is
342 * output data. In this case, tls_connection_get_failed() must return failure
361 * @tls_ctx: TLS context data from tls_init()
362 * @conn: Connection context data from tls_connection_init()
363 * @in_data: Input data from TLS peer
364 * @appl_data: Pointer to application data pointer, or %NULL if dropped
365 * Returns: Output data, %NULL on failure
367 * The caller is responsible for freeing the returned output data.
375 * tls_connection_encrypt - Encrypt data into TLS tunnel
376 * @tls_ctx: TLS context data from tls_init()
377 * @conn: Connection context data from tls_connection_init()
378 * @in_data: Plaintext data to be encrypted
379 * Returns: Encrypted TLS data or %NULL on failure
382 * send data in the encrypted tunnel. The caller is responsible for freeing the
383 * returned output data.
390 * tls_connection_decrypt - Decrypt data from TLS tunnel
391 * @tls_ctx: TLS context data from tls_init()
392 * @conn: Connection context data from tls_connection_init()
393 * @in_data: Encrypted TLS data
394 * Returns: Decrypted TLS data or %NULL on failure
397 * receive data from the encrypted tunnel. The caller is responsible for
398 * freeing the returned output data.
411 * @tls_ctx: TLS context data from tls_init()
412 * @conn: Connection context data from tls_connection_init()
427 * @tls_ctx: TLS context data from tls_init()
428 * @conn: Connection context data from tls_connection_init()
439 * @tls_ctx: TLS context data from tls_init()
440 * @conn: Connection context data from tls_connection_init()
452 * @tls_ctx: TLS context data from tls_init()
453 * @conn: Connection context data from tls_connection_init()
464 * @tls_ctx: TLS context data from tls_init()
465 data from tls_connection_init()
467 * @data: Extension payload (%NULL to remove extension)
473 int ext_type, const u8 *data,
478 * @tls_ctx: TLS context data from tls_init()
479 * @conn: Connection context data from tls_connection_init()
487 * @tls_ctx: TLS context data from tls_init()
488 * @conn: Connection context data from tls_connection_init()
496 * @tls_ctx: TLS context data from tls_init()
497 * @conn: Connection context data from tls_connection_init()
506 * @tls_ctx: TLS context data from tls_init()
507 * @conn: Connection context data from tls_connection_init()
516 * @tls_ctx: TLS context data from tls_init()