Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vcn/util/
DMtuUtils.java122 final int algo = encryptionAlgoPair.first; in getMtu() local
124 if (AUTHCRYPT_ALGORITHM_OVERHEAD.containsKey(algo)) { in getMtu()
126 max(maxAuthCryptOverhead, AUTHCRYPT_ALGORITHM_OVERHEAD.get(algo)); in getMtu()
128 } else if (CRYPT_ALGORITHM_OVERHEAD.containsKey(algo)) { in getMtu()
129 maxCryptOverhead = max(maxCryptOverhead, CRYPT_ALGORITHM_OVERHEAD.get(algo)); in getMtu()
133 Slog.wtf(TAG, "Unknown encryption algorithm requested: " + algo); in getMtu()
137 for (int algo : proposal.getIntegrityAlgorithms()) { in getMtu()
138 if (AUTH_ALGORITHM_OVERHEAD.containsKey(algo)) { in getMtu()
139 maxAuthOverhead = max(maxAuthOverhead, AUTH_ALGORITHM_OVERHEAD.get(algo)); in getMtu()
143 Slog.wtf(TAG, "Unknown integrity algorithm requested: " + algo); in getMtu()
/frameworks/base/core/java/android/net/
DIpSecTransform.java256 public IpSecTransform.Builder setEncryption(@NonNull IpSecAlgorithm algo) { in setEncryption() argument
258 Preconditions.checkNotNull(algo); in setEncryption()
259 mConfig.setEncryption(algo); in setEncryption()
271 public IpSecTransform.Builder setAuthentication(@NonNull IpSecAlgorithm algo) { in setAuthentication() argument
273 Preconditions.checkNotNull(algo); in setAuthentication()
274 mConfig.setAuthentication(algo); in setAuthentication()
292 public IpSecTransform.Builder setAuthenticatedEncryption(@NonNull IpSecAlgorithm algo) { in setAuthenticatedEncryption() argument
293 Preconditions.checkNotNull(algo); in setAuthenticatedEncryption()
294 mConfig.setAuthenticatedEncryption(algo); in setAuthenticatedEncryption()
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DChildSaProposalUtils.java61 for (int algo : integrityAlgoIdArray) { in fromPersistableBundle()
62 builder.addIntegrityAlgorithm(algo); in fromPersistableBundle()
DIkeSaProposalUtils.java69 for (int algo : integrityAlgoIdArray) { in fromPersistableBundle()
70 builder.addIntegrityAlgorithm(algo); in fromPersistableBundle()
/frameworks/base/core/java/com/android/internal/net/
DVpnProfile.java301 for (String algo : Arrays.asList(values[19].split(LIST_DELIMITER))) { in decode()
302 profile.mAllowedAlgorithms.add(URLDecoder.decode(algo, DEFAULT_ENCODING)); in decode()
358 for (String algo : mAllowedAlgorithms) { in encode()
359 encodedAlgoNames.add(URLEncoder.encode(algo, DEFAULT_ENCODING)); in encode()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobHandle.java297 final String algo = XmlUtils.readStringAttribute(in, ATTR_ALGO); in createFromXml() local
303 return BlobHandle.create(algo, digest, label, expiryTimeMs, tag); in createFromXml()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java338 public static byte[] getCertHash(Signature signature, String algo) { in getCertHash() argument
340 MessageDigest md = MessageDigest.getInstance(algo); in getCertHash()
/frameworks/base/services/core/java/com/android/server/pm/
DApkChecksums.java729 final String algo = getMessageDigestAlgoForChecksumKind(type); in getApkChecksum() local
730 MessageDigest md = MessageDigest.getInstance(algo); in getApkChecksum()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1903 compression->algo, compression->settings_len); in initTrackInfo()
1904 if (compression->algo == 3 in initTrackInfo()