HomeSort by relevance Sort by last modified time
    Searched refs:sctx (Results 1 - 20 of 20) sorted by null

  /external/fio/crc/
sha512.c 149 void fio_sha512_init(struct fio_sha512_ctx *sctx)
151 sctx->state[0] = H0;
152 sctx->state[1] = H1;
153 sctx->state[2] = H2;
154 sctx->state[3] = H3;
155 sctx->state[4] = H4;
156 sctx->state[5] = H5;
157 sctx->state[6] = H6;
158 sctx->state[7] = H7;
159 sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0
    [all...]
sha256.c 230 void fio_sha256_init(struct fio_sha256_ctx *sctx)
232 sctx->state[0] = H0;
233 sctx->state[1] = H1;
234 sctx->state[2] = H2;
235 sctx->state[3] = H3;
236 sctx->state[4] = H4;
237 sctx->state[5] = H5;
238 sctx->state[6] = H6;
239 sctx->state[7] = H7;
240 sctx->count = 0
    [all...]
  /external/ipsec-tools/src/racoon/
proposal.c 320 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
    [all...]
security.c 168 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,
proposal.h 66 struct security_ctx sctx; /* security context structure */ member in struct:saprop
pfkey.c 1101 if (*iph2->approval->sctx.ctx_str) {
1102 sa_args.ctxdoi = iph2->approval->sctx.ctx_doi;
1103 sa_args.ctxalg = iph2->approval->sctx.ctx_alg;
1104 sa_args.ctxstrlen = iph2->approval->sctx.ctx_strlen;
1105 sa_args.ctxstr = iph2->approval->sctx.ctx_str;
1389 if (*iph2->approval->sctx.ctx_str) {
1390 sa_args.ctxdoi = iph2->approval->sctx.ctx_doi;
1391 sa_args.ctxalg = iph2->approval->sctx.ctx_alg
    [all...]
ipsec_doi.c     [all...]
  /external/boringssl/src/crypto/evp/
p_rsa.c 112 RSA_PKEY_CTX *dctx, *sctx; local
116 sctx = src->data;
118 dctx->nbits = sctx->nbits;
119 if (sctx->pub_exp) {
120 dctx->pub_exp = BN_dup(sctx->pub_exp);
126 dctx->pad_mode = sctx->pad_mode;
127 dctx->md = sctx->md;
128 dctx->mgf1md = sctx->mgf1md;
129 if (sctx->oaep_label) {
131 dctx->oaep_label = BUF_memdup(sctx->oaep_label, sctx->oaep_labellen)
    [all...]
p_ec.c 98 EC_PKEY_CTX *dctx, *sctx; local
102 sctx = src->data;
105 if (sctx->gen_group) {
106 dctx->gen_group = EC_GROUP_dup(sctx->gen_group);
111 dctx->md = sctx->md;
  /system/security/keystore/
permissions.cpp 114 char* sctx = NULL; local
122 if (getpidcon(spid, &sctx) != 0) {
130 bool allowed = selinux_check_access(sctx, tctx, selinux_class, str_perm,
132 freecon(sctx);
  /external/compiler-rt/lib/tsan/rtl/
tsan_interceptors.cc 478 ThreadSignalContext *sctx = SigCtx(thr); local
479 buf->int_signal_send = sctx ? sctx->int_signal_send : 0;
480 buf->in_blocking_func = sctx ?
481 atomic_load(&sctx->in_blocking_func, memory_order_relaxed) :
507 ThreadSignalContext *sctx = SigCtx(thr); local
508 if (sctx) {
509 sctx->int_signal_send = buf->int_signal_send;
510 atomic_store(&sctx->in_blocking_func, buf->in_blocking_func,
891 ThreadSignalContext *sctx = thr->signal_ctx local
1976 ThreadSignalContext *sctx = SigCtx(thr); local
2008 ThreadSignalContext *sctx = SigCtx(thr); local
2117 ThreadSignalContext *sctx = SigCtx(thr); local
2129 ThreadSignalContext *sctx = SigCtx(thr); local
2145 ThreadSignalContext *sctx = SigCtx(thr); local
    [all...]
  /external/libopus/celt/
bands.c 661 static void compute_theta(struct band_ctx *ctx, struct split_ctx *sctx,
827 sctx->inv = inv;
828 sctx->imid = imid;
829 sctx->iside = iside;
830 sctx->delta = delta;
831 sctx->itheta = itheta;
832 sctx->qalloc = qalloc;
916 struct split_ctx sctx; local
927 compute_theta(ctx, &sctx, X, Y, N, &b, B, B0,
929 imid = sctx.imid
1211 struct split_ctx sctx; local
    [all...]
  /frameworks/av/drm/drmserver/
DrmManagerService.cpp 66 char *sctx; local
70 if (getpidcon(spid, &sctx) != 0) {
75 bool allowed = (selinux_check_access(sctx, drmserver_context, selinux_class,
77 freecon(sctx);
  /frameworks/native/cmds/servicemanager/
service_manager.c 69 char *sctx = NULL; local
74 if (getpidcon(spid, &sctx) < 0) {
83 int result = selinux_check_access(sctx, tctx, class, perm, (void *) &ad);
86 freecon(sctx);
  /external/iproute2/ip/
xfrm_policy.c 228 struct xfrm_user_sec_ctx *sctx)
234 sctx->exttype = XFRMA_SEC_CTX;
235 sctx->ctx_doi = 1;
236 sctx->ctx_alg = 1;
237 sctx->ctx_len = slen;
238 sctx->len = sizeof(struct xfrm_user_sec_ctx) + slen;
261 struct xfrm_user_sec_ctx sctx; member in struct:__anon12539
296 xfrm_sctx_parse((char *)&ctx.str, context, &ctx.sctx);
386 (void *)&ctx, ctx.sctx.len);
573 struct xfrm_user_sec_ctx sctx; member in struct:__anon12541
    [all...]
xfrm.h 157 struct xfrm_user_sec_ctx *sctx);
ipxfrm.c 948 struct xfrm_user_sec_ctx *sctx; local
952 if (RTA_PAYLOAD(tb[XFRMA_SEC_CTX]) < sizeof(*sctx))
955 sctx = (struct xfrm_user_sec_ctx *)RTA_DATA(tb[XFRMA_SEC_CTX]);
957 fprintf(fp, "%s %s", (char *)(sctx + 1), _SL_);
973 struct xfrm_user_sec_ctx *sctx; local
977 if (RTA_PAYLOAD(tb[XFRMA_SEC_CTX]) < sizeof(*sctx))
980 sctx = (struct xfrm_user_sec_ctx *)RTA_DATA(tb[XFRMA_SEC_CTX]);
982 fprintf(fp, "%s ", (char *)(sctx + 1));
    [all...]
xfrm_state.c 291 struct xfrm_user_sec_ctx sctx; member in struct:__anon12548
405 xfrm_sctx_parse((char *)&ctx.str, context, &ctx.sctx);
407 (void *)&ctx, ctx.sctx.len);
    [all...]
  /system/core/init/
property_service.cpp 73 static int check_mac_perms(const char *name, char *sctx, struct ucred *cr)
79 if (!sctx)
91 if (selinux_check_access(sctx, tctx, "property_service", "set", reinterpret_cast<void*>(&audit_data)) == 0)
99 static int check_control_mac_perms(const char *name, char *sctx, struct ucred *cr)
113 return check_mac_perms(ctl_name, sctx, cr);
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_dump.c 679 struct str_dump_ctx *sctx = (struct str_dump_ctx *)ctx; local
681 if(sctx->left > 1) {
685 written = util_vsnprintf(sctx->ptr, sctx->left, format, ap);
692 written = MIN2(sctx->left, written);
693 sctx->ptr += written;
694 sctx->left -= written;

Completed in 1287 milliseconds