added version info to libpyasdcp (same as other lib versions)
[asdcplib.git] / src / KM_prng.h
index f7dfa2bf3d4ca7608817a094b9a3266caf9601e5..172af2b799b2e224439ed9c069899a3722303d65 100755 (executable)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2006, John Hurst
+Copyright (c) 2006-2009, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -46,6 +46,11 @@ namespace Kumu
       const byte_t* FillRandom(byte_t* buf, ui32_t len);
       const byte_t* FillRandom(ByteString&);
     };
+
+
+  // key_len must be <= 64 (larger values will be truncated)
+  void Gen_FIPS_186_Value(const byte_t* key_in, ui32_t key_len, byte_t* buf, ui32_t buf_len);
+
 } // namespace Kumu