nrfxlib API 3.3.99
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
27#ifndef OCRYPTO_ED448_H
28#define OCRYPTO_ED448_H
29
30#include <stddef.h>
31#include <stdint.h>
32
33
34#ifdef __cplusplus
35extern "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
66 const uint8_t sk[ocrypto_ed448_SECRET_KEY_BYTES]);
67
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
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
#define ocrypto_ed448_BYTES
Definition ocrypto_ed448.h:52
#define ocrypto_ed448_PUBLIC_KEY_BYTES
Definition ocrypto_ed448.h:42
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)])
int ocrypto_ed448_verify(const uint8_t sig[(114)], const uint8_t *m, size_t m_len, const uint8_t pk[(57)])
#define ocrypto_ed448_SECRET_KEY_BYTES
Definition ocrypto_ed448.h:47
void ocrypto_ed448_public_key(uint8_t pk[(57)], const uint8_t sk[(57)])