X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcrypto%2Fxtea%2F_info;fp=ccan%2Fcrypto%2Fxtea%2F_info;h=5932d66733ee48e9f9707e643d630a1884602f5c;hb=e5fb923ba3735c758ef795eb69d5ee1c6f0a94e9;hp=0000000000000000000000000000000000000000;hpb=c36444e062622d97e4368670f5c50f0c482a3a95;p=ccan diff --git a/ccan/crypto/xtea/_info b/ccan/crypto/xtea/_info new file mode 100644 index 00000000..5932d667 --- /dev/null +++ b/ccan/crypto/xtea/_info @@ -0,0 +1,25 @@ +#include "config.h" +#include +#include + +/** + * crypto/xtea - implementation of xtea algorithm. + * + * This code is an implementation of the simple xtea encryption/decryption + * algorithm. You probably don't want to use this; try AES or chacha20 + * from libsodium for modern encryption routines. + * + * License: CC0 (Public Domain) + */ +int main(int argc, char *argv[]) +{ + /* Expect exactly one argument */ + if (argc != 2) + return 1; + + if (strcmp(argv[1], "depends") == 0) { + return 0; + } + + return 1; +}