X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=ccan%2Fcrypto%2Fhkdf_sha256%2F_info;fp=ccan%2Fcrypto%2Fhkdf_sha256%2F_info;h=b8b3cb67b5cdbeed675a8e391f0903f70dbc3155;hb=33ba12adf082b9432ae0471b6bb742cde14254ed;hp=0000000000000000000000000000000000000000;hpb=ce907a7f849c8cce11083864bf39c84a0f6c7810;p=ccan diff --git a/ccan/crypto/hkdf_sha256/_info b/ccan/crypto/hkdf_sha256/_info new file mode 100644 index 00000000..b8b3cb67 --- /dev/null +++ b/ccan/crypto/hkdf_sha256/_info @@ -0,0 +1,30 @@ +#include "config.h" +#include +#include + +/** + * crypto/hkdf_sha256 - RFC5869 Hardened Key Derivation Functions using SHA256 + * + * This code implements the hkdf described in RFC5869. + * + * License: BSD-MIT + * Maintainer: Rusty Russell + */ +int main(int argc, char *argv[]) +{ + /* Expect exactly one argument */ + if (argc != 2) + return 1; + + if (strcmp(argv[1], "depends") == 0) { + printf("ccan/crypto/hmac_sha256\n"); + return 0; + } + + if (strcmp(argv[1], "testdepends") == 0) { + printf("ccan/str/hex\n"); + return 0; + } + + return 1; +}