nrfxlib API 3.3.99
Loading...
Searching...
No Matches
ocrypto_ed448ph.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_ED448PH_H
28#define OCRYPTO_ED448PH_H
29
30#include <stddef.h>
31#include <stdint.h>
32
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38
42#define ocrypto_ed448ph_PUBLIC_KEY_BYTES (57)
43
47#define ocrypto_ed448ph_SECRET_KEY_BYTES (57)
48
52#define ocrypto_ed448ph_HASH_BYTES (64)
53
57#define ocrypto_ed448ph_BYTES (114)
58
59
71 const uint8_t sk[ocrypto_ed448ph_SECRET_KEY_BYTES]);
72
85 uint8_t sig[ocrypto_ed448ph_BYTES],
86 const uint8_t hash[ocrypto_ed448ph_HASH_BYTES],
87 const uint8_t sk[ocrypto_ed448ph_SECRET_KEY_BYTES],
88 const uint8_t pk[ocrypto_ed448ph_PUBLIC_KEY_BYTES]);
89
104 const uint8_t sig[ocrypto_ed448ph_BYTES],
105 const uint8_t hash[ocrypto_ed448ph_HASH_BYTES],
106 const uint8_t pk[ocrypto_ed448ph_PUBLIC_KEY_BYTES]);
107
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif
114
#define ocrypto_ed448ph_SECRET_KEY_BYTES
Definition ocrypto_ed448ph.h:47
void ocrypto_ed448ph_public_key(uint8_t pk[(57)], const uint8_t sk[(57)])
int ocrypto_ed448ph_verify(const uint8_t sig[(114)], const uint8_t hash[(64)], const uint8_t pk[(57)])
#define ocrypto_ed448ph_BYTES
Definition ocrypto_ed448ph.h:57
#define ocrypto_ed448ph_HASH_BYTES
Definition ocrypto_ed448ph.h:52
#define ocrypto_ed448ph_PUBLIC_KEY_BYTES
Definition ocrypto_ed448ph.h:42
void ocrypto_ed448ph_sign(uint8_t sig[(114)], const uint8_t hash[(64)], const uint8_t sk[(57)], const uint8_t pk[(57)])