blob: 914302437eb4d13dc8fea854eb54960e99e3d19c [file] [log] [blame]
Manuel Pégourié-Gonnardfd6d8972015-05-15 12:09:00 +02001/**
2 * \file ssl_ticket.h
3 *
4 * \brief TLS server ticket callbacks implementation
5 *
6 * Copyright (C) 2015, ARM Limited, All Rights Reserved
7 *
8 * This file is part of mbed TLS (https://tls.mbed.org)
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License along
21 * with this program; if not, write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 */
24#ifndef MBEDTLS_SSL_TICKET_H
25#define MBEDTLS_SSL_TICKET_H
26
27#include "ssl.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
Manuel Pégourié-Gonnarda4a47352015-05-15 15:14:54 +020033/* Temporary, WIP */
34int mbedtls_ssl_ticket_write( mbedtls_ssl_context *ssl, size_t *tlen );
35
36/* Temporary, WIP */
37int mbedtls_ssl_ticket_parse( mbedtls_ssl_context *ssl,
38 unsigned char *buf,
39 size_t len );
Manuel Pégourié-Gonnardfd6d8972015-05-15 12:09:00 +020040
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* ssl_ticket.h */