Home
last modified time | relevance | path

Searched refs:m_malloc (Results 1 – 25 of 28) sorted by relevance

12

/external/dropbear/
Dgenrsa.c47 key = (rsa_key*)m_malloc(sizeof(rsa_key)); in gen_rsa_priv_key()
49 key->e = (mp_int*)m_malloc(sizeof(mp_int)); in gen_rsa_priv_key()
50 key->n = (mp_int*)m_malloc(sizeof(mp_int)); in gen_rsa_priv_key()
51 key->d = (mp_int*)m_malloc(sizeof(mp_int)); in gen_rsa_priv_key()
52 key->p = (mp_int*)m_malloc(sizeof(mp_int)); in gen_rsa_priv_key()
53 key->q = (mp_int*)m_malloc(sizeof(mp_int)); in gen_rsa_priv_key()
102 buf = (unsigned char*)m_malloc(size+1); in getrsaprime()
Dgendss.c50 key = (dss_key*)m_malloc(sizeof(dss_key)); in gen_dss_priv_key()
52 key->p = (mp_int*)m_malloc(sizeof(mp_int)); in gen_dss_priv_key()
53 key->q = (mp_int*)m_malloc(sizeof(mp_int)); in gen_dss_priv_key()
54 key->g = (mp_int*)m_malloc(sizeof(mp_int)); in gen_dss_priv_key()
55 key->y = (mp_int*)m_malloc(sizeof(mp_int)); in gen_dss_priv_key()
56 key->x = (mp_int*)m_malloc(sizeof(mp_int)); in gen_dss_priv_key()
107 buf = (unsigned char*)m_malloc(size); in getp()
Dsignkey.c36 ret = (sign_key*)m_malloc(sizeof(sign_key)); in new_sign_key()
115 key->dsskey = (dss_key*)m_malloc(sizeof(dss_key)); in buf_get_pub_key()
125 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key)); in buf_get_pub_key()
168 key->dsskey = (dss_key*)m_malloc(sizeof(dss_key)); in buf_get_priv_key()
178 key->rsakey = (rsa_key*)m_malloc(sizeof(rsa_key)); in buf_get_priv_key()
294 ret = (char*)m_malloc(buflen); in sign_key_md5_fingerprint()
329 ret = (char*)m_malloc(buflen); in sign_key_sha1_fingerprint()
Ddss.c50 key->p = m_malloc(sizeof(mp_int)); in buf_get_dss_pub_key()
51 key->q = m_malloc(sizeof(mp_int)); in buf_get_dss_pub_key()
52 key->g = m_malloc(sizeof(mp_int)); in buf_get_dss_pub_key()
53 key->y = m_malloc(sizeof(mp_int)); in buf_get_dss_pub_key()
90 key->x = m_malloc(sizeof(mp_int)); in buf_get_dss_priv_key()
271 ret = m_malloc(size); in mptobytes()
Ddbutil.c221 *errstring = (char*)m_malloc(len); in dropbear_listen()
287 *errstring = (char*)m_malloc(len); in dropbear_listen()
325 *errstring = (char*)m_malloc(len); in connect_remote()
374 *errstring = (char*)m_malloc(len); in connect_remote()
428 retstring = (char*)m_malloc(len); in getaddrstring()
510 ret = m_malloc(len+1); in stripcontrol()
621 void * m_malloc(size_t size) { in m_malloc() function
Drsa.c54 key->e = m_malloc(sizeof(mp_int)); in buf_get_rsa_pub_key()
55 key->n = m_malloc(sizeof(mp_int)); in buf_get_rsa_pub_key()
102 key->d = m_malloc(sizeof(mp_int)); in buf_get_rsa_priv_key()
112 key->p = m_malloc(sizeof(mp_int)); in buf_get_rsa_priv_key()
113 key->q = m_malloc(sizeof(mp_int)); in buf_get_rsa_priv_key()
Dbuffer.c49 buf = (buffer*)m_malloc(sizeof(buffer)); in buf_new()
52 buf->data = (unsigned char*)m_malloc(size); in buf_new()
218 ret = m_malloc(len+1); in buf_getstring()
Dcli-runopts.c253 cli_opts.cmd = (char*)m_malloc(cmdlen); in cli_getopts()
310 nextkey = (struct SignKeyList*)m_malloc(sizeof(struct SignKeyList)); in loadidentityfile()
393 newfwd = (struct TCPFwdList*)m_malloc(sizeof(struct TCPFwdList)); in addforward()
Dcli-kex.c46 cli_ses.dh_e = (mp_int*)m_malloc(sizeof(mp_int)); in send_msg_kexdh_init()
47 cli_ses.dh_x = (mp_int*)m_malloc(sizeof(mp_int)); in send_msg_kexdh_init()
168 filename = m_malloc(len + 18); /* "/.ssh/known_hosts" and null-terminator*/ in open_known_hosts_file()
Dcircbuffer.c39 cbuf = (circbuffer*)m_malloc(sizeof(circbuffer)); in cbuf_new()
40 cbuf->data = (unsigned char*)m_malloc(size); in cbuf_new()
Dlistener.c33 ses.listeners = (struct Listener**)m_malloc(sizeof(struct Listener*)); in listeners_initialise()
120 newlisten = (struct Listener*)m_malloc(sizeof(struct Listener)); in new_listener()
Dcommon-kex.c345 ses.newkeys->recv_zstream = (z_streamp)m_malloc(sizeof(z_stream)); in gen_new_zstreams()
357 ses.newkeys->trans_zstream = (z_streamp)m_malloc(sizeof(z_stream)); in gen_new_zstreams()
532 ses.dh_K = (mp_int*)m_malloc(sizeof(mp_int)); in kexdh_comb_key()
575 ses.session_id = (unsigned char*)m_malloc(SHA1_HASH_SIZE); in kexdh_comb_key()
603 ses.newkeys = (struct key_context*)m_malloc(sizeof(struct key_context)); in read_kex_algos()
Dsvr-authpam.c115 resp = (struct pam_response*) m_malloc(sizeof(struct pam_response)); in pamConvFunc()
141 resp = (struct pam_response*) m_malloc(sizeof(struct pam_response)); in pamConvFunc()
Dsvr-agentfwd.c128 path = m_malloc(len); in agentset()
161 path = m_malloc(len); in agentcleanup()
Dsvr-chansession.c222 chansess = (struct ChanSess*)m_malloc(sizeof(struct ChanSess)); in newchansess()
800 hushpath = m_malloc(len); in ptycommand()
974 argv[0] = (char*)m_malloc(len); in execchild()
1010 svr_ses.childpids = (struct ChildPid*)m_malloc(sizeof(struct ChildPid)); in svr_chansessinitialise()
1032 newvar = m_malloc(plen + vlen + 2); /* 2 is for '=' and '\0' */ in addnewvar()
Dsvr-authpubkey.c184 filename = m_malloc(len + 22); in checkpubkey()
279 filename = m_malloc(len + 22); in checkpubkeyperms()
Dcommon-session.c88 ses.keys = (struct key_context*)m_malloc(sizeof(struct key_context)); in common_session_init()
267 ses.remoteident = m_malloc(len); in session_identification()
Ddbutil.h59 void * m_malloc(size_t size);
Dqueue.c74 newlink = (struct Link*)m_malloc(sizeof(struct Link)); in enqueue()
Dcli-main.c71 hostandport = (char*)m_malloc(len);
Dcli-tcpfwd.c97 tcpinfo = (struct TCPListener*)m_malloc(sizeof(struct TCPListener)); in cli_localtcp()
Drandom.c226 randbuf = (unsigned char*)m_malloc(len); in gen_random_mpint()
Dsvr-tcpfwd.c205 tcpinfo = (struct TCPListener*)m_malloc(sizeof(struct TCPListener)); in svr_remotetcpreq()
/external/webkit/JavaScriptCore/wtf/wince/
DMemoryManager.cpp62 void* MemoryManager::m_malloc(size_t size) in m_malloc() function in WTF::MemoryManager
122 void *fastMalloc(size_t n) { return MemoryManager::m_malloc(n); } in fastMalloc()
DMemoryManager.h41 static void* m_malloc(size_t size);

12