/* * Copyright 2023 The Tongsuo Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://github.com/Tongsuo-Project/Tongsuo/blob/master/LICENSE.txt */ #ifndef HEADER_NIZK_PLAINTEXT_EQUALITY_LOCAL_H # define HEADER_NIZK_PLAINTEXT_EQUALITY_LOCAL_H # include # ifdef __cplusplus extern "C" { # endif # include # include # include # include # include "internal/refcount.h" # include "nizk.h" struct nizk_plaintext_equality_ctx_st { ZKP_TRANSCRIPT *transcript; NIZK_PUB_PARAM *pp; NIZK_WITNESS *witness; STACK_OF(EC_POINT) *sk_PK; EC_ELGAMAL_MR_CIPHERTEXT *ct; }; struct nizk_plaintext_equality_proof_st { STACK_OF(EC_POINT) *sk_A; EC_POINT *B; BIGNUM *z; BIGNUM *t; }; # ifdef __cplusplus } # endif #endif