Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • 0006da9
  • /
  • demos
  • /
  • keyexch
  • /
  • Makefile
Raw File
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:24243e13a4a62a1df329a73163785af4426c79a4
directory badge Iframe embedding
swh:1:dir:0ed99bb86094771993c8db399673ea0f96cc10e3
Makefile
#
# To run the demos when linked with a shared library (default):
#
#    LD_LIBRARY_PATH=../.. ./x25519

CFLAGS = -I../../include -g -Wall
LDFLAGS = -L../..
LDLIBS = -lcrypto

TESTS=x25519

all: $(TESTS)

%.o: %.c
	$(CC) $(CFLAGS) -c $<

%x25519: %x25519.o

.PHONY: test
test: all
	@echo "\nKeyExchange tests:"
	@set -e; for tst in $(TESTS); do \
		echo "\n"$$tst; \
		LD_LIBRARY_PATH=../.. ./$$tst; \
	done

clean:
	$(RM) *.o $(TESTS)

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top