/external/chromium_org/third_party/tlslite/tlslite/utils/ |
rc4.py | 8 def __init__(self, keyBytes, implementation): 9 if len(keyBytes) < 16 or len(keyBytes) > 256:
|
python_rc4.py | 13 def __init__(self, keyBytes): 14 RC4.__init__(self, keyBytes, "python") 18 j = (j + S[i] + keyBytes[i % len(keyBytes)]) % 256
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
X509PublicKey.java | 25 private final byte[] keyBytes; 27 public X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) { 30 this.keyBytes = keyBytes; 51 // buf.append(Arrays.toString(keyBytes));
|
/external/chromium_org/third_party/smhasher/src/ |
AvalancheTest.h | 30 const int keybytes = sizeof(keytype); local 33 const int keybits = keybytes * 8; 43 r.rand_p(&K,keybytes); 45 hash(&K,keybytes,0,&A); 51 flipbit(&K,keybytes,iBit); 52 hash(&K,keybytes,0,&B); 53 flipbit(&K,keybytes,iBit); 73 const int keybytes = sizeof(keytype); local 76 const int keybits = keybytes * 8; 115 const int keybytes = sizeof(keytype) local 199 const int keybytes = sizeof(keytype); local 241 const int keybytes = sizeof(keytype); local 349 const int keybytes = sizeof(keytype); local [all...] |
KeysetTest.h | 327 const int keybytes = prefixlen + corelen + suffixlen; local 334 uint8_t * key = new uint8_t[keybytes+1]; 336 key[keybytes] = 0; 355 hash(key,keybytes,0,&hashes[i]);
|
/frameworks/base/core/java/android/net/nsd/ |
DnsSdTxtRecord.java | 70 byte[] keyBytes; 83 keyBytes = key.getBytes("US-ASCII"); 89 for (int i = 0; i < keyBytes.length; i++) { 90 if (keyBytes[i] == '=') { 95 if (keyBytes.length + valLen >= 255) { 103 insert(keyBytes, valBytes, currentLoc); 168 private void insert(byte[] keyBytes, byte[] value, int index) { 178 avLen = keyBytes.length + valLen + (value != null ? 1 : 0); 186 System.arraycopy(keyBytes, 0, mData, insertion + 1, keyBytes.length) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
RC4Engine.java | 111 private void setKey(byte[] keyBytes) 113 workingKey = keyBytes; 136 i2 = ((keyBytes[i1] & 0xff) + engineState[i] + i2) & 0xff; 141 i1 = (i1+1) % keyBytes.length;
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
WebappAuthenticator.java | 99 byte[] keyBytes = new byte[MAC_KEY_BYTE_COUNT]; 101 if (MAC_KEY_BYTE_COUNT != input.read(keyBytes)) { 106 return new SecretKeySpec(keyBytes, algorithmName); 126 byte[] keyBytes = key.getEncoded(); 127 if (MAC_KEY_BYTE_COUNT != keyBytes.length) { 128 Log.e(TAG, "writeKeyToFile got key encoded bytes length " + keyBytes.length + 135 output.write(keyBytes);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLMac.java | 82 final byte[] keyBytes = key.getEncoded(); 83 if (keyBytes == null) { 87 macKey = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_mac_key(evp_pkey_type, keyBytes));
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
HMAC_SHA1.java | 69 byte[] keyBytes = keyString.getBytes(ENCODING); 70 this.key = new SecretKeySpec(keyBytes, MAC_NAME);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
KeyAgreementSpi.java | 205 // byte[] keyBytes = new byte[keySize / 8]; 207 // kdf.generateBytes(keyBytes, 0, keyBytes.length); 208 // secret = keyBytes;
|
/frameworks/base/keystore/java/android/security/ |
AndroidKeyStore.java | 213 byte[] keyBytes = null; 240 keyBytes = key.getEncoded(); 241 if (keyBytes == null) { 327 && !mKeyStore.importKey(Credentials.USER_PRIVATE_KEY + alias, keyBytes,
|
/external/chromium_org/net/http/ |
http_auth_handler_ntlm_portable.cc | 310 uint8 keybytes[21], k1[8], k2[8], k3[8]; local 312 memcpy(keybytes, hash, 16); 313 ZapBuf(keybytes + 16, 5); 315 DESMakeKey(keybytes , k1); 316 DESMakeKey(keybytes + 7, k2); 317 DESMakeKey(keybytes + 14, k3);
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
reslist.h | 92 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status);
|
reslist.c | [all...] |
/external/icu/icu4c/source/tools/genrb/ |
reslist.h | 90 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/rpcsvc/ |
key_prot.h | 31 #define KEYBYTES 24
|
key_prot.x | 74 const KEYBYTES = 24; /* byte length of key */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpcsvc/ |
key_prot.h | 31 #define KEYBYTES 24
|
key_prot.x | 74 const KEYBYTES = 24; /* byte length of key */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/rpc/ |
key_prot.h | 50 #define KEYBYTES 24
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/rpc/ |
key_prot.h | 50 #define KEYBYTES 24
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsBackupAgent.java | 766 byte[] keyBytes = key.getBytes(); 767 totalSize += INTEGER_BYTE_COUNT + keyBytes.length; 768 values[backedUpSettingIndex * 2] = keyBytes; [all...] |
/external/icu/icu4c/source/test/intltest/ |
collationtest.cpp | [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CertificateTest.java | 156 final byte[] keyBytes = new byte[size]; 157 is.readFully(keyBytes); 160 return kf.generatePublic(new X509EncodedKeySpec(keyBytes)); [all...] |