nrfxlib API
0.1.0
Loading...
Searching...
No Matches
ocrypto_sc_p256.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
#ifndef OCRYPTO_SC_P256_H
9
#define OCRYPTO_SC_P256_H
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
#include <stdint.h>
16
17
#include "
ocrypto_types.h
"
18
19
// 32 byte value to scalar
20
// return 0 if x < group order
21
int
ocrypto_sc_p256_from32bytes
(
ocrypto_sc_p256
*r,
const
uint8_t x[32]);
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
/* #ifndef OCRYPTO_SC_P256_H */
ocrypto_sc_p256_from32bytes
int ocrypto_sc_p256_from32bytes(ocrypto_sc_p256 *r, const uint8_t x[32])
ocrypto_types.h
ocrypto_sc_p256
Definition:
ocrypto_types.h:102
crypto
nrf_oberon
include
ocrypto_sc_p256.h
Generated on Thu Sep 26 2024 10:53:01 for nrfxlib API by
1.9.6