nrfxlib API 2.7.99
Loading...
Searching...
No Matches
ocrypto_ecdh_p224.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
17#ifndef OCRYPTO_ECDH_P224_H
18#define OCRYPTO_ECDH_P224_H
19
20#include <stdint.h>
21
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27
41int ocrypto_ecdh_p224_secret_key_check(const uint8_t sk[28]);
42
51int ocrypto_ecdh_p224_public_key_check(const uint8_t pk[56]);
52
71int ocrypto_ecdh_p224_public_key(uint8_t pk[56], const uint8_t sk[28]);
72
88int ocrypto_ecdh_p224_common_secret(uint8_t r[28], const uint8_t sk[28], const uint8_t pk[56]);
89
90
91#ifdef __cplusplus
92}
93#endif
94
95#endif
96
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])