removed old files
This commit is contained in:
parent
751dde0799
commit
5ef100e38a
|
@ -1,12 +0,0 @@
|
|||
# Makefile for MD5
|
||||
ALGO_NAME := MD5_ASM
|
||||
|
||||
# comment out the following line for removement of MD5 from the build process
|
||||
HASHES += $(ALGO_NAME)
|
||||
|
||||
$(ALGO_NAME)_OBJ := md5-asm.o
|
||||
$(ALGO_NAME)_TEST_BIN := main-md5-test.o debug.o uart.o hexdigit_tab.o \
|
||||
nessie_hash_test.o dbz_strings.o nessie_common.o cli.o string-extras.o performance_test.o
|
||||
$(ALGO_NAME)_NESSIE_TEST := "nessie"
|
||||
$(ALGO_NAME)_PERFORMANCE_TEST := "performance"
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
/* string_extras.c */
|
||||
/*
|
||||
This file is part of the AVR-Crypto-Lib.
|
||||
Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de)
|
||||
|
||||
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
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* \file string_extras.c
|
||||
* \author Daniel Otte
|
||||
* \date 2006-05-16
|
||||
* \license GPLv3 or later
|
||||
*
|
||||
*/
|
||||
|
||||
#include <avr/pgmspace.h>
|
||||
#include <ctype.h>
|
||||
|
||||
uint16_t stridentcnt_P(char* a, PGM_P b){
|
||||
uint16_t i=0;
|
||||
char c;
|
||||
for(;;){
|
||||
c = pgm_read_byte(b++);
|
||||
if(*a != c || c=='\0')
|
||||
return i;
|
||||
i++;
|
||||
a++;
|
||||
}
|
||||
}
|
||||
|
||||
uint16_t firstword_length(char* s){
|
||||
uint16_t ret=0;
|
||||
while(isgraph(*s++))
|
||||
ret++;
|
||||
return ret;
|
||||
}
|
||||
|
||||
char* strstrip(char* str){
|
||||
if(!str)
|
||||
return str;
|
||||
char* endptr;
|
||||
while(*str && (*str==' ' || *str=='\t'))
|
||||
++str;
|
||||
endptr=str;
|
||||
while(*endptr)
|
||||
++endptr;
|
||||
do{
|
||||
--endptr;
|
||||
}while(*endptr==' ' || *endptr=='\t');
|
||||
endptr[1]='\0';
|
||||
return str;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
# ExtremelyLongMsgKAT.txt
|
||||
# Algorithm Name: Blue Midnight Wish
|
||||
# Principal Submitter: Svein Johan Knapskog
|
||||
|
||||
Repeat = 16777216
|
||||
Text = abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmno
|
||||
MD = ??
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
# MonteCarlo.txt
|
||||
# Algorithm Name: Blue Midnight Wish
|
||||
# Principal Submitter: Svein Johan Knapskog
|
||||
|
||||
Seed = 6cd4c0c5cb2ca2a0f1d1aecebac03b52e64ea03d1a1654372936545b92bbc5484a59db74bb60f9c40ceb1a5aa35a6fafe80349e14c253a4e8b1d77612ddd81ace926ae8b0af6e53176dbffcc2a6b88c6bd765f939d3d178a9bde9ef3aa131c61e31c1e42cdfaf4b4dcde579a37e150efbef5555b4c1cb40439d835a724e2fae7
|
File diff suppressed because it is too large
Load Diff
|
@ -1,350 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://web.resource.org/cc/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
sodipodi:docname="uC-Crypto-logo.svg"
|
||||
height="60.0000000"
|
||||
sodipodi:version="0.32"
|
||||
width="60.0000000"
|
||||
_SVGFile__filename="scalable/apps/kgpg.svg"
|
||||
version="1.0"
|
||||
y="0"
|
||||
x="0"
|
||||
inkscape:version="0.45.1"
|
||||
id="svg1"
|
||||
sodipodi:docbase="/home/bg/workspace/micro-crypt"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/bg/workspace/micro-crypt/uC-Crypto-logo.png"
|
||||
inkscape:export-xdpi="299.73813"
|
||||
inkscape:export-ydpi="299.73813">
|
||||
<sodipodi:namedview
|
||||
bordercolor="#666666"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-y="0"
|
||||
pagecolor="#ffffff"
|
||||
inkscape:window-height="580"
|
||||
inkscape:zoom="4.9119411"
|
||||
inkscape:window-x="0"
|
||||
borderopacity="1.0"
|
||||
inkscape:cx="33.667126"
|
||||
inkscape:cy="27.879071"
|
||||
inkscape:window-width="1022"
|
||||
inkscape:pageopacity="0.0"
|
||||
id="base"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs3" />
|
||||
<g
|
||||
id="g1554"
|
||||
transform="translate(0.230915,-0.235226)">
|
||||
<path
|
||||
sodipodi:nodetypes="ccc"
|
||||
style="font-size:12.000000;fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#333333;stroke-width:5.0000000;stroke-miterlimit:4.0000000;"
|
||||
d="M 12.986483,29.403286 C 15.818301,17.671464 20.875121,5.3328238 31.191034,5.5350970 C 41.304673,5.5350974 45.147854,18.885102 47.372855,29.605558"
|
||||
sodipodi:stroke-cmyk="(0 0 0 0.8)"
|
||||
id="path612" />
|
||||
<path
|
||||
style="font-size:12.000000;fill:#cccccc;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#333333;stroke-width:3.1250000;stroke-linejoin:round;"
|
||||
d="M 9.8122082,28.265654 C 8.7042082,28.265654 7.8122082,29.157654 7.8122082,30.265654 L 7.8122082,53.817583 C 7.8122082,54.925583 8.7042082,55.817583 9.8122082,55.817583 L 50.547129,55.817583 C 51.655129,55.817583 52.547129,54.925583 52.547129,53.817583 L 52.547129,30.265654 C 52.547129,29.157654 51.655129,28.265654 50.547129,28.265654 L 9.8122082,28.265654 z "
|
||||
id="rect611" />
|
||||
</g>
|
||||
<metadata
|
||||
id="metadata6">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:title>Part of the Flat Icon Collection (Thu Aug 26 14:31:40 2004)</dc:title>
|
||||
<dc:description />
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li />
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
<dc:publisher>
|
||||
<cc:Agent
|
||||
rdf:about="">
|
||||
<dc:title />
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:creator>
|
||||
<cc:Agent
|
||||
rdf:about="">
|
||||
<dc:title>Danny Allen</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:rights>
|
||||
<cc:Agent
|
||||
rdf:about="">
|
||||
<dc:title>Danny Allen</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<dc:date />
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/LGPL/2.1/">
|
||||
<dc:date />
|
||||
</cc:license>
|
||||
<dc:language>en</dc:language>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4208"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="29.958729"
|
||||
x="22.392134" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4210"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="29.958696"
|
||||
x="25.205595" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4212"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="29.958729"
|
||||
x="28.039183" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4214"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="29.958729"
|
||||
x="30.862715" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4216"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="30.059542"
|
||||
x="33.676201" />
|
||||
<a
|
||||
id="a2680"
|
||||
transform="matrix(1.0764385,0,0,1.0764386,-3.9678317,-2.8218674)">
|
||||
<rect
|
||||
x="22.957844"
|
||||
y="-49.865311"
|
||||
ry="0.50752664"
|
||||
style="fill:#c0c0c0;fill-opacity:0;stroke:#000000;stroke-width:0.26633105;stroke-opacity:1"
|
||||
rx="0.60646188"
|
||||
id="rect4218"
|
||||
width="16.989586"
|
||||
transform="scale(1,-1)"
|
||||
height="16.91943" />
|
||||
</a>
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4220"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="29.958696"
|
||||
x="36.489658" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4222"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="18.136734"
|
||||
x="-46.626415" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4224"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="18.136717"
|
||||
x="-35.312218" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4226"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="18.136717"
|
||||
x="-38.135746" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4228"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="18.136717"
|
||||
x="-40.959274" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4230"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="18.136717"
|
||||
x="-43.782803" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4232"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="18.136717"
|
||||
x="-49.429836" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4234"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="51.13517"
|
||||
x="22.412243" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4236"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="51.135139"
|
||||
x="25.225708" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4238"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="51.13517"
|
||||
x="28.059299" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4240"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="51.13517"
|
||||
x="30.88283" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4242"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="51.135139"
|
||||
x="33.686245" />
|
||||
<rect
|
||||
height="2.550113"
|
||||
width="1.1182215"
|
||||
id="rect4244"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="51.135139"
|
||||
x="36.509773" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4246"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="39.313171"
|
||||
x="-46.626415" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4248"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="39.313141"
|
||||
x="-35.312218" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4250"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="39.313141"
|
||||
x="-38.135746" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4252"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="39.313141"
|
||||
x="-40.959274" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4254"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="39.313141"
|
||||
x="-43.782803" />
|
||||
<rect
|
||||
height="2.5501127"
|
||||
transform="matrix(0,-1,1,0,0,0)"
|
||||
width="1.1182216"
|
||||
id="rect4256"
|
||||
rx="0"
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.27343532;stroke-opacity:1"
|
||||
ry="0"
|
||||
y="39.313141"
|
||||
x="-49.429836" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans Mono"
|
||||
x="22.675781"
|
||||
y="45.092186"
|
||||
id="text2683"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2685"
|
||||
x="22.675781"
|
||||
y="45.092186">µC</tspan></text>
|
||||
</svg>
|
Before Width: | Height: | Size: 10 KiB |
57
uart.h
57
uart.h
|
@ -1,57 +0,0 @@
|
|||
/* uart.h */
|
||||
/*
|
||||
This file is part of the AVR-Crypto-Lib.
|
||||
Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de)
|
||||
|
||||
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
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef UART_H
|
||||
#define UART_H
|
||||
|
||||
/**
|
||||
* UART Library
|
||||
*
|
||||
* #define F_CPU 16000000 // Oszillator-Frequenz in Hz
|
||||
* #define UART_INTERRUPT 1
|
||||
* #define UART_BAUD_RATE 19200
|
||||
* #define UART_RXBUFSIZE 16
|
||||
* #define UART_TXBUFSIZE 16
|
||||
* #define UART_LINE_BUFFER_SIZE 40
|
||||
* #define UART_LEDS // LED1 and LED2 toggle on tx and rx interrupt
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include "config.h"
|
||||
#include <inttypes.h>
|
||||
#include <avr/pgmspace.h>
|
||||
|
||||
void uart_init(void);
|
||||
|
||||
void uart_putc(char c);
|
||||
void uart_putstr(char * str);
|
||||
void uart_putstr_P(PGM_P str);
|
||||
void uart_hexdump(const void* buf, int len);
|
||||
|
||||
char uart_getc(void);
|
||||
char uart_getc_nb(char *c); /* returns 1 on success */
|
||||
|
||||
/*
|
||||
get one Cariage return terminated line
|
||||
echo charakters back on Uart
|
||||
returns buffer with zero terminated line on success, 0 pointer otherwise
|
||||
*/
|
||||
char * uart_getline_nb(void);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue