SmartSnippets DA1459x SDK
Data Structures | Functions
crypto_ec.h File Reference

Elliptic curves data. More...

#include <stdint.h>
#include "crypto_ecc_provider_params.h"
#include <hw_ecc_curves.h>
#include "crypto_ecc_provider_function_map.h"
#include "uECC.h"

Go to the source code of this file.

Data Structures

struct  crypto_ec_params_t
 Elliptic curve parameters. More...
 

Functions

CRYPTO_ECC_PROVIDER_RET crypto_ecc_curve_init (crypto_ec_params_t *curve, CRYPTO_ECC_CURVE curve_type)
 Initialize ecc_curve.
 
CRYPTO_ECC_PROVIDER_RET crypto_ecc_compute_public_key (crypto_ec_params_t *curve, uint8_t *d, uint8_t *Q)
 Compute public key ecc primitive. More...
 
CRYPTO_ECC_PROVIDER_RET crypto_ecc_compute_private_key (crypto_ec_params_t *curve, uint8_t *d)
 Compute private key ecc primitive. More...
 
CRYPTO_ECC_PROVIDER_RET crypto_ecc_compute_shared_secret (crypto_ec_params_t *curve, uint8_t *d, uint8_t *Qp, uint8_t *s)
 Compute shared secret key ecc primitive. More...
 

Detailed Description

Elliptic curves data.

Copyright (C) 2016-2018 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.

This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.

THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.