/system/core/fastboot/ |
signfile.sh | 9 openssl dgst -passin pass:"$3" -binary -sha1 -sign $1.pem $2 > $2.sign
|
/external/openssl/crypto/dsa/ |
dsa_vrf.c | 64 int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, 67 return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa); 76 int DSA_verify(int type, const unsigned char *dgst, int dgst_len, 85 ret=DSA_do_verify(dgst,dgst_len,s,dsa);
|
dsa_sign.c | 65 DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) 67 return dsa->meth->dsa_do_sign(dgst, dlen, dsa); 70 int DSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, 74 RAND_seed(dgst, dlen); 75 s=DSA_do_sign(dgst,dlen,dsa);
|
dsa.h | 117 DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa); 120 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, 182 DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); 183 int DSA_do_verify(const unsigned char *dgst,int dgst_len, 200 int DSA_sign(int type,const unsigned char *dgst,int dlen, 202 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) 172 if (BN_bin2bn(dgst,dlen,&m) == NULL) 293 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, 348 if (BN_bin2bn(dgst,dgst_len,&u1) == NULL) goto err;
|
/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, 220 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len, 268 if (!BN_bin2bn(dgst, dgst_len, m)) 351 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len, 414 if (!BN_bin2bn(dgst, dgst_len, m))
|
/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 | 117 DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa); 120 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, 182 DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); 183 int DSA_do_verify(const unsigned char *dgst,int dgst_len, 200 int DSA_sign(int type,const unsigned char *dgst,int dlen, 202 int DSA_verify(int type,const unsigned char *dgst,int dgst_len,
|
ocsp.h | 413 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer); 415 OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst, 433 const EVP_MD *dgst, 478 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst,
|
/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 EVP_Digest(issuerKey->data, issuerKey->length, md, &i, dgst, NULL);
|
ocsp_vfy.c | 300 const EVP_MD *dgst; local 304 if (!(dgst = EVP_get_digestbyobj(cid->hashAlgorithm->algorithm))) 310 mdlen = EVP_MD_size(dgst); 317 if (!X509_NAME_digest(iname, dgst, md, NULL)) 321 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;
|
ocsp.h | 413 OCSP_CERTID *OCSP_cert_to_id(const EVP_MD *dgst, X509 *subject, X509 *issuer); 415 OCSP_CERTID *OCSP_cert_id_new(const EVP_MD *dgst, 433 const EVP_MD *dgst, 478 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst,
|
/external/openssl/apps/ |
Android.mk | 13 dgst.c \
|
ca.c | 200 const EVP_MD *dgst,STACK_OF(CONF_VALUE) *policy,CA_DB *db, 206 const EVP_MD *dgst,STACK_OF(CONF_VALUE) *policy, 213 const EVP_MD *dgst,STACK_OF(CONF_VALUE) *policy, 219 static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509, const EVP_MD *dgst, 311 const EVP_MD *dgst=NULL; local 1042 if ((dgst=EVP_get_digestbyname(md)) == NULL) 1058 OBJ_nid2ln(dgst->type)); 1173 j=certify_spkac(&x,spkac_file,pkey,x509,dgst,attribs,db, 1197 j=certify_cert(&x,ss_cert_file,pkey,x509,dgst,attribs, 1217 j=certify(&x,infile,pkey,x509p,dgst,attribs,db [all...] |
enc.c | 131 const EVP_MD *dgst=NULL; local 331 if (md && (dgst=EVP_get_digestbyname(md)) == NULL) 337 if (dgst == NULL) 339 dgst = EVP_md5(); 552 EVP_BytesToKey(cipher,dgst,sptr,
|
/external/openssl/patches/ |
apps_Android.mk | 13 dgst.c \
|
/external/openssl/crypto/rsa/ |
rsa_oaep.c | 185 const unsigned char *seed, long seedlen, const EVP_MD *dgst) 195 mdlen = EVP_MD_size(dgst); 204 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;
|