purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
core.h
Go to the documentation of this file.
1// Copyright (c) 2026 Judica, Inc.
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or https://opensource.org/license/mit/.
4
5#pragma once
6
7#include "purify.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
15 const unsigned char* seed,
16 size_t seed_len);
17
18#ifdef __cplusplus
19}
20#endif
purify_error_code purify_core_sample_secret_key(unsigned char out_secret_key[PURIFY_SECRET_KEY_BYTES])
Definition core.c:315
purify_error_code purify_core_seed_secret_key(unsigned char out_secret_key[PURIFY_SECRET_KEY_BYTES], const unsigned char *seed, size_t seed_len)
Definition core.c:334
Public C core for Purify key validation, key derivation, key generation, and evaluation.
#define PURIFY_SECRET_KEY_BYTES
Definition purify.h:17
purify_error_code
Machine-readable status code returned by the Purify C core.
Definition purify.h:28