nrfxlib API 3.3.99
Loading...
Searching...
No Matches
ocrypto_ecdsa_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
27#ifndef OCRYPTO_ECDSA_P224_H
28#define OCRYPTO_ECDSA_P224_H
29
30#include <stddef.h>
31#include <stdint.h>
32
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38
57 uint8_t pk[56],
58 const uint8_t sk[28]);
59
81 uint8_t sig[56],
82 const uint8_t *m, size_t mlen,
83 const uint8_t sk[28],
84 const uint8_t ek[28]);
85
106 uint8_t sig[56],
107 const uint8_t hash[28],
108 const uint8_t sk[28],
109 const uint8_t ek[28]);
110
126 const uint8_t sig[56],
127 const uint8_t *m, size_t mlen,
128 const uint8_t pk[56]);
129
144 const uint8_t sig[56],
145 const uint8_t hash[28],
146 const uint8_t pk[56]);
147
148
149#ifdef __cplusplus
150}
151#endif
152
153#endif
154
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])