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

1 2 3 4 56 7 8 91011>>

  /external/openssl/crypto/ec/
ec2_mult.c 82 static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx)
87 /* Since Mdouble is static we can guarantee that ctx != NULL. */
88 BN_CTX_start(ctx);
89 t1 = BN_CTX_get(ctx);
92 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
93 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err;
94 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err;
95 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
96 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err;
97 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err
    [all...]
ecp_smpl.c 169 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)
182 if (ctx == NULL)
184 ctx = new_ctx = BN_CTX_new();
185 if (ctx == NULL)
189 BN_CTX_start(ctx);
190 tmp_a = BN_CTX_get(ctx);
198 if (!BN_nnmod(tmp_a, a, p, ctx)) goto err;
200 { if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) goto err; }
205 if (!BN_nnmod(&group->b, b, p, ctx)) goto err;
207 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) goto err
    [all...]
  /development/tools/yuv420sp2rgb/
yuv420sp2rgb.c 46 rgb_context *ctx);
62 rgb_context ctx; local
64 ctx.buffer = buffer;
65 ctx.size = size; /* debug */
66 ctx.width = width;
67 ctx.height = height;
68 ctx.rotate = rotate;
74 ctx.i = i;
75 ctx.j = j;
76 cb(nB, nB, nB, &ctx);
    [all...]
  /external/openssl/crypto/x509/
by_dir.c 90 static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl,
94 static int add_cert_dir(BY_DIR *ctx,const char *dir,int type);
116 static int dir_ctrl(X509_LOOKUP *ctx, int cmd, const char *argp, long argl,
123 ld=(BY_DIR *)ctx->method_data;
181 static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
204 for (j=0; j<ctx->num_dirs; j++)
205 if (strlen(ctx->dirs[j]) == (size_t)len &&
206 strncmp(ctx->dirs[j],ss,(unsigned int)len) == 0)
208 if (j<ctx->num_dirs)
210 if (ctx->num_dirs_alloced < (ctx->num_dirs+1)
248 BY_DIR *ctx; local
    [all...]
  /external/openssl/crypto/bn/
bn_mod.c 119 int BN_mod(BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
121 return(BN_div(NULL,rem,m,d,ctx));
127 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
132 if (!(BN_mod(r,m,d,ctx)))
141 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx)
144 return BN_nnmod(r, r, m, ctx);
159 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx)
162 return BN_nnmod(r, r, m, ctx);
179 BN_CTX *ctx)
188 BN_CTX_start(ctx);
    [all...]
bn_prime.c 130 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont);
133 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
135 const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx);
165 BN_CTX *ctx; local
168 ctx=BN_CTX_new();
169 if (ctx == NULL) goto err;
170 BN_CTX_start(ctx);
171 t = BN_CTX_get(ctx);
183 if (!probable_prime_dh_safe(ret,bits,add,rem,ctx))
188 if (!probable_prime_dh(ret,bits,add,rem,ctx))
248 BN_CTX *ctx = NULL; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/include/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /prebuilt/darwin-x86/sdl/include/SDL/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /prebuilt/linux-x86/sdl/include/SDL/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /prebuilt/windows/sdl/include/SDL/
SDL_rwops.h 114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
115 #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR)
116 #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
117 #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n
    [all...]
  /external/webkit/JavaScriptCore/API/
JSValueRef.cpp 47 ::JSType JSValueGetType(JSContextRef ctx, JSValueRef value)
49 ExecState* exec = toJS(ctx);
68 bool JSValueIsUndefined(JSContextRef ctx, JSValueRef value)
70 ExecState* exec = toJS(ctx);
77 bool JSValueIsNull(JSContextRef ctx, JSValueRef value)
79 ExecState* exec = toJS(ctx);
86 bool JSValueIsBoolean(JSContextRef ctx, JSValueRef value)
88 ExecState* exec = toJS(ctx);
95 bool JSValueIsNumber(JSContextRef ctx, JSValueRef value)
97 ExecState* exec = toJS(ctx);
    [all...]
JSProfilerPrivate.h 42 @param ctx The execution context to use.
46 JS_EXPORT void JSStartProfiling(JSContextRef ctx, JSStringRef title);
51 @param ctx The execution context to use.
57 JS_EXPORT void JSEndProfiling(JSContextRef ctx, JSStringRef title);
  /external/e2fsprogs/e2fsck/
util.c 39 void fatal_error(e2fsck_t ctx, const char *msg)
43 if (ctx->fs && ctx->fs->io) {
44 if (ctx->fs->io->magic == EXT2_ET_MAGIC_IO_CHANNEL)
45 io_channel_flush(ctx->fs->io);
49 ctx->flags |= E2F_FLAG_ABORT;
50 if (ctx->flags & E2F_FLAG_SETJMP_OK)
51 longjmp(ctx->abort_loc, 1);
55 void *e2fsck_allocate_memory(e2fsck_t ctx, unsigned int size,
67 fatal_error(ctx, buf)
    [all...]
pass2.c 62 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf);
66 static int allocate_dir_block(e2fsck_t ctx,
75 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino);
84 e2fsck_t ctx; member in struct:check_dir_struct
87 void e2fsck_pass2(e2fsck_t ctx)
89 struct ext2_super_block *sb = ctx->fs->super;
91 ext2_filsys fs = ctx->fs;
114 if (!(ctx->options & E2F_OPT_PREEN))
115 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx);
117 e2fsck_setup_tdb_icount(ctx, EXT2_ICOUNT_OPT_INCREMENT,
717 e2fsck_t ctx; local
1090 e2fsck_t ctx = (e2fsck_t) priv_data; local
    [all...]
  /external/openssl/crypto/rsa/
rsa_x931g.c 76 BN_CTX *ctx=NULL,*ctx2=NULL; local
81 ctx = BN_CTX_new();
82 if (!ctx)
84 BN_CTX_start(ctx);
86 r0 = BN_CTX_get(ctx);
87 r1 = BN_CTX_get(ctx);
88 r2 = BN_CTX_get(ctx);
89 r3 = BN_CTX_get(ctx);
113 Xp, Xp1, Xp2, e, ctx, cb))
123 Xq, Xq1, Xq2, e, ctx, cb)
204 BN_CTX *ctx = NULL; local
    [all...]
  /external/openssl/crypto/evp/
