/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ |
EC.java | 49 // provider.addAlgorithm("KeyFactory.ECDSA", PREFIX + "KeyFactorySpi$ECDSA"); 57 // provider.addAlgorithm("KeyPairGenerator.ECDSA", PREFIX + "KeyPairGeneratorSpi$ECDSA"); 70 provider.addAlgorithm("Signature.ECDSA", PREFIX + "SignatureSpi$ecDSA"); 73 provider.addAlgorithm("Alg.Alias.Signature.SHA1withECDSA", "ECDSA"); 74 provider.addAlgorithm("Alg.Alias.Signature.ECDSAwithSHA1", "ECDSA"); 75 provider.addAlgorithm("Alg.Alias.Signature.SHA1WITHECDSA", "ECDSA"); 76 provider.addAlgorithm("Alg.Alias.Signature.ECDSAWITHSHA1", "ECDSA"); [all...] |
/external/openssl/crypto/ecdsa/ |
ecs_lib.c | 1 /* crypto/ecdsa/ecs_lib.c */ 67 const char ECDSA_version[]="ECDSA" OPENSSL_VERSION_PTEXT; 98 ECDSA_DATA *ecdsa; local 100 ecdsa = ecdsa_check(eckey); 102 if (ecdsa == NULL) 106 if (ecdsa->engine) 108 ENGINE_finish(ecdsa->engine); 109 ecdsa->engine = NULL; 112 ecdsa->meth = meth; 271 ECDSA_DATA *ecdsa; local 280 ECDSA_DATA *ecdsa; local [all...] |
ecdsa.h | 1 /* crypto/ecdsa/ecdsa.h */ 3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions 65 #error ECDSA is disabled. 102 /** Decodes a DER encoded ECDSA signature (note: this function changes *pp 111 /** Computes the ECDSA signature of the given hash value using 120 /** Computes ECDSA signature of a given hash value using the supplied 133 /** Verifies that the supplied signature is a valid ECDSA [all...] |
ecs_sign.c | 1 /* crypto/ecdsa/ecdsa_sign.c */ 70 ECDSA_DATA *ecdsa = ecdsa_check(eckey); local 71 if (ecdsa == NULL) 73 return ecdsa->meth->ecdsa_do_sign(dgst, dlen, kinv, rp, eckey); 102 ECDSA_DATA *ecdsa = ecdsa_check(eckey); local 103 if (ecdsa == NULL) 105 return ecdsa->meth->ecdsa_sign_setup(eckey, ctx_in, kinvp, rp);
|
ecs_locl.h | 1 /* crypto/ecdsa/ecs_locl.h */ 62 #include <openssl/ecdsa.h> 85 /* If this flag is set the ECDSA method is FIPS compliant and can be used 96 /* method (ECDSA) specific part */
|
ecs_vrf.c | 1 /* crypto/ecdsa/ecdsa_vrf.c */ 72 ECDSA_DATA *ecdsa = ecdsa_check(eckey); local 73 if (ecdsa == NULL) 75 return ecdsa->meth->ecdsa_do_verify(dgst, dgst_len, sig, eckey);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
DefaultCMSSignatureAlgorithmNameGenerator.java | 58 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1", "ECDSA"); 60 // addEntries(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224", "ECDSA"); 62 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256", "ECDSA"); 63 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384", "ECDSA"); 64 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA512, "SHA512", "ECDSA"); 66 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_1, "SHA1", "ECDSA"); 68 // addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_224, "SHA224", "ECDSA"); 70 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_256, "SHA256", "ECDSA"); 71 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_384, "SHA384", "ECDSA"); 72 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_512, "SHA512", "ECDSA"); [all...] |
CMSSignedHelper.java | 83 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1", "ECDSA"); 85 // addEntries(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224", "ECDSA"); 87 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256", "ECDSA"); 88 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384", "ECDSA"); 89 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA512, "SHA512", "ECDSA"); 91 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_1, "SHA1", "ECDSA"); 93 // addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_224, "SHA224", "ECDSA"); 95 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_256, "SHA256", "ECDSA"); 96 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_384, "SHA384", "ECDSA"); 97 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_512, "SHA512", "ECDSA"); [all...] |
/external/openssl/include/openssl/ |
ecdsa.h | 1 /* crypto/ecdsa/ecdsa.h */ 3 * \file crypto/ecdsa/ecdsa.h Include file for the OpenSSL ECDSA functions 65 #error ECDSA is disabled. 102 /** Decodes a DER encoded ECDSA signature (note: this function changes *pp 111 /** Computes the ECDSA signature of the given hash value using 120 /** Computes ECDSA signature of a given hash value using the supplied 133 /** Verifies that the supplied signature is a valid ECDSA [all...] |
tls1.h | 556 #define TLS1_TXT_ECDH_ECDSA_WITH_NULL_SHA "ECDH-ECDSA-NULL-SHA" 557 #define TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA "ECDH-ECDSA-RC4-SHA" 558 #define TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA "ECDH-ECDSA-DES-CBC3-SHA" 559 #define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA "ECDH-ECDSA-AES128-SHA" 560 #define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA "ECDH-ECDSA-AES256-SHA" 562 #define TLS1_TXT_ECDHE_ECDSA_WITH_NULL_SHA "ECDHE-ECDSA-NULL-SHA" 563 #define TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA "ECDHE-ECDSA-RC4-SHA" 564 #define TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA "ECDHE-ECDSA-DES-CBC3-SHA" 565 #define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA "ECDHE-ECDSA-AES128-SHA" 566 #define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA "ECDHE-ECDSA-AES256-SHA [all...] |
/external/openssh/ |
myproposal.h | 35 "ecdsa-sha2-nistp256-cert-v01@openssh.com," \ 36 "ecdsa-sha2-nistp384-cert-v01@openssh.com," \ 37 "ecdsa-sha2-nistp521-cert-v01@openssh.com," 39 "ecdsa-sha2-nistp256," \ 40 "ecdsa-sha2-nistp384," \ 41 "ecdsa-sha2-nistp521,"
|
ssh-ecdsa.c | 1 /* $OpenBSD: ssh-ecdsa.c,v 1.4 2010/09/10 01:04:10 djm Exp $ */ 35 #include <openssl/ecdsa.h> 57 if (key == NULL || key->ecdsa == NULL || 59 error("%s: no ECDSA key", __func__); 67 sig = ECDSA_do_sign(digest, dlen, key->ecdsa); 108 if (key == NULL || key->ecdsa == NULL || 110 error("%s: no ECDSA key", __func__); 158 ret = ECDSA_do_verify(digest, dlen, sig, key->ecdsa);
|
PROTOCOL.certkeys | 32 ecdsa-sha2-nistp256-cert-v01@openssh.com 33 ecdsa-sha2-nistp384-cert-v01@openssh.com 34 ecdsa-sha2-nistp521-cert-v01@openssh.com 101 ECDSA certificate 103 string "ecdsa-sha2-nistp256@openssh.com" | 104 "ecdsa-sha2-nistp384@openssh.com" | 105 "ecdsa-sha2-nistp521@openssh.com" 129 curve and public key are respectively the ECDSA "[identifier]" and "Q" 169 The valid key types for CA keys are ssh-rsa, ssh-dss and the ECDSA types 170 ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521. "Chained [all...] |
key.c | 81 k->ecdsa = NULL; 222 if (k->ecdsa != NULL) 223 EC_KEY_free(k->ecdsa); 224 k->ecdsa = NULL; 291 if (a->ecdsa == NULL || b->ecdsa == NULL || 292 EC_KEY_get0_public_key(a->ecdsa) == NULL || 293 EC_KEY_get0_public_key(b->ecdsa) == NULL) 297 if (EC_GROUP_cmp(EC_KEY_get0_group(a->ecdsa), 298 EC_KEY_get0_group(b->ecdsa), bnctx) != 0 | [all...] |
ssh-keyscan.0 | 51 ``dsa'', ``ecdsa'' or ``rsa'' for protocol version 2. Multiple 75 Output format for rsa, dsa and ecdsa keys: 79 Where keytype is either ``ecdsa-sha2-nistp256'', ``ecdsa-sha2-nistp384'', 80 ``ecdsa-sha2-nistp521'', ``ssh-dss'' or ``ssh-rsa''. 92 $ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \
|
ssh-keyscan.1 | 92 .Dq ecdsa 126 .Pa Output format for rsa, dsa and ecdsa keys: 134 .Dq ecdsa-sha2-nistp256 , 135 .Dq ecdsa-sha2-nistp384 , 136 .Dq ecdsa-sha2-nistp521 , 156 $ ssh-keyscan -t rsa,dsa,ecdsa -f ssh_hosts | \e
|
key.h | 83 EC_KEY *ecdsa; member in struct:Key 85 void *ecdsa; member in struct:Key
|
ssh-agent.c | 524 k->ecdsa = EC_KEY_new_by_curve_name(k->ecdsa_nid); 525 if (k->ecdsa == NULL) 528 q = EC_POINT_new(EC_KEY_get0_group(k->ecdsa)); 534 EC_KEY_get0_group(k->ecdsa), q); 536 if (EC_KEY_set_public_key(k->ecdsa, q) != 1) 539 if (EC_KEY_set_private_key(k->ecdsa, exponent) != 1) 542 if (key_ec_validate_public(EC_KEY_get0_group(k->ecdsa), 543 EC_KEY_get0_public_key(k->ecdsa)) != 0) 544 fatal("%s: bad ECDSA public key", __func__); 545 if (key_ec_validate_private(k->ecdsa) != 0 [all...] |
/external/openssh/regress/ |
cert-hostkey.sh | 7 ecdsa="" 9 ecdsa=ecdsa 27 for ktype in rsa dsa $ecdsa ; do 37 # v00 ecdsa certs do not exist 38 test "${ktype}" = "ecdsa" && continue 49 for ktype in rsa dsa $ecdsa rsa_v00 dsa_v00; do 91 for ktype in rsa dsa $ecdsa rsa_v00 dsa_v00; do 118 for ktype in rsa dsa $ecdsa rsa_v00 dsa_v00 ; do 189 for ktype in rsa dsa $ecdsa ; do [all...] |
keytype.sh | 16 ktypes="$ktypes ecdsa-256 ecdsa-384 ecdsa-521"
|
cert-userkey.sh | 7 ecdsa="" 9 ecdsa=ecdsa 20 for ktype in rsa dsa $ecdsa ; do 29 # v00 ecdsa certs do not exist 30 test "${ktype}" = "ecdsa" && continue 40 for ktype in rsa dsa $ecdsa rsa_v00 dsa_v00 ; do 166 for ktype in rsa dsa $ecdsa rsa_v00 dsa_v00 ; do 318 for ktype in rsa dsa $ecdsa rsa_v00 dsa_v00 ; do
|
/external/openssl/crypto/err/ |
openssl.ec | 31 L ECDSA crypto/ecdsa/ecdsa.h crypto/ecdsa/ecs_err.c
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLProvider.java | 138 put("Signature.ECDSA", OpenSSLSignature.SHA1ECDSA.class.getName()); 139 put("Alg.Alias.Signature.SHA1withECDSA", "ECDSA"); 140 put("Alg.Alias.Signature.ECDSAwithSHA1", "ECDSA"); 141 // iso(1) member-body(2) us(840) ansi-x962(10045) signatures(4) ecdsa-with-SHA1(1) 142 put("Alg.Alias.Signature.1.2.840.10045.4.1", "ECDSA"); 143 put("Alg.Alias.Signature.1.3.14.3.2.26with1.2.840.10045.2.1", "ECDSA"); 145 // iso(1) member-body(2) us(840) ansi-x962(10045) signatures(4) ecdsa-with-SHA2(3) 147 // ecdsa-with-SHA256(2) 152 // ecdsa-with-SHA384(3) 157 // ecdsa-with-SHA512(4 [all...] |
/external/bouncycastle/patches/ |
bcpkix.patch | 89 throw new IllegalArgumentException("can't mix ECDSA with anything but SHA family digests"); 162 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA1, "SHA1", "ECDSA"); 163 - addEntries(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224", "ECDSA"); 165 + // addEntries(X9ObjectIdentifiers.ecdsa_with_SHA224, "SHA224", "ECDSA"); 167 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA256, "SHA256", "ECDSA"); 168 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA384, "SHA384", "ECDSA"); 169 addEntries(X9ObjectIdentifiers.ecdsa_with_SHA512, "SHA512", "ECDSA"); 171 addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_1, "SHA1", "ECDSA"); 172 - addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_224, "SHA224", "ECDSA"); 174 + // addEntries(EACObjectIdentifiers.id_TA_ECDSA_SHA_224, "SHA224", "ECDSA"); [all...] |
/external/openssl/ssl/ |
tls1.h | 556 #define TLS1_TXT_ECDH_ECDSA_WITH_NULL_SHA "ECDH-ECDSA-NULL-SHA" 557 #define TLS1_TXT_ECDH_ECDSA_WITH_RC4_128_SHA "ECDH-ECDSA-RC4-SHA" 558 #define TLS1_TXT_ECDH_ECDSA_WITH_DES_192_CBC3_SHA "ECDH-ECDSA-DES-CBC3-SHA" 559 #define TLS1_TXT_ECDH_ECDSA_WITH_AES_128_CBC_SHA "ECDH-ECDSA-AES128-SHA" 560 #define TLS1_TXT_ECDH_ECDSA_WITH_AES_256_CBC_SHA "ECDH-ECDSA-AES256-SHA" 562 #define TLS1_TXT_ECDHE_ECDSA_WITH_NULL_SHA "ECDHE-ECDSA-NULL-SHA" 563 #define TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA "ECDHE-ECDSA-RC4-SHA" 564 #define TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA "ECDHE-ECDSA-DES-CBC3-SHA" 565 #define TLS1_TXT_ECDHE_ECDSA_WITH_AES_128_CBC_SHA "ECDHE-ECDSA-AES128-SHA" 566 #define TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA "ECDHE-ECDSA-AES256-SHA [all...] |