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

Implementation of OpenSSL ENGINE callback functions for Random Number Generator. More...

#include <stdint.h>
#include <openssl/engine.h>
#include <evp.h>
#include <ossl_typ.h>
#include <openssl/rand.h>
#include "ecc_meth.h"

Functions

int eccx08_rand_init (void)
 Initialize the RAND method for ateccx08 engine. More...
 

Variables

RAND_METHOD eccx08_rand
 eccx08_rand is an OpenSSL RAND_METHOD structure specific to the ateccx08 engine. See the crypto/rand/rand.h file for details on the struct rand_meth_st More...
 

Detailed Description

Implementation of OpenSSL ENGINE callback functions for Random Number Generator.

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

Function Documentation

int eccx08_rand_init ( void  )

Initialize the RAND method for ateccx08 engine.

Returns
1 for success

Variable Documentation

RAND_METHOD eccx08_rand
Initial value:
= {
NULL,
RAND_eccx08_rand_bytes,
NULL,
NULL,
RAND_eccx08_rand_bytes,
RAND_eccx08_rand_status
}

eccx08_rand is an OpenSSL RAND_METHOD structure specific to the ateccx08 engine. See the crypto/rand/rand.h file for details on the struct rand_meth_st