Home
last modified time | relevance | path

Searched refs:encryptionAlgo (Results 1 – 2 of 2) 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.java1175 for (int encryptionAlgo : encryptionAlgos) { in buildIkeSaProposal()
1176 validateConfig(encryptionAlgo, VALID_ENCRYPTION_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO); in buildIkeSaProposal()
1178 if (encryptionAlgo == SaProposal.ENCRYPTION_ALGORITHM_AES_CBC) { in buildIkeSaProposal()
1185 saProposalBuilder.addEncryptionAlgorithm(encryptionAlgo, aesCbcKeyLen); in buildIkeSaProposal()
1190 if (encryptionAlgo == SaProposal.ENCRYPTION_ALGORITHM_AES_CTR) { in buildIkeSaProposal()
1197 saProposalBuilder.addEncryptionAlgorithm(encryptionAlgo, aesCtrKeyLen); in buildIkeSaProposal()
1250 for (int encryptionAlgo : encryptionAlgos) { in buildChildSaProposal()
1251 if (validateConfig(encryptionAlgo, VALID_ENCRYPTION_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO)) { in buildChildSaProposal()
1252 if (ChildSaProposal.getSupportedEncryptionAlgorithms().contains(encryptionAlgo)) { in buildChildSaProposal()
1253 if (encryptionAlgo == SaProposal.ENCRYPTION_ALGORITHM_AES_CBC) { in buildChildSaProposal()
[all …]