aroarfw
Enumerations
crypto.h File Reference
#include <aroarfw/proto.h>
Include dependency graph for crypto.h:

Go to the source code of this file.

Enumerations

enum  rht_t {
  RHT_NONE = 0, RHT_MD5 = 1, RHT_SHA1 = 2, RHT_RIPEMD160 = 3,
  RHT_MD2 = 5, RHT_TIGER = 6, RHT_HAVAL = 7, RHT_SHA256 = 8,
  RHT_SHA384 = 9, RHT_SHA512 = 10, RHT_SHA224 = 11, RHT_MD4 = 301,
  RHT_CRC32 = 302, RHT_RFC1510 = 303, RHT_RFC2440 = 304, RHT_WHIRLPOOL = 305,
  RHT_UUID = 70000, RHT_GTN8 = 70001, RHT_GTN16 = 70002, RHT_GTN32 = 70004,
  RHT_GTN64 = 70008, RHT_CLIENTID = 71000 + ROT_CLIENT, RHT_STREAMID = 71000 + ROT_STREAM, RHT_SOURCEID = 71000 + ROT_SOURCE,
  RHT_SAMPLEID = 71000 + ROT_SAMPLE, RHT_MIXERID = 71000 + ROT_MIXER, RHT_BRIDGEID = 71000 + ROT_BRIDGE, RHT_LISTENID = 71000 + ROT_LISTEN,
  RHT_ACTIONID = 71000 + ROT_ACTION, RHT_MSGQUEUEID = 71000 + ROT_MSGQUEUE, RHT_MSGBUSID = 71000 + ROT_MSGBUS, RHT_GTIN8 = 72001,
  RHT_GTIN13 = 72002, RHT_ISBN10 = 72003, RHT_ISBN13 = RHT_GTIN13, RHT_ADLER32 = 73001
}
 Hash types. More...
enum  rhf_t {
  RHF_NONE = 0, RHF_OBJECT = 1, RHF_PARENT = 2, RHF_LOGIC = 3,
  RHF_PERMANENT = 4, RHF_DEVICE = 5, RHF_DISK = 6, RHF_SONG = 7,
  RHF_APP = 8, RHF_FILE = 9, RHF_ARTIST = 10, RHF_WORK = 11
}
 Hash functions. More...

Enumeration Type Documentation

enum rhf_t

Hash functions.

Enumerator:
RHF_NONE 

This entry does not have anything to do with the object. Should not be used.

RHF_OBJECT 

This is an entry for exacltly this object.

RHF_PARENT 

This is the parent object.

RHF_LOGIC 

This is a logic group of this object.

RHF_PERMANENT 

This can be used to acces exactly this object with a premanent address. This is useful for use with Tantalos or GTIN/ISBN.

RHF_DEVICE 

The device this is on or the device itself if this is a device.

RHF_DISK 

The disk this is on, if this is a disk the same as HF_DEVICE.

RHF_SONG 

This identifys the Song. This may for example be used with Tantalos or GTIN/ISBN.

RHF_APP 

The application, device or other source generating this object.

RHF_FILE 

The source file for this object.

RHF_ARTIST 

This identifies any kind of artist/composer/interpret, to be used with Tantalos or GTIN/ISBN.

RHF_WORK 

This identifies any kind of work/album/compilation, to be used with Tantalos or GTIN/ISBN.

Definition at line 116 of file crypto.h.

enum rht_t

Hash types.

Enumerator:
RHT_NONE 

None.

RHT_MD5 

Old MD5, do not use.

RHT_SHA1 

SHA1, do avoid.

RHT_RIPEMD160 

160 bit RIPEMD

RHT_MD2 

MD2, do not use.

RHT_TIGER 

192 bit Tiger

RHT_HAVAL 

HAVAL.

RHT_SHA256 

SHA256 (part of 'SHA2')

RHT_SHA384 

SHA384 (part of 'SHA2')

RHT_SHA512 

SHA512 (part of 'SHA2')

RHT_SHA224 

SHA224 (part of 'SHA2')

RHT_MD4 

MD4, do not use.

RHT_CRC32 

Common CRC-32.

RHT_RFC1510 

RFC 1510 CRC.

RHT_RFC2440 

OpenPGP's 24 bit CRC as descriped in RFC2440 and RFC4880.

RHT_WHIRLPOOL 

WhirlPool.

RHT_UUID 

Universally Unique Identifier (UUID)

RHT_GTN8 

8 bit GTN. GTN is the Global Track Number as used by for example the RoarAudio PlayList Daemon (rpld). It is a creator-runtime-unique number to identify the object.

RHT_GTN16 

16 bit GTN. GTN is the Global Track Number as used by for example the RoarAudio PlayList Daemon (rpld). It is a creator-runtime-unique number to identify the object.

RHT_GTN32 

32 bit GTN ('short GTN'). GTN is the Global Track Number as used by for example the RoarAudio PlayList Daemon (rpld). It is a creator-runtime-unique number to identify the object.

RHT_GTN64 

64 bit GTN ('long GTN'). GTN is the Global Track Number as used by for example the RoarAudio PlayList Daemon (rpld). It is a creator-runtime-unique number to identify the object.

RHT_CLIENTID 

Client ID.

RHT_STREAMID 

Stream ID.

RHT_SOURCEID 

Source ID.

RHT_SAMPLEID 

Sample ID.

RHT_MIXERID 

Mixer ID.

RHT_BRIDGEID 

Bridge ID.

RHT_LISTENID 

Listen ID.

RHT_ACTIONID 

Action ID.

RHT_MSGQUEUEID 

Message Queue ID.

RHT_MSGBUSID 

Message Bus ID.

RHT_GTIN8 

8 digit Global Trade Item Number

RHT_GTIN13 

13 digit Global Trade Item Number

RHT_ISBN10 

10 digit International Standard Book Number

RHT_ISBN13 

13 digit International Standard Book Number. Is the same as 13 digit Global Trade Item Number.

RHT_ADLER32 

Adler-32, RFC1950 as used by zlib.

Definition at line 31 of file crypto.h.