nrfxlib API 3.3.99
Loading...
Searching...
No Matches
ocrypto_ecdh_p224.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
25#ifndef OCRYPTO_ECDH_P224_H
26#define OCRYPTO_ECDH_P224_H
27
28#include <stdint.h>
29
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35
49int ocrypto_ecdh_p224_secret_key_check(const uint8_t sk[28]);
50
59int ocrypto_ecdh_p224_public_key_check(const uint8_t pk[56]);
60
79int ocrypto_ecdh_p224_public_key(uint8_t pk[56], const uint8_t sk[28]);
80
96int ocrypto_ecdh_p224_common_secret(uint8_t r[28], const uint8_t sk[28], const uint8_t pk[56]);
97
98
99#ifdef __cplusplus
100}
101#endif
102
103#endif
104
int ocrypto_ecdh_p224_public_key(uint8_t pk[56], const uint8_t sk[28])
int ocrypto_ecdh_p224_secret_key_check(const uint8_t sk[28])
int ocrypto_ecdh_p224_common_secret(uint8_t r[28], const uint8_t sk[28], const uint8_t pk[56])
int ocrypto_ecdh_p224_public_key_check(const uint8_t pk[56])