Home
last modified time | relevance | path

Searched refs:saltLen (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java505 public final int saltLen; field in PacketUtils.EspCipher
508 public EspCipher(String algoName, int blockSize, byte[] key, int ivLen, int saltLen) { in EspCipher() argument
513 this.saltLen = saltLen; in EspCipher()
576 public EspCryptCipher(String algoName, int blockSize, byte[] key, int ivLen, int saltLen) { in EspCryptCipher() argument
577 super(algoName, blockSize, key, ivLen, saltLen); in EspCryptCipher()
592 final byte[] secretKey = Arrays.copyOfRange(key, 0, key.length - saltLen); in getCipherText()
597 ByteBuffer.allocate(mIv.length + saltLen + AES_CTR_INITIAL_COUNTER.length); in getCipherText()
625 String algoName, int blockSize, byte[] key, int ivLen, int icvLen, int saltLen) { in EspAeadCipher() argument
626 super(algoName, blockSize, key, ivLen, saltLen); in EspAeadCipher()
635 final byte[] secretKey = Arrays.copyOfRange(key, 0, key.length - saltLen); in getCipherText()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeCombinedModeCipher.java54 int algorithmId, int keyLength, int ivLength, String algorithmName, int saltLen) { in IkeCombinedModeCipher() argument
55 this(algorithmId, keyLength, ivLength, algorithmName, saltLen, BLOCK_SIZE_NOT_SPECIFIED); in IkeCombinedModeCipher()
64 int saltLen, in IkeCombinedModeCipher() argument
66 super(algorithmId, keyLength, ivLength, algorithmName, true /*isAead*/, saltLen, blockSize); in IkeCombinedModeCipher()
DIkeNormalModeCipher.java51 int algorithmId, int keyLength, int ivLength, String algorithmName, int saltLen) { in IkeNormalModeCipher() argument
58 saltLen, in IkeNormalModeCipher()
DIkeCipher.java90 int saltLen, in IkeCipher() argument
95 mSaltLen = saltLen; in IkeCipher()