Home
last modified time | relevance | path

Searched refs:sctx (Results 1 – 25 of 32) sorted by relevance

12

/external/ipsec-tools/src/racoon/
Dproposal.c320 if (*pp1->sctx.ctx_str && !(*pp2->sctx.ctx_str)) {
325 if (!(*pp1->sctx.ctx_str) && *pp2->sctx.ctx_str) {
331 if (*pp1->sctx.ctx_str && *pp2->sctx.ctx_str) {
332 if (pp1->sctx.ctx_doi == pp2->sctx.ctx_doi)
333 newpp->sctx.ctx_doi = pp1->sctx.ctx_doi;
337 pp2->sctx.ctx_doi, pp1->sctx.ctx_doi);
341 if (pp1->sctx.ctx_alg == pp2->sctx.ctx_alg)
342 newpp->sctx.ctx_alg = pp1->sctx.ctx_alg;
346 pp2->sctx.ctx_alg, pp1->sctx.ctx_alg);
350 if ((pp1->sctx.ctx_strlen != pp2->sctx.ctx_strlen) ||
[all …]
Dsecurity.c168 iph2->proposal->sctx.ctx_doi = spidx.sec_ctx.ctx_doi;
169 iph2->proposal->sctx.ctx_alg = spidx.sec_ctx.ctx_alg;
170 iph2->proposal->sctx.ctx_strlen = spidx.sec_ctx.ctx_strlen;
171 memcpy(iph2->proposal->sctx.ctx_str, spidx.sec_ctx.ctx_str,
/external/chromium_org/third_party/openssl/openssl/crypto/hmac/
Dhm_pmeth.c96 HMAC_PKEY_CTX *sctx, *dctx; in pkey_hmac_copy() local
99 sctx = src->data; in pkey_hmac_copy()
101 dctx->md = sctx->md; in pkey_hmac_copy()
103 if (!HMAC_CTX_copy(&dctx->ctx, &sctx->ctx)) in pkey_hmac_copy()
105 if (sctx->ktmp.data) in pkey_hmac_copy()
108 sctx->ktmp.data, sctx->ktmp.length)) in pkey_hmac_copy()
Dhmac.c194 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx) in HMAC_CTX_copy() argument
196 if (!EVP_MD_CTX_copy(&dctx->i_ctx, &sctx->i_ctx)) in HMAC_CTX_copy()
198 if (!EVP_MD_CTX_copy(&dctx->o_ctx, &sctx->o_ctx)) in HMAC_CTX_copy()
200 if (!EVP_MD_CTX_copy(&dctx->md_ctx, &sctx->md_ctx)) in HMAC_CTX_copy()
202 memcpy(dctx->key, sctx->key, HMAC_MAX_MD_CBLOCK); in HMAC_CTX_copy()
203 dctx->key_length = sctx->key_length; in HMAC_CTX_copy()
204 dctx->md = sctx->md; in HMAC_CTX_copy()
Dhmac.h102 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
/external/openssl/crypto/hmac/
Dhm_pmeth.c96 HMAC_PKEY_CTX *sctx, *dctx; in pkey_hmac_copy() local
99 sctx = src->data; in pkey_hmac_copy()
101 dctx->md = sctx->md; in pkey_hmac_copy()
103 if (!HMAC_CTX_copy(&dctx->ctx, &sctx->ctx)) in pkey_hmac_copy()
105 if (sctx->ktmp.data) in pkey_hmac_copy()
108 sctx->ktmp.data, sctx->ktmp.length)) in pkey_hmac_copy()
Dhmac.c194 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx) in HMAC_CTX_copy() argument
196 if (!EVP_MD_CTX_copy(&dctx->i_ctx, &sctx->i_ctx)) in HMAC_CTX_copy()
198 if (!EVP_MD_CTX_copy(&dctx->o_ctx, &sctx->o_ctx)) in HMAC_CTX_copy()
200 if (!EVP_MD_CTX_copy(&dctx->md_ctx, &sctx->md_ctx)) in HMAC_CTX_copy()
202 memcpy(dctx->key, sctx->key, HMAC_MAX_MD_CBLOCK); in HMAC_CTX_copy()
203 dctx->key_length = sctx->key_length; in HMAC_CTX_copy()
204 dctx->md = sctx->md; in HMAC_CTX_copy()
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
Dm_sigver.c133 int sctx, r = 0; in EVP_DigestSignFinal() local
135 sctx = 1; in EVP_DigestSignFinal()
137 sctx = 0; in EVP_DigestSignFinal()
146 if (sctx) in EVP_DigestSignFinal()
152 if (sctx || !r) in EVP_DigestSignFinal()
159 if (sctx) in EVP_DigestSignFinal()
/external/openssl/crypto/evp/
Dm_sigver.c133 int sctx, r = 0; in EVP_DigestSignFinal() local
135 sctx = 1; in EVP_DigestSignFinal()
137 sctx = 0; in EVP_DigestSignFinal()
146 if (sctx) in EVP_DigestSignFinal()
152 if (sctx || !r) in EVP_DigestSignFinal()
159 if (sctx) in EVP_DigestSignFinal()
/external/chromium_org/third_party/openssl/openssl/crypto/dh/
Ddh_pmeth.c99 DH_PKEY_CTX *dctx, *sctx; in pkey_dh_copy() local
102 sctx = src->data; in pkey_dh_copy()
104 dctx->prime_len = sctx->prime_len; in pkey_dh_copy()
105 dctx->generator = sctx->generator; in pkey_dh_copy()
106 dctx->use_dsa = sctx->use_dsa; in pkey_dh_copy()
/external/openssl/crypto/dh/
Ddh_pmeth.c99 DH_PKEY_CTX *dctx, *sctx; in pkey_dh_copy() local
102 sctx = src->data; in pkey_dh_copy()
104 dctx->prime_len = sctx->prime_len; in pkey_dh_copy()
105 dctx->generator = sctx->generator; in pkey_dh_copy()
106 dctx->use_dsa = sctx->use_dsa; in pkey_dh_copy()
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/
Ddsa_pmeth.c101 DSA_PKEY_CTX *dctx, *sctx; in pkey_dsa_copy() local
104 sctx = src->data; in pkey_dsa_copy()
106 dctx->nbits = sctx->nbits; in pkey_dsa_copy()
107 dctx->qbits = sctx->qbits; in pkey_dsa_copy()
108 dctx->pmd = sctx->pmd; in pkey_dsa_copy()
109 dctx->md = sctx->md; in pkey_dsa_copy()
/external/openssl/crypto/dsa/
Ddsa_pmeth.c101 DSA_PKEY_CTX *dctx, *sctx; in pkey_dsa_copy() local
104 sctx = src->data; in pkey_dsa_copy()
106 dctx->nbits = sctx->nbits; in pkey_dsa_copy()
107 dctx->qbits = sctx->qbits; in pkey_dsa_copy()
108 dctx->pmd = sctx->pmd; in pkey_dsa_copy()
109 dctx->md = sctx->md; in pkey_dsa_copy()
/external/openssl/crypto/ec/
Dec_pmeth.c93 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local
96 sctx = src->data; in pkey_ec_copy()
98 if (sctx->gen_group) in pkey_ec_copy()
100 dctx->gen_group = EC_GROUP_dup(sctx->gen_group); in pkey_ec_copy()
104 dctx->md = sctx->md; in pkey_ec_copy()
/external/chromium_org/third_party/openssl/openssl/crypto/ec/
Dec_pmeth.c93 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local
96 sctx = src->data; in pkey_ec_copy()
98 if (sctx->gen_group) in pkey_ec_copy()
100 dctx->gen_group = EC_GROUP_dup(sctx->gen_group); in pkey_ec_copy()
104 dctx->md = sctx->md; in pkey_ec_copy()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc775 SignalContext *sctx = thr->signal_ctx; in thread_finalize() local
776 if (sctx) { in thread_finalize()
778 UnmapOrDie(sctx, sizeof(*sctx)); in thread_finalize()
1609 SignalContext *sctx = SigCtx(thr); in rtl_generic_sighandler() local
1614 (sctx && sig == sctx->int_signal_send) || in rtl_generic_sighandler()
1618 (sctx && sctx->in_blocking_func == 1 && thr->in_rtl == 1)) { in rtl_generic_sighandler()
1633 if (sctx == 0) in rtl_generic_sighandler()
1635 SignalDesc *signal = &sctx->pending_signals[sig]; in rtl_generic_sighandler()
1643 sctx->pending_signal_count++; in rtl_generic_sighandler()
1694 SignalContext *sctx = SigCtx(thr); in TSAN_INTERCEPTOR() local
[all …]
/external/chromium_org/third_party/opus/src/celt/
Dbands.c645 static void compute_theta(struct band_ctx *ctx, struct split_ctx *sctx, in compute_theta() argument
811 sctx->inv = inv; in compute_theta()
812 sctx->imid = imid; in compute_theta()
813 sctx->iside = iside; in compute_theta()
814 sctx->delta = delta; in compute_theta()
815 sctx->itheta = itheta; in compute_theta()
816 sctx->qalloc = qalloc; in compute_theta()
903 struct split_ctx sctx; in quant_partition() local
914 compute_theta(ctx, &sctx, X, Y, N, &b, B, B0, in quant_partition()
916 imid = sctx.imid; in quant_partition()
[all …]
/external/openssl/crypto/rsa/
Drsa_pmeth.c120 RSA_PKEY_CTX *dctx, *sctx; in pkey_rsa_copy() local
123 sctx = src->data; in pkey_rsa_copy()
125 dctx->nbits = sctx->nbits; in pkey_rsa_copy()
126 if (sctx->pub_exp) in pkey_rsa_copy()
128 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
132 dctx->pad_mode = sctx->pad_mode; in pkey_rsa_copy()
133 dctx->md = sctx->md; in pkey_rsa_copy()
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
Drsa_pmeth.c120 RSA_PKEY_CTX *dctx, *sctx; in pkey_rsa_copy() local
123 sctx = src->data; in pkey_rsa_copy()
125 dctx->nbits = sctx->nbits; in pkey_rsa_copy()
126 if (sctx->pub_exp) in pkey_rsa_copy()
128 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
132 dctx->pad_mode = sctx->pad_mode; in pkey_rsa_copy()
133 dctx->md = sctx->md; in pkey_rsa_copy()
/external/iproute2/ip/
Dxfrm_policy.c232 struct xfrm_user_sec_ctx *sctx) in xfrm_sctx_parse() argument
238 sctx->exttype = XFRMA_SEC_CTX; in xfrm_sctx_parse()
239 sctx->ctx_doi = 1; in xfrm_sctx_parse()
240 sctx->ctx_alg = 1; in xfrm_sctx_parse()
241 sctx->ctx_len = slen; in xfrm_sctx_parse()
242 sctx->len = sizeof(struct xfrm_user_sec_ctx) + slen; in xfrm_sctx_parse()
265 struct xfrm_user_sec_ctx sctx; in xfrm_policy_modify() member
300 xfrm_sctx_parse((char *)&ctx.str, context, &ctx.sctx); in xfrm_policy_modify()
390 (void *)&ctx, ctx.sctx.len); in xfrm_policy_modify()
577 struct xfrm_user_sec_ctx sctx; in xfrm_policy_get_or_delete() member
[all …]
Dipxfrm.c885 struct xfrm_user_sec_ctx *sctx; in xfrm_state_info_print() local
889 if (RTA_PAYLOAD(tb[XFRMA_SEC_CTX]) < sizeof(*sctx)) in xfrm_state_info_print()
892 sctx = (struct xfrm_user_sec_ctx *)RTA_DATA(tb[XFRMA_SEC_CTX]); in xfrm_state_info_print()
894 fprintf(fp, "%s %s", (char *)(sctx + 1), _SL_); in xfrm_state_info_print()
910 struct xfrm_user_sec_ctx *sctx; in xfrm_policy_info_print() local
914 if (RTA_PAYLOAD(tb[XFRMA_SEC_CTX]) < sizeof(*sctx)) in xfrm_policy_info_print()
917 sctx = (struct xfrm_user_sec_ctx *)RTA_DATA(tb[XFRMA_SEC_CTX]); in xfrm_policy_info_print()
919 fprintf(fp, "%s ", (char *)(sctx + 1)); in xfrm_policy_info_print()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c679 struct str_dump_ctx *sctx = (struct str_dump_ctx *)ctx; in str_dump_ctx_printf() local
681 if(sctx->left > 1) { in str_dump_ctx_printf()
685 written = util_vsnprintf(sctx->ptr, sctx->left, format, ap); in str_dump_ctx_printf()
692 written = MIN2(sctx->left, written); in str_dump_ctx_printf()
693 sctx->ptr += written; in str_dump_ctx_printf()
694 sctx->left -= written; in str_dump_ctx_printf()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c679 struct str_dump_ctx *sctx = (struct str_dump_ctx *)ctx; in str_dump_ctx_printf() local
681 if(sctx->left > 1) { in str_dump_ctx_printf()
685 written = util_vsnprintf(sctx->ptr, sctx->left, format, ap); in str_dump_ctx_printf()
692 written = MIN2(sctx->left, written); in str_dump_ctx_printf()
693 sctx->ptr += written; in str_dump_ctx_printf()
694 sctx->left -= written; in str_dump_ctx_printf()
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Dhmac.h102 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
/external/openssl/include/openssl/
Dhmac.h102 int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);

12