mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Update XMSS-SM3
XMSS is in developing, not fully tested
This commit is contained in:
@@ -10,28 +10,22 @@
|
||||
#ifndef GMSSL_LMS_H
|
||||
#define GMSSL_LMS_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <gmssl/sm3.h>
|
||||
#include <gmssl/hash256.h>
|
||||
#ifdef ENABLE_SHA2
|
||||
#include <gmssl/sha2.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
typedef uint8_t hash256_t[32];
|
||||
|
||||
|
||||
#define HSS_MAX_LEVELS 5
|
||||
#define LMS_MAX_HEIGHT 25
|
||||
|
||||
|
||||
Reference in New Issue
Block a user