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>
219d7e7c477'>93b76419142fe17b1d162d062c663297a3e8a965 /arch/arm/boot/dts/imx6ul-tx6ul-0011.dts parent1a28ad74ebd8f9d3c7eae0d781f72a6d30545e17 (diff)
netfilter: nf_tables: Eliminate duplicated code in nf_tables_table_enable()
If something fails in nf_tables_table_enable(), it unregisters the chains. But the rollback code is the same as nf_tables_table_disable() almostly, except there is one counter check. Now create one wrapper function to eliminate the duplicated codes. Signed-off-by: Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-tx6ul-0011.dts')