Merge pull request #20 from cinecert/htj2c
[asdcplib.git] / src / KM_prng.h
index e7184755a2da42059aeb203d7a3f30715190c81d..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
@@ -48,7 +48,8 @@ namespace Kumu
     };
 
 
-  void Gen_FIPS_186_Value(const byte_t* key_in /* 20 bytes */, byte_t* r_out /* 40 bytes */);
+  // 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