chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
serpent: Ad-hoc debugging facility
[secnet.git]
/
transform.c
diff --git
a/transform.c
b/transform.c
index a0665ad97769c4926eadbfa110adc30ced2008c7..281e6671c6e63d031a5308c43e89c2854de20579 100644
(file)
--- a/
transform.c
+++ b/
transform.c
@@
-13,6
+13,7
@@
#include "util.h"
#include "serpent.h"
#include "unaligned.h"
#include "util.h"
#include "serpent.h"
#include "unaligned.h"
+#include "hexdebug.h"
/* Required key length in bytes */
#define REQUIRED_KEYLEN ((512+64+32)/8)
/* Required key length in bytes */
#define REQUIRED_KEYLEN ((512+64+32)/8)
@@
-49,10
+50,8
@@
static bool_t transform_setkey(void *sst, uint8_t *key, int32_t keylen)
#if 0
{
#if 0
{
- int i;
printf("Setting key to: ");
printf("Setting key to: ");
- for (i=0; i<keylen; i++)
- printf("%02x",key[i]);
+ hexdebug(stdout,key,keylen);
printf("\n");
}
#endif /* 0 */
printf("\n");
}
#endif /* 0 */