HomeSort by relevance Sort by last modified time
    Searched refs:ctx (Results 226 - 250 of 795) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/jpeg/
jmemdos.c 337 XMScontext ctx; local
351 ctx.ds_si = (void far *) & spec;
352 ctx.ax = 0x0b00; /* EMB move */
353 jxms_calldriver(xms_driver, (XMScontext far *) & ctx);
354 if (ctx.ax != 1)
370 XMScontext ctx; local
384 ctx.ds_si = (void far *) & spec;
385 ctx.ax = 0x0b00; /* EMB move */
386 jxms_calldriver(xms_driver, (XMScontext far *) & ctx);
387 if (ctx.ax != 1
403 XMScontext ctx; local
417 XMScontext ctx; local
495 EMScontext ctx; local
520 EMScontext ctx; local
543 EMScontext ctx; local
557 EMScontext ctx; local
    [all...]
  /external/openssl/crypto/rsa/
rsa_chk.c 59 BN_CTX *ctx; local
68 ctx = BN_CTX_new();
70 m == NULL || ctx == NULL)
98 r = BN_mul(i, key->p, key->q, ctx);
115 r = BN_mul(l, i, j, ctx);
117 r = BN_gcd(m, i, j, ctx);
119 r = BN_div(k, NULL, l, m, ctx); /* remainder is 0 */
122 r = BN_mod_mul(i, key->d, key->e, k, ctx);
137 r = BN_mod(j, key->d, i, ctx);
151 r = BN_mod(j, key->d, i, ctx);
    [all...]
rsa_eay.c 128 static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx);
159 BN_CTX *ctx=NULL; local
183 if ((ctx=BN_CTX_new()) == NULL) goto err;
184 BN_CTX_start(ctx);
185 f = BN_CTX_get(ctx);
186 ret = BN_CTX_get(ctx);
227 if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_n, CRYPTO_LOCK_RSA, rsa->n, ctx))
230 if (!rsa->meth->bn_mod_exp(ret,f,rsa->e,rsa->n,ctx,
242 if (ctx != NULL)
244 BN_CTX_end(ctx);
352 BN_CTX *ctx=NULL; local
485 BN_CTX *ctx=NULL; local
616 BN_CTX *ctx=NULL; local
    [all...]
rsa_gen.c 93 BN_CTX *ctx=NULL; local
95 ctx=BN_CTX_new();
96 if (ctx == NULL) goto err;
97 BN_CTX_start(ctx);
98 r0 = BN_CTX_get(ctx);
99 r1 = BN_CTX_get(ctx);
100 r2 = BN_CTX_get(ctx);
101 r3 = BN_CTX_get(ctx);
125 if (!BN_gcd(r1,r2,rsa->e,ctx)) goto err;
150 if (!BN_gcd(r1,r2,rsa->e,ctx)) goto err
    [all...]
rsa_lib.c 124 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx)
131 rsa->blinding = RSA_setup_blinding(rsa, ctx);
143 const BIGNUM *q, BN_CTX *ctx)
150 BN_CTX_start(ctx);
151 r0 = BN_CTX_get(ctx);
152 r1 = BN_CTX_get(ctx);
153 r2 = BN_CTX_get(ctx);
159 if (!BN_mul(r0, r1, r2, ctx)) goto err;
161 ret = BN_mod_inverse(NULL, d, r0, ctx);
163 BN_CTX_end(ctx);
171 BN_CTX *ctx; local
    [all...]
  /external/wpa_supplicant/
eapol_sm.h 72 * ctx - Pointer to arbitrary upper level context
74 void *ctx; member in struct:eapol_ctx
88 * @ctx: Pointer to context data (cb_ctx)
95 void (*cb)(struct eapol_sm *eapol, int success, void *ctx);
121 * @ctx: Callback context (ctx)
127 void (*eapol_done_cb)(void *ctx);
131 * @ctx: Callback context (eapol_send_ctx)
137 int (*eapol_send)(void *ctx, int type, const u8 *buf, size_t len);
141 * @ctx: Callback context (ctx
    [all...]
crypto.h 100 * @ctx: Context pointer from aes_encrypt_init()
104 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
108 * @ctx: Context pointer from aes_encrypt_init()
110 void aes_encrypt_deinit(void *ctx);
122 * @ctx: Context pointer from aes_encrypt_init()
126 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
130 * @ctx: Context pointer from aes_encrypt_init()
132 void aes_decrypt_deinit(void *ctx);
159 * @ctx: Context pointer from crypto_hash_init()
167 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len)
    [all...]
