Searched defs:idlen (Results 1 - 8 of 8) sorted by relevance

/httpd/modules/ssl/
H A Dssl_scache.c113 BOOL ssl_scache_store(server_rec *s, UCHAR *id, int idlen, argument
137 rv = mc->sesscache->store(mc->sesscache_context, s, id, idlen,
147 SSL_SESSION *ssl_scache_retrieve(server_rec *s, UCHAR *id, int idlen, argument
160 rv = mc->sesscache->retrieve(mc->sesscache_context, s, id, idlen,
176 void ssl_scache_remove(server_rec *s, UCHAR *id, int idlen, argument
185 mc->sesscache->remove(mc->sesscache_context, s, id, idlen, p);
H A Dssl_util_ssl.c584 char *SSL_SESSION_id2sz(unsigned char *id, int idlen, argument
587 if (idlen > SSL_MAX_SSL_SESSION_ID_LENGTH)
588 idlen = SSL_MAX_SSL_SESSION_ID_LENGTH;
592 if (idlen > (strsize-1) / 2)
593 idlen = (strsize-1) / 2;
595 ap_bin2hex(id, idlen, str);
H A Dssl_engine_vars.c413 unsigned int idlen; local
416 id = (unsigned char *)SSL_SESSION_get_id(pSession, &idlen);
419 idlen = pSession->session_id_length;
422 result = apr_pstrdup(p, SSL_SESSION_id2sz(id, idlen,
H A Dssl_engine_kernel.c1652 unsigned int idlen,
1673 SSL_SESSION_id2sz(id, idlen, buf, sizeof(buf)),
1692 unsigned int idlen; local
1705 id = (unsigned char *)SSL_SESSION_get_id(session, &idlen);
1708 idlen = session->session_id_length;
1711 rc = ssl_scache_store(s, id, idlen,
1716 ssl_session_log(s, "SET", id, idlen,
1736 int idlen, int *do_copy)
1746 session = ssl_scache_retrieve(s, id, idlen, conn->pool);
1748 ssl_session_log(s, "GET", id, idlen,
1649 ssl_session_log(server_rec *s, const char *request, unsigned char *id, unsigned int idlen, const char *status, const char *result, long timeout) argument
1734 ssl_callback_GetSessionCacheEntry(SSL *ssl, unsigned char *id, int idlen, int *do_copy) argument
1775 unsigned int idlen; local
[all...]
/httpd/modules/cache/
H A Dmod_socache_dc.c95 const unsigned char *id, unsigned int idlen,
106 if (!DC_CTX_add_session(ctx->dc, id, idlen, der, der_len,
116 const unsigned char *id, unsigned int idlen,
123 if (!DC_CTX_get_session(ctx->dc, id, idlen, dest, *destlen, &data_len)) {
138 unsigned int idlen, apr_pool_t *p)
141 if (!DC_CTX_remove_session(ctx->dc, id, idlen)) {
94 socache_dc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *der, unsigned int der_len, apr_pool_t *p) argument
115 socache_dc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
136 socache_dc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
H A Dmod_socache_dbm.c77 unsigned int idlen, apr_pool_t *p);
193 unsigned int idlen, apr_time_t expiry,
204 if ((idlen + nData) >= PAIRMAX) {
207 (idlen + nData), PAIRMAX);
211 if ((idlen + nData) >= 950 /* at least less than approx. 1KB */) {
214 (idlen + nData), 950);
221 dbmkey.dsize = idlen;
261 const unsigned char *id, unsigned int idlen,
278 dbmkey.dsize = idlen;
319 socache_dbm_remove(ctx, s, id, idlen,
191 socache_dbm_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *pool) argument
260 socache_dbm_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
326 socache_dbm_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
[all...]
H A Dmod_socache_memcache.c181 const unsigned char *id, unsigned int idlen,
186 if (idlen * 2 + ctx->taglen >= keylen)
190 ap_bin2hex(id, idlen, cp);
196 const unsigned char *id, unsigned int idlen,
204 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) {
228 const unsigned char *id, unsigned int idlen,
236 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) {
265 unsigned int idlen, apr_pool_t *p)
270 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) {
180 socache_mc_id2key(ap_socache_instance_t *ctx, const unsigned char *id, unsigned int idlen, char *key, apr_size_t keylen) argument
195 socache_mc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *p) argument
227 socache_mc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
263 socache_mc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
H A Dmod_socache_shmcb.c262 const unsigned char *id, unsigned int idlen,
480 unsigned int idlen, apr_time_t expiry,
493 if (idlen < 4) {
495 "(%u bytes)", idlen);
498 tryreplace = shmcb_subcache_remove(s, header, subcache, id, idlen);
500 len_encoded, id, idlen, expiry)) {
518 const unsigned char *id, unsigned int idlen,
531 rv = shmcb_subcache_retrieve(s, header, subcache, id, idlen,
545 unsigned int idlen, apr_pool_t *p)
554 if (idlen <
478 socache_shmcb_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *encoded, unsigned int len_encoded, apr_pool_t *p) argument
516 socache_shmcb_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
543 socache_shmcb_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
854 shmcb_subcache_retrieve(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen) argument
917 shmcb_subcache_remove(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen) argument
[all...]

Completed in 27 milliseconds