crypto_legacy.h File Reference

Legacy definitions. More...

Go to the source code of this file.

Macros

#define mpiReadRaw(r, data, length)   mpiImport(r, data, length, MPI_FORMAT_BIG_ENDIAN)
 
#define mpiWriteRaw(a, data, length)   mpiExport(a, data, length, MPI_FORMAT_BIG_ENDIAN)
 
#define ecdsaGenerateKeyPair   ecGenerateKeyPair
 
#define ecdsaGeneratePrivateKey   ecGeneratePrivateKey
 
#define ecdsaGeneratePublicKey   ecGeneratePublicKey
 
#define MAX_HASH_CONTEXT_SIZE   sizeof(HashContext)
 
#define MAX_CIPHER_CONTEXT_SIZE   sizeof(CipherContext)
 
#define yarrowRelease   yarrowDeinit
 
#define X509CertificateInfo   X509CertInfo
 
#define X509SignatureAlgoId   X509SignAlgoId
 

Detailed Description

Legacy definitions.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 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
2.4.0

Definition in file crypto_legacy.h.

Macro Definition Documentation

◆ ecdsaGenerateKeyPair

#define ecdsaGenerateKeyPair   ecGenerateKeyPair

Definition at line 46 of file crypto_legacy.h.

◆ ecdsaGeneratePrivateKey

#define ecdsaGeneratePrivateKey   ecGeneratePrivateKey

Definition at line 47 of file crypto_legacy.h.

◆ ecdsaGeneratePublicKey

#define ecdsaGeneratePublicKey   ecGeneratePublicKey

Definition at line 48 of file crypto_legacy.h.

◆ MAX_CIPHER_CONTEXT_SIZE

#define MAX_CIPHER_CONTEXT_SIZE   sizeof(CipherContext)

Definition at line 51 of file crypto_legacy.h.

◆ MAX_HASH_CONTEXT_SIZE

#define MAX_HASH_CONTEXT_SIZE   sizeof(HashContext)

Definition at line 50 of file crypto_legacy.h.

◆ mpiReadRaw

#define mpiReadRaw (   r,
  data,
  length 
)    mpiImport(r, data, length, MPI_FORMAT_BIG_ENDIAN)

Definition at line 35 of file crypto_legacy.h.

◆ mpiWriteRaw

#define mpiWriteRaw (   a,
  data,
  length 
)    mpiExport(a, data, length, MPI_FORMAT_BIG_ENDIAN)

Definition at line 36 of file crypto_legacy.h.

◆ X509CertificateInfo

#define X509CertificateInfo   X509CertInfo

Definition at line 63 of file crypto_legacy.h.

◆ X509SignatureAlgoId

#define X509SignatureAlgoId   X509SignAlgoId

Definition at line 64 of file crypto_legacy.h.

◆ yarrowRelease

#define yarrowRelease   yarrowDeinit

Definition at line 61 of file crypto_legacy.h.