summaryrefslogtreecommitdiffstats
path: root/src/crypto.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-07-07 11:42:57 -0400
committerSimo Sorce <simo@redhat.com>2014-07-09 05:14:36 -0400
commitf9cd5e4ba41b112804f824f460108cfb743526e0 (patch)
treeefd2bcf51da456f9097fbdc8fa2465f05b2f5422 /src/crypto.h
parent285432d9f918c45a1746d0f569eee727aaa9673b (diff)
downloadmod_auth_gssapi-sessions.tar.gz
mod_auth_gssapi-sessions.tar.xz
mod_auth_gssapi-sessions.zip
Add permanent session keys supportsessions
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:<base64 blob>
Diffstat (limited to 'src/crypto.h')
-rw-r--r--src/crypto.h3
1 files changed, 2 insertions, 1 deletions
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,