oxedyne/fe2o3/fe2o3_crypto/src/c/SABER_indcpa.h
506 bytes, 1 run
created by r1870400018:173, which is this file's identity for as long as the history lasts, whatever it is later renamed to
download · who wrote it · its history
| 1 | #ifndef INDCPA_H |
| 2 | #define INDCPA_H |
| 3 | |
| 4 | #include "SABER_params.h" |
| 5 | |
| 6 | void indcpa_kem_keypair(uint8_t pk[SABER_INDCPA_PUBLICKEYBYTES], uint8_t sk[SABER_INDCPA_SECRETKEYBYTES]); |
| 7 | void indcpa_kem_enc(const uint8_t m[SABER_KEYBYTES], const uint8_t seed_sp[SABER_NOISE_SEEDBYTES], const uint8_t pk[SABER_INDCPA_PUBLICKEYBYTES], uint8_t ciphertext[SABER_BYTES_CCA_DEC]); |
| 8 | void indcpa_kem_dec(const uint8_t sk[SABER_INDCPA_SECRETKEYBYTES], const uint8_t ciphertext[SABER_BYTES_CCA_DEC], uint8_t m[SABER_KEYBYTES]); |
| 9 | |
| 10 | #endif |