openbsd_hw.c 84 #define CDATA(ctx) EVP_C_DATA(session_op,ctx)
120 static int dev_crypto_cleanup(EVP_CIPHER_CTX *ctx)
122 if(ioctl(fd,CIOCFSESSION,&CDATA(ctx)->ses) == -1)
125 OPENSSL_free(CDATA(ctx)->key);
130 static int dev_crypto_init_key(EVP_CIPHER_CTX *ctx,int cipher,
133 if(!dev_crypto_init(CDATA(ctx)))
136 CDATA(ctx)->key=OPENSSL_malloc(MAX_HW_KEY);
138 assert(ctx->cipher->iv_len <= MAX_HW_IV);
140 memcpy(CDATA(ctx)->key,key,klen)
    [all...]
e_idea.c 68 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
75 static int idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
79 idea_ecb_encrypt(in + i, out + i, ctx->cipher_data);
98 static int idea_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
102 if (EVP_CIPHER_CTX_mode(ctx) == EVP_CIPH_OFB_MODE) enc = 1;
103 else if (EVP_CIPHER_CTX_mode(ctx) == EVP_CIPH_CFB_MODE) enc = 1;
105 if (enc) idea_set_encrypt_key(key,ctx->cipher_data);
111 idea_set_decrypt_key(&tmp,ctx->cipher_data);
p_open.c 69 int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
77 EVP_CIPHER_CTX_init(ctx);
78 if(!EVP_DecryptInit_ex(ctx,type,NULL, NULL,NULL)) return 0;
99 if ((i <= 0) || !EVP_CIPHER_CTX_set_key_length(ctx, i))
104 if(!EVP_DecryptInit_ex(ctx,NULL,NULL,key,iv)) goto err;
113 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
117 i=EVP_DecryptFinal_ex(ctx,out,outl);
118 EVP_DecryptInit_ex(ctx,NULL,NULL,NULL,NULL);
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_gnutls.c 122 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
124 gcry_cipher_hd_t hd = ctx;
129 void aes_encrypt_deinit(void *ctx)
131 gcry_cipher_hd_t hd = ctx;
152 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
154 gcry_cipher_hd_t hd = ctx;
159 void aes_decrypt_deinit(void *ctx)
161 gcry_cipher_hd_t hd = ctx;
211 struct crypto_cipher *ctx; local
216 ctx = os_zalloc(sizeof(*ctx))
    [all...]
crypto_internal.c 70 struct crypto_hash *ctx; local
75 ctx = os_zalloc(sizeof(*ctx));
76 if (ctx == NULL)
79 ctx->alg = alg;
83 MD5Init(&ctx->u.md5);
86 SHA1Init(&ctx->u.sha1);
90 MD5Init(&ctx->u.md5);
91 MD5Update(&ctx->u.md5, key, key_len);
92 MD5Final(tk, &ctx->u.md5)
257 struct crypto_cipher *ctx; local
    [all...]
  /dalvik/vm/hprof/
HprofStack.h 33 int hprofDumpStacks(hprof_context_t *ctx);
40 int hprofDumpStackFrames(hprof_context_t *ctx);
  /external/elfutils/libasm/
asm_addstrz.c 62 if (unlikely (asmscn->ctx->textp))
70 fputs ("\t.string\t\"", asmscn->ctx->out.file);
75 fputs ("\\000", asmscn->ctx->out.file);
77 fprintf (asmscn->ctx->out.file, "\\%03o",
80 fputs ("\\\\", asmscn->ctx->out.file);
83 fputs ("\\n\"", asmscn->ctx->out.file);
87 fputc (*str, asmscn->ctx->out.file);
94 fputs ("\"\n", asmscn->ctx->out.file);
  /external/libxml2/include/libxml/
nanohttp.h 54 xmlNanoHTTPReturnCode (void *ctx);
56 xmlNanoHTTPAuthHeader (void *ctx);
58 xmlNanoHTTPRedir (void *ctx);
60 xmlNanoHTTPContentLength( void * ctx );
62 xmlNanoHTTPEncoding (void *ctx);
64 xmlNanoHTTPMimeType (void *ctx);
66 xmlNanoHTTPRead (void *ctx,
75 xmlNanoHTTPClose (void *ctx);
  /external/wpa_supplicant/
preauth_test.c 94 static void _wpa_supplicant_set_state(void *ctx, wpa_states state)
96 struct wpa_supplicant *wpa_s = ctx;
101 static wpa_states _wpa_supplicant_get_state(void *ctx)
103 struct wpa_supplicant *wpa_s = ctx;
183 static void wpa_supplicant_set_config_blob(void *ctx,
186 struct wpa_supplicant *wpa_s = ctx;
192 wpa_supplicant_get_config_blob(void *ctx, const char *name)
194 struct wpa_supplicant *wpa_s = ctx;
240 struct wpa_sm_ctx *ctx; local
245 ctx = os_zalloc(sizeof(*ctx))
    [all...]
  /frameworks/base/opengl/java/com/google/android/gles_jni/
EGLContextImpl.java 27 public EGLContextImpl(int ctx) {
28 mEGLContext = ctx;

Completed in 120 milliseconds

1 2 3 4 56 7 8 91011>>