proof.hpp 476 B

12345678910111213141516171819202122232425
  1. #ifndef __PROOF_HPP
  2. #define __PROOF_HPP
  3. #include <openssl/evp.h>
  4. #include <openssl/sha.h>
  5. #include <string>
  6. #include <vector>
  7. #include <sstream>
  8. #include <iomanip>
  9. #include "Scalar.hpp"
  10. #include "Curvepoint.hpp"
  11. struct Proof {
  12. std::string basic;
  13. std::vector<Curvepoint> partialUniversals;
  14. std::vector<Curvepoint> initParts;
  15. std::vector<Scalar> challengeParts;
  16. std::vector<Scalar> responseParts;
  17. };
  18. Scalar oracle(const std::string& input);
  19. #endif