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.java406 int encryptionKeyLength = childSaRecordConfig.encryptionAlgo.getKeyLength(); in makeChildSaRecord()
440 childSaRecordConfig.encryptionAlgo, in makeChildSaRecord()
451 childSaRecordConfig.encryptionAlgo, in makeChildSaRecord()
503 IkeCipher encryptionAlgo, in makeIpSecTransform() argument
510 if (encryptionAlgo.isAead()) { in makeIpSecTransform()
512 encryptionAlgo.buildIpSecAlgorithmWithKey(encryptionKey)); in makeIpSecTransform()
514 builder.setEncryption(encryptionAlgo.buildIpSecAlgorithmWithKey(encryptionKey)); in makeIpSecTransform()
608 public final IkeCipher encryptionAlgo; field in SaRecord.ChildSaRecordConfig
624 IkeCipher encryptionAlgo, in ChildSaRecordConfig() argument
637 this.encryptionAlgo = encryptionAlgo; in ChildSaRecordConfig()
[all …]
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java1002 for (int encryptionAlgo : encryptionAlgos) { in buildIkeSaProposal()
1003 validateConfig(encryptionAlgo, VALID_ENCRYPTION_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO); in buildIkeSaProposal()
1005 if (encryptionAlgo == SaProposal.ENCRYPTION_ALGORITHM_AES_CBC) { in buildIkeSaProposal()
1012 saProposalBuilder.addEncryptionAlgorithm(encryptionAlgo, aesCbcKeyLen); in buildIkeSaProposal()
1017 if (encryptionAlgo == SaProposal.ENCRYPTION_ALGORITHM_AES_CTR) { in buildIkeSaProposal()
1024 saProposalBuilder.addEncryptionAlgorithm(encryptionAlgo, aesCtrKeyLen); in buildIkeSaProposal()
1077 for (int encryptionAlgo : encryptionAlgos) { in buildChildSaProposal()
1078 if (validateConfig(encryptionAlgo, VALID_ENCRYPTION_ALGOS, CONFIG_TYPE_ENCRYPT_ALGO)) { in buildChildSaProposal()
1079 if (ChildSaProposal.getSupportedEncryptionAlgorithms().contains(encryptionAlgo)) { in buildChildSaProposal()
1080 if (encryptionAlgo == SaProposal.ENCRYPTION_ALGORITHM_AES_CBC) { in buildChildSaProposal()
[all …]