Home
last modified time | relevance | path

Searched refs:md (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/external/qemu/qapi-auto-generated/
Dqapi-types.c390 QapiDeallocVisitor *md; in qapi_free_strList() local
397 md = qapi_dealloc_visitor_new(); in qapi_free_strList()
398 v = qapi_dealloc_get_visitor(md); in qapi_free_strList()
400 qapi_dealloc_visitor_cleanup(md); in qapi_free_strList()
405 QapiDeallocVisitor *md; in qapi_free_intList() local
412 md = qapi_dealloc_visitor_new(); in qapi_free_intList()
413 v = qapi_dealloc_get_visitor(md); in qapi_free_intList()
415 qapi_dealloc_visitor_cleanup(md); in qapi_free_intList()
420 QapiDeallocVisitor *md; in qapi_free_numberList() local
427 md = qapi_dealloc_visitor_new(); in qapi_free_numberList()
[all …]
Dqmp-marshal.c36 QapiDeallocVisitor *md; in qmp_marshal_input_add_client() local
67 md = qapi_dealloc_visitor_new(); in qmp_marshal_input_add_client()
68 v = qapi_dealloc_get_visitor(md); in qmp_marshal_input_add_client()
81 qapi_dealloc_visitor_cleanup(md); in qmp_marshal_input_add_client()
93 QapiDeallocVisitor *md = qapi_dealloc_visitor_new(); in qmp_marshal_output_query_name() local
103 v = qapi_dealloc_get_visitor(md); in qmp_marshal_output_query_name()
105 qapi_dealloc_visitor_cleanup(md); in qmp_marshal_output_query_name()
136 QapiDeallocVisitor *md = qapi_dealloc_visitor_new(); in qmp_marshal_output_query_version() local
146 v = qapi_dealloc_get_visitor(md); in qmp_marshal_output_query_version()
148 qapi_dealloc_visitor_cleanup(md); in qmp_marshal_output_query_version()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DMessageDigest1Test.java37 MyMessageDigest1 md = new MyMessageDigest1("ABC"); in test_reset() local
38 md.reset(); in test_reset()
39 assertTrue(md.runEngineReset); in test_reset()
46 MyMessageDigest1 md = new MyMessageDigest1("ABC"); in test_updateLB() local
47 md.update((byte) 1); in test_updateLB()
48 assertTrue(md.runEngineUpdate1); in test_updateLB()
55 MyMessageDigest1 md = new MyMessageDigest1("ABC"); in test_updateLB$LILI() local
57 md.update(bytes, 1, 2); in test_updateLB$LILI()
58 assertTrue(md.runEngineUpdate2); in test_updateLB$LILI()
63 md.update(null, 0, 1); in test_updateLB$LILI()
[all …]
/external/wpa_supplicant_8/src/crypto/
Dsha256-internal.c81 static int sha256_compress(struct sha256_state *md, unsigned char *buf) in sha256_compress() argument
89 S[i] = md->state[i]; in sha256_compress()
117 md->state[i] = md->state[i] + S[i]; in sha256_compress()
124 void sha256_init(struct sha256_state *md) in sha256_init() argument
126 md->curlen = 0; in sha256_init()
127 md->length = 0; in sha256_init()
128 md->state[0] = 0x6A09E667UL; in sha256_init()
129 md->state[1] = 0xBB67AE85UL; in sha256_init()
130 md->state[2] = 0x3C6EF372UL; in sha256_init()
131 md->state[3] = 0xA54FF53AUL; in sha256_init()
[all …]
/external/qemu/telephony/
Dmodem_driver.c43 ModemDriver* md = _md; in modem_driver_unsol() local
46 qemu_chr_write(md->cs, (const uint8_t*)message, len); in modem_driver_unsol()
52 ModemDriver* md = _md; in modem_driver_can_read() local
53 int ret = sizeof(md->in_buff) - md->in_pos; in modem_driver_can_read()
62 ModemDriver* md = _md; in modem_driver_read() local
83 if (md->in_sms) { in modem_driver_read()
87 md->in_buff[ md->in_pos ] = c; in modem_driver_read()
88 md->in_pos++; in modem_driver_read()
89 md->in_sms = 0; in modem_driver_read()
96 if (md->in_pos == 0) /* skip empty lines */ in modem_driver_read()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
Dbio_ok.c153 EVP_MD_CTX md; member
193 EVP_MD_CTX_init(&ctx->md); in ok_new()
204 EVP_MD_CTX_cleanup(&((BIO_OK_CTX *)a->ptr)->md); in ok_free()
366 EVP_MD *md; in ok_ctrl() local
430 md=ptr; in ok_ctrl()
431 if (!EVP_DigestInit_ex(&ctx->md, md, NULL)) in ok_ctrl()
439 *ppmd=ctx->md.digest; in ok_ctrl()
482 EVP_MD_CTX *md; in sig_out() local
485 md=&ctx->md; in sig_out()
487 if(ctx->buf_len+ 2* md->digest->md_size > OK_BLOCK_SIZE) return 1; in sig_out()
[all …]
De_rc4_hmac_md5.c74 MD5_CTX head,tail,md; member
96 key->md = key->head; in rc4_hmac_md5_init_key()
122 md5_off = MD5_CBLOCK-key->md.num, in rc4_hmac_md5_cipher()
139 MD5_Update(&key->md,in,md5_off); in rc4_hmac_md5_cipher()
143 &key->md,in+md5_off,blocks); in rc4_hmac_md5_cipher()
147 key->md.Nh += blocks>>29; in rc4_hmac_md5_cipher()
148 key->md.Nl += blocks<<=3; in rc4_hmac_md5_cipher()
149 if (key->md.Nl<(unsigned int)blocks) key->md.Nh++; in rc4_hmac_md5_cipher()
155 MD5_Update(&key->md,in+md5_off,plen-md5_off); in rc4_hmac_md5_cipher()
162 MD5_Final(out+plen,&key->md); in rc4_hmac_md5_cipher()
[all …]
De_aes_cbc_hmac_sha1.c78 SHA_CTX head,tail,md; member
131 key->md = key->head; in aesni_cbc_hmac_sha1_init_key()
191 sha_off = SHA_CBLOCK-key->md.num; in aesni_cbc_hmac_sha1_cipher()
208 SHA1_Update(&key->md,in+iv,sha_off); in aesni_cbc_hmac_sha1_cipher()
211 ctx->iv,&key->md,in+iv+sha_off); in aesni_cbc_hmac_sha1_cipher()
215 key->md.Nh += blocks>>29; in aesni_cbc_hmac_sha1_cipher()
216 key->md.Nl += blocks<<=3; in aesni_cbc_hmac_sha1_cipher()
217 if (key->md.Nl<(unsigned int)blocks) key->md.Nh++; in aesni_cbc_hmac_sha1_cipher()
223 SHA1_Update(&key->md,in+sha_off,plen-sha_off); in aesni_cbc_hmac_sha1_cipher()
230 SHA1_Final(out+plen,&key->md); in aesni_cbc_hmac_sha1_cipher()
[all …]
/external/openssl/crypto/evp/
Dbio_ok.c153 EVP_MD_CTX md; member
193 EVP_MD_CTX_init(&ctx->md); in ok_new()
204 EVP_MD_CTX_cleanup(&((BIO_OK_CTX *)a->ptr)->md); in ok_free()
366 EVP_MD *md; in ok_ctrl() local
430 md=ptr; in ok_ctrl()
431 if (!EVP_DigestInit_ex(&ctx->md, md, NULL)) in ok_ctrl()
439 *ppmd=ctx->md.digest; in ok_ctrl()
482 EVP_MD_CTX *md; in sig_out() local
485 md=&ctx->md; in sig_out()
487 if(ctx->buf_len+ 2* md->digest->md_size > OK_BLOCK_SIZE) return 1; in sig_out()
[all …]
De_rc4_hmac_md5.c74 MD5_CTX head,tail,md; member
96 key->md = key->head; in rc4_hmac_md5_init_key()
122 md5_off = MD5_CBLOCK-key->md.num, in rc4_hmac_md5_cipher()
139 MD5_Update(&key->md,in,md5_off); in rc4_hmac_md5_cipher()
143 &key->md,in+md5_off,blocks); in rc4_hmac_md5_cipher()
147 key->md.Nh += blocks>>29; in rc4_hmac_md5_cipher()
148 key->md.Nl += blocks<<=3; in rc4_hmac_md5_cipher()
149 if (key->md.Nl<(unsigned int)blocks) key->md.Nh++; in rc4_hmac_md5_cipher()
155 MD5_Update(&key->md,in+md5_off,plen-md5_off); in rc4_hmac_md5_cipher()
162 MD5_Final(out+plen,&key->md); in rc4_hmac_md5_cipher()
[all …]
De_aes_cbc_hmac_sha1.c78 SHA_CTX head,tail,md; member
131 key->md = key->head; in aesni_cbc_hmac_sha1_init_key()
191 sha_off = SHA_CBLOCK-key->md.num; in aesni_cbc_hmac_sha1_cipher()
208 SHA1_Update(&key->md,in+iv,sha_off); in aesni_cbc_hmac_sha1_cipher()
211 ctx->iv,&key->md,in+iv+sha_off); in aesni_cbc_hmac_sha1_cipher()
215 key->md.Nh += blocks>>29; in aesni_cbc_hmac_sha1_cipher()
216 key->md.Nl += blocks<<=3; in aesni_cbc_hmac_sha1_cipher()
217 if (key->md.Nl<(unsigned int)blocks) key->md.Nh++; in aesni_cbc_hmac_sha1_cipher()
223 SHA1_Update(&key->md,in+sha_off,plen-sha_off); in aesni_cbc_hmac_sha1_cipher()
230 SHA1_Final(out+plen,&key->md); in aesni_cbc_hmac_sha1_cipher()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/hmac/
Dhmac.c69 const EVP_MD *md, ENGINE *impl) in HMAC_Init_ex() argument
88 return FIPS_hmac_init_ex(ctx, key, len, md, NULL); in HMAC_Init_ex()
92 if (md != NULL) in HMAC_Init_ex()
95 ctx->md=md; in HMAC_Init_ex()
98 md=ctx->md; in HMAC_Init_ex()
103 j=EVP_MD_block_size(md); in HMAC_Init_ex()
107 if (!EVP_DigestInit_ex(&ctx->md_ctx,md, impl)) in HMAC_Init_ex()
130 if (!EVP_DigestInit_ex(&ctx->i_ctx,md, impl)) in HMAC_Init_ex()
132 if (!EVP_DigestUpdate(&ctx->i_ctx,pad,EVP_MD_block_size(md))) in HMAC_Init_ex()
137 if (!EVP_DigestInit_ex(&ctx->o_ctx,md, impl)) in HMAC_Init_ex()
[all …]
/external/openssl/crypto/hmac/
Dhmac.c69 const EVP_MD *md, ENGINE *impl) in HMAC_Init_ex() argument
88 return FIPS_hmac_init_ex(ctx, key, len, md, NULL); in HMAC_Init_ex()
92 if (md != NULL) in HMAC_Init_ex()
95 ctx->md=md; in HMAC_Init_ex()
98 md=ctx->md; in HMAC_Init_ex()
103 j=EVP_MD_block_size(md); in HMAC_Init_ex()
107 if (!EVP_DigestInit_ex(&ctx->md_ctx,md, impl)) in HMAC_Init_ex()
130 if (!EVP_DigestInit_ex(&ctx->i_ctx,md, impl)) in HMAC_Init_ex()
132 if (!EVP_DigestUpdate(&ctx->i_ctx,pad,EVP_MD_block_size(md))) in HMAC_Init_ex()
137 if (!EVP_DigestInit_ex(&ctx->o_ctx,md, impl)) in HMAC_Init_ex()
[all …]
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
D_linux.h165 #define CONTEXT(_th) ((_th)->md.context)
175 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_GPR1]
177 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__misc[0]
189 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP]
195 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__sp
207 #define _MD_GET_SP(_t) ((long *)((_t)->md.context[0].__jmpbuf)[0])
223 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__sp
229 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__sp
246 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP]
247 #define _MD_SET_FP(_t, val) ((_t)->md.context[0].__jmpbuf[JB_FP] = val)
[all …]
D_sunos4.h81 #define _MD_GET_SP(_t) (_t)->md.context[2]
85 #define CONTEXT(_th) ((_th)->md.context)
92 int *context = (_thread)->md.context; \
96 (_thread)->md.context[2] = (int) ((_sp) - 64); \
97 (_thread)->md.context[2] &= ~7; \
98 (_thread)->md.context[3] = (int) _main; \
99 (_thread)->md.context[4] = (int) _main + 4; \
105 (_thread)->md.errcode = errno; \
114 errno = (_thread)->md.errcode; \
186 #define _PR_IOQ(_cpu) ((_cpu)->md.md_unix.ioQ)
[all …]
D_bsdi.h81 #define _MD_GET_SP(_t) (_t)->md.context[2]
83 #define _MD_GET_SP(_t) (_t)->md.context[0].jb_esp
91 #define CONTEXT(_th) ((_th)->md.context)
104 (_thread)->md.errcode = errno; \
113 errno = (_thread)->md.errcode; \
166 #define _PR_IOQ(_cpu) ((_cpu)->md.md_unix.ioQ)
168 #define _PR_FD_READ_SET(_cpu) ((_cpu)->md.md_unix.fd_read_set)
169 #define _PR_FD_READ_CNT(_cpu) ((_cpu)->md.md_unix.fd_read_cnt)
170 #define _PR_FD_WRITE_SET(_cpu) ((_cpu)->md.md_unix.fd_write_set)
171 #define _PR_FD_WRITE_CNT(_cpu) ((_cpu)->md.md_unix.fd_write_cnt)
[all …]
D_solaris.h204 #define _MD_GET_SP(threadp) threadp->md.sp
222 #define CONTEXT(_thread) (&(_thread)->md.context)
270 #define _MD_RESUME_THREAD(thread) thr_continue((thread)->md.handle)
307 #define _PR_LOCK_HEAP() if (_pr_heapLock) _MD_LOCK(&_pr_heapLock->md)
308 #define _PR_UNLOCK_HEAP() if (_pr_heapLock) _MD_UNLOCK(&_pr_heapLock->md)
421 #define _PR_IOQ(_cpu) ((_cpu)->md.md_unix.ioQ)
423 #define _PR_FD_READ_SET(_cpu) ((_cpu)->md.md_unix.fd_read_set)
424 #define _PR_FD_READ_CNT(_cpu) ((_cpu)->md.md_unix.fd_read_cnt)
425 #define _PR_FD_WRITE_SET(_cpu) ((_cpu)->md.md_unix.fd_write_set)
426 #define _PR_FD_WRITE_CNT(_cpu) ((_cpu)->md.md_unix.fd_write_cnt)
[all …]
/external/chromium_org/third_party/libjingle/source/talk/base/
Dopenssldigest.cc77 const EVP_MD* md; in GetDigestEVP() local
79 md = EVP_md5(); in GetDigestEVP()
81 md = EVP_sha1(); in GetDigestEVP()
83 md = EVP_sha224(); in GetDigestEVP()
85 md = EVP_sha256(); in GetDigestEVP()
87 md = EVP_sha384(); in GetDigestEVP()
89 md = EVP_sha512(); in GetDigestEVP()
95 ASSERT(EVP_MD_size(md) >= 16); in GetDigestEVP()
96 *mdp = md; in GetDigestEVP()
100 bool OpenSSLDigest::GetDigestName(const EVP_MD* md, in GetDigestName() argument
[all …]
/external/chromium_org/third_party/webrtc/base/
Dopenssldigest.cc60 const EVP_MD* md; in GetDigestEVP() local
62 md = EVP_md5(); in GetDigestEVP()
64 md = EVP_sha1(); in GetDigestEVP()
66 md = EVP_sha224(); in GetDigestEVP()
68 md = EVP_sha256(); in GetDigestEVP()
70 md = EVP_sha384(); in GetDigestEVP()
72 md = EVP_sha512(); in GetDigestEVP()
78 ASSERT(EVP_MD_size(md) >= 16); in GetDigestEVP()
79 *mdp = md; in GetDigestEVP()
83 bool OpenSSLDigest::GetDigestName(const EVP_MD* md, in GetDigestName() argument
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/conf/
Dconf_mod.c110 static void module_free(CONF_MODULE *md);
209 CONF_MODULE *md; in module_run() local
212 md = module_find(name); in module_run()
215 if (!md && !(flags & CONF_MFLAGS_NO_DSO)) in module_run()
216 md = module_load_dso(cnf, name, value, flags); in module_run()
218 if (!md) in module_run()
228 ret = module_init(md, name, value, cnf); in module_run()
253 CONF_MODULE *md; in module_load_dso() local
275 md = module_add(dso, name, ifunc, ffunc); in module_load_dso()
277 if (!md) in module_load_dso()
[all …]
/external/openssl/crypto/conf/
Dconf_mod.c110 static void module_free(CONF_MODULE *md);
209 CONF_MODULE *md; in module_run() local
212 md = module_find(name); in module_run()
215 if (!md && !(flags & CONF_MFLAGS_NO_DSO)) in module_run()
216 md = module_load_dso(cnf, name, value, flags); in module_run()
218 if (!md) in module_run()
228 ret = module_init(md, name, value, cnf); in module_run()
253 CONF_MODULE *md; in module_load_dso() local
275 md = module_add(dso, name, ifunc, ffunc); in module_load_dso()
277 if (!md) in module_load_dso()
[all …]
/external/smack/asmack-master/static-src/novell-openldap-jldap/com/novell/sasl/client/
DDigestMD5SaslClient.java443 MessageDigest md = MessageDigest.getInstance("MD5"); in DigestCalcHA1() local
445 md.update(userName.getBytes("UTF-8")); in DigestCalcHA1()
446 md.update(":".getBytes("UTF-8")); in DigestCalcHA1()
447 md.update(realm.getBytes("UTF-8")); in DigestCalcHA1()
448 md.update(":".getBytes("UTF-8")); in DigestCalcHA1()
449 md.update(password.getBytes("UTF-8")); in DigestCalcHA1()
450 hash = md.digest(); in DigestCalcHA1()
454 md.update(hash); in DigestCalcHA1()
455 md.update(":".getBytes("UTF-8")); in DigestCalcHA1()
456 md.update(nonce.getBytes("UTF-8")); in DigestCalcHA1()
[all …]
/external/smack/src/com/novell/sasl/client/
DDigestMD5SaslClient.java443 MessageDigest md = MessageDigest.getInstance("MD5"); in DigestCalcHA1() local
445 md.update(userName.getBytes("UTF-8")); in DigestCalcHA1()
446 md.update(":".getBytes("UTF-8")); in DigestCalcHA1()
447 md.update(realm.getBytes("UTF-8")); in DigestCalcHA1()
448 md.update(":".getBytes("UTF-8")); in DigestCalcHA1()
449 md.update(password.getBytes("UTF-8")); in DigestCalcHA1()
450 hash = md.digest(); in DigestCalcHA1()
454 md.update(hash); in DigestCalcHA1()
455 md.update(":".getBytes("UTF-8")); in DigestCalcHA1()
456 md.update(nonce.getBytes("UTF-8")); in DigestCalcHA1()
[all …]
/external/chromium_org/third_party/markdown/extensions/
Dwikilinks.py138 def extendMarkdown(self, md, md_globals): argument
139 self.md = md
144 wikilinkPattern.md = md
145 md.inlinePatterns.add('wikilink', wikilinkPattern, "<not_strong")
172 if hasattr(self.md, 'Meta'):
173 if 'wiki_base_url' in self.md.Meta:
174 base_url = self.md.Meta['wiki_base_url'][0]
175 if 'wiki_end_url' in self.md.Meta:
176 end_url = self.md.Meta['wiki_end_url'][0]
177 if 'wiki_html_class' in self.md.Meta:
[all …]
/external/markdown/markdown/extensions/
Dwikilinks.py104 def extendMarkdown(self, md, md_globals): argument
105 self.md = md
110 wikilinkPattern.md = md
111 md.inlinePatterns.add('wikilink', wikilinkPattern, "<not_strong")
138 if hasattr(self.md, 'Meta'):
139 if self.md.Meta.has_key('wiki_base_url'):
140 base_url = self.md.Meta['wiki_base_url'][0]
141 if self.md.Meta.has_key('wiki_end_url'):
142 end_url = self.md.Meta['wiki_end_url'][0]
143 if self.md.Meta.has_key('wiki_html_class'):
[all …]

12345678910>>...22