]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - base64/base64_dec.c
forgot to reactivate mongomery-speedup
[avr-crypto-lib.git] / base64 / base64_dec.c
index f057f54f1c4b4cdf8f129f4e1461b9dafaad3f41..2a6e94141868b8e86a3e94847fe6dd9825572bf3 100644 (file)
@@ -29,7 +29,7 @@
 #include <stdint.h>
 #include "base64_dec.h"
 
-#include "test_src/cli.h"
+#include "cli.h"
 
 /*
  #define USE_GCC_EXTENSION
@@ -131,7 +131,7 @@ uint8_t ascii2bit6(uint8_t a){
 
 #endif
 
-int base64_binlength(charstr, uint8_t strict){
+int base64_binlength(char *str, uint8_t strict){
        int l=0;
        uint8_t term=0;
        for(;;){
@@ -187,7 +187,7 @@ int base64_binlength(char* str, uint8_t strict){
 
 */
 
-int base64dec(void* dest, char* b64str, uint8_t strict){
+int base64dec(void *dest, const char *b64str, uint8_t strict){
        uint8_t buffer[4];
        uint8_t idx=0;
        uint8_t term=0;