/external/openssl/crypto/evp/ |
H A D | m_sha1.c | 74 static int init(EVP_MD_CTX *ctx) argument 75 { return SHA1_Init(ctx->md_data); } 77 static int update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 78 { return SHA1_Update(ctx->md_data,data,count); } 80 static int final(EVP_MD_CTX *ctx,unsigned char *md) argument 81 { return SHA1_Final(md,ctx->md_data); } 106 static int init224(EVP_MD_CTX *ctx) argument 107 { return SHA224_Init(ctx->md_data); } 108 static int init256(EVP_MD_CTX *ctx) argument 109 { return SHA256_Init(ctx 115 update256(EVP_MD_CTX *ctx,const void *data,size_t count) argument 117 final256(EVP_MD_CTX *ctx,unsigned char *md) argument 160 init384(EVP_MD_CTX *ctx) argument 162 init512(EVP_MD_CTX *ctx) argument 165 update512(EVP_MD_CTX *ctx,const void *data,size_t count) argument 167 final512(EVP_MD_CTX *ctx,unsigned char *md) argument [all...] |
H A D | p_seal.c | 69 int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek, argument 76 EVP_CIPHER_CTX_init(ctx); 77 if(!EVP_EncryptInit_ex(ctx,type,NULL,NULL,NULL)) return 0; 81 if (EVP_CIPHER_CTX_rand_key(ctx, key) <= 0) 83 if (EVP_CIPHER_CTX_iv_length(ctx)) 84 RAND_pseudo_bytes(iv,EVP_CIPHER_CTX_iv_length(ctx)); 86 if(!EVP_EncryptInit_ex(ctx,NULL,NULL,key,iv)) return 0; 90 ekl[i]=EVP_PKEY_encrypt_old(ek[i],key,EVP_CIPHER_CTX_key_length(ctx), 98 void EVP_SealUpdate(ctx,out,outl,in,inl) 99 EVP_CIPHER_CTX *ctx; 109 EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) argument [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | stringdigest.cc | 36 MD5_CTX ctx; local 37 MD5Init(&ctx); 38 MD5Update(&ctx, const_cast<unsigned char *>(reinterpret_cast<const unsigned char *>(data.data())), static_cast<unsigned int>(data.size())); 40 MD5Final(digest, &ctx);
|
/external/webkit/Source/WebCore/html/canvas/ |
H A D | WebGLRenderbuffer.cpp | 36 PassRefPtr<WebGLRenderbuffer> WebGLRenderbuffer::create(WebGLRenderingContext* ctx) argument 38 return adoptRef(new WebGLRenderbuffer(ctx)); 41 WebGLRenderbuffer::WebGLRenderbuffer(WebGLRenderingContext* ctx) argument 42 : WebGLObject(ctx)
|
H A D | WebGLShader.cpp | 36 PassRefPtr<WebGLShader> WebGLShader::create(WebGLRenderingContext* ctx, GC3Denum type) argument 38 return adoptRef(new WebGLShader(ctx, type)); 41 WebGLShader::WebGLShader(WebGLRenderingContext* ctx, GC3Denum type) argument 42 : WebGLObject(ctx)
|
H A D | WebGLVertexArrayObjectOES.cpp | 37 PassRefPtr<WebGLVertexArrayObjectOES> WebGLVertexArrayObjectOES::create(WebGLRenderingContext* ctx, VaoType type) argument 39 return adoptRef(new WebGLVertexArrayObjectOES(ctx, type)); 42 WebGLVertexArrayObjectOES::WebGLVertexArrayObjectOES(WebGLRenderingContext* ctx, VaoType type) argument 43 : WebGLObject(ctx) 48 m_vertexAttribState.resize(ctx->getMaxVertexAttribs());
|
/external/openssl/crypto/bio/ |
H A D | bf_lbuf.c | 107 BIO_LINEBUFFER_CTX *ctx; local 109 ctx=(BIO_LINEBUFFER_CTX *)OPENSSL_malloc(sizeof(BIO_LINEBUFFER_CTX)); 110 if (ctx == NULL) return(0); 111 ctx->obuf=(char *)OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); 112 if (ctx->obuf == NULL) { OPENSSL_free(ctx); return(0); } 113 ctx->obuf_size=DEFAULT_LINEBUFFER_SIZE; 114 ctx->obuf_len=0; 117 bi->ptr=(char *)ctx; 151 BIO_LINEBUFFER_CTX *ctx; local 269 BIO_LINEBUFFER_CTX *ctx; local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | shaderobj.h | 43 //_mesa_init_shader_state(struct gl_context * ctx); 46 //_mesa_free_shader_state(struct gl_context *ctx); 50 _mesa_reference_shader(const void * ctx, struct gl_shader **ptr, 54 //_mesa_lookup_shader(struct gl_context *ctx, GLuint name); 57 //_mesa_lookup_shader_err(struct gl_context *ctx, GLuint name, const char *caller); 62 //_mesa_reference_shader_program(struct gl_context *ctx, 66 //_mesa_init_shader(struct gl_context *ctx, struct gl_shader *shader); 69 _mesa_new_shader(const void * ctx, GLuint name, GLenum type); 72 _mesa_delete_shader(const void * ctx, struct gl_shader * shader); 75 //_mesa_init_shader_program(struct gl_context *ctx, struc [all...] |
/external/openssl/crypto/ec/ |
H A D | ec_check.c | 59 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx) argument 66 if (ctx == NULL) 68 ctx = new_ctx = BN_CTX_new(); 69 if (ctx == NULL) 75 BN_CTX_start(ctx); 76 if ((order = BN_CTX_get(ctx)) == NULL) goto err; 79 if (!EC_GROUP_check_discriminant(group, ctx)) 91 if (!EC_POINT_is_on_curve(group, group->generator, ctx)) 99 if (!EC_GROUP_get_order(group, order, ctx)) goto err; 106 if (!EC_POINT_mul(group, point, order, NULL, NULL, ctx)) got [all...] |
H A D | ec2_oct.c | 92 const BIGNUM *x_, int y_bit, BN_CTX *ctx) 101 if (ctx == NULL) 103 ctx = new_ctx = BN_CTX_new(); 104 if (ctx == NULL) 110 BN_CTX_start(ctx); 111 tmp = BN_CTX_get(ctx); 112 x = BN_CTX_get(ctx); 113 y = BN_CTX_get(ctx); 114 z = BN_CTX_get(ctx); 120 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) got 91 ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x_, int y_bit, BN_CTX *ctx) argument 165 ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) argument 297 ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) argument [all...] |
/external/ppp/pppd/ |
H A D | chap-md5.c | 62 MD5_CTX ctx; local 71 MD5_Init(&ctx); 72 MD5_Update(&ctx, &idbyte, 1); 73 MD5_Update(&ctx, secret, secret_len); 74 MD5_Update(&ctx, challenge, challenge_len); 75 MD5_Final(hash, &ctx); 92 MD5_CTX ctx; local 96 MD5_Init(&ctx); 97 MD5_Update(&ctx, &idbyte, 1); 98 MD5_Update(&ctx, secre [all...] |
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | rfkill.h | 15 void *ctx; member in struct:rfkill_config 17 void (*blocked_cb)(void *ctx); 18 void (*unblocked_cb)(void *ctx);
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | rfkill.h | 15 void *ctx; member in struct:rfkill_config 17 void (*blocked_cb)(void *ctx); 18 void (*unblocked_cb)(void *ctx);
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | rfkill.h | 15 void *ctx; member in struct:rfkill_config 17 void (*blocked_cb)(void *ctx); 18 void (*unblocked_cb)(void *ctx);
|
/external/e2fsprogs/e2fsck/ |
H A D | pass1.c | 64 static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, 66 static void mark_table_blocks(e2fsck_t ctx); 67 static void alloc_bb_map(e2fsck_t ctx); 68 static void alloc_imagic_map(e2fsck_t ctx); 69 static void mark_inode_bad(e2fsck_t ctx, ino_t ino); 70 static void handle_fs_bad_blocks(e2fsck_t ctx); 71 static void process_inodes(e2fsck_t ctx, char *block_buf); 75 static void adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount, 92 e2fsck_t ctx; member in struct:process_block_struct 101 e2fsck_t ctx; member in struct:scan_callback_struct 239 check_immutable(e2fsck_t ctx, struct problem_context *pctx) argument 255 check_size(e2fsck_t ctx, struct problem_context *pctx) argument 270 check_ea_in_inode(e2fsck_t ctx, struct problem_context *pctx) argument 350 check_inode_extra_space(e2fsck_t ctx, struct problem_context *pctx) argument 400 check_is_really_dir(e2fsck_t ctx, struct problem_context *pctx, char *buf) argument 512 e2fsck_setup_tdb_icount(e2fsck_t ctx, int flags, ext2_icount_t *ret) argument 543 e2fsck_pass1(e2fsck_t ctx) argument 1185 e2fsck_t ctx; local 1203 process_inodes(e2fsck_t ctx, char *block_buf) argument 1266 mark_inode_bad(e2fsck_t ctx, ino_t ino) argument 1290 alloc_bb_map(e2fsck_t ctx) argument 1310 alloc_imagic_map(e2fsck_t ctx) argument 1334 mark_block_used(e2fsck_t ctx, blk_t block) argument 1367 adjust_extattr_refcount(e2fsck_t ctx, ext2_refcount_t refcount, char *block_buf, int adjust_sign) argument 1409 check_ext_attr(e2fsck_t ctx, struct problem_context *pctx, char *block_buf) argument 1591 handle_htree(e2fsck_t ctx, struct problem_context *pctx, ext2_ino_t ino, struct ext2_inode *inode, char *block_buf) argument 1648 e2fsck_clear_inode(e2fsck_t ctx, ext2_ino_t ino, struct ext2_inode *inode, int restart_flag, const char *source) argument 1673 scan_extent_node(e2fsck_t ctx, struct problem_context *pctx, struct process_block_struct *pb, blk64_t start_block, ext2_extent_handle_t ehandle) argument 1821 check_blocks_extents(e2fsck_t ctx, struct problem_context *pctx, struct process_block_struct *pb) argument 1872 check_blocks(e2fsck_t ctx, struct problem_context *pctx, char *block_buf) argument 2130 e2fsck_t ctx; local 2281 e2fsck_t ctx; local 2433 new_table_block(e2fsck_t ctx, blk_t first_block, int group, const char *name, int num, blk_t *new_block) argument 2523 handle_fs_bad_blocks(e2fsck_t ctx) argument 2554 mark_table_blocks(e2fsck_t ctx) argument 2637 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2651 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2662 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2672 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2685 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2716 e2fsck_t ctx = (e2fsck_t) fs->priv_data; local 2728 e2fsck_use_inode_shortcuts(e2fsck_t ctx, int bool) argument [all...] |
/external/libxml2/include/libxml/ |
H A D | SAX2.h | 25 xmlSAX2GetPublicId (void *ctx); 27 xmlSAX2GetSystemId (void *ctx); 29 xmlSAX2SetDocumentLocator (void *ctx, 33 xmlSAX2GetLineNumber (void *ctx); 35 xmlSAX2GetColumnNumber (void *ctx); 38 xmlSAX2IsStandalone (void *ctx); 40 xmlSAX2HasInternalSubset (void *ctx); 42 xmlSAX2HasExternalSubset (void *ctx); 45 xmlSAX2InternalSubset (void *ctx, 50 xmlSAX2ExternalSubset (void *ctx, [all...] |
H A D | nanoftp.h | 91 xmlNanoFTPFreeCtxt (void * ctx); 101 xmlNanoFTPConnect (void *ctx); 103 xmlNanoFTPClose (void *ctx); 105 xmlNanoFTPQuit (void *ctx); 115 xmlNanoFTPUpdateURL (void *ctx, 122 xmlNanoFTPGetResponse (void *ctx); 124 xmlNanoFTPCheckResponse (void *ctx); 130 xmlNanoFTPCwd (void *ctx, 133 xmlNanoFTPDele (void *ctx, 137 xmlNanoFTPGetConnection (void *ctx); [all...] |
/external/openssl/crypto/hmac/ |
H A D | hm_pmeth.c | 72 HMAC_CTX ctx; member in struct:__anon9829 75 static int pkey_hmac_init(EVP_PKEY_CTX *ctx) argument 86 HMAC_CTX_init(&hctx->ctx); 88 ctx->data = hctx; 89 ctx->keygen_info_count = 0; 102 HMAC_CTX_init(&dctx->ctx); 103 if (!HMAC_CTX_copy(&dctx->ctx, &sctx->ctx)) 114 static void pkey_hmac_cleanup(EVP_PKEY_CTX *ctx) argument 116 HMAC_PKEY_CTX *hctx = ctx 128 pkey_hmac_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) argument 142 int_update(EVP_MD_CTX *ctx,const void *data,size_t count) argument 150 hmac_signctx_init(EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx) argument 159 hmac_signctx(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, EVP_MD_CTX *mctx) argument 178 pkey_hmac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) argument 210 pkey_hmac_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value) argument [all...] |
/external/libusb/libusb/ |
H A D | io.c | 574 libusb_handle_events(ctx); 614 libusb_get_pollfds(ctx) 616 libusb_get_next_timeout(ctx); 620 libusb_handle_events_timeout(ctx, 0); 622 libusb_handle_events_timeout(ctx, 0); 650 libusb_get_pollfds(ctx) 655 libusb_handle_events_timeout(ctx, 0); 740 libusb_handle_events_timeout(ctx, 0); 794 libusb_lock_events(ctx); 798 libusb_handle_events_timeout(ctx, 1004 usbi_io_init(struct libusb_context *ctx) argument 1045 usbi_io_exit(struct libusb_context *ctx) argument 1094 struct libusb_context *ctx = ITRANSFER_CTX(transfer); local 1220 struct libusb_context *ctx = TRANSFER_CTX(transfer); local 1291 disarm_timerfd(struct libusb_context *ctx) argument 1310 arm_timerfd_for_next_timeout(struct libusb_context *ctx) argument 1338 disarm_timerfd(struct libusb_context *ctx) argument 1342 arm_timerfd_for_next_timeout(struct libusb_context *ctx) argument 1361 struct libusb_context *ctx = TRANSFER_CTX(transfer); local 1446 libusb_try_lock_events(libusb_context *ctx) argument 1487 libusb_lock_events(libusb_context *ctx) argument 1502 libusb_unlock_events(libusb_context *ctx) argument 1537 libusb_event_handling_ok(libusb_context *ctx) argument 1565 libusb_event_handler_active(libusb_context *ctx) argument 1602 libusb_lock_event_waiters(libusb_context *ctx) argument 1613 libusb_unlock_event_waiters(libusb_context *ctx) argument 1644 libusb_wait_for_event(libusb_context *ctx, struct timeval *tv) argument 1687 handle_timeouts_locked(struct libusb_context *ctx) argument 1691 handle_timeouts(struct libusb_context *ctx) argument 1696 handle_timeouts_locked(struct libusb_context *ctx) argument 1738 handle_timeouts(struct libusb_context *ctx) argument 1750 handle_timerfd_trigger(struct libusb_context *ctx) argument 1776 handle_events(struct libusb_context *ctx, struct timeval *tv) argument 1882 get_next_timeout(libusb_context *ctx, struct timeval *tv, struct timeval *out) argument 1922 libusb_handle_events_timeout(libusb_context *ctx, struct timeval *tv) argument 1976 libusb_handle_events(libusb_context *ctx) argument 2001 libusb_handle_events_locked(libusb_context *ctx, struct timeval *tv) argument 2045 libusb_pollfds_handle_timeouts(libusb_context *ctx) argument 2085 libusb_get_next_timeout(libusb_context *ctx, struct timeval *tv) argument 2171 libusb_set_pollfd_notifiers(libusb_context *ctx, libusb_pollfd_added_cb added_cb, libusb_pollfd_removed_cb removed_cb, void *user_data) argument 2184 usbi_add_pollfd(struct libusb_context *ctx, int fd, short events) argument 2203 usbi_remove_pollfd(struct libusb_context *ctx, int fd) argument 2240 libusb_get_pollfds( libusb_context *ctx) argument [all...] |
/external/openssl/crypto/comp/ |
H A D | c_zlib.c | 27 static int zlib_stateful_init(COMP_CTX *ctx); 28 static void zlib_stateful_finish(COMP_CTX *ctx); 29 static int zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, 31 static int zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, 53 static int zlib_compress_block(COMP_CTX *ctx, unsigned char *out, 55 static int zlib_expand_block(COMP_CTX *ctx, unsigned char *out, 139 static int zlib_stateful_init(COMP_CTX *ctx) argument 172 CRYPTO_new_ex_data(CRYPTO_EX_INDEX_COMP,ctx,&ctx->ex_data); 173 CRYPTO_set_ex_data(&ctx 180 zlib_stateful_finish(COMP_CTX *ctx) argument 191 zlib_stateful_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument 218 zlib_stateful_expand_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen) argument 473 BIO_ZLIB_CTX *ctx; local 514 BIO_ZLIB_CTX *ctx; local 538 BIO_ZLIB_CTX *ctx; local 599 BIO_ZLIB_CTX *ctx; local 667 BIO_ZLIB_CTX *ctx; local 716 BIO_ZLIB_CTX *ctx; local [all...] |
/external/elfutils/libasm/ |
H A D | asm_newabssym.c | 52 asm_newabssym (ctx, name, size, value, type, binding) 53 AsmCtx_t *ctx; 62 if (ctx == NULL) 74 rwlock_wrlock (ctx->lock); 85 result->strent = ebl_strtabadd (ctx->symbol_strtab, name, 0); 93 if (unlikely (ctx->textp)) 98 fprintf (ctx->out.file, "\t.globl %s\n", name); 100 fprintf (ctx->out.file, "\t.weak %s\n", name); 103 fprintf (ctx->out.file, "\t.type %s,@object\n", name); 105 fprintf (ctx [all...] |
/external/elfutils/tests/ |
H A D | asm-tst6.c | 46 AsmCtx_t *ctx; local 59 ctx = asm_begin (fname, ebl, false); 60 if (ctx == NULL) 74 grp = asm_newscngrp (ctx, buf, NULL, 0); 78 asm_abort (ctx); 82 scn = asm_newscn_ingrp (ctx, ".data", SHT_PROGBITS, 88 asm_abort (ctx); 99 asm_abort (ctx); 108 asm_abort (ctx); 117 asm_abort (ctx); [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_md5.cc | 42 static void *body(MD5_CTX *ctx, void *data, ulong_t size) { argument 49 a = ctx->a; 50 b = ctx->b; 51 c = ctx->c; 52 d = ctx->d; 136 ctx->a = a; 137 ctx->b = b; 138 ctx->c = c; 139 ctx->d = d; 144 void MD5_Init(MD5_CTX *ctx) { argument 154 MD5_Update(MD5_CTX *ctx, void *data, ulong_t size) argument 187 MD5_Final(unsigned char *result, MD5_CTX *ctx) argument 239 MD5_CTX ctx; local [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_ctx.c | 156 static void ctxdbg(BN_CTX *ctx) argument 159 BN_POOL_ITEM *item = ctx->pool.head; 160 BN_STACK *stack = &ctx->stack; 161 fprintf(stderr,"(%08x): ", (unsigned int)ctx); 162 while(bnidx < ctx->used) 181 #define CTXDBG_ENTRY(str, ctx) do { \ 184 ctxdbg(ctx); \ 186 #define CTXDBG_EXIT(ctx) do { \ 188 ctxdbg(ctx); \ 190 #define CTXDBG_RET(ctx,re 200 BN_CTX_init(BN_CTX *ctx) argument 231 BN_CTX_free(BN_CTX *ctx) argument 255 BN_CTX_start(BN_CTX *ctx) argument 270 BN_CTX_end(BN_CTX *ctx) argument 288 BN_CTX_get(BN_CTX *ctx) argument [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
H A D | crypto_openssl.c | 39 MD4_CTX ctx; local 42 MD4_Init(&ctx); 44 MD4_Update(&ctx, addr[i], len[i]); 45 MD4_Final(mac, &ctx); 72 MD5_CTX ctx; local 75 MD5_Init(&ctx); 77 MD5_Update(&ctx, addr[i], len[i]); 78 MD5_Final(mac, &ctx); 84 SHA_CTX ctx; local 87 SHA1_Init(&ctx); 174 aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument 180 aes_encrypt_deinit(void *ctx) argument 200 aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument 206 aes_decrypt_deinit(void *ctx) argument 219 BN_CTX *ctx; local 260 struct crypto_cipher *ctx; local 334 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument 344 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument 355 crypto_cipher_deinit(struct crypto_cipher *ctx) argument [all...] |