12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #ifndef HPAVKEYOUT_SOURCE
- #define HPAVKEYOUT_SOURCE
- #include <stdio.h>
- #include "../key/HPAVKey.h"
- #include "../tools/memory.h"
- #include "../tools/number.h"
- #include "../tools/types.h"
- #include "../tools/flags.h"
- void HPAVKeyOut (const uint8_t digest [], size_t length, const char * phrase, flag_t flags)
- {
- hexout (digest, length, 0, 0, stdout);
- if (_anyset (flags, HPAVKEY_VERBOSE))
- {
- printf (" %s", phrase);
- }
- printf ("\n");
- return;
- }
- #endif
|