Searched refs:ctx (Results 276 - 300 of 1435) sorted by relevance

<<11121314151617181920>>

/external/openssl/crypto/ec/
H A Decp_nist.c130 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
136 if (ctx == NULL)
137 if ((ctx = new_ctx = BN_CTX_new()) == NULL) return 0;
139 BN_CTX_start(ctx);
140 if ((tmp_bn = BN_CTX_get(ctx)) == NULL) goto err;
158 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx);
161 BN_CTX_end(ctx);
169 const BIGNUM *b, BN_CTX *ctx)
179 if (!ctx)
180 if ((ctx_new = ctx
129 ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
168 ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument
194 ec_GFp_nist_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) argument
[all...]
H A Dec_pmeth.c77 static int pkey_ec_init(EVP_PKEY_CTX *ctx) argument
86 ctx->data = dctx;
108 static void pkey_ec_cleanup(EVP_PKEY_CTX *ctx) argument
110 EC_PKEY_CTX *dctx = ctx->data;
119 static int pkey_ec_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, argument
124 EC_PKEY_CTX *dctx = ctx->data;
125 EC_KEY *ec = ctx->pkey->pkey.ec;
152 static int pkey_ec_verify(EVP_PKEY_CTX *ctx, argument
157 EC_PKEY_CTX *dctx = ctx->data;
158 EC_KEY *ec = ctx
170 pkey_ec_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) argument
204 pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) argument
249 pkey_ec_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value) argument
268 pkey_ec_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) argument
289 pkey_ec_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) argument
[all...]
H A Dec_oct.c72 const BIGNUM *x, int y_bit, BN_CTX *ctx)
89 group, point, x, y_bit, ctx);
98 group, point, x, y_bit, ctx);
101 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx);
106 const BIGNUM *x, int y_bit, BN_CTX *ctx)
123 group, point, x, y_bit, ctx);
126 group, point, x, y_bit, ctx);
128 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx);
133 unsigned char *buf, size_t len, BN_CTX *ctx)
150 form, buf, len, ctx);
71 EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, int y_bit, BN_CTX *ctx) argument
105 EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, int y_bit, BN_CTX *ctx) argument
132 EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) argument
167 EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) argument
[all...]
/external/openssl/crypto/pem/
H A Dpem_seal.c70 int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, argument
96 EVP_EncodeInit(&ctx->encode);
98 EVP_MD_CTX_init(&ctx->md);
99 EVP_SignInit(&ctx->md,md_type);
101 EVP_CIPHER_CTX_init(&ctx->cipher);
102 ret=EVP_SealInit(&ctx->cipher,type,ek,ekl,iv,pubk,npubk);
121 void PEM_SealUpdate(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *out, int *outl, argument
128 EVP_SignUpdate(&ctx->md,in,inl);
136 EVP_EncryptUpdate(&ctx->cipher,buffer,&j,in,i);
137 EVP_EncodeUpdate(&ctx
145 PEM_SealFinal(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *sig, int *sigl, unsigned char *out, int *outl, EVP_PKEY *priv) argument
[all...]
/external/mesa3d/src/glsl/
H A Dast_function.cpp100 void *ctx = state; local
120 f = new(ctx) ir_function(name);
170 ir_call *call = new(ctx) ir_call(sig, actual_parameters);
175 var = new(ctx) ir_variable(sig->return_type,
176 hieralloc_asprintf(ctx, "%s_retval",
181 deref = new(ctx) ir_dereference_variable(var);
182 ir_assignment *assign = new(ctx) ir_assignment(deref, call, NULL);
187 deref = new(ctx) ir_dereference_variable(var);
221 return ir_call::get_error_instruction(ctx);
235 void *ctx local
298 void *ctx = hieralloc_parent(src); local
339 void *ctx = state; local
488 emit_inline_vector_constructor(const glsl_type *type, exec_list *instructions, exec_list *parameters, void *ctx) argument
677 emit_inline_matrix_constructor(const glsl_type *type, exec_list *instructions, exec_list *parameters, void *ctx) argument
979 void *ctx = state; local
[all...]
H A Ds_expression.cpp52 read_atom(void *ctx, const char *& src) argument
71 expr = new(ctx) s_float(f);
73 expr = new(ctx) s_int(i);
76 expr = new(ctx) s_symbol(src, n);
85 s_expression::read_expression(void *ctx, const char *&src) argument
89 s_expression *atom = read_atom(ctx, src);
98 s_list *list = new(ctx) s_list;
101 while ((expr = read_expression(ctx, src)) != NULL) {
/external/openssl/crypto/dsa/
H A Ddsa_pmeth.c81 static int pkey_dsa_init(EVP_PKEY_CTX *ctx) argument
92 ctx->data = dctx;
93 ctx->keygen_info = dctx->gentmp;
94 ctx->keygen_info_count = 2;
113 static void pkey_dsa_cleanup(EVP_PKEY_CTX *ctx) argument
115 DSA_PKEY_CTX *dctx = ctx->data;
120 static int pkey_dsa_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, argument
125 DSA_PKEY_CTX *dctx = ctx->data;
126 DSA *dsa = ctx->pkey->pkey.dsa;
141 static int pkey_dsa_verify(EVP_PKEY_CTX *ctx, argument
159 pkey_dsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) argument
217 pkey_dsa_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value) argument
241 pkey_dsa_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) argument
266 pkey_dsa_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) argument
[all...]
H A Ddsa_ossl.c95 * if (!dsa->meth->bn_mod_exp(dsa, r,dsa->g,&k,dsa->p,ctx,
100 * DSA_BN_MOD_EXP(goto err, dsa, r, dsa->g, &k, dsa->p, ctx,
104 #define DSA_MOD_EXP(err_instr,dsa,rr,a1,p1,a2,p2,m,ctx,in_mont) \
109 (a2), (p2), (m), (ctx), (in_mont)); \
112 (m), (ctx), (in_mont)); \
115 #define DSA_BN_MOD_EXP(err_instr,dsa,r,a,p,m,ctx,m_ctx) \
120 (m), (ctx), (m_ctx)); \
122 _tmp_res53 = BN_mod_exp_mont((r), (a), (p), (m), (ctx), (m_ctx)); \
136 BN_CTX *ctx=NULL; local
152 ctx
218 BN_CTX *ctx; local
310 BN_CTX *ctx; local
[all...]
/external/chromium/crypto/
H A Dsecure_hash_unittest.cc26 scoped_ptr<crypto::SecureHash> ctx(crypto::SecureHash::Create(
28 ctx->Update(input3.data(), input3.size());
29 ctx->Update(input3.data(), input3.size());
31 ctx->Finish(output3, sizeof(output3));
/external/e2fsprogs/e2fsck/
H A Dutil.c46 void fatal_error(e2fsck_t ctx, const char *msg) argument
50 if (ctx->fs && ctx->fs->io) {
51 if (ctx->fs->io->magic == EXT2_ET_MAGIC_IO_CHANNEL)
52 io_channel_flush(ctx->fs->io);
56 ctx->flags |= E2F_FLAG_ABORT;
57 if (ctx->flags & E2F_FLAG_SETJMP_OK)
58 longjmp(ctx->abort_loc, 1);
62 void *e2fsck_allocate_memory(e2fsck_t ctx, unsigned int size, argument
74 fatal_error(ctx, bu
196 ask(e2fsck_t ctx, const char * string, int def) argument
213 e2fsck_read_bitmaps(e2fsck_t ctx) argument
237 e2fsck_write_bitmaps(e2fsck_t ctx) argument
254 preenhalt(e2fsck_t ctx) argument
316 print_resource_track(e2fsck_t ctx, const char *desc, struct resource_track *track, io_channel channel) argument
383 e2fsck_read_inode(e2fsck_t ctx, unsigned long ino, struct ext2_inode * inode, const char *proc) argument
396 e2fsck_read_inode_full(e2fsck_t ctx, unsigned long ino, struct ext2_inode *inode, int bufsize, const char *proc) argument
410 e2fsck_write_inode_full(e2fsck_t ctx, unsigned long ino, struct ext2_inode * inode, int bufsize, const char *proc) argument
424 e2fsck_write_inode(e2fsck_t ctx, unsigned long ino, struct ext2_inode * inode, const char *proc) argument
448 get_backup_sb(e2fsck_t ctx, ext2_filsys fs, const char *name, io_manager manager) argument
[all...]
H A Dehandler.c33 e2fsck_t ctx; local
35 ctx = (e2fsck_t) fs->priv_data;
36 if (ctx->flags & E2F_FLAG_EXITING)
59 preenhalt(ctx);
60 if (ask(ctx, _("Ignore error"), 1)) {
61 if (ask(ctx, _("Force rewrite"), 1))
80 e2fsck_t ctx; local
82 ctx = (e2fsck_t) fs->priv_data;
83 if (ctx->flags & E2F_FLAG_EXITING)
108 preenhalt(ctx);
[all...]
/external/libvpx/vpx/
H A Dvpx_codec.h300 * \param[in] ctx Pointer to this instance's context.
303 const char *vpx_codec_error(vpx_codec_ctx_t *ctx);
311 * \param[in] ctx Pointer to this instance's context.
316 const char *vpx_codec_error_detail(vpx_codec_ctx_t *ctx);
329 * \param[in] ctx Pointer to this instance's context
336 vpx_codec_err_t vpx_codec_destroy(vpx_codec_ctx_t *ctx);
363 * \param[in] ctx Pointer to this instance's context
373 vpx_codec_err_t vpx_codec_control_(vpx_codec_ctx_t *ctx,
377 # define vpx_codec_control(ctx,id,data) vpx_codec_control_(ctx,i
[all...]
/external/openssl/crypto/comp/
H A Dc_rle.c7 static int rle_compress_block(COMP_CTX *ctx, unsigned char *out,
9 static int rle_expand_block(COMP_CTX *ctx, unsigned char *out,
28 static int rle_compress_block(COMP_CTX *ctx, unsigned char *out, argument
44 static int rle_expand_block(COMP_CTX *ctx, unsigned char *out, argument
/external/webkit/Source/JavaScriptCore/API/
H A DJSBasePrivate.h39 @param ctx The execution context to use.
46 JS_EXPORT void JSReportExtraMemoryCost(JSContextRef ctx, size_t size) AVAILABLE_IN_WEBKIT_VERSION_4_0;
H A DJSContextRef.h100 @param ctx The JSGlobalContext to retain.
101 @result A JSGlobalContext that is the same as ctx.
103 JS_EXPORT JSGlobalContextRef JSGlobalContextRetain(JSGlobalContextRef ctx);
108 @param ctx The JSGlobalContext to release.
110 JS_EXPORT void JSGlobalContextRelease(JSGlobalContextRef ctx);
115 @param ctx The JSContext whose global object you want to get.
116 @result ctx's global object.
118 JS_EXPORT JSObjectRef JSContextGetGlobalObject(JSContextRef ctx);
123 @param ctx The JSContext whose group you want to get.
124 @result ctx'
[all...]
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DIconWx.cpp41 void Icon::paint(GraphicsContext* ctx, const IntRect& rect) argument
/external/elfutils/libasm/
H A Dlibasm.h75 extern int asm_abort (AsmCtx_t *ctx);
78 extern int asm_end (AsmCtx_t *ctx);
83 extern AsmScn_t *asm_newscn (AsmCtx_t *ctx, const char *scnname,
88 extern AsmScn_t *asm_newscn_ingrp (AsmCtx_t *ctx, const char *scnname,
98 extern AsmScnGrp_t *asm_newscngrp (AsmCtx_t *ctx, const char *grpname,
146 extern AsmSym_t *asm_newcomsym (AsmCtx_t *ctx, const char *name,
150 extern AsmSym_t *asm_newabssym (AsmCtx_t *ctx, const char *name,
163 extern Elf *asm_getelf (AsmCtx_t *ctx);
181 extern int disasm_end (DisasmCtx_t *ctx);
185 extern int disasm_str (DisasmCtx_t *ctx, cons
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap.h133 * eap_peer_sm_init() call will be used as the ctx parameter for these
139 * @ctx: eapol_ctx from eap_peer_sm_init() call
141 struct eap_peer_config * (*get_config)(void *ctx);
148 Boolean (*get_bool)(void *ctx, enum eapol_bool_var variable);
152 * @ctx: eapol_ctx from eap_peer_sm_init() call
156 void (*set_bool)(void *ctx, enum eapol_bool_var variable,
161 * @ctx: eapol_ctx from eap_peer_sm_init() call
165 unsigned int (*get_int)(void *ctx, enum eapol_int_var variable);
169 * @ctx: eapol_ctx from eap_peer_sm_init() call
173 void (*set_int)(void *ctx, enu
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dcrypto_cryptoapi.c300 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
302 struct aes_context *akey = ctx;
315 void aes_encrypt_deinit(void *ctx) argument
317 struct aes_context *akey = ctx;
332 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
334 struct aes_context *akey = ctx;
347 void aes_decrypt_deinit(void *ctx) argument
349 aes_encrypt_deinit(ctx);
365 struct crypto_hash *ctx; local
403 ctx
465 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument
477 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
521 struct crypto_cipher *ctx; local
600 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
617 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
633 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_cryptoapi.c291 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
293 struct aes_context *akey = ctx;
306 void aes_encrypt_deinit(void *ctx) argument
308 struct aes_context *akey = ctx;
323 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
325 struct aes_context *akey = ctx;
338 void aes_decrypt_deinit(void *ctx) argument
340 aes_encrypt_deinit(ctx);
355 struct crypto_hash *ctx; local
393 ctx
455 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument
467 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
511 struct crypto_cipher *ctx; local
590 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
607 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
623 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_cryptoapi.c291 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
293 struct aes_context *akey = ctx;
306 void aes_encrypt_deinit(void *ctx) argument
308 struct aes_context *akey = ctx;
323 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
325 struct aes_context *akey = ctx;
338 void aes_decrypt_deinit(void *ctx) argument
340 aes_encrypt_deinit(ctx);
355 struct crypto_hash *ctx; local
393 ctx
455 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument
467 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
511 struct crypto_cipher *ctx; local
590 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
607 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
623 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_cryptoapi.c291 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
293 struct aes_context *akey = ctx;
306 void aes_encrypt_deinit(void *ctx) argument
308 struct aes_context *akey = ctx;
323 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
325 struct aes_context *akey = ctx;
338 void aes_decrypt_deinit(void *ctx) argument
340 aes_encrypt_deinit(ctx);
355 struct crypto_hash *ctx; local
393 ctx
455 crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len) argument
467 crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) argument
511 struct crypto_cipher *ctx; local
590 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
607 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
623 crypto_cipher_deinit(struct crypto_cipher *ctx) argument
[all...]
/external/emma/core/java12/com/vladium/jcd/cls/constant/
H A DCONSTANT_Fieldref_info.java48 public Object accept (final ICONSTANTVisitor visitor, final Object ctx) argument
50 return visitor.visit (this, ctx);
H A DCONSTANT_InterfaceMethodref_info.java47 public Object accept (final ICONSTANTVisitor visitor, final Object ctx) argument
49 return visitor.visit (this, ctx);
H A DCONSTANT_Methodref_info.java48 public Object accept (final ICONSTANTVisitor visitor, final Object ctx) argument
50 return visitor.visit (this, ctx);

Completed in 546 milliseconds

<<11121314151617181920>>