eddsa.c File Reference

EdDSA (Edwards-Curve Digital Signature Algorithm) More...

#include "core/crypto.h"
#include "ecc/eddsa.h"
#include "mpi/mpi.h"
#include "debug.h"

Go to the source code of this file.

Macros

#define TRACE_LEVEL   CRYPTO_TRACE_LEVEL
 

Functions

void eddsaInitPublicKey (EddsaPublicKey *key)
 Initialize a DSA public key. More...
 
void eddsaFreePublicKey (EddsaPublicKey *key)
 Release a DSA public key. More...
 
void eddsaInitPrivateKey (EddsaPrivateKey *key)
 Initialize a DSA private key. More...
 
void eddsaFreePrivateKey (EddsaPrivateKey *key)
 Release a DSA private key. More...
 

Detailed Description

EdDSA (Edwards-Curve Digital Signature Algorithm)

License

Copyright (C) 2010-2018 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneCrypto Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
1.9.0

Definition in file eddsa.c.

Macro Definition Documentation

◆ TRACE_LEVEL

#define TRACE_LEVEL   CRYPTO_TRACE_LEVEL

Definition at line 30 of file eddsa.c.

Function Documentation

◆ eddsaFreePrivateKey()

void eddsaFreePrivateKey ( EddsaPrivateKey key)

Release a DSA private key.

Parameters
[in]keyPointer to the DSA public key to free

Definition at line 84 of file eddsa.c.

◆ eddsaFreePublicKey()

void eddsaFreePublicKey ( EddsaPublicKey key)

Release a DSA public key.

Parameters
[in]keyPointer to the DSA public key to free

Definition at line 59 of file eddsa.c.

◆ eddsaInitPrivateKey()

void eddsaInitPrivateKey ( EddsaPrivateKey key)

Initialize a DSA private key.

Parameters
[in]keyPointer to the DSA private key to initialize

Definition at line 71 of file eddsa.c.

◆ eddsaInitPublicKey()

void eddsaInitPublicKey ( EddsaPublicKey key)

Initialize a DSA public key.

Parameters
[in]keyPointer to the DSA public key to initialize

Definition at line 47 of file eddsa.c.