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 */ |