HomeSort by relevance Sort by last modified time
    Searched defs:algorithm (Results 1 - 25 of 125) sorted by null

1 2 3 4 5

  /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...]
  /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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
AlgorithmIdentifier.java 20 private ASN1ObjectIdentifier algorithm; field in class:AlgorithmIdentifier
48 ASN1ObjectIdentifier algorithm)
50 this.algorithm = algorithm;
56 ASN1ObjectIdentifier algorithm,
59 this.algorithm = algorithm;
72 algorithm = ASN1ObjectIdentifier.getInstance(seq.getObjectAt(0));
87 return algorithm;
99 * 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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
X509PublicKey.java 25 * the appropriate KeyFactory for the key algorithm is not available.
30 private final String algorithm; field in class:X509PublicKey
35 X509PublicKey(String algorithm, byte[] encoded) {
36 this.algorithm = algorithm;
42 return algorithm;
57 return "X509PublicKey [algorithm=" + algorithm + ", encoded=" + Arrays.toString(encoded)
65 result = prime * result + ((algorithm == null) ? 0 : algorithm.hashCode())
    [all...]
  /external/grpc-grpc/test/core/compression/
compression_test.cc 41 grpc_compression_algorithm algorithm; local
43 grpc_slice_from_static_string(valid_name), &algorithm);
45 GPR_ASSERT(algorithm == valid_algorithms[i]);
50 grpc_compression_algorithm algorithm; local
53 grpc_slice_from_static_string(invalid_name), &algorithm);
55 /* the value of "algorithm" is undefined upon failure */
228 grpc_compression_algorithm algorithm; local
233 for (algorithm = GRPC_COMPRESS_NONE;
234 algorithm < GRPC_COMPRESS_ALGORITHMS_COUNT;
235 algorithm = static_cast<grpc_compression_algorithm>
    [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 55 crypto::SymmetricKey::Algorithm algorithm; member in struct:PBKDF2TestVector
71 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);
  /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) ||
evp_asn1.c 98 CBS spki, algorithm, key; local
102 !CBS_get_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) ||
108 if (!parse_key_type(&algorithm, &type)) {
132 if (!ret->ameth->pub_decode(ret, &algorithm, &key)) {
154 CBS pkcs8, algorithm, key; local
160 !CBS_get_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) ||
165 if (!parse_key_type(&algorithm, &type)) {
184 if (!ret->ameth->priv_decode(ret, &algorithm, &key)) {
p_dsa_asn1.c 109 CBB spki, algorithm, oid, key_bitstring; local
111 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) ||
112 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) ||
115 !DSA_marshal_parameters(&algorithm, dsa)) ||
177 CBB pkcs8, algorithm, oid, private_key; local
180 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) ||
181 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) ||
183 !DSA_marshal_parameters(&algorithm, dsa) ||
p_ed25519_asn1.c 76 CBB spki, algorithm, oid, key_bitstring; local
78 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) ||
79 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) ||
127 CBB pkcs8, algorithm, oid, private_key, inner; local
130 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) ||
131 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) ||
  /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;
  /external/conscrypt/common/src/main/java/org/conscrypt/ct/
CTLogInfo.java 120 String algorithm = sct.getSignature().getAlgorithm(); local
121 signature = Signature.getInstance(algorithm);
  /external/tensorflow/tensorflow/core/kernels/
bias_op_gpu.h 60 // algorithm: returns the method to use for bias add grad.
68 BiasAddGradGPUMode algorithm() const { return algorithm_; } function in class:tensorflow::BiasGradGPUProfileResult
  /external/u-boot/lib/libavb/
avb_vbmeta_image.c 21 const AvbAlgorithmData* algorithm; local
135 /* Ensure algorithm field is supported. */
136 algorithm = avb_get_algorithm_data(h.algorithm_type);
137 if (!algorithm) {
138 avb_error("Invalid or unknown algorithm.\n");
142 /* Bail if the embedded hash size doesn't match the chosen algorithm. */
143 if (h.hash_size != algorithm->hash_len) {
180 avb_error("Unknown algorithm.\n");
199 algorithm->padding,
200 algorithm->padding_len)
    [all...]
  /external/boringssl/src/crypto/digest_extra/
digest_extra.c 164 CBS algorithm, oid; local
165 if (!CBS_get_asn1(cbs, &algorithm, CBS_ASN1_SEQUENCE) ||
166 !CBS_get_asn1(&algorithm, &oid, CBS_ASN1_OBJECT)) {
181 if (CBS_len(&algorithm) > 0) {
183 if (!CBS_get_asn1(&algorithm, &param, CBS_ASN1_NULL) ||
185 CBS_len(&algorithm) != 0) {
195 CBB algorithm, oid, null; local
196 if (!CBB_add_asn1(cbb, &algorithm, CBS_ASN1_SEQUENCE) ||
197 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT)) {
220 if (!CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) |
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
KeyFactorySpi.java 39 String algorithm; field in class:KeyFactorySpi
43 String algorithm,
46 this.algorithm = algorithm;
184 return new BCECPrivateKey(algorithm, (ECPrivateKeySpec)keySpec, configuration);
188 return new BCECPrivateKey(algorithm, (java.security.spec.ECPrivateKeySpec)keySpec, configuration);
198 return new BCECPrivateKey(algorithm, new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, ecKey.getParameters()), ecKey), configuration);
219 return new BCECPublicKey(algorithm, (ECPublicKeySpec)keySpec, configuration);
223 return new BCECPublicKey(algorithm, (java.security.spec.ECPublicKeySpec)keySpec, configuration);
261 return new BCECPrivateKey(algorithm, keyInfo, configuration)
    [all...]

Completed in 3939 milliseconds

1 2 3 4 5