Lines Matching +full:external +full:- +full:references
3 * Copyright (c) 2004-2013, Jouni Malinen <j@w1.fi>
30 * Note: These are used as identifier with external programs and as such, the
125 * struct tls_connection_params - Parameters for TLS connection
138 * must have a full case-insensitive match.
141 * case-insensitive match.
170 * supported, empty string to disable, or a colon-separated curve list.
228 * tls_init - Initialize TLS library
233 * Called once during program startup and once for each RSN pre-authentication
242 * tls_deinit - Deinitialize TLS library
245 * Called once during program shutdown and once for each RSN pre-authentication
249 * from 1 to 0 references.
254 * tls_get_errors - Process pending errors
263 * tls_connection_init - Initialize a new TLS connection
270 * tls_connection_deinit - Free TLS connection data
279 * tls_connection_established - Has the TLS connection been completed?
287 * tls_connection_peer_serial_num - Fetch peer certificate serial number
299 * tls_connection_shutdown - Shutdown TLS connection
302 * Returns: 0 on success, -1 on failure
312 TLS_SET_PARAMS_ENGINE_PRV_BAD_PIN = -4,
313 TLS_SET_PARAMS_ENGINE_PRV_VERIFY_FAILED = -3,
314 TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED = -2
318 * tls_connection_set_params - Set TLS connection parameters
322 * Returns: 0 on success, -1 on failure,
323 * TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED (-2) on error causing PKCS#11 engine
325 * TLS_SET_PARAMS_ENGINE_PRV_VERIFY_FAILED (-3) on failure to verify the
327 * TLS_SET_PARAMS_ENGINE_PRV_BAD_PIN (-4) on PIN error causing PKCS#11 engine
335 * tls_global_set_params - Set TLS parameters for all TLS connection
338 * Returns: 0 on success, -1 on failure,
339 * TLS_SET_PARAMS_ENGINE_PRV_INIT_FAILED (-2) on error causing PKCS#11 engine
341 * TLS_SET_PARAMS_ENGINE_PRV_VERIFY_FAILED (-3) on failure to verify the
343 * TLS_SET_PARAMS_ENGINE_PRV_BAD_PIN (-4) on PIN error causing PKCS#11 engine
350 * tls_global_set_verify - Set global certificate verification options
355 * Returns: 0 on success, -1 on failure
361 * tls_connection_set_verify - Set certificate verification options
370 * Returns: 0 on success, -1 on failure
380 * tls_connection_get_random - Get random data from TLS connection
384 * Returns: 0 on success, -1 on failure
391 * tls_connection_export_key - Derive keying material from a TLS connection
395 * @context: Optional extra upper-layer context (max len 2^16)
397 * @out: Buffer for output data from TLS-PRF
399 * Returns: 0 on success, -1 on failure
413 * tls_connection_get_eap_fast_key - Derive key material for EAP-FAST
416 * @out: Buffer for output data from TLS-PRF
418 * Returns: 0 on success, -1 on failure
421 * EAP-FAST. Most callers will want tls_connection_export_key(), but EAP-FAST
429 * tls_connection_handshake - Process TLS handshake (client side)
467 * tls_connection_server_handshake - Process TLS handshake (server side)
482 * tls_connection_encrypt - Encrypt data into TLS tunnel
497 * tls_connection_decrypt - Decrypt data from TLS tunnel
517 * tls_connection_resumed - Was session resumption used
535 * tls_connection_set_cipher_list - Configure acceptable cipher suites
540 * Returns: 0 on success, -1 on failure
547 * tls_get_version - Get the current TLS version number
552 * Returns: 0 on success, -1 on failure
560 * tls_get_cipher - Get current cipher name
565 * Returns: 0 on success, -1 on failure
573 * tls_connection_enable_workaround - Enable TLS workaround options
576 * Returns: 0 on success, -1 on failure
578 * This function is used to enable connection-specific workaround options for
585 * tls_connection_client_hello_ext - Set TLS extension for ClientHello
591 * Returns: 0 on success, -1 on failure
599 * tls_connection_get_failed - Get connection failure status
608 * tls_connection_get_read_alerts - Get connection read alert status
617 * tls_connection_get_write_alerts - Get connection write alert status
662 * tls_get_tls_unique - Fetch "tls-unique" for channel binding
666 * Returns: Number of bytes written to buf or -1 on error
668 * This function can be used to fetch "tls-unique" (RFC 5929, Section 3) which
675 * tls_connection_get_cipher_suite - Get current TLS cipher suite
682 * tls_connection_get_peer_subject - Get peer subject
689 * tls_connection_get_own_cert_used - Was own certificate used