Home
last modified time | relevance | path

Searched refs:keyBytes (Results 1 – 11 of 11) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRC4Engine.java113 private void setKey(byte[] keyBytes) in setKey() argument
115 workingKey = keyBytes; in setKey()
138 i2 = ((keyBytes[i1] & 0xff) + engineState[i] + i2) & 0xff; in setKey()
143 i1 = (i1+1) % keyBytes.length; in setKey()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLMac.java82 final byte[] keyBytes = key.getEncoded(); in engineInit()
83 if (keyBytes == null) { in engineInit()
87 macKey = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_mac_key(evp_pkey_type, keyBytes)); in engineInit()
/external/oauth/core/src/main/java/net/oauth/signature/
DHMAC_SHA1.java69 byte[] keyBytes = keyString.getBytes(ENCODING); in computeSignature()
70 this.key = new SecretKeySpec(keyBytes, MAC_NAME); in computeSignature()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java1401 byte[] keyBytes = key.toByteArray();
1402 if (keyBytes.length == 0 || keyBytes[keyBytes.length - 1] != 0) {
1420 for (int i = 0; i < (keyBytes.length - 1); ++i) {
1421 byte b = keyBytes[i];
/external/icu/icu4c/source/tools/genrb/
Dreslist.h90 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status…
Dreslist.c1410 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status… in bundle_addKeyBytes() argument
1416 if (length < 0 || (keyBytes == NULL && length != 0)) { in bundle_addKeyBytes()
1436 uprv_memcpy(bundle->fKeys + keypos, keyBytes, length); in bundle_addKeyBytes()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp1367 const uint8_t *keyBytes = key.getByteArray(keyLength); in getCollationKey() local
1368 if(keyLength == 0 || keyBytes[keyLength - 1] != 0) { in getCollationKey()
1389 uint8_t b = keyBytes[i]; in getCollationKey()
1420 if(keyLength != parts.length() || uprv_memcmp(keyBytes, parts.data(), keyLength) != 0) { in getCollationKey()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleReader.java573 private static String makeKeyStringFromBytes(ByteBuffer keyBytes, int keyOffset) { in makeKeyStringFromBytes() argument
576 while((b = keyBytes.get(keyOffset)) != 0) { in makeKeyStringFromBytes()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.resources.compatibility_3.4.0.v20090505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp4811 ScopedByteArrayRO keyBytes(env, keyArray); local
4812 if (keyBytes.get() == NULL) {
4816 keyPtr.reset(new unsigned char[keyBytes.size()]);
4817 memcpy(keyPtr.get(), keyBytes.get(), keyBytes.size());
5069 ScopedByteArrayRO keyBytes(env, keyArray); local
5070 if (keyBytes.get() == NULL) {
5078 const uint8_t* tmp = reinterpret_cast<const uint8_t*>(keyBytes.get());
5079 int ret = EVP_AEAD_CTX_init(aeadCtx.get(), evpAead, tmp, keyBytes.size(), tagLen, NULL);
/external/bouncycastle/patches/
Dbcprov.patch2156 - byte[] keyBytes = new byte[keySize / 8];
2158 - kdf.generateBytes(keyBytes, 0, keyBytes.length);
2159 - secret = keyBytes;
2174 + // byte[] keyBytes = new byte[keySize / 8];
2176 + // kdf.generateBytes(keyBytes, 0, keyBytes.length);
2177 + // secret = keyBytes;