Go to the documentation of this file.
31 #ifndef _CRYPTO_LEGACY_H
32 #define _CRYPTO_LEGACY_H
35 #define mpiReadRaw(r, data, length) mpiImport(r, data, length, MPI_FORMAT_BIG_ENDIAN)
36 #define mpiWriteRaw(a, data, length) mpiExport(a, data, length, MPI_FORMAT_BIG_ENDIAN)
38 #ifdef CURVE25519_SUPPORT
39 #define X25519_SUPPORT CURVE25519_SUPPORT
42 #ifdef CURVE448_SUPPORT
43 #define X448_SUPPORT CURVE448_SUPPORT
46 #define ecdsaGenerateKeyPair ecGenerateKeyPair
47 #define ecdsaGeneratePrivateKey ecGeneratePrivateKey
48 #define ecdsaGeneratePublicKey ecGeneratePublicKey
50 #define MAX_HASH_CONTEXT_SIZE sizeof(HashContext)
51 #define MAX_CIPHER_CONTEXT_SIZE sizeof(CipherContext)
53 #ifdef SAMD51_CRYPTO_PUKCC_SUPPORT
54 #define SAMD51_CRYPTO_PKC_SUPPORT SAMD51_CRYPTO_PUKCC_SUPPORT
57 #ifdef SAME54_CRYPTO_PUKCC_SUPPORT
58 #define SAME54_CRYPTO_PKC_SUPPORT SAME54_CRYPTO_PUKCC_SUPPORT
61 #define yarrowRelease yarrowDeinit
63 #define X509CertificateInfo X509CertInfo
64 #define X509SignatureAlgoId X509SignAlgoId
66 #define EddsaMessageChunk DataChunk