Lines Matching refs:Session
350 Sets a TLS/SSL session ID to be used during TLS/SSL connect.
352 This function sets a session ID to be used when the TLS/SSL connection is
356 @param[in] SessionId Session ID data used for session resumption.
357 @param[in] SessionIdLen Length of Session ID in bytes.
359 @retval EFI_SUCCESS Session ID was set successfully.
361 @retval EFI_UNSUPPORTED No available session for ID setting.
373 SSL_SESSION *Session;
376 Session = NULL;
382 Session = SSL_get_session (TlsConn->Ssl);
383 if (Session == NULL) {
387 Session->session_id_length = SessionIdLen;
388 CopyMem (Session->session_id, SessionId, Session->session_id_length);
780 Gets the session ID used by the specified TLS connection.
782 This function returns the TLS/SSL session ID currently used by the
786 @param[in,out] SessionId Buffer to contain the returned session ID.
787 @param[in,out] SessionIdLen The length of Session ID in bytes.
789 @retval EFI_SUCCESS The Session ID was returned successfully.
791 @retval EFI_UNSUPPORTED Invalid TLS/SSL session.
803 SSL_SESSION *Session;
807 Session = NULL;
813 Session = SSL_get_session (TlsConn->Ssl);
814 if (Session == NULL) {
818 SslSessionId = SSL_SESSION_get_id (Session, (unsigned int *)SessionIdLen);
893 @retval EFI_UNSUPPORTED Invalid TLS/SSL session.
904 SSL_SESSION *Session;
907 Session = NULL;
913 Session = SSL_get_session (TlsConn->Ssl);
915 if (Session == NULL) {
919 CopyMem (KeyMaterial, Session->master_key, Session->master_key_length);