decapsulation.h 650 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * decapsulation.h
  3. *
  4. * Created on: May 4, 2018
  5. * Author: vader
  6. */
  7. #ifndef INCLUDE_DECAPSULATION_H_
  8. #define INCLUDE_DECAPSULATION_H_
  9. #include <stdio.h>
  10. #include <stdlib.h>
  11. #include "fips202.h"
  12. #include "structures/matrix_operations.h"
  13. #include "gf/gf.h"
  14. #include "util/util.h"
  15. #include "parameters/param.h"
  16. #include "decoding.h"
  17. #include "definitions.h"
  18. extern int decapsulation(unsigned char *secret_shared,
  19. const unsigned char *cipher_text, const unsigned char *secret_key);
  20. extern int decrypt(unsigned char *secret_shared,
  21. const unsigned char *cipher_text, const gf *v, const gf *y);
  22. #endif /* INCLUDE_DECAPSULATION_H_ */