/external/openssl/crypto/rsa/ |
rsa_sign.c | 73 X509_SIG sig; local 102 sig.algor= &algor; 103 sig.algor->algorithm=OBJ_nid2obj(type); 104 if (sig.algor->algorithm == NULL) 109 if (sig.algor->algorithm->length == 0) 116 sig.algor->parameter= ¶meter; 118 sig.digest= &digest; 119 sig.digest->data=(unsigned char *)m; /* TMP UGLY CAST */ 120 sig.digest->length=m_len; 122 i=i2d_X509_SIG(&sig,NULL) 181 X509_SIG *sig=NULL; local [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaContentSignerBuilder.java | 61 final Signature sig = helper.createSignature(sigAlgId); local 65 sig.initSign(privateKey, random); 69 sig.initSign(privateKey); 74 private SignatureOutputStream stream = new SignatureOutputStream(sig); 108 private Signature sig; field in class:SignatureOutputStream 110 SignatureOutputStream(Signature sig) 112 this.sig = sig; 120 sig.update(bytes, off, len); 133 sig.update(bytes) [all...] |
/external/compiler-rt/test/msan/ |
sigwait.cc | 19 int sig; local 20 int res = sigwait(&s, &sig); 22 // The following checks that sig is initialized. 23 assert(sig == SIGUSR1);
|
/art/sigchainlib/ |
sigchain.h | 30 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context);
|
/external/bison/lib/ |
fatal-signal.c | 29 #include "sig-handler.h" 142 int sig = fatal_signals[i]; local 143 if (saved_sigactions[sig].sa_handler == SIG_IGN) 144 saved_sigactions[sig].sa_handler = SIG_DFL; 145 sigaction (sig, &saved_sigactions[sig], NULL); 152 fatal_signal_handler (int sig) 174 raise (sig); 194 int sig = fatal_signals[i]; local 196 if (!(sig < sizeof (saved_sigactions) / sizeof (saved_sigactions[0])) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
dxbc_parse.cpp | 69 int dxbc_parse_signature(dxbc_chunk_signature* sig, D3D11_SIGNATURE_PARAMETER_DESC** params) 71 unsigned count = bswap_le32(sig->count); 77 param.SemanticName = (char*)&sig->count + bswap_le32(sig->elements[i].name_offset); 78 param.SemanticIndex = bswap_le32(sig->elements[i].semantic_index); 79 param.SystemValueType = (D3D_NAME)bswap_le32(sig->elements[i].system_value_type); 80 param.ComponentType = (D3D_REGISTER_COMPONENT_TYPE)bswap_le32(sig->elements[i].component_type); 81 param.Register = bswap_le32(sig->elements[i].register_num); 82 param.Mask = sig->elements[i].mask; 83 param.ReadWriteMask = sig->elements[i].read_write_mask [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
dxbc_parse.cpp | 69 int dxbc_parse_signature(dxbc_chunk_signature* sig, D3D11_SIGNATURE_PARAMETER_DESC** params) 71 unsigned count = bswap_le32(sig->count); 77 param.SemanticName = (char*)&sig->count + bswap_le32(sig->elements[i].name_offset); 78 param.SemanticIndex = bswap_le32(sig->elements[i].semantic_index); 79 param.SystemValueType = (D3D_NAME)bswap_le32(sig->elements[i].system_value_type); 80 param.ComponentType = (D3D_REGISTER_COMPONENT_TYPE)bswap_le32(sig->elements[i].component_type); 81 param.Register = bswap_le32(sig->elements[i].register_num); 82 param.Mask = sig->elements[i].mask; 83 param.ReadWriteMask = sig->elements[i].read_write_mask [all...] |
/bionic/libc/bionic/ |
sigwait.cpp | 38 int sigwait(const sigset_t* set, int* sig) { 45 *sig = result;
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
pthread_kill.c | 49 pthread_kill (pthread_t thread, int sig) 54 * specified thread. If sig is zero, error checking is 60 * sig signal. Currently only a value of 0 is supported. 65 * specified thread. If sig is zero, error checking is 95 if (0 == result && 0 != sig)
|
/external/conscrypt/src/test/java/org/conscrypt/ |
SignatureTest.java | 106 private void test_Signature(Signature sig, KeyPair keyPair) throws Exception { 107 sig.initSign(keyPair.getPrivate()); 108 sig.update(DATA); 109 byte[] signature = sig.sign(); 110 assertNotNull(sig.getAlgorithm(), signature); 111 assertTrue(sig.getAlgorithm(), signature.length > 0); 113 sig.initVerify(keyPair.getPublic()); 114 sig.update(DATA); 115 assertTrue(sig.getAlgorithm(), sig.verify(signature)) [all...] |
/art/runtime/ |
fault_handler.h | 45 void HandleFault(int sig, siginfo_t* info, void* context); 46 void HandleNestedSignal(int sig, siginfo_t* info, void* context); 76 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0; 89 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 99 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 109 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 119 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE NO_THREAD_SAFETY_ANALYSIS;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
DSABase.java | 56 BigInteger[] sig = signer.generateSignature(hash); local 58 return encoder.encode(sig[0], sig[1]); 74 BigInteger[] sig; local 78 sig = encoder.decode(sigBytes); 85 return signer.verifySignature(hash, sig[0], sig[1]);
|
/external/openssl/crypto/ecdsa/ |
ecdsa.h | 90 * \param sig pointer to the ECDSA_SIG structure 92 void ECDSA_SIG_free(ECDSA_SIG *sig); 96 * \param sig pointer to the ECDSA_SIG object 100 int i2d_ECDSA_SIG(const ECDSA_SIG *sig, unsigned char **pp); 104 * \param sig pointer to ECDSA_SIG pointer (may be NULL) 109 ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len); 121 * private key (note: sig must point to ECDSA_size(eckey) bytes of memory). 137 * \param sig ECDSA_SIG structure 143 const ECDSA_SIG *sig, EC_KEY* eckey); 181 * private key (note: sig must point to ECDSA_size(eckey) bytes of memory) [all...] |
ecs_vrf.c | 70 const ECDSA_SIG *sig, EC_KEY *eckey) 75 return ecdsa->meth->ecdsa_do_verify(dgst, dgst_len, sig, eckey);
|
/external/openssl/include/openssl/ |
ecdsa.h | 90 * \param sig pointer to the ECDSA_SIG structure 92 void ECDSA_SIG_free(ECDSA_SIG *sig); 96 * \param sig pointer to the ECDSA_SIG object 100 int i2d_ECDSA_SIG(const ECDSA_SIG *sig, unsigned char **pp); 104 * \param sig pointer to ECDSA_SIG pointer (may be NULL) 109 ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len); 121 * private key (note: sig must point to ECDSA_size(eckey) bytes of memory). 137 * \param sig ECDSA_SIG structure 143 const ECDSA_SIG *sig, EC_KEY* eckey); 181 * private key (note: sig must point to ECDSA_size(eckey) bytes of memory) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
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/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Signature_Impl2Test.java | 60 Signature sig = Signature.getInstance("ABC"); local 61 checkSig1(sig, p); 68 Signature sig = Signature.getInstance("CBA"); local 69 checkSig2(sig, p); 76 Signature sig = Signature.getInstance("ABC", "MyProvider"); local 77 checkSig1(sig, p); 84 Signature sig = Signature.getInstance("CBA", "MyProvider"); local 85 checkSig2(sig, p); 94 Signature sig = Signature.getInstance("ABC", p1); local 95 checkSig1(sig, p1) 103 Signature sig = Signature.getInstance("CBA", p2); local [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
link_functions.cpp | 78 ir_function_signature *sig = local 81 if (sig != NULL) { 82 ir->callee = sig; 89 sig = find_matching_signature(name, &ir->actual_parameters, shader_list, 91 if (sig == NULL) { 146 foreach_list_const(node, &sig->parameters) { 156 foreach_list_const(node, &sig->body) { 259 ir_function_signature *sig = f->matching_signature(actual_parameters); local 261 if ((sig == NULL) || !sig->is_defined [all...] |
/external/mesa3d/src/glsl/ |
link_functions.cpp | 78 ir_function_signature *sig = local 81 if (sig != NULL) { 82 ir->callee = sig; 89 sig = find_matching_signature(name, &ir->actual_parameters, shader_list, 91 if (sig == NULL) { 146 foreach_list_const(node, &sig->parameters) { 156 foreach_list_const(node, &sig->body) { 259 ir_function_signature *sig = f->matching_signature(actual_parameters); local 261 if ((sig == NULL) || !sig->is_defined [all...] |
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
ecdsa.h | 72 * resulting signature to |sig|, which must have |ECDSA_size(key)| bytes of 77 size_t digest_len, uint8_t *sig, 80 /* ECDSA_verify verifies that |sig_len| bytes from |sig| constitute a valid 85 size_t digest_len, const uint8_t *sig, 106 /* ECDSA_SIG_free frees |sig| its member |BIGNUM|s. */ 107 OPENSSL_EXPORT void ECDSA_SIG_free(ECDSA_SIG *sig); 116 /* ECDSA_verify verifies that |sig| constitutes a valid signature by |key| of 122 const ECDSA_SIG *sig, EC_KEY *key); 148 size_t digest_len, uint8_t *sig, 164 /* i2d_ECDSA_SIG marshals a signature from |sig| to an ASN.1, DE [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_misc.h | 55 dxbc_chunk_signature* sig = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_INPUT_SIGNATURE); local 56 if(!sig) 59 return dxbc_assemble_as_blob((dxbc_chunk_header**)&sig, 1, signature_blob); 68 dxbc_chunk_signature* sig = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_OUTPUT_SIGNATURE); local 69 if(!sig) 72 return dxbc_assemble_as_blob((dxbc_chunk_header**)&sig, 1, signature_blob);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
d3d11_misc.h | 55 dxbc_chunk_signature* sig = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_INPUT_SIGNATURE); local 56 if(!sig) 59 return dxbc_assemble_as_blob((dxbc_chunk_header**)&sig, 1, signature_blob); 68 dxbc_chunk_signature* sig = dxbc_find_signature(shader_bytecode, bytecode_length, DXBC_FIND_OUTPUT_SIGNATURE); local 69 if(!sig) 72 return dxbc_assemble_as_blob((dxbc_chunk_header**)&sig, 1, signature_blob);
|
/dalvik/hit/src/com/android/hit/ |
StackFrame.java | 32 public StackFrame(long id, String method, String sig, String file, 36 mSignature = sig;
|
/external/chromium_org/base/mac/ |
os_crash_dumps.cc | 18 void ExitSignalHandler(int sig) { 22 _exit(128 + sig);
|
/external/chromium_org/third_party/boringssl/src/crypto/dsa/ |
dsa.c | 169 DSA_SIG *sig; local 170 sig = OPENSSL_malloc(sizeof(DSA_SIG)); 171 if (!sig) { 174 sig->r = NULL; 175 sig->s = NULL; 176 return sig; 179 void DSA_SIG_free(DSA_SIG *sig) { 180 if (!sig) { 184 if (sig->r) { 185 BN_free(sig->r) [all...] |