Embedded SDK
Embedded SDK
lib_cxng
src
cx_eddsa.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
19
#ifndef CX_EDDSA_H
20
#define CX_EDDSA_H
21
22
#ifdef HAVE_EDDSA
23
24
WARN_UNUSED_RESULT cx_err_t cx_eddsa_get_public_key_internal(
const
cx_ecfp_private_key_t *pv_key,
25
cx_md_t hashID,
26
cx_ecfp_public_key_t *pu_key,
27
uint8_t
*a,
28
size_t
a_len,
29
uint8_t
*h,
30
size_t
h_len,
31
uint8_t
*scal
/*temp uint8[114]*/
);
32
33
#endif
// HAVE_EDDSA
34
35
#endif
// CX_EDDSA_H
uint8_t
unsigned char uint8_t
Definition:
usbd_conf.h:53
Generated by
1.9.1