OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 /* $Id$ */ | |
5 | 4 |
6 #ifndef _HASHT_H_ | 5 #ifndef _HASHT_H_ |
7 #define _HASHT_H_ | 6 #define _HASHT_H_ |
8 | 7 |
9 #include "prtypes.h" | 8 #include "prtypes.h" |
10 | 9 |
11 /* Opaque objects */ | 10 /* Opaque objects */ |
12 typedef struct SECHashObjectStr SECHashObject; | 11 typedef struct SECHashObjectStr SECHashObject; |
13 typedef struct HASHContextStr HASHContext; | 12 typedef struct HASHContextStr HASHContext; |
14 | 13 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 HASH_HashType type; | 54 HASH_HashType type; |
56 void (*end_raw)(void *, unsigned char *, unsigned int *, unsigned int); | 55 void (*end_raw)(void *, unsigned char *, unsigned int *, unsigned int); |
57 }; | 56 }; |
58 | 57 |
59 struct HASHContextStr { | 58 struct HASHContextStr { |
60 const struct SECHashObjectStr *hashobj; | 59 const struct SECHashObjectStr *hashobj; |
61 void *hash_context; | 60 void *hash_context; |
62 }; | 61 }; |
63 | 62 |
64 #endif /* _HASHT_H_ */ | 63 #endif /* _HASHT_H_ */ |
OLD | NEW |