crypto.c 37 MD4_CTX ctx; local
40 MD4_Init(&ctx);
42 MD4_Update(&ctx, addr[i], len[i]);
43 MD4_Final(mac, &ctx);
71 MD5_CTX ctx; local
74 MD5_Init(&ctx);
76 MD5_Update(&ctx, addr[i], len[i]);
77 MD5_Final(mac, &ctx);
83 SHA_CTX ctx; local
86 SHA1_Init(&ctx);
    [all...]
wpa.h 58 void *ctx; /* pointer to arbitrary upper level context */ member in struct:wpa_sm_ctx
60 void (*set_state)(void *ctx, wpa_states state);
61 wpa_states (*get_state)(void *ctx);
62 void (*deauthenticate)(void * ctx, int reason_code);
63 void (*disassociate)(void *ctx, int reason_code);
64 int (*set_key)(void *ctx, wpa_alg alg,
69 struct wpa_ssid * (*get_ssid)(void *ctx);
70 int (*get_bssid)(void *ctx, u8 *bssid);
71 int (*ether_send)(void *ctx, const u8 *dest, u16 proto, const u8 *buf,
73 int (*get_beacon_ie)(void *ctx);
    [all...]
  /external/e2fsprogs/e2fsck/
ehandler.c 33 e2fsck_t ctx; local
35 ctx = (e2fsck_t) fs->priv_data;
58 preenhalt(ctx);
59 if (ask(ctx, _("Ignore error"), 1)) {
60 if (ask(ctx, _("Force rewrite"), 1))
79 e2fsck_t ctx; local
81 ctx = (e2fsck_t) fs->priv_data;
105 preenhalt(ctx);
106 if (ask(ctx, _("Ignore error"), 1))
  /external/openssl/crypto/bn/
bn_blind.c 130 const BIGNUM *m, BN_CTX *ctx,
179 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx)
193 if (!BN_BLINDING_create_param(b, NULL, NULL, ctx, NULL, NULL))
198 if (!BN_mod_mul(b->A,b->A,b->A,b->mod,ctx)) goto err;
199 if (!BN_mod_mul(b->Ai,b->Ai,b->Ai,b->mod,ctx)) goto err;
209 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
211 return BN_BLINDING_convert_ex(n, NULL, b, ctx);
214 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx)
231 if (!BN_mod_mul(n,n,b->A,b->mod,ctx)) ret=0;
236 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx)
    [all...]
exp.c 15 BN_CTX ctx; local
23 BN_CTX_init(&ctx);
37 BN_mod(&a,&a,&c,&ctx);
41 BN_MONT_CTX_set(&mont,&c,&ctx);
48 /* bn_mull(&r,&a,&b,&ctx); */
49 /* BN_sqr(&r,&a,&ctx); */
50 BN_mod_exp_mont(&r,&a,&b,&c,&ctx,&mont);
bn_gcd.c 117 int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx)
125 BN_CTX_start(ctx);
126 a = BN_CTX_get(ctx);
127 b = BN_CTX_get(ctx);
142 BN_CTX_end(ctx);
207 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
209 const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx)
217 return BN_mod_inverse_no_branch(in, a, n, ctx);
223 BN_CTX_start(ctx);
224 A = BN_CTX_get(ctx);
    [all...]
  /external/openssl/crypto/dh/
dh_key.c 71 const BIGNUM *m, BN_CTX *ctx,
108 BN_CTX *ctx; local
112 ctx = BN_CTX_new();
113 if (ctx == NULL) goto err;
136 CRYPTO_LOCK_DH, dh->p, ctx);
160 if (!dh->meth->bn_mod_exp(dh, pub_key, dh->g, prk, dh->p, ctx, mont)) goto err;
172 BN_CTX_free(ctx);
178 BN_CTX *ctx=NULL; local
190 ctx = BN_CTX_new();
191 if (ctx == NULL) goto err
    [all...]
  /external/openssl/crypto/dsa/
dsa_gen.c 116 BN_CTX *ctx=NULL; local
137 if ((ctx=BN_CTX_new()) == NULL) goto err;
141 BN_CTX_start(ctx);
142 r0 = BN_CTX_get(ctx);
143 g = BN_CTX_get(ctx);
144 W = BN_CTX_get(ctx);
145 q = BN_CTX_get(ctx);
146 X = BN_CTX_get(ctx);
147 c = BN_CTX_get(ctx);
148 p = BN_CTX_get(ctx);
    [all...]
dsa_key.c 81 BN_CTX *ctx=NULL; local
84 if ((ctx=BN_CTX_new()) == NULL) goto err;
117 if (!BN_mod_exp(pub_key,dsa->g,prk,dsa->p,ctx)) goto err;
127 if (ctx != NULL) BN_CTX_free(ctx);
  /external/openssl/crypto/ec/
