Searched refs:crypt (Results 1 – 2 of 2) sorted by relevance
1447 IpSecAlgorithm crypt = config.getEncryption(); in validateAlgorithms() local1452 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() local1602 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()
306 IpSecAlgorithm crypt = config.getEncryption(); in verifyTransformNetdCalledForCreatingSA() local322 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()