/* main-test-common.c */
/*
This file is part of the ARM-Crypto-Lib.
- Copyright (C) 2006-2011 Daniel Otte (daniel.otte@rub.de)
+ Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "main-test-common.h"
static
-int std_stream_put(char c, FILE* f){
+int std_stream_put(char c, FILE *f){
static uint8_t did_r = 0;
if(!did_r && c == '\n'){
uart0_putc('\r');
}
static
-int std_stream_get(FILE* f){
+int std_stream_get(FILE *f){
return (int)uart0_getc();
}
fdevopen(std_stream_put, std_stream_get);
}
-void welcome_msg(const char* algoname){
+void welcome_msg(const char *algoname){
/*
cli_putstr_P(PSTR("\r\n\r\nAVR-Crypto-Lib VS ("));
cli_putstr(algoname);