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
MD2, do not use.
Definition: crypto.h:41
8 digit Global Trade Item Number
Definition: crypto.h:103
192 bit Tiger
Definition: crypto.h:43
OpenPGP's 24 bit CRC as descriped in RFC2440 and RFC4880.
Definition: crypto.h:61
Adler-32, RFC1950 as used by zlib.
Definition: crypto.h:112
13 digit Global Trade Item Number
Definition: crypto.h:105
SHA384 (part of 'SHA2')
Definition: crypto.h:49
Client ID.
Definition: crypto.h:83
Clients.
Definition: proto.h:276
This identifies any kind of artist/composer/interpret, to be used with Tantalos or GTIN/ISBN...
Definition: crypto.h:140
Listen ID.
Definition: crypto.h:95
Action ID.
Definition: crypto.h:97
Universally Unique Identifier (UUID)
Definition: crypto.h:65
The application, device or other source generating this object.
Definition: crypto.h:136
The device this is on or the device itself if this is a device.
Definition: crypto.h:130
Mixer ID.
Definition: crypto.h:91
rhf_t
Hash functions.
Definition: crypto.h:116
The disk this is on, if this is a disk the same as HF_DEVICE.
Definition: crypto.h:132
Old MD5, do not use.
Definition: crypto.h:35
This is the parent object.
Definition: crypto.h:123
The source file for this object.
Definition: crypto.h:138
Bridges between diffrent subsystems within a server.
Definition: proto.h:288
SHA256 (part of 'SHA2')
Definition: crypto.h:47
10 digit International Standard Book Number
Definition: crypto.h:107
This identifys the Song. This may for example be used with Tantalos or GTIN/ISBN. ...
Definition: crypto.h:134
SHA1, do avoid.
Definition: crypto.h:37
SHA224 (part of 'SHA2')
Definition: crypto.h:53
MD4, do not use.
Definition: crypto.h:55
Sources.
Definition: proto.h:280
Sample ID.
Definition: crypto.h:89
This identifies any kind of work/album/compilation, to be used with Tantalos or GTIN/ISBN.
Definition: crypto.h:142
Bridge ID.
Definition: crypto.h:93
Common CRC-32.
Definition: crypto.h:57
Stream ID.
Definition: crypto.h:85
Actions.
Definition: proto.h:292
Message queues.
Definition: proto.h:294
This is a logic group of this object.
Definition: crypto.h:125
rht_t
Hash types.
Definition: crypto.h:31
RFC 1510 CRC.
Definition: crypto.h:59
This is an entry for exacltly this object.
Definition: crypto.h:121
Streams.
Definition: proto.h:278
Source ID.
Definition: crypto.h:87
160 bit RIPEMD
Definition: crypto.h:39
Message Queue ID.
Definition: crypto.h:99
SHA512 (part of 'SHA2')
Definition: crypto.h:51
Mixer streams. May be hardware mixer devices or software mixers.
Definition: proto.h:286
HAVAL.
Definition: crypto.h:45
Message Bus ID.
Definition: crypto.h:101
WhirlPool.
Definition: crypto.h:63
Listen sockets.
Definition: proto.h:290
Message busses.
Definition: proto.h:296
Samples.
Definition: proto.h:282
None.
Definition: crypto.h:33