Ordo
0.3.4
Symmetric Cryptography Library
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
ordo
digest
digest.h
Go to the documentation of this file.
1
/*===-- digest/digest.h --------------------------------*- PUBLIC -*- H -*-===*/
30
/*===----------------------------------------------------------------------===*/
31
32
#ifndef ORDO_DIGEST_H
33
#define ORDO_DIGEST_H
34
36
#include "
ordo/common/interface.h
"
39
#include "
ordo/primitives/hash_functions.h
"
40
41
#ifdef __cplusplus
42
extern
"C"
{
43
#endif
44
45
/*===----------------------------------------------------------------------===*/
46
47
#define digest_init ordo_digest_init
48
#define digest_update ordo_digest_update
49
#define digest_final ordo_digest_final
50
#define digest_length ordo_digest_length
51
#define digest_bsize ordo_digest_bsize
52
53
/*===----------------------------------------------------------------------===*/
54
55
#define DIGEST_CTX HASH_STATE
56
72
#define ordo_digest_init hash_init
73
86
#define ordo_digest_update hash_update
87
105
#define ordo_digest_final hash_final
106
114
ORDO_PUBLIC
115
size_t
digest_length
(
prim_t
hash);
116
123
#define ordo_digest_bsize hash_bsize
124
125
/*===----------------------------------------------------------------------===*/
126
127
#ifdef __cplusplus
128
}
129
#endif
130
131
#endif
prim_t
int prim_t
Data type which holds a primitive identifier.
Definition:
identification.h:58
interface.h
API.
hash_functions.h
Abstraction Layer.
digest_length
ORDO_PUBLIC size_t digest_length(prim_t hash)
Definition:
features.c:203
Generated on Sun Jul 27 2014 23:46:11 for Ordo by
1.8.6