/external/boringssl/src/crypto/dsa/ |
dsa_asn1.c | 73 DSA_SIG *sig; 74 sig = OPENSSL_malloc(sizeof(DSA_SIG)); 80 memset(sig, 0, sizeof(DSA_SIG)); 85 ASN1_SEQUENCE_cb(DSA_SIG, dsa_sig_cb) = { 86 ASN1_SIMPLE(DSA_SIG, r, CBIGNUM), 87 ASN1_SIMPLE(DSA_SIG, s, CBIGNUM)} ASN1_SEQUENCE_END_cb(DSA_SIG, DSA_SIG); 89 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA_SIG, DSA_SIG, DSA_SIG) [all...] |
dsa.c | 171 DSA_SIG *DSA_SIG_new(void) { 172 DSA_SIG *sig; 173 sig = OPENSSL_malloc(sizeof(DSA_SIG)); 182 void DSA_SIG_free(DSA_SIG *sig) { 192 DSA_SIG *DSA_do_sign(const uint8_t *digest, size_t digest_len, DSA *dsa) { 199 int DSA_do_verify(const uint8_t *digest, size_t digest_len, DSA_SIG *sig, 209 size_t digest_len, DSA_SIG *sig, const DSA *dsa) { 219 DSA_SIG *s; 244 DSA_SIG *s = NULL;
|
dsa_impl.c | 188 static DSA_SIG *sign(const uint8_t *digest, size_t digest_len, DSA *dsa) { 194 DSA_SIG *ret = NULL; 285 DSA_SIG *sig, const DSA *dsa) {
|
/external/boringssl/src/include/openssl/ |
dsa.h | 134 /* DSA_SIG contains a DSA signature as a pair of integers. */ 137 } DSA_SIG; 141 OPENSSL_EXPORT DSA_SIG *DSA_SIG_new(void); 144 OPENSSL_EXPORT void DSA_SIG_free(DSA_SIG *sig); 147 * and returns an allocated, DSA_SIG structure, or NULL on error. */ 148 OPENSSL_EXPORT DSA_SIG *DSA_do_sign(const uint8_t *digest, size_t digest_len, 162 DSA_SIG *sig, const DSA *dsa); 171 size_t digest_len, DSA_SIG *sig, 227 * written directly into |*out_sig|, otherwise a fresh |DSA_SIG| is allocated. 230 OPENSSL_EXPORT DSA_SIG *d2i_DSA_SIG(DSA_SIG **out_sig, const uint8_t **inp [all...] |
/system/security/keystore-engine/ |
dsa_meth.cpp | 44 void operator()(DSA_SIG* p) const { 48 typedef UniquePtr<DSA_SIG, struct DSA_SIG_Delete> Unique_DSA_SIG; 50 static DSA_SIG* keystore_dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) { 88 Unique_DSA_SIG dsa_sig(d2i_DSA_SIG(NULL, 91 if (dsa_sig.get() == NULL) { 92 ALOGW("conversion from DER to DSA_SIG failed"); 97 dsa_sig.get(), replyLen); 98 return dsa_sig.release();
|
/external/openssh/ |
ssh-dss.c | 53 DSA_SIG *sig = NULL; 135 DSA_SIG *sig = NULL;
|
/external/boringssl/src/crypto/evp/ |
p_dsa_asn1.c | 497 DSA_SIG *dsa_sig; local 505 dsa_sig = d2i_DSA_SIG(NULL, &p, sig->length); 506 if (dsa_sig == NULL) { 514 update_buflen(dsa_sig->r, &buf_len); 515 update_buflen(dsa_sig->s, &buf_len); 523 !ASN1_bn_print(bp, "r: ", dsa_sig->r, m, indent) || 524 !ASN1_bn_print(bp, "s: ", dsa_sig->s, m, indent)) { 531 DSA_SIG_free(dsa_sig);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
infinite_recursion.py | 573 DSA_SIG = DSA_SIG_st 578 ('dsa_do_sign', CFUNCTYPE(POINTER(DSA_SIG), POINTER(c_ubyte), c_int, POINTER(DSA))), 580 ('dsa_do_verify', CFUNCTYPE(c_int, POINTER(c_ubyte), c_int, POINTER(DSA_SIG), POINTER(DSA))), [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
infinite_recursion.py | 573 DSA_SIG = DSA_SIG_st 578 ('dsa_do_sign', CFUNCTYPE(POINTER(DSA_SIG), POINTER(c_ubyte), c_int, POINTER(DSA))), 580 ('dsa_do_verify', CFUNCTYPE(c_int, POINTER(c_ubyte), c_int, POINTER(DSA_SIG), POINTER(DSA))), [all...] |