/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | wpas_glue.c | 33 static void wpa_supplicant_set_config_blob(void *ctx, argument 36 struct wpa_supplicant *wpa_s = ctx; 49 wpa_supplicant_get_config_blob(void *ctx, const char *name) argument 51 struct wpa_supplicant *wpa_s = ctx; 111 * @ctx: Pointer to wpa_supplicant data (wpa_s) 120 static int wpa_supplicant_eapol_send(void *ctx, int type, const u8 *buf, argument 123 struct wpa_supplicant *wpa_s = ctx; 187 * @ctx: Pointer to wpa_supplicant data (wpa_s) 194 static int wpa_eapol_set_wep_key(void *ctx, int unicast, int keyidx, argument 197 struct wpa_supplicant *wpa_s = ctx; 212 wpa_supplicant_aborted_cached(void *ctx) argument 219 wpa_supplicant_eapol_cb(struct eapol_sm *eapol, int success, void *ctx) argument 297 wpa_supplicant_notify_eapol_done(void *ctx) argument 349 wpa_supplicant_get_beacon_ie(void *ctx) argument 431 wpa_supplicant_get_bssid(void *ctx, u8 *bssid) argument 477 wpa_supplicant_update_ft_ies(void *ctx, const u8 *md, const u8 *ies, size_t ies_len) argument 487 wpa_supplicant_send_ft_action(void *ctx, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) argument 496 wpa_supplicant_mark_authenticated(void *ctx, const u8 *target_ap) argument 522 wpa_supplicant_tdls_get_capa(void *ctx, int *tdls_supported, int *tdls_ext_setup) argument 543 wpa_supplicant_send_tdls_mgmt(void *ctx, const u8 *dst, u8 action_code, u8 dialog_token, u16 status_code, const u8 *buf, size_t len) argument 554 wpa_supplicant_tdls_oper(void *ctx, int oper, const u8 *peer) argument 561 wpa_supplicant_tdls_peer_addset( void *ctx, const u8 *peer, int add, u16 capability, const u8 *supp_rates, size_t supp_rates_len) argument 649 wpa_supplicant_eap_param_needed(void *ctx, enum wpa_ctrl_req_type field, const char *default_txt) argument 698 wpa_supplicant_port_cb(void *ctx, int authorized) argument 715 wpa_supplicant_cert_cb(void *ctx, int depth, const char *subject, const char *cert_hash, const struct wpabuf *cert) argument 725 wpa_supplicant_status_cb(void *ctx, const char *status, const char *parameter) argument 734 wpa_supplicant_set_anon_id(void *ctx, const u8 *id, size_t len) argument 776 struct eapol_ctx *ctx; local 817 wpa_supplicant_set_rekey_offload(void *ctx, const u8 *kek, const u8 *kck, const u8 *replay_ctr) argument 830 struct wpa_sm_ctx *ctx; local [all...] |
/external/elfutils/libasm/ |
H A D | asm_newcomsym.c | 52 asm_newcomsym (ctx, name, size, align) 53 AsmCtx_t *ctx; 60 if (ctx == NULL) 72 rwlock_wrlock (ctx->lock); 85 result->strent = ebl_strtabadd (ctx->symbol_strtab, name, 0); 92 if (unlikely (ctx->textp)) 93 fprintf (ctx->out.file, "\t.comm %s, %" PRIuMAX ", %" PRIuMAX "\n", 98 if (asm_symbol_tab_insert (&ctx->symbol_tab, elf_hash (name), result) 108 ++ctx->nsymbol_tab; 111 rwlock_unlock (ctx [all...] |
H A D | asm_newsym.c | 68 snprintf (tempsym, TEMPSYMLEN, ".L%07u", asmscn->ctx->tempsym_count++); 79 rwlock_wrlock (asmscn->ctx->lock); 87 result->strent = ebl_strtabadd (asmscn->ctx->symbol_strtab, 90 if (unlikely (asmscn->ctx->textp)) 96 fprintf (asmscn->ctx->out.file, "\t.globl\t%s\n", name); 98 fprintf (asmscn->ctx->out.file, "\t.weak\t%s\n", name); 102 fprintf (asmscn->ctx->out.file, "\t.type\t%s,@object\n", name); 104 fprintf (asmscn->ctx->out.file, "\t.type\t%s,@function\n", name); 107 fprintf (asmscn->ctx->out.file, "\t.size\t%s,%" PRIuMAX "\n%s:\n", 113 if (asm_symbol_tab_insert (&asmscn->ctx [all...] |
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | aes-cbc.c | 26 void *ctx; local 31 ctx = aes_encrypt_init(key, 16); 32 if (ctx == NULL) 40 aes_encrypt(ctx, cbc, cbc); 44 aes_encrypt_deinit(ctx); 59 void *ctx; local 64 ctx = aes_decrypt_init(key, 16); 65 if (ctx == NULL) 72 aes_decrypt(ctx, pos, pos); 78 aes_decrypt_deinit(ctx); [all...] |
/external/wpa_supplicant_8/src/crypto/ |
H A D | aes-cbc.c | 26 void *ctx; local 31 ctx = aes_encrypt_init(key, 16); 32 if (ctx == NULL) 40 aes_encrypt(ctx, cbc, cbc); 44 aes_encrypt_deinit(ctx); 59 void *ctx; local 64 ctx = aes_decrypt_init(key, 16); 65 if (ctx == NULL) 72 aes_decrypt(ctx, pos, pos); 78 aes_decrypt_deinit(ctx); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | aes-cbc.c | 26 void *ctx; local 31 ctx = aes_encrypt_init(key, 16); 32 if (ctx == NULL) 40 aes_encrypt(ctx, cbc, cbc); 44 aes_encrypt_deinit(ctx); 59 void *ctx; local 64 ctx = aes_decrypt_init(key, 16); 65 if (ctx == NULL) 72 aes_decrypt(ctx, pos, pos); 78 aes_decrypt_deinit(ctx); [all...] |
/external/openssl/crypto/x509v3/ |
H A D | v3_conf.c | 71 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, char *value); 72 static X509_EXTENSION *v3_generic_extension(const char *ext, char *value, int crit, int type, X509V3_CTX *ctx); 77 static unsigned char *generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len); 81 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, argument 89 return v3_generic_extension(name, value, crit, ext_type, ctx); 90 ret = do_ext_nconf(conf, ctx, OBJ_sn2nid(name), crit, value); 101 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, argument 109 value, crit, ext_type, ctx); 110 return do_ext_nconf(conf, ctx, ext_nid, crit, value); 115 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, in argument 260 v3_generic_extension(const char *ext, char *value, int crit, int gen_type, X509V3_CTX *ctx) argument 308 generic_asn1(char *value, X509V3_CTX *ctx, long *ext_len) argument 325 X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, char *section, STACK_OF(X509_EXTENSION) **sk) argument 346 X509V3_EXT_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509 *cert) argument 357 X509V3_EXT_CRL_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509_CRL *crl) argument 368 X509V3_EXT_REQ_add_nconf(CONF *conf, X509V3_CTX *ctx, char *section, X509_REQ *req) argument 385 X509V3_get_string(X509V3_CTX *ctx, char *name, char *section) argument 409 X509V3_string_free(X509V3_CTX *ctx, char *str) argument 416 X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) argument 440 X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) argument 446 X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subj, X509_REQ *req, X509_CRL *crl, int flags) argument 493 X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash) argument [all...] |
/external/openssl/crypto/evp/ |
H A D | encode.c | 124 void EVP_EncodeInit(EVP_ENCODE_CTX *ctx) argument 126 ctx->length=48; 127 ctx->num=0; 128 ctx->line_num=0; 131 void EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, argument 139 OPENSSL_assert(ctx->length <= (int)sizeof(ctx->enc_data)); 140 if ((ctx->num+inl) < ctx->length) 142 memcpy(&(ctx 175 EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) argument 223 EVP_DecodeInit(EVP_ENCODE_CTX *ctx) argument 235 EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) argument 398 EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) argument [all...] |
H A D | bio_md.c | 97 EVP_MD_CTX *ctx; local 99 ctx=EVP_MD_CTX_create(); 100 if (ctx == NULL) return(0); 103 bi->ptr=(char *)ctx; 121 EVP_MD_CTX *ctx; local 124 ctx=b->ptr; 126 if ((ctx == NULL) || (b->next_bio == NULL)) return(0); 133 if (EVP_DigestUpdate(ctx,(unsigned char *)out, 145 EVP_MD_CTX *ctx; local 148 ctx 174 EVP_MD_CTX *ctx,*dctx,**pctx; local 254 EVP_MD_CTX *ctx; local [all...] |
H A D | m_dss.c | 71 static int init(EVP_MD_CTX *ctx) argument 72 { return SHA1_Init(ctx->md_data); } 74 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 75 { return SHA1_Update(ctx->md_data,data,count); } 77 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 78 { return SHA1_Final(md,ctx->md_data); }
|
H A D | m_dss1.c | 73 static int init(EVP_MD_CTX *ctx) argument 74 { return SHA1_Init(ctx->md_data); } 76 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 77 { return SHA1_Update(ctx->md_data,data,count); } 79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 80 { return SHA1_Final(md,ctx->md_data); }
|
H A D | m_md4.c | 74 static int init(EVP_MD_CTX *ctx) argument 75 { return MD4_Init(ctx->md_data); } 77 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 78 { return MD4_Update(ctx->md_data,data,count); } 80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 81 { return MD4_Final(md,ctx->md_data); }
|
H A D | m_md5.c | 73 static int init(EVP_MD_CTX *ctx) argument 74 { return MD5_Init(ctx->md_data); } 76 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 77 { return MD5_Update(ctx->md_data,data,count); } 79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 80 { return MD5_Final(md,ctx->md_data); }
|
H A D | m_mdc2.c | 74 static int init(EVP_MD_CTX *ctx) argument 75 { return MDC2_Init(ctx->md_data); } 77 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 78 { return MDC2_Update(ctx->md_data,data,count); } 80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 81 { return MDC2_Final(md,ctx->md_data); }
|
H A D | m_ripemd.c | 73 static int init(EVP_MD_CTX *ctx) argument 74 { return RIPEMD160_Init(ctx->md_data); } 76 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 77 { return RIPEMD160_Update(ctx->md_data,data,count); } 79 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 80 { return RIPEMD160_Final(md,ctx->md_data); }
|
/external/libvpx/vp8/ |
H A D | vp8_cx_iface.c | 97 update_error_state(vpx_codec_alg_priv_t *ctx, argument 103 ctx->base.err_detail = error->has_detail 113 ctx->base.err_detail = str;\ 136 static vpx_codec_err_t validate_config(vpx_codec_alg_priv_t *ctx, argument 227 static vpx_codec_err_t validate_img(vpx_codec_alg_priv_t *ctx, argument 241 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h)) 389 static vpx_codec_err_t vp8e_set_config(vpx_codec_alg_priv_t *ctx, argument 394 if ((cfg->g_w != ctx->cfg.g_w) || (cfg->g_h != ctx 421 get_param(vpx_codec_alg_priv_t *ctx, int ctrl_id, va_list args) argument 443 set_param(vpx_codec_alg_priv_t *ctx, int ctrl_id, va_list args) argument 482 vp8e_init(vpx_codec_ctx_t *ctx) argument 562 vp8e_destroy(vpx_codec_alg_priv_t *ctx) argument 592 pick_quickcompress_mode(vpx_codec_alg_priv_t *ctx, unsigned long duration, unsigned long deadline) argument 649 vp8e_encode(vpx_codec_alg_priv_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned long duration, vpx_enc_frame_flags_t flags, unsigned long deadline) argument 815 vp8e_get_cxdata(vpx_codec_alg_priv_t *ctx, vpx_codec_iter_t *iter) argument 821 vp8e_set_reference(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 841 vp8e_get_reference(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 861 vp8e_set_previewpp(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 885 vp8e_get_preview(vpx_codec_alg_priv_t *ctx) argument 939 vp8e_update_entropy(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 949 vp8e_update_reference(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 958 vp8e_use_reference(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 967 vp8e_set_roi_map(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 987 vp8e_set_activemap(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 1007 vp8e_set_scalemode(vpx_codec_alg_priv_t *ctx, int ctr_id, va_list args) argument 1154 api1_control(vpx_codec_alg_priv_t *ctx, int ctrl_id, va_list args) argument 1191 api1_encode(vpx_codec_alg_priv_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned long duration, vpx_enc_frame_flags_t flags, unsigned long deadline) argument [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | pass5.c | 16 static void check_block_bitmaps(e2fsck_t ctx); 17 static void check_inode_bitmaps(e2fsck_t ctx); 18 static void check_inode_end(e2fsck_t ctx); 19 static void check_block_end(e2fsck_t ctx); 21 void e2fsck_pass5(e2fsck_t ctx) argument 32 init_resource_track(&rtrack, ctx->fs->io); 35 if (!(ctx->options & E2F_OPT_PREEN)) 36 fix_problem(ctx, PR_5_PASS_HEADER, &pctx); 38 if (ctx->progress) 39 if ((ctx 69 print_bitmap_problem(e2fsck_t ctx, int problem, struct problem_context *pctx) argument 103 check_block_bitmaps(e2fsck_t ctx) argument 326 check_inode_bitmaps(e2fsck_t ctx) argument 544 check_inode_end(e2fsck_t ctx) argument 588 check_block_end(e2fsck_t ctx) argument [all...] |
H A D | journal.c | 188 static void e2fsck_clear_recover(e2fsck_t ctx, int error) argument 190 ctx->fs->super->s_feature_incompat &= ~EXT3_FEATURE_INCOMPAT_RECOVER; 194 ctx->fs->super->s_state &= ~EXT2_VALID_FS; 195 ext2fs_mark_super_dirty(ctx->fs); 226 static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal) argument 229 struct ext2_super_block *sb = ctx->fs->super; 245 journal = e2fsck_allocate_memory(ctx, sizeof(journal_t), "journal"); 250 dev_fs = e2fsck_allocate_memory(ctx, 2*sizeof(struct kdev_s), "kdev"); 257 dev_fs->k_ctx = dev_journal->k_ctx = ctx; 264 journal->j_blocksize = ctx 445 e2fsck_journal_fix_bad_inode(e2fsck_t ctx, struct problem_context *pctx) argument 482 e2fsck_t ctx = journal->j_dev->k_ctx; local 498 e2fsck_t ctx = journal->j_dev->k_ctx; local 588 e2fsck_journal_reset_super(e2fsck_t ctx, journal_superblock_t *jsb, journal_t *journal) argument 632 e2fsck_journal_fix_corrupt_super(e2fsck_t ctx, journal_t *journal, struct problem_context *pctx) argument 655 e2fsck_journal_release(e2fsck_t ctx, journal_t *journal, int reset, int drop) argument 690 e2fsck_check_ext3_journal(e2fsck_t ctx) argument 819 recover_ext3_journal(e2fsck_t ctx) argument 858 e2fsck_run_ext3_journal(e2fsck_t ctx) argument 920 e2fsck_move_ext3_journal(e2fsck_t ctx) argument 1043 e2fsck_fix_ext3_journal_hint(e2fsck_t ctx) argument [all...] |
H A D | message.c | 236 static _INLINE_ void expand_at_expression(e2fsck_t ctx, char ch, argument 253 print_e2fsck_message(ctx, str, pctx, *first, recurse+1); 262 struct problem_context *ctx) 268 if (!ctx || !ctx->inode) 271 inode = ctx->inode; 358 struct problem_context *ctx) 364 if (!ctx || !ctx->dirent) 367 dirent = ctx 261 expand_inode_expression(ext2_filsys fs, char ch, struct problem_context *ctx) argument 357 expand_dirent_expression(ext2_filsys fs, char ch, struct problem_context *ctx) argument 399 expand_percent_expression(ext2_filsys fs, char ch, int *first, struct problem_context *ctx) argument 517 print_e2fsck_message(e2fsck_t ctx, const char *msg, struct problem_context *pctx, int first, int recurse) argument [all...] |
/external/openssl/crypto/ec/ |
H A D | ecp_smpl.c | 176 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 189 if (ctx == NULL) 191 ctx = new_ctx = BN_CTX_new(); 192 if (ctx == NULL) 196 BN_CTX_start(ctx); 197 tmp_a = BN_CTX_get(ctx); 205 if (!BN_nnmod(tmp_a, a, p, ctx)) goto err; 207 { if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) goto err; } 212 if (!BN_nnmod(&group->b, b, p, ctx)) goto err; 214 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) got 175 ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument 230 ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) argument 287 ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) argument 401 ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) argument 461 ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) argument 514 ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) argument 528 ec_GFp_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) argument 643 ec_GFp_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument 807 ec_GFp_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) argument 924 ec_GFp_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument 940 ec_GFp_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) argument 1031 ec_GFp_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument 1142 ec_GFp_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument 1181 ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) argument 1351 ec_GFp_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument 1357 ec_GFp_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) argument [all...] |
/external/icu4c/samples/ucnv/ |
H A D | flagcb.c | 18 FromUFLAGContext *ctx; local 20 ctx = (FromUFLAGContext*) malloc(sizeof(FromUFLAGContext)); 22 ctx->subCallback = NULL; 23 ctx->subContext = NULL; 24 ctx->flag = FALSE; 26 return ctx; 154 static debugCBContext *debugCB_clone(debugCBContext *ctx) argument 162 newCtx->subCallback = ctx->subCallback; 163 newCtx->subContext = ctx->subContext; 166 printf("debugCB_clone: %p:%d -> new context %p:%d\n", ctx, ct 180 debugCBContext *ctx = (debugCBContext*)context; local 270 debugCBContext *ctx; local [all...] |
/external/libvpx/vpx/ |
H A D | vpx_decoder_compat.h | 191 * \param[in] ctx Pointer to this instance's context. 194 const char *vpx_dec_error(vpx_dec_ctx_t *ctx) DEPRECATED; 202 * \param[in] ctx Pointer to this instance's context. 207 const char *vpx_dec_error_detail(vpx_dec_ctx_t *ctx) DEPRECATED; 224 * \param[in] ctx Pointer to this instance's context. 233 vpx_dec_err_t vpx_dec_init_ver(vpx_dec_ctx_t *ctx, 236 #define vpx_dec_init(ctx, iface) \ 237 vpx_dec_init_ver(ctx, iface, VPX_DECODER_ABI_VERSION) 244 * \param[in] ctx Pointer to this instance's context 251 vpx_dec_err_t vpx_dec_destroy(vpx_dec_ctx_t *ctx) DEPRECATE [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_recp.c | 94 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx) argument 104 BN_RECP_CTX *recp, BN_CTX *ctx) 110 BN_CTX_start(ctx); 111 if ((a = BN_CTX_get(ctx)) == NULL) goto err; 115 { if (!BN_sqr(a,x,ctx)) goto err; } 117 { if (!BN_mul(a,x,y,ctx)) goto err; } 123 ret = BN_div_recp(NULL,r,ca,recp,ctx); 125 BN_CTX_end(ctx); 131 BN_RECP_CTX *recp, BN_CTX *ctx) 136 BN_CTX_start(ctx); 103 BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, BN_RECP_CTX *recp, BN_CTX *ctx) argument 130 BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, BN_CTX *ctx) argument 217 BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx) argument [all...] |
/external/openssl/crypto/pem/ |
H A D | pem_sign.c | 67 void PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type) argument 69 EVP_DigestInit_ex(ctx, type, NULL); 72 void PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *data, argument 75 EVP_DigestUpdate(ctx,data,count); 78 int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, argument 92 if (EVP_SignFinal(ctx,m,&m_len,pkey) <= 0) goto err; 98 /* ctx has been zeroed by EVP_SignFinal() */
|
/external/openssl/crypto/x509/ |
H A D | x509_d2.c | 65 int X509_STORE_set_default_paths(X509_STORE *ctx) argument 69 lookup=X509_STORE_add_lookup(ctx,X509_LOOKUP_file()); 73 lookup=X509_STORE_add_lookup(ctx,X509_LOOKUP_hash_dir()); 83 int X509_STORE_load_locations(X509_STORE *ctx, const char *file, argument 90 lookup=X509_STORE_add_lookup(ctx,X509_LOOKUP_file()); 97 lookup=X509_STORE_add_lookup(ctx,X509_LOOKUP_hash_dir());
|