nrfxlib API 3.3.99
Loading...
Searching...
No Matches
ocrypto_curve448.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_CURVE448_H
28#define OCRYPTO_CURVE448_H
29
30#include <stdint.h>
31
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37
41#define ocrypto_curve448_SCALAR_BYTES (56)
42
46#define ocrypto_curve448_BYTES (56)
47
48
63 uint8_t r[ocrypto_curve448_BYTES],
64 const uint8_t n[ocrypto_curve448_SCALAR_BYTES]);
65
81 uint8_t r[ocrypto_curve448_BYTES],
82 const uint8_t n[ocrypto_curve448_SCALAR_BYTES],
83 const uint8_t p[ocrypto_curve448_BYTES]);
84
85
86#ifdef __cplusplus
87}
88#endif
89
90#endif
91
void ocrypto_curve448_scalarmult_base(uint8_t r[(56)], const uint8_t n[(56)])
#define ocrypto_curve448_BYTES
Definition ocrypto_curve448.h:46
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:41