Import AES-OCB3 implementation and driver code
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
source = parse.cpp parserstate.cpp parser.cpp templates.cpp terminal.cpp termemu.cpp parseraction.cpp terminalfunctions.cpp swrite.cpp terminalframebuffer.cpp terminaldispatcher.cpp terminaluserinput.cpp terminaldisplay.cpp network.cpp ntester.cpp
|
||||
objects = parserstate.o parser.o templates.o terminal.o parseraction.o terminalfunctions.o swrite.o terminalframebuffer.o terminaldispatcher.o terminaluserinput.o terminaldisplay.o network.o
|
||||
source = parse.cpp parserstate.cpp parser.cpp templates.cpp terminal.cpp termemu.cpp parseraction.cpp terminalfunctions.cpp swrite.cpp terminalframebuffer.cpp terminaldispatcher.cpp terminaluserinput.cpp terminaldisplay.cpp network.cpp ntester.cpp ocb.cpp base64.cpp encrypt.cpp decrypt.cpp crypto.cpp
|
||||
objects = parserstate.o parser.o templates.o terminal.o parseraction.o terminalfunctions.o swrite.o terminalframebuffer.o terminaldispatcher.o terminaluserinput.o terminaldisplay.o network.o ocb.o base64.o crypto.o
|
||||
repos = templates.rpo
|
||||
executables = parse termemu ntester
|
||||
executables = parse termemu ntester encrypt decrypt
|
||||
|
||||
CXX = g++
|
||||
CXXFLAGS = -g --std=c++0x -pedantic -Werror -Wall -Wextra -Weffc++ -fno-implicit-templates -fno-default-inline -pipe -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_GNU_SOURCE
|
||||
LIBS = -lutil
|
||||
LIBS = -lutil -lssl
|
||||
|
||||
all: $(executables)
|
||||
|
||||
@@ -18,6 +18,12 @@ termemu: termemu.o $(objects) parse # serialize link steps because of -frepo
|
||||
ntester: ntester.o $(objects) termemu # serialize link steps because of -frepo
|
||||
$(CXX) $(CXXFLAGS) -o $@ ntester.o $(objects) $(LIBS)
|
||||
|
||||
encrypt: encrypt.o $(objects) ntester # serialize link steps because of -frepo
|
||||
$(CXX) $(CXXFLAGS) -o $@ encrypt.o $(objects) $(LIBS)
|
||||
|
||||
decrypt: decrypt.o $(objects) encrypt # serialize link steps because of -frepo
|
||||
$(CXX) $(CXXFLAGS) -o $@ decrypt.o $(objects) $(LIBS)
|
||||
|
||||
templates.o: templates.cpp
|
||||
$(CXX) $(CXXFLAGS) -frepo -c -o $@ $<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user