From f9cd5e4ba41b112804f824f460108cfb743526e0 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 7 Jul 2014 11:42:57 -0400 Subject: Add permanent session keys support Keys (encryption+MAC) can now be stored in apache configuration. The key must be a base64 encoded blob of original length of 32 bytes (16 bytes for encryption and 16 for the MAC key) The format is: key: --- src/crypto.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/crypto.h') diff --git a/src/crypto.h b/src/crypto.h index a8b5ca0..cfc83fa 100644 --- a/src/crypto.h +++ b/src/crypto.h @@ -10,7 +10,8 @@ struct databuf { int length; }; -apr_status_t SEAL_KEY_CREATE(struct seal_key **skey); +apr_status_t SEAL_KEY_CREATE(apr_pool_t *p, struct seal_key **skey, + struct databuf *keys); apr_status_t SEAL_BUFFER(apr_pool_t *p, struct seal_key *skey, struct databuf *plain, struct databuf *cipher); apr_status_t UNSEAL_BUFFER(apr_pool_t *p, struct seal_key *skey, -- cgit