nrfxlib API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
ocrypto_ed448.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 - 2025 Nordic Semiconductor ASA
3
* Copyright (c) since 2013 Oberon microsystems AG
4
*
5
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
6
*/
7
8
21
26
27
#ifndef OCRYPTO_ED448_H
28
#define OCRYPTO_ED448_H
29
30
#include <stddef.h>
31
#include <stdint.h>
32
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
38
42
#define ocrypto_ed448_PUBLIC_KEY_BYTES (57)
43
47
#define ocrypto_ed448_SECRET_KEY_BYTES (57)
48
52
#define ocrypto_ed448_BYTES (114)
53
54
64
void
ocrypto_ed448_public_key
(
65
uint8_t pk[
ocrypto_ed448_PUBLIC_KEY_BYTES
],
66
const
uint8_t sk[
ocrypto_ed448_SECRET_KEY_BYTES
]);
67
80
void
ocrypto_ed448_sign
(
81
uint8_t sig[
ocrypto_ed448_BYTES
],
82
const
uint8_t *m,
size_t
m_len,
83
const
uint8_t sk[
ocrypto_ed448_SECRET_KEY_BYTES
],
84
const
uint8_t pk[
ocrypto_ed448_PUBLIC_KEY_BYTES
]);
85
100
int
ocrypto_ed448_verify
(
101
const
uint8_t sig[
ocrypto_ed448_BYTES
],
102
const
uint8_t *m,
size_t
m_len,
103
const
uint8_t pk[
ocrypto_ed448_PUBLIC_KEY_BYTES
]);
104
105
106
#ifdef __cplusplus
107
}
108
#endif
109
110
#endif
111
ocrypto_ed448_BYTES
#define ocrypto_ed448_BYTES
Definition
ocrypto_ed448.h:52
ocrypto_ed448_PUBLIC_KEY_BYTES
#define ocrypto_ed448_PUBLIC_KEY_BYTES
Definition
ocrypto_ed448.h:42
ocrypto_ed448_sign
void ocrypto_ed448_sign(uint8_t sig[(114)], const uint8_t *m, size_t m_len, const uint8_t sk[(57)], const uint8_t pk[(57)])
ocrypto_ed448_verify
int ocrypto_ed448_verify(const uint8_t sig[(114)], const uint8_t *m, size_t m_len, const uint8_t pk[(57)])
ocrypto_ed448_SECRET_KEY_BYTES
#define ocrypto_ed448_SECRET_KEY_BYTES
Definition
ocrypto_ed448.h:47
ocrypto_ed448_public_key
void ocrypto_ed448_public_key(uint8_t pk[(57)], const uint8_t sk[(57)])
crypto
nrf_oberon
include
ocrypto_ed448.h
Generated on
for nrfxlib API by
1.17.0