encapsulation.h 543 B

1234567891011121314151617181920212223242526
  1. /*
  2. * encapsulation.h
  3. *
  4. * Created on: May 4, 2018
  5. * Author: vader
  6. */
  7. #ifndef INCLUDE_ENCAPSULATION_H_
  8. #define INCLUDE_ENCAPSULATION_H_
  9. #include "fips202.h"
  10. #include "util/util.h"
  11. #include "structures/matrix_operations.h"
  12. #include "definitions.h"
  13. #include "parameters/param.h"
  14. extern int encapsulation(unsigned char *ciphert_text,
  15. unsigned char *secret_shared, const unsigned char *public_key);
  16. extern int encrypt(unsigned char *ciphert_text, unsigned char *secret_shared,
  17. matrix *G);
  18. #endif /* INCLUDE_ENCAPSULATION_H_ */