]> git.ozlabs.org Git - ccan/blob - ccan/crypto/xtea/_info
xtea: new module.
[ccan] / ccan / crypto / xtea / _info
1 #include "config.h"
2 #include <stdio.h>
3 #include <string.h>
4
5 /**
6  * crypto/xtea - implementation of xtea algorithm.
7  *
8  * This code is an implementation of the simple xtea encryption/decryption
9  * algorithm.  You probably don't want to use this; try AES or chacha20
10  * from libsodium for modern encryption routines.
11  *
12  * License: CC0 (Public Domain)
13  */
14 int main(int argc, char *argv[])
15 {
16         /* Expect exactly one argument */
17         if (argc != 2)
18                 return 1;
19
20         if (strcmp(argv[1], "depends") == 0) {
21                 return 0;
22         }
23
24         return 1;
25 }