/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | SaProposal.java | 503 protected static boolean isAead(@EncryptionAlgorithm int algorithm) { in isAead() argument 504 switch (algorithm) { in isAead() 536 @EncryptionAlgorithm int algorithm, int keyLength, boolean isChild) { in validateAndAddEncryptAlgo() 539 EncryptionTransform encryptionTransform = new EncryptionTransform(algorithm, keyLength); in validateAndAddEncryptAlgo() 544 && !ChildSaProposal.getSupportedEncryptionAlgorithms().contains(algorithm)) { in validateAndAddEncryptAlgo() 545 throw new IllegalArgumentException("Unsupported encryption algorithm " + algorithm); in validateAndAddEncryptAlgo() 549 boolean isCurrentAead = isAead(algorithm); in validateAndAddEncryptAlgo() 562 @IntegrityAlgorithm int algorithm, boolean isChild) { in validateAndAddIntegrityAlgo() 566 && !ChildSaProposal.getSupportedIntegrityAlgorithms().contains(algorithm)) { in validateAndAddIntegrityAlgo() 567 throw new IllegalArgumentException("Unsupported integrity algorithm " + algorithm); in validateAndAddIntegrityAlgo() [all …]
|
D | IkeSaProposal.java | 249 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument 250 validateAndAddEncryptAlgo(algorithm, keyLength, false /* isChild */); in addEncryptionAlgorithm() 264 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm() argument 265 validateAndAddIntegrityAlgo(algorithm, false /* isChild */); in addIntegrityAlgorithm() 291 public Builder addPseudorandomFunction(@PseudorandomFunction int algorithm) { in addPseudorandomFunction() argument 293 mProposedPrfs.add(new PrfTransform(algorithm)); in addPseudorandomFunction()
|
D | ChildSaProposal.java | 305 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument 306 validateAndAddEncryptAlgo(algorithm, keyLength, true /* isChild */); in addEncryptionAlgorithm() 320 public Builder addIntegrityAlgorithm(@IntegrityAlgorithm int algorithm) { in addIntegrityAlgorithm() argument 321 validateAndAddIntegrityAlgo(algorithm, true /* isChild */); in addIntegrityAlgorithm()
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | hashtree.rs | 36 algorithm: MessageDigest, in from() 38 let salt = zero_pad_salt(salt, algorithm); in from() 39 let tree = generate_hash_tree(input, input_size, &salt, block_size, algorithm)?; in from() 46 hash_one_block(&data, &salt, block_size, algorithm)?.as_ref().to_vec() in from() 49 hash_one_block(first_block, &salt, block_size, algorithm)?.as_ref().to_vec() in from() 70 algorithm: MessageDigest, in generate_hash_tree() 72 let digest_size = algorithm.size(); in generate_hash_tree() 90 let h = hash_one_block(&a_block, salt, block_size, algorithm)?; in generate_hash_tree() 104 let h = hash_one_block(data, salt, block_size, algorithm)?; in generate_hash_tree() 118 algorithm: MessageDigest, in hash_one_block() [all …]
|
D | v4.rs | 155 algorithm: HashAlgorithm, in create() 163 let algorithm = match algorithm { in create() localVariable 166 let hash_tree = HashTree::from(&mut apk, size, salt, block_size, algorithm)?; in create()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | Util.java | 59 MessageDigest algorithm = MessageDigest.getInstance("MD5"); in toMd5() local 60 algorithm.reset(); in toMd5() 61 algorithm.update(bytes); in toMd5() 62 return toHexString(algorithm.digest(), ""); in toMd5()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | ParcelUtil.java | 77 String algorithm = in.readString(); in readPrivateKey() local 78 if (algorithm == null) { in readPrivateKey() 84 KeyFactory keyFactory = KeyFactory.getInstance(algorithm); in readPrivateKey()
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecAlgorithm.java | 259 public IpSecAlgorithm(@NonNull @AlgorithmName String algorithm, @NonNull byte[] key) { in IpSecAlgorithm() argument 260 this(algorithm, key, 0); in IpSecAlgorithm() 276 @NonNull @AlgorithmName String algorithm, @NonNull byte[] key, int truncLenBits) { in IpSecAlgorithm() 277 mName = algorithm; in IpSecAlgorithm()
|
/packages/modules/StatsD/lib/libkll/proto/ |
D | aggregator.proto | 36 // Computes approximate quantiles using the KLL algorithm. 55 // The type (= algorithm + implementation) of the aggregator. 72 // which holds the algorithm-specific state for the aggregator.
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | FakeKeys.java | 665 private static PrivateKey loadPrivateKey(String algorithm, byte[] fakeKey) { in loadPrivateKey() argument 667 KeyFactory kf = KeyFactory.getInstance(algorithm); in loadPrivateKey()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | FakeKeys.java | 932 private static PrivateKey loadPrivateKey(String algorithm, byte[] fakeKey) { in loadPrivateKey() argument 934 KeyFactory kf = KeyFactory.getInstance(algorithm); in loadPrivateKey()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | ContactMatcher.java | 192 int nameType, String name, int algorithm) { in matchName() argument 203 if (algorithm == MATCHING_ALGORITHM_EXACT) { in matchName() 223 NameDistance nameDistance = algorithm == MATCHING_ALGORITHM_CONSERVATIVE ? in matchName()
|
D | RawContactMatcher.java | 190 candidateNameType, String candidateName, int nameType, String name, int algorithm) { in matchName() argument 201 if (algorithm == MATCHING_ALGORITHM_EXACT) { in matchName() 221 NameDistance nameDistance = algorithm == MATCHING_ALGORITHM_CONSERVATIVE ? in matchName()
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | KeyChainServiceTestSupport.java | 73 @Override public int generateKeyPair(String algorithm, ParcelableKeyGenParameterSpec spec) 76 return keyChainService.generateKeyPair(algorithm, spec);
|
D | IKeyChainServiceTestSupport.aidl | 39 int generateKeyPair(in String algorithm, in ParcelableKeyGenParameterSpec spec); in generateKeyPair() argument
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/util/encryption/ |
D | Cryptor.java | 216 public static byte[] generateHmac(String algorithm, byte[] input, byte[] key) { in generateHmac() argument 217 return Hashing.hmacSha256(new SecretKeySpec(key, algorithm)) in generateHmac()
|
/packages/modules/Virtualization/apex/ |
D | sign_virt_apex.py | 301 algorithm = info['Algorithm'] 306 '--algorithm', algorithm, 328 algorithm = info['Algorithm'] 335 '--algorithm', algorithm, 434 algorithm = info['Algorithm'] 440 '--algorithm', algorithm,
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkShellCommand.java | 219 String algorithm = "RSA"; in handleDeviceAttestationKeyPair() local 220 Log.i(TAG, "calling dpm.generateKeyPair(alg=" + algorithm + ", spec=" + keySpec in handleDeviceAttestationKeyPair() 222 AttestedKeyPair kp = mDpm.generateKeyPair(/* admin= */ null, algorithm, keySpec, flags); in handleDeviceAttestationKeyPair()
|
/packages/apps/Car/DebuggingRestrictionController/server/functions/ |
D | index.js | 23 algorithm: 'RS256', property
|
/packages/apps/Car/DebuggingRestrictionController/libs/ |
D | okio-1.15.0.jar | META-INF/
META-INF/MANIFEST.MF
okio/
okio/AsyncTimeout$Watchdog. ... |
/packages/modules/Virtualization/libs/vbmeta/src/ |
D | lib.rs | 228 fn signed_image_has_valid_vbmeta(algorithm: &str, key: &str) -> Result<()> { in signed_image_has_valid_vbmeta() 237 algorithm, in signed_image_has_valid_vbmeta()
|
/packages/modules/Virtualization/service_vm/client_vm_csr/src/ |
D | lib.rs | 115 let protected = HeaderBuilder::new().algorithm(alg).build(); in build_signature_headers() 146 .algorithm(ATTESTATION_KEY_ALGO) in to_cose_public_key()
|
/packages/modules/Virtualization/service_vm/requests/src/ |
D | pub_key.rs | 47 let protected = HeaderBuilder::new().algorithm(ALGO).build(); in build_maced_public_key()
|
/packages/services/Iwlan/flags/ |
D | main.aconfig | 13 description: "Add AES_GCM algorithm support in IWLAN."
|
/packages/modules/Bluetooth/system/build/dpkg/libchrome/debian/patches/ |
D | 0001-Add-missing-includes.patch | 20 #include <algorithm>
|