libidav/crypto.h

changeset 367
4a6a59f89f9f
parent 349
0b4ecadaf3f9
child 404
5c08b8e14df8
equal deleted inserted replaced
366:5228b912c925 367:4a6a59f89f9f
105 char* aes_encrypt(char *in, size_t len, DavKey *key); 105 char* aes_encrypt(char *in, size_t len, DavKey *key);
106 char* aes_decrypt(char *in, size_t *len, DavKey *key); 106 char* aes_decrypt(char *in, size_t *len, DavKey *key);
107 107
108 void dav_get_hash(DAV_SHA_CTX *sha256, unsigned char *buf); 108 void dav_get_hash(DAV_SHA_CTX *sha256, unsigned char *buf);
109 109
110 char* dav_create_hash(const char *data, size_t len);
111
110 #ifdef __cplusplus 112 #ifdef __cplusplus
111 } 113 }
112 #endif 114 #endif
113 115
114 #endif /* DAV_CRYPTO_H */ 116 #endif /* DAV_CRYPTO_H */

mercurial