nrfxlib API 2.7.99
Loading...
Searching...
No Matches
ocrypto_ecdh_p384.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
19#ifndef OCRYPTO_ECDH_P384_H
20#define OCRYPTO_ECDH_P384_H
21
22#include <stdint.h>
23
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29
43int ocrypto_ecdh_p384_secret_key_check(const uint8_t sk[48]);
44
53int ocrypto_ecdh_p384_public_key_check(const uint8_t pk[96]);
54
73int ocrypto_ecdh_p384_public_key(uint8_t pk[96], const uint8_t sk[48]);
74
90int ocrypto_ecdh_p384_common_secret(uint8_t r[48], const uint8_t sk[48], const uint8_t pk[96]);
91
92
93#ifdef __cplusplus
94}
95#endif
96
97#endif
98
int ocrypto_ecdh_p384_secret_key_check(const uint8_t sk[48])
int ocrypto_ecdh_p384_public_key_check(const uint8_t pk[96])
int ocrypto_ecdh_p384_public_key(uint8_t pk[96], const uint8_t sk[48])
int ocrypto_ecdh_p384_common_secret(uint8_t r[48], const uint8_t sk[48], const uint8_t pk[96])