/external/openssl/crypto/dsa/ |
dsa_asn1.c | 70 DSA_SIG *sig; local 71 sig = OPENSSL_malloc(sizeof(DSA_SIG)); 72 if (!sig) 77 sig->r = NULL; 78 sig->s = NULL; 79 *pval = (ASN1_VALUE *)sig;
|
/dalvik/vm/arch/x86-atom/ |
Hints386ABI.cpp | 53 const char* sig = dexProtoGetShorty(proto); local 63 sigByte = *(++sig);
|
/dalvik/vm/arch/x86/ |
Hints386ABI.cpp | 63 const char* sig = dexProtoGetShorty(proto); local 69 sigByte = *(sig++);
|
/system/core/toolbox/ |
kill.c | 10 int sig = SIGTERM; local 17 sig = atoi(argv[0] + 1); 24 int err = kill(pid, sig);
|
/dalvik/vm/arch/arm/ |
HintsEABI.cpp | 59 const char* sig = dexProtoGetShorty(proto); local 68 sig++; 71 sigByte = *(sig++);
|
/external/chromium/crypto/ |
signature_creator_mac.cc | 62 ScopedCSSMData sig; local 63 CSSM_RETURN crtn = CSSM_SignDataFinal(sig_handle_, sig); 70 signature->assign(sig->Data, sig->Data + sig->Length);
|
signature_verifier_mac.cc | 81 CSSM_DATA sig; local 82 sig.Data = const_cast<uint8*>(&signature_[0]); 83 sig.Length = signature_.size(); 84 CSSM_RETURN crtn = CSSM_VerifyDataFinal(sig_handle_, &sig);
|
signature_verifier_nss.cc | 65 SECItem sig; local 66 sig.type = siBuffer; 67 sig.data = const_cast<uint8*>(signature); 68 sig.len = signature_len; 70 vfy_context_ = VFY_CreateContextWithAlgorithmID(public_key, &sig,
|
/external/mesa3d/src/glsl/ |
opt_dead_code.cpp | 133 ir_function_signature *sig = local 135 if (do_dead_code(&sig->body))
|
ir_function.cpp | 169 ir_function_signature *const sig = local 172 const int score = parameter_lists_match(& sig->parameters, 176 return sig; 182 match = sig; 219 ir_function_signature *const sig = local 222 if (parameter_lists_match_exact(&sig->parameters, actual_parameters)) 223 return sig;
|
/external/openssl/crypto/rsa/ |
rsa_saos.c | 70 ASN1_OCTET_STRING sig; local 74 sig.type=V_ASN1_OCTET_STRING; 75 sig.length=m_len; 76 sig.data=(unsigned char *)m; 78 i=i2d_ASN1_OCTET_STRING(&sig,NULL); 92 i2d_ASN1_OCTET_STRING(&sig,&p); 112 ASN1_OCTET_STRING *sig=NULL; local 131 sig=d2i_ASN1_OCTET_STRING(NULL,&p,(long)i); 132 if (sig == NULL) goto err; 134 if ( ((unsigned int)sig->length != m_len) | [all...] |
rsa_sign.c | 73 X509_SIG sig; local 94 sig.algor= &algor; 95 sig.algor->algorithm=OBJ_nid2obj(type); 96 if (sig.algor->algorithm == NULL) 101 if (sig.algor->algorithm->length == 0) 108 sig.algor->parameter= ¶meter; 110 sig.digest= &digest; 111 sig.digest->data=(unsigned char *)m; /* TMP UGLY CAST */ 112 sig.digest->length=m_len; 114 i=i2d_X509_SIG(&sig,NULL) 154 X509_SIG *sig=NULL; local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 89 Signature sig = Signature.getInstance("DSA"); local 91 sig.getParameters(); 101 Signature sig = Signature.getInstance("DSA"); local 104 sig.getParameter("r"); 105 sig.getParameter("s"); 137 Signature sig = Signature.getInstance("DSA"); local 140 sig.setParameter("r", BigInteger.ONE); 141 sig.setParameter("s", BigInteger.ONE); 153 Signature sig = Signature.getInstance("DSA"); local 158 sig.setParameter(spec) 170 Signature sig = Signature.getInstance("DSA"); local 188 Signature sig = Signature.getInstance("DSA"); local 199 Signature sig = Signature.getInstance("DSA"); local 210 Signature sig = Signature.getInstance("DSA"); local 220 Signature sig = Signature.getInstance("DSA"); local [all...] |
SignedObjectTest.java | 38 Signature sig = Signature.getInstance("SHA1withDSA"); local 49 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); 54 assertTrue("verify() failed", so.verify(tkp.getPublic(), sig));
|
/external/dbus/dbus/ |
dbus-marshal-byteswap.c | 157 /* 1 byte sig len, sig typecodes, align to 161 DBusString sig; local 168 _dbus_string_init_const_len (&sig, p, sig_len); 172 contained_alignment = _dbus_type_get_alignment (_dbus_first_type_in_signature (&sig, 0)); 176 _dbus_type_reader_init_types_only (&sub, &sig, 0);
|
/external/dhcpcd/ |
signals.c | 52 signal_handler(int sig) 56 if (write(signal_pipe[1], &sig, sizeof(sig)) != sizeof(sig)) 57 syslog(LOG_ERR, "failed to write signal %d: %m", sig); 68 int sig = -1; local 74 if (bytes >= 0 && (size_t)bytes >= sizeof(sig)) 75 memcpy(&sig, buf, sizeof(sig)); 76 return sig; [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 101 private void test_Signature(Signature sig, KeyPair keyPair) throws Exception { 102 sig.initSign(keyPair.getPrivate()); 103 sig.update(DATA); 104 byte[] signature = sig.sign(); 108 sig.initVerify(keyPair.getPublic()); 109 sig.update(DATA); 110 assertTrue(sig.verify(signature)); 157 Signature sig = Signature.getInstance("SHA256withRSA"); local 158 sig.initVerify(pk); 159 sig.update(CONTENT) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
CertificateList.java | 32 DERBitString sig; field in class:CertificateList 63 sig = DERBitString.getInstance(seq.getObjectAt(2)); 93 return sig; 122 v.add(sig);
|
/external/libpng/contrib/gregbook/ |
readpng.c | 85 /* return value = 0 for success, 1 for bad sig, 2 for bad IHDR, 4 for no mem */ 89 uch sig[8]; local 95 fread(sig, 1, 8, infile); 96 if (png_sig_cmp(sig, 0, 8))
|
/external/openssl/crypto/ |
sparcv9cap.c | 165 static void common_handler(int sig) { siglongjmp(common_jmp,sig); } 172 int sig; local
|
/external/qemu/ |
compatfd.c | 35 int sig; local 38 err = sigwait(&info->mask, &sig); 50 buffer.ssi_signo = sig;
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SignedObjectTest.java | 51 Signature sig = Signature.getInstance("SHA1withDSA"); local 62 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); 67 assertTrue("verify() failed", so.verify(tkp.getPublic(), sig));
|
Signature2Test.java | 180 Signature sig = Signature.getInstance("DSA"); local 182 sig.getParameters(); 203 Signature sig = Signature.getInstance("DSA"); local 206 sig.getParameter("r"); 207 sig.getParameter("s"); 235 Signature sig = Signature.getInstance("DSA"); local 236 sig.initSign(getDsaKeys().getPrivate(), new SecureRandom()); 242 Signature sig = Signature.getInstance("DSA"); local 243 sig.initSign(getRsaKeys().getPrivate(), new SecureRandom()); 295 Signature sig = Signature.getInstance("DSA") local 312 Signature sig = Signature.getInstance("DSA"); local 329 Signature sig = Signature.getInstance("DSA"); local 347 Signature sig = Signature.getInstance("DSA"); local 365 Signature sig = Signature.getInstance("DSA"); local 398 Signature sig = Signature.getInstance("DSA"); local 409 Signature sig = Signature.getInstance("DSA"); local 427 Signature sig = Signature.getInstance("DSA"); local 448 Signature sig = Signature.getInstance("DSA"); local [all...] |
SignatureTest.java | 122 Signature sig = getTestSignature(); local 123 sig.initVerify((PublicKey)null); 142 Signature sig = getTestSignature(); local 143 sig.initVerify(new MyCertificate()); 197 Signature sig = getTestSignature(); local 198 sig.initSign(null, null); 354 Signature sig = getTestSignature(); local 355 sig.update((byte) 42); 383 Signature sig = getTestSignature(); local 384 sig.update(b) 391 Signature sig = getTestSignature(); local 478 Signature sig = getTestSignature(); local 500 Signature sig = getTestSignature(); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/netscape/ |
NetscapeCertRequest.java | 200 Signature sig = Signature.getInstance(sigAlg.getObjectId().getId(), local 202 sig.initVerify(pubkey); 203 sig.update(content.getBytes()); 205 return sig.verify(sigBits); 220 Signature sig = Signature.getInstance(sigAlg.getObjectId().getId(), local 225 sig.initSign(priv_key, rand); 229 sig.initSign(priv_key); 239 sig.update(new DERSequence(pkac).getEncoded(ASN1Encodable.DER)); 246 sigBits = sig.sign();
|