/external/caliper/examples/src/main/java/examples/ |
MessageDigestCreationBenchmark.java | 31 String algorithm; field in class:MessageDigestCreationBenchmark 36 MessageDigest.getInstance(algorithm);
|
/external/vboot_reference/host/lib/include/ |
host_key.h | 20 uint64_t algorithm; /* Algorithm to use when signing */ member in struct:VbPrivateKey 26 VbPrivateKey* PrivateKeyReadPem(const char* filename, uint64_t algorithm); 44 VbPublicKey* PublicKeyAlloc(uint64_t key_size, uint64_t algorithm, 61 VbPublicKey* PublicKeyReadKeyb(const char* filename, uint64_t algorithm,
|
/external/webrtc/webrtc/base/ |
sslfingerprint.h | 25 static SSLFingerprint* Create(const std::string& algorithm, 28 static SSLFingerprint* Create(const std::string& algorithm, 31 static SSLFingerprint* CreateFromRfc4572(const std::string& algorithm, 34 SSLFingerprint(const std::string& algorithm, 46 std::string algorithm; member in struct:rtc::SSLFingerprint
|
/external/vboot_reference/utility/ |
pad_digest_utility.c | 20 int algorithm = -1; local 31 algorithm = atoi(argv[1]); 32 if (algorithm < 0 || algorithm >= kNumAlgorithms) { 33 fprintf(stderr, "Invalid Algorithm!\n"); 43 padded_digest = PrependDigestInfo(algorithm, digest); 44 padded_digest_len = (hash_size_map[algorithm] + 45 digestinfo_size_map[algorithm]);
|
signature_digest_utility.c | 21 int algorithm = -1; local 32 algorithm = atoi(argv[1]); 33 if (algorithm < 0 || algorithm >= kNumAlgorithms) { 34 fprintf(stderr, "Invalid Algorithm!\n"); 44 signature_digest = SignatureDigest(buf, len, algorithm); 45 signature_digest_len = (hash_size_map[algorithm] + 46 digestinfo_size_map[algorithm]);
|
verify_data.c | 52 int i, algorithm, sig_len; local 59 fprintf(stderr, "Usage: %s <algorithm> <key file> <signature file>" 61 fprintf(stderr, "where <algorithm> depends on the signature algorithm" 68 algorithm = atoi(argv[1]); 69 if (algorithm >= kNumAlgorithms) { 70 fprintf(stderr, "Invalid Algorithm!\n"); 74 sig_len = siglen_map[algorithm]; 77 (digest = DigestFile(argv[4], algorithm))) { 78 if (RSAVerify(key, signature, sig_len, algorithm, digest)) [all...] |
/libcore/ojluni/src/main/java/sun/security/jca/ |
ServiceId.java | 29 * Simple class encapsulating a service type and algorithm for lookup. 38 public final String algorithm; field in class:ServiceId 40 public ServiceId(String type, String algorithm) { 42 this.algorithm = algorithm;
|
/external/syslinux/gpxe/src/crypto/ |
x509.c | 44 * @v algorithm Public key algorithm to fill in 49 struct asn1_cursor *algorithm, 71 /* Locate algorithm */ 72 memcpy ( algorithm, &cursor, sizeof ( *algorithm ) ); 73 rc = ( asn1_enter ( algorithm, ASN1_SEQUENCE ) /* algorithm */ ); 75 DBG ( "Cannot locate algorithm in:\n" ); 82 rc = ( asn1_skip ( pubkey, ASN1_SEQUENCE ), /* algorithm */ 106 struct asn1_cursor algorithm; local [all...] |
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
AlgorithmIdentifier.java | 31 public String algorithm; field in class:AlgorithmIdentifier 39 this.algorithm = algorithmOid;
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
Util.java | 61 MessageDigest algorithm = MessageDigest.getInstance("MD5"); local 62 algorithm.reset(); 63 algorithm.update(bytes); 64 return toHexString(algorithm.digest(), "");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
AlgorithmIdentifier.java | 15 private ASN1ObjectIdentifier algorithm; field in class:AlgorithmIdentifier 41 ASN1ObjectIdentifier algorithm) 43 this.algorithm = algorithm; 47 ASN1ObjectIdentifier algorithm, 50 this.algorithm = algorithm; 63 algorithm = ASN1ObjectIdentifier.getInstance(seq.getObjectAt(0)); 77 return algorithm; 89 * algorithm OBJECT IDENTIFIER [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
X509PublicKey.java | 24 * the appropriate KeyFactory for the key algorithm is not available. 29 private final String algorithm; field in class:X509PublicKey 33 X509PublicKey(String algorithm, byte[] encoded) { 34 this.algorithm = algorithm; 40 return algorithm; 55 return "X509PublicKey [algorithm=" + algorithm + ", encoded=" + Arrays.toString(encoded) 63 result = prime * result + ((algorithm == null) ? 0 : algorithm.hashCode()) [all...] |
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
MessageDigestCreationBenchmark.java | 33 private String algorithm; field in class:MessageDigestCreationBenchmark 38 md = MessageDigest.getInstance(algorithm); 44 retValue ^= MessageDigest.getInstance(algorithm).getDigestLength();
|
/external/libchrome/crypto/ |
symmetric_key_unittest.cc | 69 crypto::SymmetricKey::Algorithm algorithm; member in struct:PBKDF2TestVector 85 test_data.algorithm, test_data.password, test_data.salt,
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
rsa.h | 30 unsigned int algorithm; /* Algorithm to use when verifying with the key */ member in struct:RSAPublicKey 43 * signature [sig] using signature algorithm [algorithm]. The public key used 60 unsigned int algorithm); 68 unsigned int algorithm); 74 * [out_size] with the algorithm [algorithm]. 78 uint64_t RSAProcessedKeySize(uint64_t algorithm, uint64_t* out_size);
|
/libcore/ojluni/src/main/java/java/security/ |
AlgorithmParameterGenerator.java | 33 * parameters to be used with a certain algorithm. Parameter generators 38 * in two different ways: in an algorithm-independent manner, or in an 39 * algorithm-specific manner: 42 * <li>The algorithm-independent approach uses the fact that all parameter 45 * by all algorithm parameters, though it is interpreted differently 47 * the <i>DSA</i> algorithm, "size" corresponds to the size 49 * When using this approach, algorithm-specific parameter generation 54 * using algorithm-specific semantics, which are represented by a set of 55 * algorithm-specific parameter generation values. To generate 73 * <th>Algorithm</th 124 private String algorithm; field in class:AlgorithmParameterGenerator [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
CertPathBuilder.java | 46 * algorithm name of the {@code CertPathBuilder} desired and optionally 51 * passing it an algorithm-specific set of parameters. If successful, the 57 * additional algorithm-specific parameters and options used by the 59 * Here is an example demonstrating how it is used with the PKIX algorithm: 73 * <th>Algorithm</th> 85 * This algorithm is described in the <a href= 88 * Java Cryptography Architecture Standard Algorithm Name Documentation. 125 private final String algorithm; field in class:CertPathBuilder 128 * Creates a {@code CertPathBuilder} object of the given algorithm, 133 * @param algorithm the algorithm nam [all...] |
CertPathValidator.java | 47 * algorithm name of the {@code CertPathValidator} desired and 53 * and an algorithm-specific set of parameters. If successful, the result is 58 * additional algorithm-specific parameters and options used by the 61 * algorithm: 75 * <th>Algorithm</th> 87 * This algorithm is described in the <a href= 90 * Java Cryptography Architecture Standard Algorithm Name Documentation. 124 private final String algorithm; field in class:CertPathValidator 127 * Creates a {@code CertPathValidator} object of the given algorithm, 132 * @param algorithm the algorithm nam [all...] |
/libcore/ojluni/src/main/java/javax/crypto/spec/ |
SecretKeySpec.java | 62 * The name of the algorithm associated with this key. 66 private String algorithm; field in class:SecretKeySpec 72 * secret key of the specified algorithm. For example, if the algorithm is 75 * In order for those checks to be performed, an algorithm-specific 82 * @param algorithm the name of the secret-key algorithm to be associated 87 * for information about standard algorithm names. 88 * @exception IllegalArgumentException if <code>algorithm</code> 91 public SecretKeySpec(byte[] key, String algorithm) { [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
TrustManagerFactory.java | 43 * <th>Algorithm</th> 65 // The name of the trust management algorithm. 66 private String algorithm; field in class:TrustManagerFactory 69 * Obtains the default TrustManagerFactory algorithm name. 72 * the value of the {@code ssl.TrustManagerFactory.algorithm} 73 * security property to the desired algorithm name. 76 * @return the default algorithm name as specified by the 77 * {@code ssl.TrustManagerFactory.algorithm} security property, or an 86 "ssl.TrustManagerFactory.algorithm"); 100 * @param algorithm the algorith [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
PrivateKeyStub.java | 35 String algorithm = null; field in class:PrivateKeyStub 43 * @param algorithm 47 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { 48 this.algorithm = algorithm; 54 * Returns algorithm 58 return algorithm;
|
PublicKeyStub.java | 38 String algorithm = null; field in class:PublicKeyStub 45 public PublicKeyStub(String algorithm, String format, byte[] encoded) { 46 this.algorithm = algorithm; 52 * returns algorithm 55 return algorithm;
|
/external/avb/libavb/ |
avb_vbmeta_image.c | 40 const AvbAlgorithmData* algorithm; local 154 /* Ensure algorithm field is supported. */ 155 algorithm = avb_get_algorithm_data(h.algorithm_type); 156 if (!algorithm) { 157 avb_error("Invalid or unknown algorithm.\n"); 161 /* Bail if the embedded hash size doesn't match the chosen algorithm. */ 162 if (h.hash_size != algorithm->hash_len) { 199 avb_error("Unknown algorithm.\n"); 218 algorithm->padding, 219 algorithm->padding_len) [all...] |
/external/boringssl/src/crypto/evp/ |
p_rsa_asn1.c | 71 CBB spki, algorithm, oid, null, key_bitstring; local 73 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || 74 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 76 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || 117 CBB pkcs8, algorithm, oid, null, private_key; local 120 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || 121 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 123 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) ||
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
Transformation.java | 36 Transformation(String algorithm, String mode, String padding, KeyGen keyGen) { 37 this.algorithm = algorithm; 43 final String algorithm; field in class:Transformation 49 return algorithm + "/" + mode + "/" + padding;
|