aesni - printf -> kprintf for DEBUG
authorAlex Hornung <ahornung@gmail.com>
Sat, 21 Aug 2010 13:36:09 +0000 (14:36 +0100)
committerAlex Hornung <ahornung@gmail.com>
Sat, 21 Aug 2010 13:36:09 +0000 (14:36 +0100)
sys/crypto/aesni/aesni_wrap.c

index f1bddcb..87d9a86 100644 (file)
@@ -43,13 +43,13 @@ ps_len(const char *string, const uint8_t *data, int length)
 {
        int i;
 
-       printf("%-12s[0x", string);
+       kprintf("%-12s[0x", string);
        for(i = 0; i < length; i++) {
                if (i % AES_BLOCK_LEN == 0 && i > 0)
-                       printf("+");
-               printf("%02x", data[i]);
+                       kprintf("+");
+               kprintf("%02x", data[i]);
        }
-       printf("]\n");
+       kprintf("]\n");
 }
 #endif