Searched refs:keyBytes (Results 1 – 11 of 11) sorted by relevance
113 private void setKey(byte[] keyBytes) in setKey() argument115 workingKey = keyBytes; in setKey()138 i2 = ((keyBytes[i1] & 0xff) + engineState[i] + i2) & 0xff; in setKey()143 i1 = (i1+1) % keyBytes.length; in setKey()
82 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()
69 byte[] keyBytes = keyString.getBytes(ENCODING); in computeSignature()70 this.key = new SecretKeySpec(keyBytes, MAC_NAME); in computeSignature()
1401 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];
90 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status…
1410 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status… in bundle_addKeyBytes() argument1416 if (length < 0 || (keyBytes == NULL && length != 0)) { in bundle_addKeyBytes()1436 uprv_memcpy(bundle->fKeys + keypos, keyBytes, length); in bundle_addKeyBytes()
1367 const uint8_t *keyBytes = key.getByteArray(keyLength); in getCollationKey() local1368 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()
573 private static String makeKeyStringFromBytes(ByteBuffer keyBytes, int keyOffset) { in makeKeyStringFromBytes() argument576 while((b = keyBytes.get(keyOffset)) != 0) { in makeKeyStringFromBytes()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
4811 ScopedByteArrayRO keyBytes(env, keyArray); local4812 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); local5070 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);
2156 - 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;