Searched refs:mCipher (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/ |
D | IkeMac.java | 42 private final Cipher mCipher; field in IkeMac 52 mCipher = Cipher.getInstance(getAlgorithmName()); in IkeMac() 55 mCipher = null; in IkeMac() 79 return new AesXCbcImpl(mCipher) in signBytes() 83 return new AesXCbcImpl(mCipher) in signBytes() 118 new AesXCbcImpl(mCipher) in modifyKeyIfNeeded()
|
D | AesXCbcImpl.java | 45 private final Cipher mCipher; field in AesXCbcImpl 59 mCipher = aesCbcCipher; in AesXCbcImpl() 64 int blockSize = mCipher.getBlockSize(); in signBytes() 151 mCipher.init( in encryptAesBlock() 152 Cipher.ENCRYPT_MODE, new SecretKeySpec(keyBytes, mCipher.getAlgorithm()), iv); in encryptAesBlock() 153 mCipher.doFinal(inputBuffer, outputBuffer); in encryptAesBlock()
|
D | IkeCipher.java | 46 protected final Cipher mCipher; field in IkeCipher 55 mCipher = Cipher.getInstance(getAlgorithmName()); in IkeCipher() 116 return mCipher.getBlockSize(); in getBlockSize()
|
D | IkeCombinedModeCipher.java | 94 mCipher.init(opmode, key, getParamSpec(nonceBuffer.array())); in doCipherAction() 95 mCipher.updateAAD(additionalAuthData); in doCipherAction() 103 mCipher.doFinal(inputBuffer, outputBuffer); in doCipherAction()
|
D | IkeNormalModeCipher.java | 57 mCipher.init(opmode, key, iv); in doCipherAction() 62 mCipher.doFinal(inputBuffer, outputBuffer); in doCipherAction()
|