A library for setting up Secure Socket Layer (SSL) connections and verifying remote hosts using certificates. Contains only the source files for mbed platform implementation of the library.

Dependents:   HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL HTTPClient-SSL

Committer:
Mike Fiore
Date:
Mon Mar 23 16:51:07 2015 -0500
Revision:
6:cf58d49e1a86
Parent:
0:b86d15c6ba29
fix whitespace in sha512.c

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Vanger 0:b86d15c6ba29 1 /* sniffer_error.h
Vanger 0:b86d15c6ba29 2 *
Vanger 0:b86d15c6ba29 3 * Copyright (C) 2006-2014 wolfSSL Inc.
Vanger 0:b86d15c6ba29 4 *
Vanger 0:b86d15c6ba29 5 * This file is part of CyaSSL.
Vanger 0:b86d15c6ba29 6 *
Vanger 0:b86d15c6ba29 7 * CyaSSL is free software; you can redistribute it and/or modify
Vanger 0:b86d15c6ba29 8 * it under the terms of the GNU General Public License as published by
Vanger 0:b86d15c6ba29 9 * the Free Software Foundation; either version 2 of the License, or
Vanger 0:b86d15c6ba29 10 * (at your option) any later version.
Vanger 0:b86d15c6ba29 11 *
Vanger 0:b86d15c6ba29 12 * CyaSSL is distributed in the hope that it will be useful,
Vanger 0:b86d15c6ba29 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Vanger 0:b86d15c6ba29 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Vanger 0:b86d15c6ba29 15 * GNU General Public License for more details.
Vanger 0:b86d15c6ba29 16 *
Vanger 0:b86d15c6ba29 17 * You should have received a copy of the GNU General Public License
Vanger 0:b86d15c6ba29 18 * along with this program; if not, write to the Free Software
Vanger 0:b86d15c6ba29 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Vanger 0:b86d15c6ba29 20 */
Vanger 0:b86d15c6ba29 21
Vanger 0:b86d15c6ba29 22
Vanger 0:b86d15c6ba29 23 #ifndef CYASSL_SNIFFER_ERROR_H
Vanger 0:b86d15c6ba29 24 #define CYASSL_SNIFFER_ERROR_H
Vanger 0:b86d15c6ba29 25
Vanger 0:b86d15c6ba29 26 /* need to have errors as #defines since .rc files can't handle enums */
Vanger 0:b86d15c6ba29 27 /* need to start at 1 and go in order for same reason */
Vanger 0:b86d15c6ba29 28
Vanger 0:b86d15c6ba29 29 #define MEMORY_STR 1
Vanger 0:b86d15c6ba29 30 #define NEW_SERVER_STR 2
Vanger 0:b86d15c6ba29 31 #define IP_CHECK_STR 3
Vanger 0:b86d15c6ba29 32 #define SERVER_NOT_REG_STR 4
Vanger 0:b86d15c6ba29 33 #define TCP_CHECK_STR 5
Vanger 0:b86d15c6ba29 34 #define SERVER_PORT_NOT_REG_STR 6
Vanger 0:b86d15c6ba29 35 #define RSA_DECRYPT_STR 7
Vanger 0:b86d15c6ba29 36 #define RSA_DECODE_STR 8
Vanger 0:b86d15c6ba29 37 #define BAD_CIPHER_SPEC_STR 9
Vanger 0:b86d15c6ba29 38 #define SERVER_HELLO_INPUT_STR 10
Vanger 0:b86d15c6ba29 39
Vanger 0:b86d15c6ba29 40 #define BAD_SESSION_RESUME_STR 11
Vanger 0:b86d15c6ba29 41 #define SERVER_DID_RESUMPTION_STR 12
Vanger 0:b86d15c6ba29 42 #define CLIENT_HELLO_INPUT_STR 13
Vanger 0:b86d15c6ba29 43 #define CLIENT_RESUME_TRY_STR 14
Vanger 0:b86d15c6ba29 44 #define HANDSHAKE_INPUT_STR 15
Vanger 0:b86d15c6ba29 45 #define GOT_HELLO_VERIFY_STR 16
Vanger 0:b86d15c6ba29 46 #define GOT_SERVER_HELLO_STR 17
Vanger 0:b86d15c6ba29 47 #define GOT_CERT_REQ_STR 18
Vanger 0:b86d15c6ba29 48 #define GOT_SERVER_KEY_EX_STR 19
Vanger 0:b86d15c6ba29 49 #define GOT_CERT_STR 20
Vanger 0:b86d15c6ba29 50
Vanger 0:b86d15c6ba29 51 #define GOT_SERVER_HELLO_DONE_STR 21
Vanger 0:b86d15c6ba29 52 #define GOT_FINISHED_STR 22
Vanger 0:b86d15c6ba29 53 #define GOT_CLIENT_HELLO_STR 23
Vanger 0:b86d15c6ba29 54 #define GOT_CLIENT_KEY_EX_STR 24
Vanger 0:b86d15c6ba29 55 #define GOT_CERT_VER_STR 25
Vanger 0:b86d15c6ba29 56 #define GOT_UNKNOWN_HANDSHAKE_STR 26
Vanger 0:b86d15c6ba29 57 #define NEW_SESSION_STR 27
Vanger 0:b86d15c6ba29 58 #define BAD_NEW_SSL_STR 28
Vanger 0:b86d15c6ba29 59 #define GOT_PACKET_STR 29
Vanger 0:b86d15c6ba29 60 #define NO_DATA_STR 30
Vanger 0:b86d15c6ba29 61
Vanger 0:b86d15c6ba29 62 #define BAD_SESSION_STR 31
Vanger 0:b86d15c6ba29 63 #define GOT_OLD_CLIENT_HELLO_STR 32
Vanger 0:b86d15c6ba29 64 #define OLD_CLIENT_INPUT_STR 33
Vanger 0:b86d15c6ba29 65 #define OLD_CLIENT_OK_STR 34
Vanger 0:b86d15c6ba29 66 #define BAD_OLD_CLIENT_STR 35
Vanger 0:b86d15c6ba29 67 #define BAD_RECORD_HDR_STR 36
Vanger 0:b86d15c6ba29 68 #define RECORD_INPUT_STR 37
Vanger 0:b86d15c6ba29 69 #define GOT_HANDSHAKE_STR 38
Vanger 0:b86d15c6ba29 70 #define BAD_HANDSHAKE_STR 39
Vanger 0:b86d15c6ba29 71 #define GOT_CHANGE_CIPHER_STR 40
Vanger 0:b86d15c6ba29 72
Vanger 0:b86d15c6ba29 73 #define GOT_APP_DATA_STR 41
Vanger 0:b86d15c6ba29 74 #define BAD_APP_DATA_STR 42
Vanger 0:b86d15c6ba29 75 #define GOT_ALERT_STR 43
Vanger 0:b86d15c6ba29 76 #define ANOTHER_MSG_STR 44
Vanger 0:b86d15c6ba29 77 #define REMOVE_SESSION_STR 45
Vanger 0:b86d15c6ba29 78 #define KEY_FILE_STR 46
Vanger 0:b86d15c6ba29 79 #define BAD_IPVER_STR 47
Vanger 0:b86d15c6ba29 80 #define BAD_PROTO_STR 48
Vanger 0:b86d15c6ba29 81 #define PACKET_HDR_SHORT_STR 49
Vanger 0:b86d15c6ba29 82 #define GOT_UNKNOWN_RECORD_STR 50
Vanger 0:b86d15c6ba29 83
Vanger 0:b86d15c6ba29 84 #define BAD_TRACE_FILE_STR 51
Vanger 0:b86d15c6ba29 85 #define FATAL_ERROR_STR 52
Vanger 0:b86d15c6ba29 86 #define PARTIAL_INPUT_STR 53
Vanger 0:b86d15c6ba29 87 #define BUFFER_ERROR_STR 54
Vanger 0:b86d15c6ba29 88 #define PARTIAL_ADD_STR 55
Vanger 0:b86d15c6ba29 89 #define DUPLICATE_STR 56
Vanger 0:b86d15c6ba29 90 #define OUT_OF_ORDER_STR 57
Vanger 0:b86d15c6ba29 91 #define OVERLAP_DUPLICATE_STR 58
Vanger 0:b86d15c6ba29 92 #define OVERLAP_REASSEMBLY_BEGIN_STR 59
Vanger 0:b86d15c6ba29 93 #define OVERLAP_REASSEMBLY_END_STR 60
Vanger 0:b86d15c6ba29 94
Vanger 0:b86d15c6ba29 95 #define MISSED_CLIENT_HELLO_STR 61
Vanger 0:b86d15c6ba29 96 #define GOT_HELLO_REQUEST_STR 62
Vanger 0:b86d15c6ba29 97 #define GOT_SESSION_TICKET_STR 63
Vanger 0:b86d15c6ba29 98 #define BAD_INPUT_STR 64
Vanger 0:b86d15c6ba29 99 #define BAD_DECRYPT_TYPE 65
Vanger 0:b86d15c6ba29 100 #define BAD_FINISHED_MSG 66
Vanger 0:b86d15c6ba29 101 #define BAD_COMPRESSION_STR 67
Vanger 0:b86d15c6ba29 102 #define BAD_DERIVE_STR 68
Vanger 0:b86d15c6ba29 103 #define ACK_MISSED_STR 69
Vanger 0:b86d15c6ba29 104 #define BAD_DECRYPT 70
Vanger 0:b86d15c6ba29 105
Vanger 0:b86d15c6ba29 106 #define DECRYPT_KEYS_NOT_SETUP 71
Vanger 0:b86d15c6ba29 107 #define CLIENT_HELLO_LATE_KEY_STR 72
Vanger 0:b86d15c6ba29 108 /* !!!! also add to msgTable in sniffer.c and .rc file !!!! */
Vanger 0:b86d15c6ba29 109
Vanger 0:b86d15c6ba29 110
Vanger 0:b86d15c6ba29 111 #endif /* CyaSSL_SNIFFER_ERROR_H */
Vanger 0:b86d15c6ba29 112