PostgreSQL Source Code: src/include/common/cryptohash.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef PG_CRYPTOHASH_H

16#define PG_CRYPTOHASH_H

17

18

19typedef enum

20{

28

29

31

38

39#endif

const char * pg_cryptohash_error(pg_cryptohash_ctx *ctx)

int pg_cryptohash_update(pg_cryptohash_ctx *ctx, const uint8 *data, size_t len)

pg_cryptohash_ctx * pg_cryptohash_create(pg_cryptohash_type type)

int pg_cryptohash_init(pg_cryptohash_ctx *ctx)

void pg_cryptohash_free(pg_cryptohash_ctx *ctx)

int pg_cryptohash_final(pg_cryptohash_ctx *ctx, uint8 *dest, size_t len)