/external/openssl/crypto/evp/ |
m_sigver.c | 66 static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, 70 if (ctx->pctx == NULL) 71 ctx->pctx = EVP_PKEY_CTX_new(pkey, e); 72 if (ctx->pctx == NULL) 90 if (ctx->pctx->pmeth->verifyctx_init) 92 if (ctx->pctx->pmeth->verifyctx_init(ctx->pctx, ctx) <=0) 94 ctx->pctx->operation = EVP_PKEY_OP_VERIFYCTX; 96 else if (EVP_PKEY_verify_init(ctx->pctx) <= 0) 101 if (ctx->pctx->pmeth->signctx_init [all...] |
digest.c | 222 if (ctx->pctx) 225 r = EVP_PKEY_CTX_ctrl(ctx->pctx, -1, EVP_PKEY_OP_TYPE_SIG, 335 if (in->pctx) 337 out->pctx = EVP_PKEY_CTX_dup(in->pctx); 338 if (!out->pctx) 390 if (ctx->pctx) 391 EVP_PKEY_CTX_free(ctx->pctx);
|
pmeth_lib.c | 307 EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *pctx) 310 if (!pctx->pmeth || !pctx->pmeth->copy) 314 if (pctx->engine && !ENGINE_init(pctx->engine)) 324 rctx->pmeth = pctx->pmeth; 326 rctx->engine = pctx->engine; 329 if (pctx->pkey) 330 CRYPTO_add(&pctx->pkey->references,1,CRYPTO_LOCK_EVP_PKEY); 332 rctx->pkey = pctx->pkey [all...] |
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
xmppstanzaparser.h | 59 virtual void StartElement(XmlParseContext * pctx, 61 { outer_->IncomingStartElement(pctx, name, atts); } 62 virtual void EndElement(XmlParseContext * pctx, 64 { outer_->IncomingEndElement(pctx, name); } 65 virtual void CharacterData(XmlParseContext * pctx, 67 { outer_->IncomingCharacterData(pctx, text, len); } 68 virtual void Error(XmlParseContext * pctx, 70 { outer_->IncomingError(pctx, errCode); } 77 void IncomingStartElement(XmlParseContext * pctx, 79 void IncomingEndElement(XmlParseContext * pctx, [all...] |
xmppstanzaparser.cc | 57 XmlParseContext * pctx, const char * name, const char ** atts) { 59 XmlElement * pelStream = XmlBuilder::BuildElement(pctx, name, atts); 61 pctx->RaiseError(XML_ERROR_SYNTAX); 69 builder_.StartElement(pctx, name, atts); 74 XmlParseContext * pctx, const char * text, int len) { 76 builder_.CharacterData(pctx, text, len); 82 XmlParseContext * pctx, const char * name) { 88 builder_.EndElement(pctx, name); 99 XmlParseContext * pctx, XML_Error errCode) { 100 UNUSED(pctx); [all...] |
/external/e2fsprogs/e2fsck/ |
pass5.c | 26 struct problem_context pctx; local 33 clear_problem_context(&pctx); 36 fix_problem(ctx, PR_5_PASS_HEADER, &pctx); 70 struct problem_context *pctx) 74 if (pctx->blk == pctx->blk2) 75 pctx->blk2 = 0; 80 if (pctx->blk == pctx->blk2) 81 pctx->blk2 = 0 113 struct problem_context pctx; local 339 struct problem_context pctx; local 548 struct problem_context pctx; local 592 struct problem_context pctx; local [all...] |
pass3.c | 46 struct problem_context *pctx); 59 struct problem_context pctx; local 64 clear_problem_context(&pctx); 71 fix_problem(ctx, PR_3_PASS_HEADER, &pctx); 76 pctx.errcode = ext2fs_allocate_inode_bitmap(fs, _("inode done bitmap"), 78 if (pctx.errcode) { 79 pctx.num = 2; 80 fix_problem(ctx, PR_3_ALLOCATE_IBITMAP_ERROR, &pctx); 106 if (check_directory(ctx, dir->ino, &pctx)) 147 struct problem_context pctx; local 363 struct problem_context pctx; local 505 struct problem_context pctx; local 608 struct problem_context pctx; local 644 struct problem_context pctx; local [all...] |
pass1.c | 64 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, 90 struct problem_context *pctx; member in struct:process_block_struct 239 static void check_immutable(e2fsck_t ctx, struct problem_context *pctx) 241 if (!(pctx->inode->i_flags & BAD_SPECIAL_FLAGS)) 244 if (!fix_problem(ctx, PR_1_SET_IMMUTABLE, pctx)) 247 pctx->inode->i_flags &= ~BAD_SPECIAL_FLAGS; 248 e2fsck_write_inode(ctx, pctx->ino, pctx->inode, "pass1"); 255 static void check_size(e2fsck_t ctx, struct problem_context *pctx) 257 struct ext2_inode *inode = pctx->inode 556 struct problem_context pctx; local 1210 struct problem_context pctx; local 1268 struct problem_context pctx; local 1292 struct problem_context pctx; local 1312 struct problem_context pctx; local 1336 struct problem_context pctx; local 1371 struct problem_context pctx; local 2126 struct problem_context *pctx; local 2280 struct problem_context *pctx; local 2442 struct problem_context pctx; local 2560 struct problem_context pctx; local [all...] |
pass2.c | 68 char *buf, struct problem_context *pctx); 76 struct problem_context pctx; member in struct:check_dir_struct 84 struct problem_context pctx; local 99 clear_problem_context(&cd.pctx); 106 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx); 111 cd.pctx.errcode = 0; 113 cd.pctx.errcode = ext2fs_create_icount2(fs, 117 if (cd.pctx.errcode) { 118 fix_problem(ctx, PR_2_ALLOCATE_ICOUNT, &cd.pctx); 143 cd.pctx.errcode = ext2fs_dblist_iterate(fs->dblist, check_dir_block 728 struct problem_context pctx; local 1181 struct problem_context pctx; local 1256 struct problem_context pctx; local [all...] |
pass4.c | 31 struct problem_context pctx; local 42 clear_problem_context(&pctx); 43 pctx.ino = i; 44 pctx.inode = inode; 57 if (fix_problem(ctx, PR_4_ZERO_LEN_INODE, &pctx)) { 73 if (fix_problem(ctx, PR_4_UNATTACHED_INODE, &pctx)) { 97 struct problem_context pctx; local 108 clear_problem_context(&pctx); 111 fix_problem(ctx, PR_4_PASS_HEADER, &pctx); 162 pctx.ino = i [all...] |
super.c | 29 struct problem_context pctx; local 33 clear_problem_context(&pctx); 34 pctx.num = value; 35 pctx.str = descr; 36 fix_problem(ctx, PR_0_MISC_CORRUPT_SUPER, &pctx); 47 struct problem_context *pctx; member in struct:process_block_struct 65 struct problem_context *pctx; local 71 pctx = pb->pctx; 73 pctx->blk = blk 229 struct problem_context pctx; local 311 struct problem_context pctx; local 432 struct problem_context pctx; local 470 struct problem_context pctx; local [all...] |
pass1b.c | 212 struct problem_context pctx; local 217 clear_problem_context(&pctx); 219 pctx.errcode = ext2fs_allocate_inode_bitmap(fs, 221 if (pctx.errcode) { 222 fix_problem(ctx, PR_1B_ALLOCATE_IBITMAP_ERROR, &pctx); 261 struct problem_context *pctx; member in struct:process_block_struct 271 struct problem_context pctx; local 273 clear_problem_context(&pctx); 276 fix_problem(ctx, PR_1B_PASS_HEADER, &pctx); 277 pctx.errcode = ext2fs_open_inode_scan(fs, ctx->inode_buffer_blocks 409 struct problem_context pctx; local 437 struct problem_context pctx; local 597 struct problem_context pctx; local 726 struct problem_context pctx; local [all...] |
journal.c | 231 struct problem_context pctx; local 243 clear_problem_context(&pctx); 355 fix_problem(ctx, PR_0_CANT_FIND_JOURNAL, &pctx); 401 fix_problem(ctx, PR_0_EXT_JOURNAL_BAD_SUPER, &pctx); 408 fix_problem(ctx, PR_0_JOURNAL_BAD_UUID, &pctx); 446 struct problem_context *pctx) 456 pctx->ino = sb->s_journal_inum; 457 if (fix_problem(ctx, PR_0_JOURNAL_BAD_INODE, pctx)) { 470 if (fix_problem(ctx, PR_0_JOURNAL_RECOVER_SET, pctx)) { 483 struct problem_context pctx; local 501 struct problem_context pctx; local 696 struct problem_context pctx; local 821 struct problem_context pctx; local 923 struct problem_context pctx; local 1046 struct problem_context pctx; local [all...] |
message.c | 237 struct problem_context *pctx, 253 print_e2fsck_message(ctx, str, pctx, *first, recurse+1); 518 struct problem_context *pctx, int first, 529 expand_at_expression(ctx, *cp, pctx, &first, recurse); 532 expand_inode_expression(fs, *cp, pctx); 535 expand_dirent_expression(fs, *cp, pctx); 538 expand_percent_expression(fs, *cp, &first, pctx);
|
/external/chromium/third_party/libjingle/source/talk/xmllite/ |
xmlbuilder.h | 52 static XmlElement * BuildElement(XmlParseContext * pctx, 54 virtual void StartElement(XmlParseContext * pctx, 56 virtual void EndElement(XmlParseContext * pctx, const char * name); 57 virtual void CharacterData(XmlParseContext * pctx, 59 virtual void Error(XmlParseContext * pctx, XML_Error);
|
xmlbuilder.cc | 55 XmlBuilder::BuildElement(XmlParseContext * pctx, 57 QName tagName(pctx->ResolveQName(name, false)); 69 QName attName(pctx->ResolveQName(*atts, true)); 92 XmlBuilder::StartElement(XmlParseContext * pctx, 94 XmlElement * pelNew = BuildElement(pctx, name, atts); 96 pctx->RaiseError(XML_ERROR_SYNTAX); 112 XmlBuilder::EndElement(XmlParseContext * pctx, const char * name) { 113 UNUSED(pctx); 120 XmlBuilder::CharacterData(XmlParseContext * pctx, 122 UNUSED(pctx); [all...] |
xmlparser.h | 61 virtual void StartElement(XmlParseContext * pctx, 63 virtual void EndElement(XmlParseContext * pctx, 65 virtual void CharacterData(XmlParseContext * pctx, 67 virtual void Error(XmlParseContext * pctx,
|
/external/openssh/ |
auth2-jpake.c | 374 struct jpake_ctx *pctx = authctxt->jpake_ctx; local 381 PRIVSEP(jpake_step1(pctx->grp, 382 &pctx->server_id, &pctx->server_id_len, 383 &pctx->x3, &pctx->x4, &pctx->g_x3, &pctx->g_x4, 387 PRIVSEP(auth2_jpake_get_pwdata(authctxt, &pctx->s, 391 JPAKE_DEBUG_CTX((pctx, "step 1 sending in %s", __func__)) 426 struct jpake_ctx *pctx = authctxt->jpake_ctx; local 484 struct jpake_ctx *pctx = authctxt->jpake_ctx; local 534 struct jpake_ctx *pctx = authctxt->jpake_ctx; local [all...] |
jpake.c | 94 jpake_free(struct jpake_ctx *pctx) 96 debug3("%s: free %p", __func__, pctx); 115 JPAKE_BN_CLEAR_FREE(pctx->s); 116 JPAKE_BN_CLEAR_FREE(pctx->k); 117 JPAKE_BN_CLEAR_FREE(pctx->x1); 118 JPAKE_BN_CLEAR_FREE(pctx->x2); 119 JPAKE_BN_CLEAR_FREE(pctx->x3); 120 JPAKE_BN_CLEAR_FREE(pctx->x4); 121 JPAKE_BN_CLEAR_FREE(pctx->g_x1); 122 JPAKE_BN_CLEAR_FREE(pctx->g_x2) [all...] |
sshconnect2.c | 1031 struct jpake_ctx *pctx = authctxt->methoddata; local 1039 if ((pctx->g_x3 = BN_new()) == NULL || 1040 (pctx->g_x4 = BN_new()) == NULL) 1046 pctx->server_id = packet_get_string(&pctx->server_id_len); 1047 packet_get_bignum2(pctx->g_x3); 1048 packet_get_bignum2(pctx->g_x4); 1053 JPAKE_DEBUG_CTX((pctx, "step 1 received in %s", __func__)); 1056 pctx->s = jpake_password_to_secret(authctxt, crypt_scheme, salt); 1061 JPAKE_DEBUG_BN((pctx->s, "%s: s = ", __func__)) 1099 struct jpake_ctx *pctx = authctxt->methoddata; local 1146 struct jpake_ctx *pctx = authctxt->methoddata; local 1747 struct jpake_ctx *pctx; local [all...] |
monitor.c | 2118 struct jpake_ctx *pctx; local 2163 struct jpake_ctx *pctx = authctxt->jpake_ctx; local 2192 struct jpake_ctx *pctx = authctxt->jpake_ctx; local 2243 struct jpake_ctx *pctx = authctxt->jpake_ctx; local 2286 struct jpake_ctx *pctx = authctxt->jpake_ctx; local [all...] |
/external/openssl/crypto/asn1/ |
tasn_prn.c | 162 int nohdr, const ASN1_PCTX *pctx); 165 const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx); 170 const ASN1_PCTX *pctx); 174 const ASN1_PCTX *pctx); 177 const ASN1_ITEM *it, const ASN1_PCTX *pctx) 180 if (pctx == NULL) 181 pctx = &default_pctx; 182 if (pctx->flags & ASN1_PCTX_FLAGS_NO_STRUCT_NAME) 187 NULL, sname, 0, pctx); 193 int nohdr, const ASN1_PCTX *pctx) [all...] |
asn1_locl.h | 87 ASN1_PCTX *pctx); 92 ASN1_PCTX *pctx); 104 ASN1_PCTX *pctx); 107 int indent, ASN1_PCTX *pctx);
|
/external/openssl/apps/ |
genpkey.c | 68 static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx, 315 static int init_keygen_file(BIO *err, EVP_PKEY_CTX **pctx, 321 if (*pctx) 349 *pctx = ctx; 363 int init_gen_str(BIO *err, EVP_PKEY_CTX **pctx, 371 if (*pctx) 412 *pctx = ctx;
|
/external/openssl/crypto/pkcs7/ |
pk7_doit.c | 144 EVP_PKEY_CTX *pctx = NULL; local 155 pctx = EVP_PKEY_CTX_new(pkey, NULL); 156 if (!pctx) 159 if (EVP_PKEY_encrypt_init(pctx) <= 0) 162 if (EVP_PKEY_CTX_ctrl(pctx, -1, EVP_PKEY_OP_ENCRYPT, 169 if (EVP_PKEY_encrypt(pctx, NULL, &eklen, key, keylen) <= 0) 180 if (EVP_PKEY_encrypt(pctx, ek, &eklen, key, keylen) <= 0) 191 if (pctx) 192 EVP_PKEY_CTX_free(pctx); 203 EVP_PKEY_CTX *pctx = NULL local 903 EVP_PKEY_CTX *pctx; local [all...] |