nrfxlib API 2.8.99
Loading...
Searching...
No Matches
ocrypto_ecdsa_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
19#ifndef OCRYPTO_ECDSA_P224_H
20#define OCRYPTO_ECDSA_P224_H
21
22#include <stddef.h>
23#include <stdint.h>
24
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
30
49 uint8_t pk[56],
50 const uint8_t sk[28]);
51
73 uint8_t sig[56],
74 const uint8_t *m, size_t mlen,
75 const uint8_t sk[28],
76 const uint8_t ek[28]);
77
98 uint8_t sig[56],
99 const uint8_t hash[28],
100 const uint8_t sk[28],
101 const uint8_t ek[28]);
102
118 const uint8_t sig[56],
119 const uint8_t *m, size_t mlen,
120 const uint8_t pk[56]);
121
136 const uint8_t sig[56],
137 const uint8_t hash[28],
138 const uint8_t pk[56]);
139
140
141#ifdef __cplusplus
142}
143#endif
144
145#endif
146
int ocrypto_ecdsa_p224_public_key(uint8_t pk[56], const uint8_t sk[28])
int ocrypto_ecdsa_p224_verify(const uint8_t sig[56], const uint8_t *m, size_t mlen, const uint8_t pk[56])
int ocrypto_ecdsa_p224_sign_hash(uint8_t sig[56], const uint8_t hash[28], const uint8_t sk[28], const uint8_t ek[28])
int ocrypto_ecdsa_p224_verify_hash(const uint8_t sig[56], const uint8_t hash[28], const uint8_t pk[56])
int ocrypto_ecdsa_p224_sign(uint8_t sig[56], const uint8_t *m, size_t mlen, const uint8_t sk[28], const uint8_t ek[28])