Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
libcxng.h
Go to the documentation of this file.
1
2/*******************************************************************************
3 * Ledger Nano S - Secure firmware
4 * (c) 2022 Ledger
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 ********************************************************************************/
18
24#ifndef LIBLCXNG_H
25#define LIBLCXNG_H
26
27/* ####################################################################### */
28/* OS */
29/* ####################################################################### */
30
31#include "ox.h"
32
33/* ####################################################################### */
34/* COMMON */
35/* ####################################################################### */
36
37#include "lcx_common.h"
38
39/* ####################################################################### */
40/* HASH/HMAC */
41/* ####################################################################### */
42
43/* ======================================================================= */
44/* HASH */
45/* ======================================================================= */
46#include "lcx_hash.h"
47
48#include "lcx_ripemd160.h"
49#include "lcx_sha256.h"
50#include "lcx_sha512.h"
51#include "lcx_sha3.h"
52#include "lcx_blake2.h"
53#include "lcx_groestl.h"
54#include "lcx_blake3.h"
55
56/* ======================================================================= */
57/* HASH MAC */
58/* ======================================================================= */
59
60#include "lcx_hmac.h"
61
62/* ======================================================================= */
63/* PKDF2 */
64/* ======================================================================= */
65
66#include "lcx_pbkdf2.h"
67
68/* ####################################################################### */
69/* RAND */
70/* ####################################################################### */
71
72#include "lcx_rng.h"
73
74/* ####################################################################### */
75/* MATH */
76/* ####################################################################### */
77
78#include "lcx_math.h"
79
80/* ####################################################################### */
81/* CIPHER/SIGNATURE */
82/* ####################################################################### */
83
84#include "lcx_chacha.h"
85
86#include "lcx_cipher.h"
87#include "lcx_cmac.h"
88
89/* ======================================================================= */
90/* AES */
91/* ======================================================================= */
92
93#include "lcx_aes.h"
94#include "lcx_aes_gcm.h"
95#include "lcx_aes_siv.h"
96
97/* ======================================================================= */
98/* AEAD */
99/* ======================================================================= */
100
101#include "lcx_aead.h"
102#include "lcx_poly1305.h"
103#include "lcx_chacha_poly.h"
104
105/* ======================================================================= */
106/* RSA */
107/* ======================================================================= */
108
109#include "lcx_rsa.h"
110
111/* ======================================================================= */
112/* ECC */
113/* ======================================================================= */
114
115#include "lcx_ecfp.h"
116
117#include "lcx_ecdsa.h"
118#include "lcx_eddsa.h"
119#include "lcx_ecschnorr.h"
120
121/* ####################################################################### */
122/* KEY AGREEMENT */
123/* ####################################################################### */
124
125/* ======================================================================= */
126/* ECC-KA */
127/* ======================================================================= */
128
129#include "lcx_ecdh.h"
130
131/* ####################################################################### */
132/* CHECKSUM */
133/* ####################################################################### */
134
135/* ======================================================================= */
136/* CRC */
137/* ======================================================================= */
138
139#include "lcx_crc.h"
140
141/* ####################################################################### */
142/* CHECKSUM */
143/* ####################################################################### */
144
145#endif
Authenticated Encryption with Associated Data (AEAD)
AES (Advanced Encryption Standard).
AES in Galois/Counter Mode (AES-GCM)
Advanced Encryption Standard with Synthetic Initialization Vector (AES-SIV).
BLAKE2 crypographic hash function.
BLAKE3 hash function.
Chacha cipher.
CHACHA20_POLY1305 Authenticated Encryption with Additional Data (AEAD)
API for block ciphers.
CMAC (Cipher-based Message Authentication Code).
Cryptography flags.
CRC (Cyclic Redundancy Check).
ECDH (Elliptic Curve Diffie Hellman) key exchange.
ECDSA (Elliptic Curve Digital Signature Algorithm).
Key pair generation based on elliptic curves.
ECSDSA (Elliptic Curve-based Schnorr Digital Signature Algorithm).
EDDSA (Edwards Curve Digital Signature Algorithm)
GROESTL hash function.
Hash functions.
HMAC (Keyed-Hash Message Authentication Code)
Basic arithmetic.
PBKDF2 (Password-Based Key Derivation Function)
POLY1305 Message Authentication Code.
RIPEMD-160 hash function.
Random Number Generation.
RSA algorithm.
SHA-2 (Secure Hash Algorithm 2)
SHA-3 (Secure Hash Algorithm 3)
SHA-2 (Secure Hash Algorithm 2)