libecrypt v2.1.0
This commit is contained in:
parent
455b3481fd
commit
7dca4b5841
6
Makefile
6
Makefile
@ -1,9 +1,9 @@
|
||||
include config.mk
|
||||
|
||||
all: src/libecrypt.c
|
||||
all:
|
||||
$(CC) -c src/libecrypt.c -o src/libecrypt.o
|
||||
ar -rc src/libecrypt.a src/libecrypt.o
|
||||
|
||||
install: src/libecrypt.a include/libecrypt.h
|
||||
install:
|
||||
install src/libecrypt.a $(PREFIX)/lib
|
||||
install include/libecrypt.h $(PREFIX)/include
|
||||
install include/ecrypt.h $(PREFIX)/include
|
||||
|
@ -1,6 +1,7 @@
|
||||
#ifndef LIBECRYPT_H_
|
||||
#define LIBECRYPT_H_
|
||||
|
||||
int ecrypt(PASSWD_LENGTH);
|
||||
int ecrypt_gen(int N);
|
||||
int ecrypt_check(char *firstkey, char *secondkey);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user