Searched refs:algoName (Results 1 – 2 of 2) sorted by relevance
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | PacketUtils.java | 501 public final String algoName; field in PacketUtils.EspCipher 509 this.algoName = algoName; in EspCipher() 577 super(algoName, blockSize, key, ivLen, saltLen); in EspCryptCipher() 586 if (AES_CBC.equals(algoName)) { in getCipherText() 589 } else if (AES_CTR.equals(algoName)) { in getCipherText() 607 final Cipher cipher = Cipher.getInstance(algoName); in getCipherText() 626 super(algoName, blockSize, key, ivLen, saltLen); in EspAeadCipher() 667 public final String algoName; field in PacketUtils.EspAuth 683 this.algoName = algoName; in EspAuth() 689 if (AES_XCBC.equals(algoName)) { in getIcv() [all …]
|
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/ |
H A D | IpSecAlgorithmTest.java | 91 private void checkAuthKeyAndTruncLenValidation(String algoName, int keyLen, int truncLen) in checkAuthKeyAndTruncLenValidation() argument 93 new IpSecAlgorithm(algoName, generateKey(keyLen), truncLen); in checkAuthKeyAndTruncLenValidation() 96 new IpSecAlgorithm(algoName, generateKey(keyLen)); in checkAuthKeyAndTruncLenValidation() 102 new IpSecAlgorithm(algoName, generateKey(keyLen + 8), truncLen); in checkAuthKeyAndTruncLenValidation() 108 new IpSecAlgorithm(algoName, generateKey(keyLen), truncLen + 1); in checkAuthKeyAndTruncLenValidation() 114 private void checkCryptKeyLenValidation(String algoName, int keyLen) throws Exception { in checkCryptKeyLenValidation() argument 115 new IpSecAlgorithm(algoName, generateKey(keyLen)); in checkCryptKeyLenValidation() 118 new IpSecAlgorithm(algoName, generateKey(keyLen + 8)); in checkCryptKeyLenValidation()
|