summaryrefslogtreecommitdiff
path: root/src/sp_cookie_encryption.h
blob: 9904738d08082c7f219c969c6b5e27d8c9403622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#ifndef __SP_COOKIE_ENCRYPTION
#define __SP_COOKIE_ENCRYPTION

#include "SAPI.h"
#include "tweetnacl.h"

#include "sp_utils.h"

#include "ext/hash/php_hash.h"
#include "ext/hash/php_hash_sha.h"
#include "ext/standard/base64.h"

int hook_cookies();
int decrypt_cookie(zval *pDest, int num_args, va_list args, zend_hash_key *hash_key);

#endif /* __SP_COOKIE_ENCRYPTION */