Home
last modified time | relevance | path

Searched refs:crypt (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1447 IpSecAlgorithm crypt = config.getEncryption(); in validateAlgorithms() local
1452 aead != null || crypt != null || auth != null, in validateAlgorithms()
1458 crypt == null || crypt.isEncryption(), "Unsupported algorithm for Encryption"); in validateAlgorithms()
1463 aead == null || (auth == null && crypt == null), in validateAlgorithms()
1598 IpSecAlgorithm crypt = c.getEncryption(); in createOrUpdateTransform() local
1602 if (crypt == null) { in createOrUpdateTransform()
1605 cryptName = crypt.getName(); in createOrUpdateTransform()
1623 (crypt != null) ? crypt.getKey() : new byte[] {}, in createOrUpdateTransform()
1624 (crypt != null) ? crypt.getTruncationLengthBits() : 0, in createOrUpdateTransform()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java306 IpSecAlgorithm crypt = config.getEncryption(); in verifyTransformNetdCalledForCreatingSA() local
322 eq((crypt != null) ? crypt.getName() : ""), in verifyTransformNetdCalledForCreatingSA()
323 eq((crypt != null) ? crypt.getKey() : new byte[] {}), in verifyTransformNetdCalledForCreatingSA()
324 eq((crypt != null) ? crypt.getTruncationLengthBits() : 0), in verifyTransformNetdCalledForCreatingSA()