PUB-API: rename the headers, install them in ntru/ subfolder
This commit is contained in:
parent
544548f6db
commit
9256a56076
@ -20,4 +20,4 @@ PREFIX = /usr/local
|
|||||||
LIBDIR = lib64
|
LIBDIR = lib64
|
||||||
INSTALL_BINDIR = $(PREFIX)/bin
|
INSTALL_BINDIR = $(PREFIX)/bin
|
||||||
INSTALL_LIBDIR = $(PREFIX)/$(LIBDIR)
|
INSTALL_LIBDIR = $(PREFIX)/$(LIBDIR)
|
||||||
INSTALL_INCLUDEDIR = $(PREFIX)/include
|
INSTALL_INCLUDEDIR = $(PREFIX)/include/ntru
|
||||||
|
@ -10,17 +10,17 @@ doc-pdf: doc
|
|||||||
install:
|
install:
|
||||||
$(INSTALL_DIR) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"
|
$(INSTALL_DIR) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"
|
||||||
$(INSTALL) ntru.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
|
$(INSTALL) ntru.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
|
||||||
$(INSTALL) ntru_decrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_decrypt.h
|
$(INSTALL) decrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
|
||||||
$(INSTALL) ntru_encrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_encrypt.h
|
$(INSTALL) encrypt.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
|
||||||
$(INSTALL) ntru_keypair.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_keypair.h
|
$(INSTALL) keypair.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
|
||||||
$(INSTALL) ntru_rnd.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_rnd.h
|
$(INSTALL) rnd.h "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru.h
|
||||||
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_decrypt.h
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/decrypt.h
|
||||||
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_encrypt.h
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/encrypt.h
|
||||||
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_keypair.h
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/keypair.h
|
||||||
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/ntru_rnd.h
|
$(RM) "$(DESTDIR)$(INSTALL_INCLUDEDIR)"/rnd.h
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf html/ latex/
|
rm -rf html/ latex/
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file ntru_decrypt.h
|
* @file decrypt.h
|
||||||
* This file holds the public API of decryption
|
* This file holds the public API of decryption
|
||||||
* of the pqc NTRU implementation and is
|
* of the pqc NTRU implementation and is
|
||||||
* meant to be installed on the client system.
|
* meant to be installed on the client system.
|
@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file ntru_encrypt.h
|
* @file encrypt.h
|
||||||
* This file holds the public API of encryption
|
* This file holds the public API of encryption
|
||||||
* of the pqc NTRU implementation and is
|
* of the pqc NTRU implementation and is
|
||||||
* meant to be installed on the client system.
|
* meant to be installed on the client system.
|
@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file ntru_keypair.h
|
* @file keypair.h
|
||||||
* This file holds the public API of generating,
|
* This file holds the public API of generating,
|
||||||
* exporting and importing public and private keys
|
* exporting and importing public and private keys
|
||||||
* of the pqc NTRU implementation and is
|
* of the pqc NTRU implementation and is
|
@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file ntru_rnd.h
|
* @file rnd.h
|
||||||
* This file holds the public API of generating
|
* This file holds the public API of generating
|
||||||
* random ternary polynomials of the pqc NTRU
|
* random ternary polynomials of the pqc NTRU
|
||||||
* implementation and is meant to be installed
|
* implementation and is meant to be installed
|
Loading…
Reference in New Issue
Block a user