clightning-dumpkeys

dump clightning output descriptors
git clone git://jb55.com/clightning-dumpkeys
Log | Files | Refs | README | LICENSE

hkdf.h (693B)


      1 
      2 #ifndef CCAN_CRYPTO_HKDF_SHA256_H
      3 #define CCAN_CRYPTO_HKDF_SHA256_H
      4 /* BSD-MIT - see LICENSE file for details */
      5 #include <stdlib.h>
      6 
      7 /**
      8  * hkdf_sha256 - generate a derived key
      9  * @okm: where to output the key
     10  * @okm_size: the number of bytes pointed to by @okm (must be less than 255*32)
     11  * @s: salt
     12  * @ssize: the number of bytes pointed to by @s
     13  * @k: pointer to input key
     14  * @ksize: the number of bytes pointed to by @k
     15  * @info: pointer to info
     16  * @isize: the number of bytes pointed to by @info
     17  */
     18 void hkdf_sha256(void *okm, size_t okm_size,
     19 		 const void *s, size_t ssize,
     20 		 const void *k, size_t ksize,
     21 		 const void *info, size_t isize);
     22 #endif /* CCAN_CRYPTO_HKDF_SHA256_H */