Home
last modified time | relevance | path

Searched refs:encryptionAlgo (Results 1 – 3 of 3) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DSaRecord.java405 int encryptionKeyLength = childSaRecordConfig.encryptionAlgo.getKeyLength(); in makeChildSaRecord()
439 childSaRecordConfig.encryptionAlgo, in makeChildSaRecord()
450 childSaRecordConfig.encryptionAlgo, in makeChildSaRecord()
502 IkeCipher encryptionAlgo, in makeIpSecTransform() argument
509 if (encryptionAlgo.isAead()) { in makeIpSecTransform()
511 encryptionAlgo.buildIpSecAlgorithmWithKey(encryptionKey)); in makeIpSecTransform()
513 builder.setEncryption(encryptionAlgo.buildIpSecAlgorithmWithKey(encryptionKey)); in makeIpSecTransform()
590 public final IkeCipher encryptionAlgo; field in SaRecord.ChildSaRecordConfig
606 IkeCipher encryptionAlgo, in ChildSaRecordConfig() argument
619 this.encryptionAlgo = encryptionAlgo; in ChildSaRecordConfig()
[all …]
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java1296 for (int encryptionAlgo : encryptionAlgos) { in isChildSessionAeadAlgosAvailable()
1297 if (validateConfig(encryptionAlgo, VALID_AEAD_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO)) { in isChildSessionAeadAlgosAvailable()
1311 for (int encryptionAlgo : encryptionAlgos) { in isChildSessionNonAeadAlgosAvailable()
1312 if (validateConfig(encryptionAlgo, VALID_ENCRYPTION_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO)) { in isChildSessionNonAeadAlgosAvailable()
1330 for (int encryptionAlgo : encryptionAlgos) { in isIkeSessionAeadAlgosAvailable()
1331 if (validateConfig(encryptionAlgo, VALID_AEAD_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO)) { in isIkeSessionAeadAlgosAvailable()
1345 for (int encryptionAlgo : encryptionAlgos) { in isIkeSessionNonAeadAlgosAvailable()
1346 if (validateConfig(encryptionAlgo, VALID_ENCRYPTION_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO)) { in isIkeSessionNonAeadAlgosAvailable()
1387 for (int encryptionAlgo : encryptionAlgos) { in createEpdgSaProposal()
1388 if (encryptionAlgo == SaProposal.ENCRYPTION_ALGORITHM_AES_CBC) { in createEpdgSaProposal()
[all …]
DEpdgSaProposal.java151 public void addProposedEncryptionAlgorithm(int encryptionAlgo, int[] keyLens) { in addProposedEncryptionAlgorithm() argument
152 if (validateConfig(encryptionAlgo, VALID_ENCRYPTION_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO)) { in addProposedEncryptionAlgorithm()
155 mProposedEncryptAlgos.add(new Pair<Integer, Integer>(encryptionAlgo, keyLen)); in addProposedEncryptionAlgorithm()