tls13_client_extensions.h File Reference

Formatting and parsing of extensions (TLS 1.3 client) More...

#include "tls.h"

Go to the source code of this file.

Functions

error_t tls13FormatCookieExtension (TlsContext *context, uint8_t *p, size_t *written)
 
error_t tls13FormatClientKeyShareExtension (TlsContext *context, uint8_t *p, size_t *written)
 
error_t tls13FormatPskKeModesExtension (TlsContext *context, uint8_t *p, size_t *written)
 
error_t tls13FormatClientPreSharedKeyExtension (TlsContext *context, uint8_t *p, size_t *written, Tls13PskIdentityList **identityList, Tls13PskBinderList **binderList)
 
error_t tls13FormatClientEarlyDataExtension (TlsContext *context, uint8_t *p, size_t *written)
 
error_t tls13ParseServerSupportedVersionsExtension (TlsContext *context, const uint8_t *selectedVersion)
 
error_t tls13ParseCookieExtension (TlsContext *context, const Tls13Cookie *cookie)
 
error_t tls13ParseSelectedGroupExtension (TlsContext *context, const uint8_t *selectedGroup)
 
error_t tls13ParseServerKeyShareExtension (TlsContext *context, const Tls13KeyShareEntry *serverShare)
 
error_t tls13ParseServerPreSharedKeyExtension (TlsContext *context, const uint8_t *selectedIdentity)
 
error_t tls13ParseServerEarlyDataExtension (TlsContext *context, TlsMessageType msgType, const uint8_t *earlyDataIndication)
 

Detailed Description

Formatting and parsing of extensions (TLS 1.3 client)

License

Copyright (C) 2010-2018 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneSSL Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.0

Definition in file tls13_client_extensions.h.

Function Documentation

◆ tls13FormatClientEarlyDataExtension()

error_t tls13FormatClientEarlyDataExtension ( TlsContext context,
uint8_t *  p,
size_t *  written 
)

◆ tls13FormatClientKeyShareExtension()

error_t tls13FormatClientKeyShareExtension ( TlsContext context,
uint8_t *  p,
size_t *  written 
)

◆ tls13FormatClientPreSharedKeyExtension()

error_t tls13FormatClientPreSharedKeyExtension ( TlsContext context,
uint8_t *  p,
size_t *  written,
Tls13PskIdentityList **  identityList,
Tls13PskBinderList **  binderList 
)

◆ tls13FormatCookieExtension()

error_t tls13FormatCookieExtension ( TlsContext context,
uint8_t *  p,
size_t *  written 
)

◆ tls13FormatPskKeModesExtension()

error_t tls13FormatPskKeModesExtension ( TlsContext context,
uint8_t *  p,
size_t *  written 
)

◆ tls13ParseCookieExtension()

error_t tls13ParseCookieExtension ( TlsContext context,
const Tls13Cookie cookie 
)

◆ tls13ParseSelectedGroupExtension()

error_t tls13ParseSelectedGroupExtension ( TlsContext context,
const uint8_t *  selectedGroup 
)

◆ tls13ParseServerEarlyDataExtension()

error_t tls13ParseServerEarlyDataExtension ( TlsContext context,
TlsMessageType  msgType,
const uint8_t *  earlyDataIndication 
)

◆ tls13ParseServerKeyShareExtension()

error_t tls13ParseServerKeyShareExtension ( TlsContext context,
const Tls13KeyShareEntry serverShare 
)

◆ tls13ParseServerPreSharedKeyExtension()

error_t tls13ParseServerPreSharedKeyExtension ( TlsContext context,
const uint8_t *  selectedIdentity 
)

◆ tls13ParseServerSupportedVersionsExtension()

error_t tls13ParseServerSupportedVersionsExtension ( TlsContext context,
const uint8_t *  selectedVersion 
)