/* string_extras.c */
/*
- 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
return buffer;
}
while(a){
+ /* toolchain bug??
result = div(a, radix);
+ */
+ result.quot = a/radix;
+ result.rem = a%radix;
*ptr = result.rem;
if(result.rem<10){
*ptr += '0';