aroarfw
|
00001 //crypto.h: 00002 00003 /* 00004 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2010, 2011 00005 * 00006 * This file is part of aroarfw, a RoarAudio framework for 00007 * embedded systems (µControlers). 00008 * 00009 * This file is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License version 3 00011 * or (at your option) any later version as published by 00012 * the Free Software Foundation. 00013 * 00014 * aroarfw is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this software; see the file COPYING. If not, write to 00021 * the Free Software Foundation, 51 Franklin Street, Fifth Floor, 00022 * Boston, MA 02110-1301, USA. 00023 */ 00024 00025 #ifndef _AROARFW_CRYPTO_H_ 00026 #define _AROARFW_CRYPTO_H_ 00027 00028 #include <aroarfw/proto.h> 00029 00031 typedef enum { 00033 RHT_NONE = 0, 00035 RHT_MD5 = 1, 00037 RHT_SHA1 = 2, 00039 RHT_RIPEMD160 = 3, 00041 RHT_MD2 = 5, 00043 RHT_TIGER = 6, 00045 RHT_HAVAL = 7, 00047 RHT_SHA256 = 8, 00049 RHT_SHA384 = 9, 00051 RHT_SHA512 = 10, 00053 RHT_SHA224 = 11, 00055 RHT_MD4 = 301, 00057 RHT_CRC32 = 302, 00059 RHT_RFC1510 = 303, 00061 RHT_RFC2440 = 304, 00063 RHT_WHIRLPOOL = 305, 00065 RHT_UUID = 70000, 00069 RHT_GTN8 = 70001, 00073 RHT_GTN16 = 70002, 00077 RHT_GTN32 = 70004, 00081 RHT_GTN64 = 70008, 00083 RHT_CLIENTID = 71000 + ROT_CLIENT, 00085 RHT_STREAMID = 71000 + ROT_STREAM, 00087 RHT_SOURCEID = 71000 + ROT_SOURCE, 00089 RHT_SAMPLEID = 71000 + ROT_SAMPLE, 00091 RHT_MIXERID = 71000 + ROT_MIXER, 00093 RHT_BRIDGEID = 71000 + ROT_BRIDGE, 00095 RHT_LISTENID = 71000 + ROT_LISTEN, 00097 RHT_ACTIONID = 71000 + ROT_ACTION, 00099 RHT_MSGQUEUEID = 71000 + ROT_MSGQUEUE, 00101 RHT_MSGBUSID = 71000 + ROT_MSGBUS, 00103 RHT_GTIN8 = 72001, 00105 RHT_GTIN13 = 72002, 00107 RHT_ISBN10 = 72003, 00110 RHT_ISBN13 = RHT_GTIN13, 00112 RHT_ADLER32 = 73001 00113 } rht_t; 00114 00116 typedef enum { 00119 RHF_NONE = 0, 00121 RHF_OBJECT = 1, 00123 RHF_PARENT = 2, 00125 RHF_LOGIC = 3, 00128 RHF_PERMANENT = 4, 00130 RHF_DEVICE = 5, 00132 RHF_DISK = 6, 00134 RHF_SONG = 7, 00136 RHF_APP = 8, 00138 RHF_FILE = 9, 00140 RHF_ARTIST = 10, 00142 RHF_WORK = 11 00143 } rhf_t; 00144 00145 #endif 00146 00147 //ll