This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
liuchang-mesa-sts/inc/mesa_sts.h

32 lines
745 B
C
Raw Normal View History

2023-06-30 08:01:00 +00:00
#ifndef _MESA_STS_H_
#define _MESA_STS_H_
struct sts_result {
unsigned char frequency;
unsigned char block_frequency;
unsigned char cumulative_sums;
unsigned char runs;
unsigned char longest_run;
unsigned char rank;
unsigned char non_overlapping_template_matching;
unsigned char overlapping_template_matching;
unsigned char universal;
unsigned char random_excursions;
unsigned char random_excursions_variant;
unsigned char poker_detect;
unsigned char runs_distribution;
unsigned char self_correlation;
unsigned char binary_derivative;
};
2023-07-10 03:41:01 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2023-06-30 08:01:00 +00:00
int mesa_statistical_test_suite(void* data,unsigned int datalen, struct sts_result* result);
2023-07-10 03:41:01 +00:00
#ifdef __cplusplus
}
#endif
2023-06-30 08:01:00 +00:00
#endif /* _MESA_STS_H_ */