/system/core/fastboot/ |
signfile.sh | 9 openssl dgst -passin pass:"$3" -binary -sha1 -sign $1.pem $2 > $2.sign
|
/external/openssl/crypto/ecdsa/ |
ecs_vrf.c | 69 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, 75 return ecdsa->meth->ecdsa_do_verify(dgst, dgst_len, sig, eckey); 83 int ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, 92 ret=ECDSA_do_verify(dgst, dgst_len, s, eckey);
|
ecs_sign.c | 62 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey) 64 return ECDSA_do_sign_ex(dgst, dlen, NULL, NULL, eckey); 67 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, 73 return ecdsa->meth->ecdsa_do_sign(dgst, dlen, kinv, rp, eckey); 76 int ECDSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char 79 return ECDSA_sign_ex(type, dgst, dlen, sig, siglen, NULL, NULL, eckey); 82 int ECDSA_sign_ex(int type, const unsigned char *dgst, int dlen, unsigned char 87 RAND_seed(dgst, dlen); 88 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey);
|
ecdsa.h | 113 * \param dgst pointer to the hash value 118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey); 122 * \param dgst pointer to the hash value to sign 130 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dgstlen, 135 * \param dgst pointer to the hash value 142 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, 183 * \param dgst pointer to the hash value to sign 190 int ECDSA_sign(int type, const unsigned char *dgst, int dgstlen, 197 * \param dgst pointer to the hash value to sign 207 int ECDSA_sign_ex(int type, const unsigned char *dgst, int dgstlen, [all...] |
ecs_locl.h | 71 ECDSA_SIG *(*ecdsa_do_sign)(const unsigned char *dgst, int dgst_len, 75 int (*ecdsa_do_verify)(const unsigned char *dgst, int dgst_len,
|
ecs_ossl.c | 64 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dlen, 68 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len, 222 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len, 270 if (!BN_bin2bn(dgst, dgst_len, m)) 353 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len, 416 if (!BN_bin2bn(dgst, dgst_len, m))
|
/external/openssl/crypto/dsa/ |
dsa_vrf.c | 64 int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, 75 return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa);
|
dsa_sign.c | 66 DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) 76 return dsa->meth->dsa_do_sign(dgst, dlen, dsa);
|
dsa_asn1.c | 153 int DSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, 157 RAND_seed(dgst, dlen); 158 s=DSA_do_sign(dgst,dlen,dsa); 175 int DSA_verify(int type, const unsigned char *dgst, int dgst_len, 184 ret=DSA_do_verify(dgst,dgst_len,s,dsa);
|
dsa.h | 132 DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa); 135 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, 197 DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); 198 int DSA_do_verify(const unsigned char *dgst,int dgst_len, 215 int DSA_sign(int type,const unsigned char *dgst,int dlen, 217 int DSA_verify(int type,const unsigned char *dgst,int dgst_len,
|
dsa_ossl.c | 69 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); 71 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, 131 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) 174 if (BN_bin2bn(dgst,dlen,&m) == NULL) 307 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, 362 if (BN_bin2bn(dgst,dgst_len,&u1) == NULL) goto err;
|
/external/openssl/include/openssl/ |
ecdsa.h | 113 * \param dgst pointer to the hash value 118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey); 122 * \param dgst pointer to the hash value to sign 130 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dgstlen, 135 * \param dgst pointer to the hash value 142 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, 183 * \param dgst pointer to the hash value to sign 190 int ECDSA_sign(int type, const unsigned char *dgst, int dgstlen, 197 * \param dgst pointer to the hash value to sign 207 int ECDSA_sign_ex(int type, const unsigned char *dgst, int dgstlen, [all...] |
dsa.h | 132 DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa); 135 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, 197 DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); 198 int DSA_do_verify(const unsigned char *dgst,int dgst_len, 215 int DSA_sign(int type,const unsigned char *dgst,int dlen, 217 int DSA_verify(int type,const unsigned char *dgst,int dgst_len,
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1ImplTest.java | 82 byte[] dgst = md.digest(); 87 int j = ((dgst[i ]&0xff)<<24) | ((dgst[i+1]&0xff)<<16) | 88 ((dgst[i+2]&0xff)<<8 ) | (dgst[i+3]&0xff) ; 111 byte[] dgst = md.digest(); 116 int j = ((dgst[i ]&0xff)<<24) | ((dgst[i+1]&0xff)<<16) | 117 ((dgst[i+2]&0xff)<<8 ) | (dgst[i+3]&0xff) [all...] |
/external/openssl/crypto/ocsp/ |
ocsp_lib.c | 76 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer) 82 if(!dgst) dgst = EVP_sha1(); 95 return OCSP_cert_id_new(dgst, iname, ikey, serial); 99 OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst, 114 if ((nid = EVP_MD_type(dgst)) == NID_undef) 123 if (!X509_NAME_digest(issuerName, dgst, md, &i)) goto digerr; 127 if (!EVP_Digest(issuerKey->data, issuerKey->length, md, &i, dgst, NULL))
|
ocsp_vfy.c | 304 const EVP_MD *dgst; local 308 if (!(dgst = EVP_get_digestbyobj(cid->hashAlgorithm->algorithm))) 314 mdlen = EVP_MD_size(dgst); 321 if (!X509_NAME_digest(iname, dgst, md, NULL)) 325 X509_pubkey_digest(cert, dgst, md, NULL);
|
ocsp_cl.c | 146 const EVP_MD *dgst, 165 if (!OCSP_REQUEST_sign(req, key, dgst)) goto err;
|
ocsp_srv.c | 209 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, 259 if (!OCSP_BASICRESP_sign(brsp, key, dgst, 0)) goto err;
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
PinListEntry.java | 110 MessageDigest dgst = MessageDigest.getInstance("SHA512"); local 112 byte[] fingerprint = dgst.digest(encoded);
|
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
CertPinManagerTest.java | 49 MessageDigest dgst = MessageDigest.getInstance("SHA512"); local 51 byte[] fingerprint = dgst.digest(encoded);
|
/external/openssl/crypto/rsa/ |
rsa_oaep.c | 187 const unsigned char *seed, long seedlen, const EVP_MD *dgst) 197 mdlen = EVP_MD_size(dgst); 206 if (!EVP_DigestInit_ex(&c,dgst, NULL)
|
/external/openssl/crypto/pkcs7/ |
pk7_lib.c | 367 const EVP_MD *dgst) 391 X509_ALGOR_set0(p7i->digest_alg, OBJ_nid2obj(EVP_MD_type(dgst)), 414 const EVP_MD *dgst) 418 if (dgst == NULL) 423 dgst = EVP_get_digestbynid(def_nid); 424 if (dgst == NULL) 433 if (!PKCS7_SIGNER_INFO_set(si,x509,pkey,dgst)) goto err;
|
/external/openssl/ |
Apps-config.mk | 40 apps/dgst.c \
|
/frameworks/base/services/java/com/android/server/updates/ |
ConfigUpdateInstallReceiver.java | 194 MessageDigest dgst = MessageDigest.getInstance("SHA512"); local 195 byte[] fingerprint = dgst.digest(content);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
CertPinInstallReceiverTest.java | 128 MessageDigest dgst = MessageDigest.getInstance("SHA512"); local 130 byte[] fingerprint = dgst.digest(encoded);
|