OpenSSL ECC Engine  1.0
OpenSSL Engine implementation using ATECC508 for ECC key storage and ECDSA, ECDH, and RNG.
Functions | Variables
exchange-tls12.c File Reference

TLS1.2 client/server exchange utility. It is an example of the programmatic use of the ateccx08 engine for TLS1.2 exchange. This file is the main entry point. Call "./exchange-tls12 -h" for help. For details see https://wiki.openssl.org/index.php/SSL/TLS_Client and https://wiki.openssl.org/index.php/Simple_TLS_Server. More...

#include "tlsutil.h"

Functions

void usage (void)
 Print a short help on "./exchange-tls12 -h", "./exchange-tls12 -?", or for an invalid arguments.
 
int main (int argc, char *argv[])
 Main exchange-tls12 function. For help on arguments see the usage() above. More...
 

Variables

int verify_depth
 

Detailed Description

TLS1.2 client/server exchange utility. It is an example of the programmatic use of the ateccx08 engine for TLS1.2 exchange. This file is the main entry point. Call "./exchange-tls12 -h" for help. For details see https://wiki.openssl.org/index.php/SSL/TLS_Client and https://wiki.openssl.org/index.php/Simple_TLS_Server.

Copyright (c) 2015 Atmel Corporation. All rights reserved.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Main exchange-tls12 function. For help on arguments see the usage() above.

Parameters
[in]argc- the number of arguments passed into the command line
[in]argv- a pointer to the array of arguments
Returns
0 for success