nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_curve448.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2016 - 2024 Nordic Semiconductor ASA
3 * Copyright (c) since 2013 Oberon microsystems AG
4 *
5 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
6 */
7
8
16#ifndef OCRYPTO_CURVE448_H
17#define OCRYPTO_CURVE448_H
18
19#include <stdint.h>
20
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26
30#define ocrypto_curve448_SCALAR_BYTES (56)
31
35#define ocrypto_curve448_BYTES (56)
36
37
52 uint8_t r[ocrypto_curve448_BYTES],
53 const uint8_t n[ocrypto_curve448_SCALAR_BYTES]);
54
70 uint8_t r[ocrypto_curve448_BYTES],
71 const uint8_t n[ocrypto_curve448_SCALAR_BYTES],
72 const uint8_t p[ocrypto_curve448_BYTES]);
73
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif
void ocrypto_curve448_scalarmult_base(uint8_t r[(56)], const uint8_t n[(56)])
#define ocrypto_curve448_BYTES
Definition: ocrypto_curve448.h:35
void ocrypto_curve448_scalarmult(uint8_t r[(56)], const uint8_t n[(56)], const uint8_t p[(56)])
#define ocrypto_curve448_SCALAR_BYTES
Definition: ocrypto_curve448.h:30