/freebsd-9.3-release/crypto/openssl/ssl/ |
H A D | d1_both.c | 1068 /* TLSv1 sends a chain with nothing in it, instead of an alert */ 1085 for (i = 0; i < sk_X509_num(xs_ctx.chain); i++) { 1086 x = sk_X509_value(xs_ctx.chain, i);
|
H A D | s3_both.c | 328 /* TLSv1 sends a chain with nothing in it, instead of an alert */ 348 for (i = 0; i < sk_X509_num(xs_ctx.chain); i++) { 349 x = sk_X509_value(xs_ctx.chain, i);
|
/freebsd-9.3-release/crypto/openssl/crypto/x509/ |
H A D | x509_vfy.c | 113 * first we make sure the chain we are going to build is present and that 116 if (ctx->chain == NULL) { 117 if (((ctx->chain = sk_X509_new_null()) == NULL) || 118 (!sk_X509_push(ctx->chain, ctx->cert))) { 133 num = sk_X509_num(ctx->chain); 134 x = sk_X509_value(ctx->chain, num - 1); 149 /* If we were passed a cert chain, use it first */ 153 if (!sk_X509_push(ctx->chain, xtmp)) { 163 * reparse the full chain for the next one 172 * at this point, chain shoul 1145 X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain) argument 1350 X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK_OF(X509) *chain) argument [all...] |
H A D | x509_vfy.h | 112 certificate chain. 178 * validation. Once we have a certificate chain, the 'verify' function is 179 * then called to actually check the cert chain. 197 /* Check revocation status of chain */ 226 * cert chain can take some time (and have to be 'retried', this needs to be 236 /* chain of X509s - untrusted - passed in */ 252 /* Check revocation status of chain */ 263 /* if 0, rebuild chain */ 267 /* chain of X509s - built up and trusted */ 268 STACK_OF(X509) *chain; member in struct:x509_store_ctx_st [all...] |
H A D | x509.h | 885 int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain);
|
/freebsd-9.3-release/crypto/openssl/crypto/x509v3/ |
H A D | x509v3.h | 792 int v3_asid_validate_resource_set(STACK_OF(X509) *chain, 794 int v3_addr_validate_resource_set(STACK_OF(X509) *chain,
|
H A D | v3_addr.c | 1217 STACK_OF(X509) *chain, 1224 OPENSSL_assert(chain != NULL && sk_X509_num(chain) > 0); 1231 * set up for walking up the chain. 1237 x = sk_X509_value(chain, i); 1253 * Now walk up the chain. No cert may list resources that its 1256 for (i++; i < sk_X509_num(chain); i++) { 1257 x = sk_X509_value(chain, i); 1324 return v3_addr_validate_path_internal(ctx, ctx->chain, NULL); 1329 * Test whether chain cover 1216 v3_addr_validate_path_internal(X509_STORE_CTX *ctx, STACK_OF(X509) *chain, IPAddrBlocks *ext) argument [all...] |
H A D | v3_asid.c | 755 STACK_OF(X509) *chain, 762 OPENSSL_assert(chain != NULL && sk_X509_num(chain) > 0); 769 * set up for walking up the chain. 775 x = sk_X509_value(chain, i); 804 * Now walk up the chain. Extensions must be in canonical form, no 807 for (i++; i < sk_X509_num(chain); i++) { 808 x = sk_X509_value(chain, i); 875 return v3_asid_validate_path_internal(ctx, ctx->chain, NULL); 880 * Test whether chain cover 754 v3_asid_validate_path_internal(X509_STORE_CTX *ctx, STACK_OF(X509) *chain, ASIdentifiers *ext) argument [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_vfy.c | 68 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain, 85 STACK_OF(X509) *chain = NULL; 133 chain = X509_STORE_CTX_get1_chain(&ctx); 148 * At this point we have a valid certificate chain need to verify it 151 ret = ocsp_check_issuer(bs, chain, flags); 164 x = sk_X509_value(chain, sk_X509_num(chain) - 1); 173 if (chain) 174 sk_X509_pop_free(chain, X509_free); 227 static int ocsp_check_issuer(OCSP_BASICRESP *bs, STACK_OF(X509) *chain, argument [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/cms/ |
H A D | cms_lcl.h | 397 int cms_DigestedData_do_final(CMS_ContentInfo *cms, BIO *chain, int verify); 400 int cms_SignedData_final(CMS_ContentInfo *cms, BIO *chain); 414 int cms_DigestAlgorithm_find_ctx(EVP_MD_CTX *mctx, BIO *chain,
|
H A D | cms_sd.c | 596 CMS_SignerInfo *si, BIO *chain) 607 if (!cms_DigestAlgorithm_find_ctx(&mctx, chain, si->digestAlgorithm)) 654 int cms_SignedData_final(CMS_ContentInfo *cms, BIO *chain) argument 662 if (!cms_SignerInfo_content_sign(cms, si, chain)) 773 /* Create a chain of digest BIOs from a CMS ContentInfo */ 779 BIO *chain = NULL; local 792 if (chain) 793 BIO_push(chain, mdbio); 795 chain = mdbio; 797 return chain; 595 cms_SignerInfo_content_sign(CMS_ContentInfo *cms, CMS_SignerInfo *si, BIO *chain) argument 804 CMS_SignerInfo_verify_content(CMS_SignerInfo *si, BIO *chain) argument [all...] |
H A D | cms_lib.c | 385 /* Locate a message digest content from a BIO chain based on SignerInfo */ 387 int cms_DigestAlgorithm_find_ctx(EVP_MD_CTX *mctx, BIO *chain, argument 397 chain = BIO_find_type(chain, BIO_TYPE_MD); 398 if (chain == NULL) { 403 BIO_get_md_ctx(chain, &mtmp); 413 chain = BIO_next(chain);
|
H A D | cms.h | 253 int CMS_SignerInfo_verify_content(CMS_SignerInfo *si, BIO *chain);
|
H A D | cms_dd.c | 105 int cms_DigestedData_do_final(CMS_ContentInfo *cms, BIO *chain, int verify) argument 116 if (!cms_DigestAlgorithm_find_ctx(&mctx, chain, dd->digestAlgorithm))
|
/freebsd-9.3-release/crypto/openssl/apps/ |
H A D | pkcs12.c | 88 int get_cert_chain(X509 *cert, X509_STORE *store, STACK_OF(X509) **chain); 118 int chain = 0; local 175 else if (!strcmp(*args, "-chain")) 176 chain = 1; 354 BIO_printf(bio_err, "-chain add certificate chain\n"); 525 chain = 0; 594 CRYPTO_push_info("building chain"); 597 /* If chaining get chain from user cert */ 598 if (chain) { 919 get_cert_chain(X509 *cert, X509_STORE *store, STACK_OF(X509) **chain) argument [all...] |
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | buffer.c | 138 (ptr)->internal_.chain = NULL; \ 142 static void evbuffer_chain_align(struct evbuffer_chain *chain); 143 static int evbuffer_chain_should_realign(struct evbuffer_chain *chain, 153 static inline void evbuffer_chain_incref(struct evbuffer_chain *chain); 158 struct evbuffer_chain *chain; local 177 if ((chain = mm_malloc(to_alloc)) == NULL) 180 memset(chain, 0, EVBUFFER_CHAIN_SIZE); 182 chain->buffer_len = to_alloc - EVBUFFER_CHAIN_SIZE; 187 chain->buffer = EVBUFFER_CHAIN_EXTRA(u_char, chain); 195 evbuffer_chain_free(struct evbuffer_chain *chain) argument 255 evbuffer_free_all_chains(struct evbuffer_chain *chain) argument 266 evbuffer_chains_all_empty(struct evbuffer_chain *chain) argument 277 evbuffer_chains_all_empty(struct evbuffer_chain *chain) argument 308 evbuffer_chain_insert(struct evbuffer *buf, struct evbuffer_chain *chain) argument 331 struct evbuffer_chain *chain; local 339 evbuffer_chain_pin_(struct evbuffer_chain *chain, unsigned flag) argument 346 evbuffer_chain_unpin_(struct evbuffer_chain *chain, unsigned flag) argument 355 evbuffer_chain_incref(struct evbuffer_chain *chain) argument 562 struct evbuffer_chain *chain, *next; local 622 struct evbuffer_chain *chain; local 673 struct evbuffer_chain *chain, **chainp; local 722 struct evbuffer_chain *chain, **firstchainp, **chainp; local 812 struct evbuffer_chain *chain, **pinned; local 901 struct evbuffer_chain *chain = src->first; local 1005 struct evbuffer_chain *chain; local 1093 struct evbuffer_chain *chain, *next; local 1184 struct evbuffer_chain *chain; local 1256 struct evbuffer_chain *chain, *previous; local 1342 struct evbuffer_chain *chain, *next, *tmp, *last_with_data; local 1464 struct evbuffer_chain *chain = it->internal_.chain; local 1513 struct evbuffer_chain *chain = it->internal_.chain; local 1537 struct evbuffer_chain *chain = ptr->internal_.chain; local 1575 struct evbuffer_chain *chain = it->internal_.chain; local 1720 struct evbuffer_chain *chain, *tmp; local 1813 struct evbuffer_chain *chain, *tmp; local 1894 evbuffer_chain_align(struct evbuffer_chain *chain) argument 1908 evbuffer_chain_should_realign(struct evbuffer_chain *chain, size_t datlen) argument 1921 struct evbuffer_chain *chain, **chainp; local 2034 struct evbuffer_chain *chain = buf->last, *tmp, *next; local 2144 struct evbuffer_chain *chain; local 2210 struct evbuffer_chain *chain; local 2272 struct evbuffer_chain *chain; local 2399 struct evbuffer_chain *chain = buffer->first; local 2450 struct evbuffer_chain *chain = buffer->first; local 2519 struct evbuffer_chain *chain = buffer->first; local 2606 struct evbuffer_chain *chain = NULL; local 2661 struct evbuffer_chain *chain; local 2703 struct evbuffer_chain *chain, *last_chain = NULL; local 2768 struct evbuffer_chain *chain; local 2829 struct evbuffer_chain *chain; local 2904 struct evbuffer_chain *chain; local 3176 struct evbuffer_chain *chain; local [all...] |
H A D | buffer_iocp.c | 62 /** The first pinned chain in the buffer. */ 86 struct evbuffer_chain *next, *chain = eo->first_pinned; local 89 EVUTIL_ASSERT(chain); 90 next = chain->next; 91 evbuffer_chain_unpin_(chain, flag); 92 chain = next; 177 struct evbuffer_chain *chain; local 202 chain = buf_o->first_pinned = buf->first; 204 for (i=0; i < MAX_WSABUFS && chain; ++i, chain 252 struct evbuffer_chain *chain=NULL, **chainp; local [all...] |
H A D | evbuffer-internal.h | 51 /* Minimum allocation for a chain. We define this so that we're burning no 81 /** The first chain in this buffer's linked list of chains. */ 83 /** The last chain in this buffer's linked list of chains. */ 86 /** Pointer to the next pointer pointing at the 'last_with_data' chain. 90 * The last_with_data chain is the last chain that has any data in it. 91 * If all chains in the buffer are empty, it is the first chain. 95 * points at the last_with_datap chain. If the last_with_data chain 96 * is the first chain, o [all...] |
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_buffer.c | 71 struct evbuffer_chain *chain; local 80 chain = buf->first; 86 while (chain != NULL) { 87 if (&chain->next == buf->last_with_datap) 89 sum += chain->off; 90 if (chain->next == NULL) { 91 tt_assert(buf->last == chain); 93 tt_assert(chain->buffer_len >= chain->misalign + chain 126 struct evbuffer_chain *chain; local [all...] |
H A D | regress_iocp.c | 242 struct evbuffer_chain *chain; local 275 for (chain = buf->first; chain; chain = chain->next) 276 tt_int_op(chain->flags & EVBUFFER_MEM_PINNED_ANY, ==, 0);
|
/freebsd-9.3-release/contrib/ntp/sntp/libevent/include/event2/ |
H A D | buffer.h | 65 the chain. 122 void *chain; member in struct:evbuffer_ptr::__anon182 237 Returns the number of contiguous available bytes in the first buffer chain. 240 chains, or that might all be in the first chain. Calls to 246 in the first buffer chain. 265 Reserves space in the last chain or chains of an evbuffer. 267 Makes space available in the last chain or chains of an evbuffer that can 1060 all data will fit into a single chain. Can be used in lieu of functionality
|
/freebsd-9.3-release/lib/librt/ |
H A D | sigev_thread.c | 247 int chain = HASH(type, id); local 249 LIST_FOREACH(sn, &sigev_hash[chain], sn_link) { 259 int chain = HASH(sn->sn_type, sn->sn_id); local 261 LIST_INSERT_HEAD(&sigev_hash[chain], sn, sn_link);
|
/freebsd-9.3-release/share/examples/ |
H A D | Makefile | 121 netgraph/virtual.chain \
|
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | aoutx.h | 2412 arelent_chain *chain = section->constructor_chain; 2415 *relptr ++ = &chain->relent; 2416 chain = chain->next;
|
H A D | bout.c | 896 arelent_chain *chain = section->constructor_chain; 900 *relptr++ = &chain->relent; 901 chain = chain->next; 895 arelent_chain *chain = section->constructor_chain; local
|