/external/srtp/crypto/include/ |
sha1.h | 61 * sha1(&ctx, msg, len, output) hashes the len octets starting at msg 71 * sha1_init(&ctx) initializes the SHA1 context ctx 73 * sha1_update(&ctx, msg, len) hashes the len octets starting at msg 76 * sha1_final(&ctx, output) performs the final processing of the SHA1 82 sha1_init(sha1_ctx_t *ctx); 85 sha1_update(sha1_ctx_t *ctx, const uint8_t *M, int octets_in_msg); 88 sha1_final(sha1_ctx_t *ctx, uint32_t output[5]);
|
/external/webkit/Source/JavaScriptCore/API/ |
JSObjectRefPrivate.h | 38 @param ctx The execution context to use. 47 JS_EXPORT bool JSObjectSetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef value); 52 @param ctx The execution context to use. 57 JS_EXPORT JSValueRef JSObjectGetPrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName); 62 @param ctx The execution context to use. 68 JS_EXPORT bool JSObjectDeletePrivateProperty(JSContextRef ctx, JSObjectRef object, JSStringRef propertyName);
|
JSWeakObjectMapRefPrivate.h | 50 @param ctx The execution context to use. 57 JS_EXPORT JSWeakObjectMapRef JSWeakObjectMapCreate(JSContextRef ctx, void* data, JSWeakMapDestroyedCallback destructor); 62 @param ctx The execution context to use. 67 JS_EXPORT void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef); 72 @param ctx The execution context to use. 77 JS_EXPORT JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key);
|
/external/wpa_supplicant_8/src/drivers/ |
netlink.h | 16 void *ctx; member in struct:netlink_config 17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf, 19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
|
/external/wpa_supplicant_8/src/eapol_auth/ |
eapol_auth_sm.h | 42 void *ctx; member in struct:eapol_auth_config 57 void (*eapol_send)(void *ctx, void *sta_ctx, u8 type, const u8 *data, 59 void (*aaa_send)(void *ctx, void *sta_ctx, const u8 *data, 61 void (*finished)(void *ctx, void *sta_ctx, int success, int preauth); 62 int (*get_eap_user)(void *ctx, const u8 *identity, size_t identity_len, 64 int (*sta_entry_alive)(void *ctx, const u8 *addr); 65 void (*logger)(void *ctx, const u8 *addr, eapol_logger_level level, 67 void (*set_port_authorized)(void *ctx, void *sta_ctx, int authorized); 68 void (*abort_auth)(void *ctx, void *sta_ctx); 69 void (*tx_key)(void *ctx, void *sta_ctx) [all...] |
/system/core/include/mincrypt/ |
sha.h | 50 void SHA_init(SHA_CTX* ctx); 51 void SHA_update(SHA_CTX* ctx, const void* data, int len); 52 const uint8_t* SHA_final(SHA_CTX* ctx);
|
/external/openssl/crypto/x509/ |
x509_lu.c | 85 void X509_LOOKUP_free(X509_LOOKUP *ctx) 87 if (ctx == NULL) return; 88 if ( (ctx->method != NULL) && 89 (ctx->method->free != NULL)) 90 (*ctx->method->free)(ctx); 91 OPENSSL_free(ctx); 94 int X509_LOOKUP_init(X509_LOOKUP *ctx) 96 if (ctx->method == NULL) return 0; 97 if (ctx->method->init != NULL 292 X509_STORE *ctx=vs->ctx; local [all...] |
/external/elfutils/libasm/ |
disasm_cb.c | 38 DisasmCtx_t *ctx; member in struct:symtoken 50 if (symtoken->ctx->symcb != NULL) 52 int res = symtoken->ctx->symcb (addr, scnndx, value, buf, buflen, 72 read_symtab_exec (DisasmCtx_t *ctx) 78 while ((scn = elf_nextscn (ctx->elf, scn)) != NULL) 90 xndxdata = elf_getdata (elf_getscn (ctx->elf, xndxscnidx), NULL); 114 read_symtab (DisasmCtx_t *ctx) 118 GElf_Ehdr *ehdr = gelf_getehdr (ctx->elf, &ehdr_mem); 126 read_symtab_exec (ctx); 152 disasm_cb (DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end [all...] |
/external/emma/core/java12/com/vladium/jcd/opcodes/ |
IOpcodeVisitor.java | 20 void visit (int opcode, boolean wide, int offset, Object ctx);
|
/external/mesa3d/src/mesa/main/ |
shaderobj.c | 9 void _mesa_reference_shader(const void * ctx, struct gl_shader **ptr, 15 struct gl_shader * _mesa_new_shader(const void * ctx, GLuint name, GLenum type) 18 struct gl_shader * shader = (struct gl_shader *)_hieralloc_zero(ctx, sizeof(struct gl_shader), "zr:gl_shader"); 27 void _mesa_delete_shader(const void * ctx, struct gl_shader *shader)
|
/external/openssl/crypto/evp/ |
e_null.c | 66 static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 68 static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 90 static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 93 /* memset(&(ctx->c),0,sizeof(ctx->c));*/ 97 static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
|
e_rc4.c | 77 #define data(ctx) ((EVP_RC4_KEY *)(ctx)->cipher_data) 79 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 81 static int rc4_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 123 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 126 RC4_set_key(&data(ctx)->ks,EVP_CIPHER_CTX_key_length(ctx), 131 static int rc4_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, 134 RC4(&data(ctx)->ks,inl,in,out);
|
/external/elfutils/tests/ |
asm-tst5.c | 48 AsmCtx_t *ctx; local 61 ctx = asm_begin (fname, ebl, false); 62 if (ctx == NULL) 78 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 83 asm_abort (ctx); 93 asm_abort (ctx); 102 asm_abort (ctx); 108 if (asm_end (ctx) != 0) 111 asm_abort (ctx);
|
/external/openssh/ |
cipher-acss.c | 28 #define data(ctx) ((EVP_ACSS_KEY *)(ctx)->cipher_data) 38 acss_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 41 acss_setkey(&data(ctx)->ks,key,enc,ACSS_DATA); 46 acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, 49 acss(&data(ctx)->ks,inl,in,out); 54 acss_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) 58 data(ctx)->ks.mode = arg; 61 acss_setsubkey(&data(ctx)->ks,(unsigned char *)ptr);
|
/external/openssl/crypto/hmac/ |
hmac.h | 88 void HMAC_CTX_init(HMAC_CTX *ctx); 89 void HMAC_CTX_cleanup(HMAC_CTX *ctx); 91 #define HMAC_cleanup(ctx) HMAC_CTX_cleanup(ctx) /* deprecated */ 93 int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, 95 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, 97 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len); 98 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); 104 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
|
/external/openssl/include/openssl/ |
hmac.h | 88 void HMAC_CTX_init(HMAC_CTX *ctx); 89 void HMAC_CTX_cleanup(HMAC_CTX *ctx); 91 #define HMAC_cleanup(ctx) HMAC_CTX_cleanup(ctx) /* deprecated */ 93 int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, 95 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, 97 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len); 98 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); 104 void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags);
|
/external/skia/src/gpu/gl/ |
GrGLContextInfo.cpp | 24 GrGLContextInfo::GrGLContextInfo(const GrGLContextInfo& ctx) { 26 *this = ctx; 29 GrGLContextInfo& GrGLContextInfo::operator = (const GrGLContextInfo& ctx) { 30 GrSafeAssign(fInterface, ctx.fInterface); 31 fBindingInUse = ctx.fBindingInUse; 32 fGLVersion = ctx.fGLVersion; 33 fGLSLGeneration = ctx.fGLSLGeneration; 34 fExtensionString = ctx.fExtensionString; 35 fGLCaps = ctx.fGLCaps;
|
/external/openssl/crypto/dh/ |
dh_pmeth.c | 80 static int pkey_dh_init(EVP_PKEY_CTX *ctx) 90 ctx->data = dctx; 91 ctx->keygen_info = dctx->gentmp; 92 ctx->keygen_info_count = 2; 110 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) 112 DH_PKEY_CTX *dctx = ctx->data; 117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) 119 DH_PKEY_CTX *dctx = ctx->data; 143 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, 150 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, len) [all...] |
/external/libusb/libusb/ |
core.c | 499 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx, 513 dev->ctx = ctx; 518 pthread_mutex_lock(&ctx->usb_devs_lock); 519 list_add(&dev->list, &ctx->usb_devs); 520 pthread_mutex_unlock(&ctx->usb_devs_lock); 554 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx, 560 pthread_mutex_lock(&ctx->usb_devs_lock); 561 list_for_each_entry(dev, &ctx->usb_devs, list) 566 pthread_mutex_unlock(&ctx->usb_devs_lock) 859 struct libusb_context *ctx = DEVICE_CTX(dev); local 1008 struct libusb_context *ctx; local 1458 struct libusb_context *ctx = malloc(sizeof(*ctx)); local [all...] |
/external/openssl/ssl/ |
tls_srp.c | 66 int SSL_CTX_SRP_CTX_free(struct ssl_ctx_st *ctx) 68 if (ctx == NULL) 70 OPENSSL_free(ctx->srp_ctx.login); 71 BN_free(ctx->srp_ctx.N); 72 BN_free(ctx->srp_ctx.g); 73 BN_free(ctx->srp_ctx.s); 74 BN_free(ctx->srp_ctx.B); 75 BN_free(ctx->srp_ctx.A); 76 BN_free(ctx->srp_ctx.a); 77 BN_free(ctx->srp_ctx.b) 132 SSL_CTX *ctx; local [all...] |
/external/openssl/crypto/ec/ |
ec2_mult.c | 84 static int gf2m_Mdouble(const EC_GROUP *group, BIGNUM *x, BIGNUM *z, BN_CTX *ctx) 89 /* Since Mdouble is static we can guarantee that ctx != NULL. */ 90 BN_CTX_start(ctx); 91 t1 = BN_CTX_get(ctx); 94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; 95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; 96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; 97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; 98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; 99 if (!group->meth->field_mul(group, t1, &group->b, t1, 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/e2fsprogs/e2fsck/ |
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, 69 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino); 78 e2fsck_t ctx; member in struct:check_dir_struct 81 void e2fsck_pass2(e2fsck_t ctx) 83 struct ext2_super_block *sb = ctx->fs->super; 85 ext2_filsys fs = ctx->fs; 98 init_resource_track(&rtrack, ctx->fs->io); 105 if (!(ctx->options & E2F_OPT_PREEN)) 106 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx) 723 e2fsck_t ctx; local 1157 e2fsck_t ctx = (e2fsck_t) priv_data; 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...] |
/sdk/emulator/opengl/host/libs/GLESv2_dec/ |
GL2Decoder.cpp | 36 GL2Decoder *ctx = (GL2Decoder *) userData; local 38 if (ctx == NULL || ctx->m_GL2library == NULL) { 47 func = (void *) ctx->m_GL2library->findSymbol(name); 84 GL2Decoder *ctx = (GL2Decoder *)self; local 85 ctx->glFinish(); 91 GL2Decoder *ctx = (GL2Decoder *) self; local 94 ctx->glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &nFormats); 98 ctx->glGetIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, formats); 105 GL2Decoder *ctx = (GL2Decoder *) self local 117 GL2Decoder *ctx = (GL2Decoder *) self; local 124 GL2Decoder *ctx = (GL2Decoder *)self; local 131 GL2Decoder *ctx = (GL2Decoder *)self; local 137 GL2Decoder *ctx = (GL2Decoder *)self; local [all...] |