Browse Source

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

master
hasufell 10 years ago
parent
commit
9256a56076
No known key found for this signature in database GPG Key ID: 220CD1C5BDEED020
6 changed files with 13 additions and 13 deletions
  1. +1
    -1
      common.mk
  2. +8
    -8
      include/Makefile
  3. +1
    -1
      include/decrypt.h
  4. +1
    -1
      include/encrypt.h
  5. +1
    -1
      include/keypair.h
  6. +1
    -1
      include/rnd.h

+ 1
- 1
common.mk View 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

+ 8
- 8
include/Makefile View 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/


include/ntru_decrypt.h → include/decrypt.h View 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.

include/ntru_encrypt.h → include/encrypt.h View 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.

include/ntru_keypair.h → include/keypair.h View 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

include/ntru_rnd.h → include/rnd.h View 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

Loading…
Cancel
Save