Home
last modified time | relevance | path

Searched refs:keyLength (Results 1 – 13 of 13) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/crypto/
DIkeMacPrf.java49 int keyLength, in IkeMacPrf() argument
52 super(algorithmId, keyLength, algorithmName, isEncryptAlgo); in IkeMacPrf()
64 int keyLength = 0; in create() local
70 keyLength = 20; in create()
74 keyLength = 16; in create()
79 keyLength = 32; in create()
83 keyLength = 48; in create()
87 keyLength = 64; in create()
94 return new IkeMacPrf(algorithmId, keyLength, algorithmName, isEncryptAlgo); in create()
DIkeMacIntegrity.java44 int keyLength, in IkeMacIntegrity() argument
48 super(algorithmId, keyLength, algorithmName, isEncryptAlgo); in IkeMacIntegrity()
61 int keyLength = 0; in create() local
70 keyLength = 20; in create()
75 keyLength = 16; in create()
81 keyLength = 32; in create()
86 keyLength = 48; in create()
91 keyLength = 64; in create()
101 algorithmId, keyLength, algorithmName, isEncryptAlgo, checksumLength); in create()
DIkeCrypto.java28 protected IkeCrypto(int algorithmId, int keyLength, String algorithmName) { in IkeCrypto() argument
30 mKeyLength = keyLength; in IkeCrypto()
DIkeCipher.java49 int algorithmId, int keyLength, int ivLength, String algorithmName, boolean isAead) { in IkeCipher() argument
50 super(algorithmId, keyLength, algorithmName); in IkeCipher()
DIkeNormalModeCipher.java41 IkeNormalModeCipher(int algorithmId, int keyLength, int ivLength, String algorithmName) { in IkeNormalModeCipher() argument
42 super(algorithmId, keyLength, ivLength, algorithmName, false /*isAead*/); in IkeNormalModeCipher()
DIkeMac.java44 protected IkeMac(int algorithmId, int keyLength, String algorithmName, boolean isEncryptAlgo) { in IkeMac() argument
45 super(algorithmId, keyLength, algorithmName); in IkeMac()
DIkeCombinedModeCipher.java55 IkeCombinedModeCipher(int algorithmId, int keyLength, int ivLength, String algorithmName) { in IkeCombinedModeCipher() argument
56 super(algorithmId, keyLength, ivLength, algorithmName, true /*isAead*/); in IkeCombinedModeCipher()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSaProposal.java145 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument
146 validateAndAddEncryptAlgo(algorithm, keyLength); in addEncryptionAlgorithm()
DIkeSaProposal.java133 public Builder addEncryptionAlgorithm(@EncryptionAlgorithm int algorithm, int keyLength) { in addEncryptionAlgorithm() argument
134 validateAndAddEncryptAlgo(algorithm, keyLength); in addEncryptionAlgorithm()
DSaProposal.java438 @EncryptionAlgorithm int algorithm, int keyLength) { in validateAndAddEncryptAlgo() argument
441 EncryptionTransform encryptionTransform = new EncryptionTransform(algorithm, keyLength); in validateAndAddEncryptAlgo()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java1176 mSpecifiedKeyLength = attr.keyLength; in EncryptionTransform()
1766 public final int keyLength; field in IkeSaPayload.KeyLengthAttribute
1772 protected KeyLengthAttribute(int keyLength) { in KeyLengthAttribute() argument
1774 this.keyLength = keyLength; in KeyLengthAttribute()
1781 .putShort((short) keyLength); in encodeToByteBuffer()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp81 const int keyLength = ByteArrayUtils::readStringAndAdvancePosition(dictBuf, in fetchAllHeaderAttributes() local
84 key.insert(key.end(), keyBuffer, keyBuffer + keyLength); in fetchAllHeaderAttributes()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayloadTest.java274 assertEquals(SaProposal.KEY_LEN_AES_128, ((KeyLengthAttribute) attribute).keyLength); in testDecodeAttribute()