summaryrefslogtreecommitdiff
path: root/crypto.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-15curve: curve25519_encode/curve25519_decode: simplify crypto transformsDaniel Borkmann1-0/+4
Simplify curve25519_encode() and curve25519_decode() transforms by making the code more clear and by introducing macro accessors to nonces. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-11curve: move selftest to own fileDaniel Borkmann1-0/+4
Move the curve selftest to its own file. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04keypair: Add routines to generate and verify a keypairDaniel Borkmann1-0/+1
This is needed in order to replace curvetun's routines. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04crypto: add crypto header with includes and definesDaniel Borkmann1-0/+19
Add another header with includes and defines, so that we can reduce double-definitions, and shorten long text strings. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
de'>-rw-r--r--tools/lib/bpf/bpf.h2
-rw-r--r--tools/testing/selftests/bpf/bpf_sys.h11
-rw-r--r--tools/testing/selftests/bpf/test_lru_map.c2
-rw-r--r--tools/testing/selftests/bpf/test_maps.c34
5 files changed, 20 insertions, 31 deletions
diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c