nrfxlib API 3.3.99
Loading...
Searching...
No Matches
ocrypto_lms_sha256.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
28#ifndef OCRYPTO_LMS_SHA256_H
29#define OCRYPTO_LMS_SHA256_H
30
31#include <stddef.h>
32#include <stdint.h>
33
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39
57 const uint8_t *sig, size_t sig_len,
58 const uint8_t *m, size_t m_len,
59 const uint8_t *pk, size_t pk_len);
60
78 const uint8_t *sig, size_t sig_len,
79 const uint8_t *m, size_t m_len,
80 const uint8_t *pk, size_t pk_len);
81
82
83#ifdef __cplusplus
84}
85#endif
86
87#endif
88
int ocrypto_hss_sha256_verify(const uint8_t *sig, size_t sig_len, const uint8_t *m, size_t m_len, const uint8_t *pk, size_t pk_len)
int ocrypto_lms_sha256_verify(const uint8_t *sig, size_t sig_len, const uint8_t *m, size_t m_len, const uint8_t *pk, size_t pk_len)