#include <stdlib.h>#include <stdio.h>#include "sizes.h"#include "mceliece.h"#include "params.h"#include "precomp.h"

Go to the source code of this file.
Functions | |
| __inline unsigned long long | rdtsc () |
| int | check (unsigned char *cleartext, unsigned char *plaintext, int r) |
| int | main (int argc, char **argv) |
| int check | ( | unsigned char * | cleartext, | |
| unsigned char * | plaintext, | |||
| int | r | |||
| ) |
Definition at line 35 of file main_mce.c.
References CLEARTEXT_BYTES, and CLEARTEXT_LENGTH.
Referenced by main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 63 of file main_mce.c.
References check(), CIPHERTEXT_BYTES, CLEARTEXT_BYTES, CLEARTEXT_LENGTH, decrypt_block(), encrypt_block(), ERROR_WEIGHT, keypair(), LOG_LENGTH, PUBLICKEY_BYTES, rdtsc(), and SECRETKEY_BYTES.

| __inline unsigned long long rdtsc | ( | ) |
Definition at line 28 of file main_mce.c.