ec_cvt.c 76 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
87 if (!EC_GROUP_set_curve_GFp(ret, p, a, b, ctx))
115 if (!EC_GROUP_set_curve_GFp(ret, p, a, b, ctx))
126 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
137 if (!EC_GROUP_set_curve_GF2m(ret, p, a, b, ctx))
ec_lib.c 319 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx)
328 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
407 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
414 return group->meth->group_set_curve(group, p, a, b, ctx);
418 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
425 return group->meth->group_get_curve(group, p, a, b, ctx);
429 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
436 return group->meth->group_set_curve(group, p, a, b, ctx);
440 int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
447 return group->meth->group_get_curve(group, p, a, b, ctx);
    [all...]
  /external/openssl/crypto/evp/
evp_locl.h 65 bl = ctx->cipher->block_size;\
71 static int cname##_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \
74 cprefix##_ecb_encrypt(in + i, out + i, &((kstruct *)ctx->cipher_data)->ksched, ctx->encrypt);\
79 static int cname##_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \
81 cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, &ctx->num);\
86 static int cname##_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) \
88 cprefix##_cbc_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv, ctx->encrypt);
    [all...]
  /external/openssl/crypto/rc4/
rc4s.cpp 40 RC4_KEY ctx; local
59 RC4(&ctx,numm,buffer,buffer);
61 RC4(&ctx,numm,buffer,buffer);
64 RC4(&ctx,num,buffer,buffer);
66 RC4(&ctx,num,buffer,buffer);
  /external/openssl/crypto/0.9.9-dev/sha/
sha512-armv4.pl 28 $ctx="r0";
206 ldr $Elo,[$ctx,#$Eoff+$lo]
207 ldr $Ehi,[$ctx,#$Eoff+$hi]
208 ldr $t0, [$ctx,#$Goff+$lo]
209 ldr $t1, [$ctx,#$Goff+$hi]
210 ldr $t2, [$ctx,#$Hoff+$lo]
211 ldr $t3, [$ctx,#$Hoff+$hi]
217 ldr $Alo,[$ctx,#$Aoff+$lo]
218 ldr $Ahi,[$ctx,#$Aoff+$hi]
219 ldr $Tlo,[$ctx,#$Boff+$lo
    [all...]
  /bionic/libc/netbsd/isc/
ev_streams.c 64 evContext_p *ctx = opaqueCtx.opaque; local
79 if (ctx->streams != NULL)
80 ctx->streams->prev = new;
82 new->next = ctx->streams;
83 ctx->streams = new;
98 evContext_p *ctx = opaqueCtx.opaque; local
113 if (ctx->streams != NULL)
114 ctx->streams->prev = new;
116 new->next = ctx->streams;
117 ctx->streams = new
151 evContext_p *ctx = opaqueCtx.opaque; local
247 evContext_p *ctx = opaqueCtx.opaque; local
    [all...]
  /external/openssl/apps/
verify.c 72 static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx);
73 static int check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, int purpose, ENGINE *e);
239 static int check(X509_STORE *ctx, char *file, STACK_OF(X509) *uchain, STACK_OF(X509) *tchain, int purpose, ENGINE *e)
256 X509_STORE_set_flags(ctx, vflags);
257 if(!X509_STORE_CTX_init(csc,ctx,x,uchain))
327 static int MS_CALLBACK cb(int ok, X509_STORE_CTX *ctx)
333 if (ctx->current_cert)
336 X509_get_subject_name(ctx->current_cert),buf,
340 printf("error %d at %d depth lookup:%s\n",ctx->error,
341 ctx->error_depth
    [all...]
  /external/openssl/include/openssl/
ssl.h 387 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg);
574 #define SSL_CTX_set_options(ctx,op) \
575 SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
576 #define SSL_CTX_clear_options(ctx,op) \
577 SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
578 #define SSL_CTX_get_options(ctx) \
579 SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,0,NULL)
587 #define SSL_CTX_set_mode(ctx,op) \
588 SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
589 #define SSL_CTX_clear_mode(ctx,op)
1014 SSL_CTX *ctx; member in struct:ssl_st
    [all...]
  /external/openssl/ssl/
ssl.h 387 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg);
574 #define SSL_CTX_set_options(ctx,op) \
575 SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
576 #define SSL_CTX_clear_options(ctx,op) \
577 SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
578 #define SSL_CTX_get_options(ctx) \
579 SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,0,NULL)
587 #define SSL_CTX_set_mode(ctx,op) \
588 SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
589 #define SSL_CTX_clear_mode(ctx,op)
1014 SSL_CTX *ctx; member in struct:ssl_st
    [all...]

Completed in 304 milliseconds

1 2 3 4 5 6 7 8 91011>>