nrfxlib API 3.3.99
Loading...
Searching...
No Matches
ocrypto_ecdsa_p256_det_sign.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_DET_ECDSA_P256_H
28#define OCRYPTO_DET_ECDSA_P256_H
29
30#include <stddef.h>
31#include <stdint.h>
32
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38
51 uint8_t sig[64],
52 const uint8_t *m, size_t mlen,
53 const uint8_t sk[32]);
54
66 uint8_t sig[64],
67 const uint8_t hash[32],
68 const uint8_t sk[32]);
69
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif
76
void ocrypto_ecdsa_p256_det_sign_hash(uint8_t sig[64], const uint8_t hash[32], const uint8_t sk[32])
void ocrypto_ecdsa_p256_det_sign(uint8_t sig[64], const uint8_t *m, size_t mlen, const uint8_t sk[32])