proof.hpp 520 B

12345678910111213141516171819202122232425262728
  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. class Proof {
  12. public:
  13. Proof();
  14. Proof(std::string basic);
  15. std::string basic;
  16. std::vector<Curvepoint> partialUniversals;
  17. std::vector<Scalar> challengeParts;
  18. std::vector<Scalar> responseParts;
  19. };
  20. Scalar oracle(const std::string& input);
  21. #endif