PUB-API: rename the headers, install them in ntru/ subfolder

This commit is contained in:
hasufell 2014-06-05 18:14:18 +02:00
parent 544548f6db
commit 9256a56076
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG: 220CD1C5BDEED020
6 ha cambiato i file con 13 aggiunte e 13 eliminazioni

Vedi File

@ -20,4 +20,4 @@ PREFIX = /usr/local
LIBDIR = lib64
INSTALL_BINDIR = $(PREFIX)/bin
INSTALL_LIBDIR = $(PREFIX)/$(LIBDIR)
INSTALL_INCLUDEDIR = $(PREFIX)/include
INSTALL_INCLUDEDIR = $(PREFIX)/include/ntru

Vedi File

@ -10,17 +10,17 @@ doc-pdf: doc
install:
$(INSTALL_DIR) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"
$(INSTALL) ntru.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.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
$(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
uninstall:
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.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
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
clean:
rm -rf html/ latex/

Vedi File

@ -20,7 +20,7 @@
*/
/**
* @file ntru_decrypt.h
* @file 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.

Vedi File

@ -20,7 +20,7 @@
*/
/**
* @file ntru_encrypt.h
* @file 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.

Vedi File

@ -20,7 +20,7 @@
*/
/**
* @file ntru_keypair.h
* @file keypair.h
* This file holds the public API of generating,
* exporting and importing public and private keys
* of the pqc NTRU implementation and is

Vedi File

@ -20,7 +20,7 @@
*/
/**
* @file ntru_rnd.h
* @file rnd.h
* This file holds the public API of generating
* random ternary polynomials of the pqc NTRU
* implementation and is meant to be installed