]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - test_src/string-extras.h
switching to dedicated endian switching function
[arm-crypto-lib.git] / test_src / string-extras.h
index bdd45d84a0612ae7aa46157c12c95dfcab226488..f43b2e6ccb8a9de38b0d14dd82d7a2a2e06597e7 100644 (file)
@@ -1,6 +1,6 @@
 /* string-extras.h */
 /*
-    This file is part of the AVR-Crypto-Lib.
+    This file is part of the ARM-Crypto-Lib.
     Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
 
     This program is free software: you can redistribute it and/or modify
@@ -58,8 +58,7 @@ char* strstrip(char* str);
 void str_reverse(char* buffer);
 
 char* ultoa(unsigned long a, char* buffer, uint8_t radix);
-
 char* ulltoa(unsigned long long a, char* buffer, uint8_t radix);
-
-char* ustoa(unsigned long a, char* buffer, uint8_t radix);
+char* utoa(unsigned a, char* buffer, uint8_t radix);
+char* ustoa(unsigned short a, char* buffer, uint8_t radix);
 // void strlwr(char* s);