PUB-API: rename headers to have ntru_ prefix

This commit is contained in:
hasufell 2014-06-22 21:14:50 +02:00
parent 3310533234
commit b38c220704
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
5 changed files with 16 additions and 16 deletions

View File

@ -4,17 +4,17 @@ include ../common.mk
install:
$(INSTALL_DIR) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"
$(INSTALL) ntru.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
$(INSTALL) decrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
$(INSTALL) encrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
$(INSTALL) keypair.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
$(INSTALL) rnd.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
$(INSTALL) ntru_decrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_decrypt.h
$(INSTALL) ntru_encrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_encrypt.h
$(INSTALL) ntru_keypair.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_keypair.h
$(INSTALL) ntru_rnd.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_rnd.h
uninstall:
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_decrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_encrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_keypair.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_rnd.h
doc:
doxygen

View File

@ -20,7 +20,7 @@
*/
/**
* @file decrypt.h
* @file ntru_decrypt.h
* This file holds the public API of decryption
* of the pqc NTRU implementation and is
* meant to be installed on the client system.
@ -31,7 +31,7 @@
#define PUBLIC_NTRU_DECRYPT_H_
#include "ntru.h"
#include <ntru.h>
#include <fmpz_poly.h>
#include <fmpz.h>

View File

@ -20,7 +20,7 @@
*/
/**
* @file encrypt.h
* @file ntru_encrypt.h
* This file holds the public API of encryption
* of the pqc NTRU implementation and is
* meant to be installed on the client system.
@ -31,7 +31,7 @@
#define PUBLIC_NTRU_ENCRYPT_H_
#include "ntru.h"
#include <ntru.h>
#include <fmpz_poly.h>
#include <fmpz.h>

View File

@ -20,7 +20,7 @@
*/
/**
* @file keypair.h
* @file ntru_keypair.h
* This file holds the public API of generating,
* exporting and importing public and private keys
* of the pqc NTRU implementation and is
@ -31,7 +31,7 @@
#ifndef PUBLIC_NTRU_KEYPAIR_H_
#define PUBLIC_NTRU_KEYPAIR_H_
#include "ntru.h"
#include <ntru.h>
#include <fmpz_poly.h>
#include <fmpz.h>

View File

@ -20,7 +20,7 @@
*/
/**
* @file rnd.h
* @file ntru_rnd.h
* This file holds the public API of generating
* random ternary polynomials of the pqc NTRU
* implementation and is meant to be installed
@ -32,7 +32,7 @@
#define PUBLIC_NTRU_RND_H_
#include "ntru.h"
#include <ntru.h>
#include <fmpz_poly.h>
#include <fmpz.h>