Searched refs:dctx (Results 1 – 7 of 7) sorted by relevance
/external/openssh/ |
D | deattack.c | 98 deattack_init(struct deattack_ctx *dctx) in deattack_init() argument 100 bzero(dctx, sizeof(*dctx)); in deattack_init() 101 dctx->n = HASH_MINSIZE / HASH_ENTRYSIZE; in deattack_init() 106 detect_attack(struct deattack_ctx *dctx, const u_char *buf, u_int32_t len) in detect_attack() argument 115 for (l = dctx->n; l < HASH_FACTOR(len / SSH_BLOCKSIZE); l = l << 2) in detect_attack() 118 if (dctx->h == NULL) { in detect_attack() 119 if ((dctx->h = calloc(l, HASH_ENTRYSIZE)) == NULL) in detect_attack() 121 dctx->n = l; in detect_attack() 123 if (l > dctx->n) { in detect_attack() 124 if ((tmp = reallocarray(dctx->h, l, HASH_ENTRYSIZE)) in detect_attack() [all …]
|
/external/boringssl/src/crypto/evp/ |
D | p_ec.c | 85 EC_PKEY_CTX *dctx; in pkey_ec_init() local 86 dctx = OPENSSL_malloc(sizeof(EC_PKEY_CTX)); in pkey_ec_init() 87 if (!dctx) { in pkey_ec_init() 90 memset(dctx, 0, sizeof(EC_PKEY_CTX)); in pkey_ec_init() 92 ctx->data = dctx; in pkey_ec_init() 98 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local 103 dctx = dst->data; in pkey_ec_copy() 106 dctx->gen_group = EC_GROUP_dup(sctx->gen_group); in pkey_ec_copy() 107 if (!dctx->gen_group) { in pkey_ec_copy() 111 dctx->md = sctx->md; in pkey_ec_copy() [all …]
|
D | p_rsa.c | 112 RSA_PKEY_CTX *dctx, *sctx; in pkey_rsa_copy() local 117 dctx = dst->data; in pkey_rsa_copy() 118 dctx->nbits = sctx->nbits; in pkey_rsa_copy() 120 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy() 121 if (!dctx->pub_exp) { in pkey_rsa_copy() 126 dctx->pad_mode = sctx->pad_mode; in pkey_rsa_copy() 127 dctx->md = sctx->md; in pkey_rsa_copy() 128 dctx->mgf1md = sctx->mgf1md; in pkey_rsa_copy() 130 OPENSSL_free(dctx->oaep_label); in pkey_rsa_copy() 131 dctx->oaep_label = BUF_memdup(sctx->oaep_label, sctx->oaep_labellen); in pkey_rsa_copy() [all …]
|
/external/dhcpcd-6.8.2/ |
D | ipv6nd.c | 158 ipv6nd_open(struct dhcpcd_ctx *dctx) in ipv6nd_open() argument 164 ctx = dctx->ipv6; in ipv6nd_open() 214 eloop_event_add(dctx->eloop, ctx->nd_fd, in ipv6nd_open() 215 ipv6nd_handledata, dctx, NULL, NULL); in ipv6nd_open() 220 eloop_event_delete(dctx->eloop, ctx->nd_fd, 0); in ipv6nd_open() 725 ipv6nd_handlera(struct dhcpcd_ctx *dctx, struct interface *ifp, in ipv6nd_handlera() argument 728 struct ipv6_ctx *ctx = dctx->ipv6; in ipv6nd_handlera() 753 logger(dctx, LOG_ERR, in ipv6nd_handlera() 759 logger(dctx, LOG_ERR, in ipv6nd_handlera() 766 logger(dctx, LOG_DEBUG, in ipv6nd_handlera() [all …]
|
D | dhcp6.c | 2602 struct dhcpcd_ctx *dctx; in dhcp6_handledata() local 2620 dctx = arg; in dhcp6_handledata() 2621 ctx = dctx->ipv6; in dhcp6_handledata() 2625 logger(dctx, LOG_ERR, "%s: recvmsg: %m", __func__); in dhcp6_handledata() 2627 eloop_event_delete(dctx->eloop, ctx->dhcp_fd, 0); in dhcp6_handledata() 2635 logger(dctx, LOG_ERR, in dhcp6_handledata() 2655 logger(dctx, LOG_ERR, in dhcp6_handledata() 2660 TAILQ_FOREACH(ifp, dctx->ifaces, next) { in dhcp6_handledata() 2667 logger(dctx, LOG_DEBUG, in dhcp6_handledata() 2707 logger(dctx, LOG_DEBUG, in dhcp6_handledata() [all …]
|
D | eloop.c | 457 eloop_init(struct dhcpcd_ctx *dctx) in eloop_init() argument 468 ctx->ctx = dctx; in eloop_init()
|
/external/curl/src/ |
D | tool_metalink.c | 599 digest_context *dctx; in check_hash() local 615 dctx = Curl_digest_init(digest_def->dparams); in check_hash() 616 if(!dctx) { in check_hash() 637 Curl_digest_final(dctx, result); in check_hash() 641 Curl_digest_update(dctx, buf, (unsigned int)len); in check_hash() 643 Curl_digest_final(dctx, result); in check_hash()
|