aroarfw
crypto.h
Go to the documentation of this file.
1 //crypto.h:
2 
3 /*
4  * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2010-2013
5  *
6  * This file is part of aroarfw, a RoarAudio framework for
7  * embedded systems (µControlers).
8  *
9  * This file is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 3
11  * or (at your option) any later version as published by
12  * the Free Software Foundation.
13  *
14  * aroarfw is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this software; see the file COPYING. If not, write to
21  * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
22  * Boston, MA 02110-1301, USA.
23  */
24 
25 #ifndef _AROARFW_CRYPTO_H_
26 #define _AROARFW_CRYPTO_H_
27 
28 #include <aroarfw/proto.h>
29 
31 typedef enum {
33  RHT_NONE = 0,
35  RHT_MD5 = 1,
37  RHT_SHA1 = 2,
41  RHT_MD2 = 5,
43  RHT_TIGER = 6,
45  RHT_HAVAL = 7,
51  RHT_SHA512 = 10,
53  RHT_SHA224 = 11,
55  RHT_MD4 = 301,
57  RHT_CRC32 = 302,
59  RHT_RFC1510 = 303,
61  RHT_RFC2440 = 304,
65  RHT_UUID = 70000,
69  RHT_GTN8 = 70001,
73  RHT_GTN16 = 70002,
77  RHT_GTN32 = 70004,
81  RHT_GTN64 = 70008,
103  RHT_GTIN8 = 72001,
105  RHT_GTIN13 = 72002,
107  RHT_ISBN10 = 72003,
112  RHT_ADLER32 = 73001
113 } rht_t;
114 
116 typedef enum {
119  RHF_NONE = 0,
132  RHF_DISK = 6,
134  RHF_SONG = 7,
136  RHF_APP = 8,
138  RHF_FILE = 9,
142  RHF_WORK = 11
143 } rhf_t;
144 
145 #endif
146 
147 //ll