/external/skia/src/views/ |
SkEvent.cpp | 212 const SkMetaData& md = this->getMetaData(); local 213 SkMetaData::Iter iter(md); 227 md.findS32(name, &value); 233 const SkScalar* values = md.findScalars(name, &count, NULL); 242 const char* value = md.findString(name); 250 md.findPtr(name, &value); 257 md.findBool(name, &value);
|
/external/dropbear/libtomcrypt/src/prngs/ |
yarrow.c | 137 hash_state md; local 151 if ((err = hash_descriptor[prng->yarrow.hash].init(&md)) != CRYPT_OK) { 157 if ((err = hash_descriptor[prng->yarrow.hash].process(&md, prng->yarrow.pool, 164 if ((err = hash_descriptor[prng->yarrow.hash].process(&md, in, inlen)) != CRYPT_OK) { 170 if ((err = hash_descriptor[prng->yarrow.hash].done(&md, prng->yarrow.pool)) != CRYPT_OK) {
|
/external/openssl/crypto/evp/ |
evp.h | 167 int (*final)(EVP_MD_CTX *ctx,unsigned char *md); 199 /* Digest uses EVP_PKEY_METHOD for signing instead of MD specific signing */ 405 const EVP_MD *md, int en_de); 433 int EVP_MD_type(const EVP_MD *md); 436 int EVP_MD_pkey_type(const EVP_MD *md); 437 int EVP_MD_size(const EVP_MD *md); 438 int EVP_MD_block_size(const EVP_MD *md); 439 unsigned long EVP_MD_flags(const EVP_MD *md); 481 void BIO_set_md(BIO *,const EVP_MD *md); 483 # define BIO_set_md(b,md) BIO_ctrl(b,BIO_C_SET_MD,0,(char *)md [all...] |
evp_test.c | 267 unsigned char md[EVP_MAX_MD_SIZE]; local 291 if(!EVP_DigestFinal_ex(&ctx,md,&mdn)) 305 if(memcmp(md,ciphertext,cn)) 308 hexdump(stderr,"Got",md,cn);
|
/external/openssl/crypto/ocsp/ |
ocsp_vfy.c | 303 unsigned char md[EVP_MAX_MD_SIZE]; local 317 if (!X509_NAME_digest(iname, dgst, md, NULL)) 319 if (memcmp(md, cid->issuerNameHash->data, mdlen)) 321 X509_pubkey_digest(cert, dgst, md, NULL); 322 if (memcmp(md, cid->issuerKeyHash->data, mdlen))
|
ocsp_srv.c | 236 unsigned char md[SHA_DIGEST_LENGTH]; local 237 X509_pubkey_digest(signer, EVP_sha1(), md, NULL); 240 if (!(ASN1_OCTET_STRING_set(rid->value.byKey, md, SHA_DIGEST_LENGTH)))
|
/external/openssl/include/openssl/ |
evp.h | 167 int (*final)(EVP_MD_CTX *ctx,unsigned char *md); 199 /* Digest uses EVP_PKEY_METHOD for signing instead of MD specific signing */ 405 const EVP_MD *md, int en_de); 433 int EVP_MD_type(const EVP_MD *md); 436 int EVP_MD_pkey_type(const EVP_MD *md); 437 int EVP_MD_size(const EVP_MD *md); 438 int EVP_MD_block_size(const EVP_MD *md); 439 unsigned long EVP_MD_flags(const EVP_MD *md); 481 void BIO_set_md(BIO *,const EVP_MD *md); 483 # define BIO_set_md(b,md) BIO_ctrl(b,BIO_C_SET_MD,0,(char *)md [all...] |
pkcs7.h | 124 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 152 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 164 X509_ALGOR *md; /* md used */ member in struct:pkcs7_digest_st 282 unsigned char *md,unsigned int *len); 334 int PKCS7_set_digest(PKCS7 *p7, const EVP_MD *md); 363 X509 *signcert, EVP_PKEY *pkey, const EVP_MD *md, 382 const unsigned char *md, int mdlen);
|
/libcore/luni/src/main/java/java/util/jar/ |
JarVerifier.java | 400 MessageDigest md; local 402 md = MessageDigest.getInstance(algorithm); 408 md.update(data, start, end - 1 - start); 410 md.update(data, start, end - start); 412 byte[] b = md.digest();
|
/external/openssl/ssl/ |
t1_enc.c | 151 static int tls1_P_hash(const EVP_MD *md, const unsigned char *sec, 168 chunk=EVP_MD_size(md); 173 if (!HMAC_Init_ex(&ctx,sec,sec_len,md, NULL)) 175 if (!HMAC_Init_ex(&ctx_tmp,sec,sec_len,md, NULL)) 251 const EVP_MD *md; local 256 for (idx=0;ssl_get_handshake_digest(idx,&m,&md);idx++) { 262 for (idx=0;ssl_get_handshake_digest(idx,&m,&md);idx++) { 264 if (!md) { 269 if (!tls1_P_hash(md ,S1,len+(slen&1), 836 const EVP_MD *md; local [all...] |
/cts/tools/vm-tests/src/util/build/ |
BuildDalvikSuite.java | 280 private void addCTSHostMethod(String pName, String method, MethodData md, 361 MethodData md = parseTestMethod(pName, classOnlyName, method); 362 String methodContent = md.methodBody; 367 addCTSHostMethod(pName, method, md, dependentTestClassNames); 474 String details = (md.title != null ? md.title : ""); 475 if (md.constraint != null) { 476 details = " Constraint " + md.constraint + ", " + details; 789 MethodData md = new MethodData(); 790 md.methodBody = builder.toString() [all...] |
/external/jdiff/src/jdiff/ |
RootDocToXML.java | 526 * @param md An array of MethodDoc objects 528 public void processMethods(ClassDoc cd, MethodDoc[] md) { 529 if (trace) System.out.println("PROCESSING " +cd.name()+" METHODS, number = " + md.length); 530 for (int i = 0; i < md.length; i++) { 531 String methodName = md[i].name(); 537 if (!shownElement(md[i], memberVisibilityLevel)) 540 com.sun.javadoc.Type retType = md[i].returnType(); 549 outputFile.print(" abstract=\"" + md[i].isAbstract() + "\""); 550 outputFile.print(" native=\"" + md[i].isNative() + "\""); 551 outputFile.println(" synchronized=\"" + md[i].isSynchronized() + "\"") [all...] |
/libcore/luni/src/main/java/java/security/ |
MessageDigest.java | 354 MessageDigest md = (MessageDigest) clone(); local 355 return md.digest().length;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DexFile.java | 608 MessageDigest md; local 611 md = MessageDigest.getInstance("SHA-1"); 616 md.update(bytes, 32, bytes.length - 32); 619 int amt = md.digest(bytes, 12, 20);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/ |
SignedJarBuilder.java | 310 MessageDigest md = MessageDigest.getInstance(DIGEST_ALGORITHM); local 312 new DigestOutputStream(new ByteArrayOutputStream(), md), 318 main.putValue(DIGEST_MANIFEST_ATTR, base64.encode(md.digest())); 331 sfAttr.putValue(DIGEST_ATTR, base64.encode(md.digest()));
|
/system/core/libcutils/ |
dir_hash.c | 43 unsigned char md[SHA1_DIGEST_LENGTH]; local 67 SHA1Final(md, &context); 89 SHA1Final(md, &context); 93 used = b64_ntop(md, SHA1_DIGEST_LENGTH,
|
/external/libpcap/ |
pcap-nit.c | 94 *ps = p->md.stat; 160 p->md.stat.ps_drop = nh->nh_dropped; 171 ++p->md.stat.ps_recv;
|
pcap-win32.c | 233 p->md.stat.ps_recv++; 250 packet_len = swt - (p->md.dag_fcs_bits); 262 packet_len = swt - (p->md.dag_fcs_bits); 613 p->md.dag_fcs_bits = p->adapter->DagFcsLen; 707 p->md.use_bpf = 0;
|
/external/openssl/crypto/rsa/ |
rsa_oaep.c | 190 unsigned char md[EVP_MAX_MD_SIZE]; local 213 EVP_DigestFinal_ex(&c, md, NULL); 214 memcpy(mask + outlen, md, len - outlen);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCERSACipher.java | 163 String md = Strings.toUpperCase(mode); local 165 if (md.equals("NONE") || md.equals("ECB")) 170 if (md.equals("1")) 176 else if (md.equals("2"))
|
/external/openssl/crypto/jpake/ |
jpake.c | 165 unsigned char md[SHA_DIGEST_LENGTH]; local 178 SHA1_Final(md, &sha); 179 BN_bin2bn(md, SHA_DIGEST_LENGTH, h); 415 static void quickhashbn(unsigned char *md, const BIGNUM *bn) 421 SHA1_Final(md, &sha);
|
/external/openssl/crypto/pkcs7/ |
pkcs7.h | 124 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 152 STACK_OF(X509_ALGOR) *md_algs; /* md used */ 164 X509_ALGOR *md; /* md used */ member in struct:pkcs7_digest_st 282 unsigned char *md,unsigned int *len); 334 int PKCS7_set_digest(PKCS7 *p7, const EVP_MD *md); 363 X509 *signcert, EVP_PKEY *pkey, const EVP_MD *md, 382 const unsigned char *md, int mdlen);
|
pk7_doit.c | 108 const EVP_MD *md; local 115 md=EVP_get_digestbyobj(alg->algorithm); 116 if (md == NULL) 122 BIO_set_md(btmp,md); 301 xa = p7->d.digest->md; 826 OBJ_obj2nid(p7->d.digest->md->algorithm))) 863 const EVP_MD *md = NULL; local 865 md = EVP_get_digestbyobj(si->digest_alg->algorithm); 866 if (md == NULL) 870 if (EVP_DigestSignInit(&mctx, &pctx, md,NULL, si->pkey) <= 0 [all...] |
/build/tools/signapk/ |
SignApk.java | 183 MessageDigest md = MessageDigest.getInstance("SHA1"); local 206 md.update(buffer, 0, num); 212 attr.putValue("SHA1-Digest", base64.encode(md.digest())); 267 MessageDigest md = MessageDigest.getInstance("SHA1"); local 269 new DigestOutputStream(new ByteArrayOutputStream(), md), 275 main.putValue("SHA1-Digest-Manifest", base64.encode(md.digest())); 288 sfAttr.putValue("SHA1-Digest", base64.encode(md.digest()));
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
ClassDef.java | 436 final MethodDescriptor md = mds [i]; local 438 dout.writeUTF (md.m_name); 439 dout.writeInt (md.m_modifiers); 440 dout.writeUTF (md.m_descriptor.replace ('/', '.')); 457 final MessageDigest md = MessageDigest.getInstance ("SHA"); local 459 md.update (bout.getByteArray (), 0, bout.size ()); 460 final byte [] hash = md.digest ();
|