/external/chromium_org/crypto/ |
symmetric_key_openssl.cc | 27 size_t key_size_in_bytes = key_size_in_bits / 8; local 28 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8); 30 if (key_size_in_bytes == 0) 36 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); 38 int rv = RAND_bytes(key_data, static_cast<int>(key_size_in_bytes)); 49 size_t key_size_in_bytes = key_size_in_bits / 8; local 50 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8); 52 if (key_size_in_bytes == 0) 58 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); 62 static_cast<int>(key_size_in_bytes), [all...] |
symmetric_key_win.cc | 187 DWORD key_size_in_bytes = static_cast<DWORD>(key_size_in_bits / 8); 188 scoped_ptr<BYTE[]> random(new BYTE[key_size_in_bytes]); 189 ok = CryptGenRandom(safe_provider, key_size_in_bytes, random.get()); 195 key_size_in_bytes, &safe_key); 202 SecureZeroMemory(random.get(), key_size_in_bytes); 340 size_t key_size_in_bytes = key_size_in_bits / 8; local 342 key_size_in_bytes = 0; 347 key_size_in_bytes); 349 SecureZeroMemory(raw_key.get(), key_size_in_bytes); 528 const void* key_data, size_t key_size_in_bytes) 532 key_size_in_bytes); local [all...] |
symmetric_key.h | 83 const void* key_data, size_t key_size_in_bytes);
|
/external/chromium/crypto/ |
symmetric_key_openssl.cc | 27 int key_size_in_bytes = key_size_in_bits / 8; local 28 DCHECK_EQ(static_cast<int>(key_size_in_bits), key_size_in_bytes * 8); 36 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); 38 int rv = RAND_bytes(key_data, key_size_in_bytes); 49 int key_size_in_bytes = key_size_in_bits / 8; local 50 DCHECK_EQ(static_cast<int>(key_size_in_bits), key_size_in_bytes * 8); 55 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); 59 key_size_in_bytes, key_data);
|
symmetric_key_win.cc | 187 DWORD key_size_in_bytes = key_size_in_bits / 8; 188 scoped_array<BYTE> random(new BYTE[key_size_in_bytes]); 189 ok = CryptGenRandom(safe_provider, key_size_in_bytes, random.get()); 195 key_size_in_bytes, &safe_key); 202 SecureZeroMemory(random.get(), key_size_in_bytes); 340 size_t key_size_in_bytes = key_size_in_bits / 8; local 342 key_size_in_bytes = 0; 347 key_size_in_bytes); 349 SecureZeroMemory(raw_key.get(), key_size_in_bytes); 528 const void* key_data, size_t key_size_in_bytes) 532 key_size_in_bytes); local [all...] |
symmetric_key.h | 85 const void* key_data, size_t key_size_in_bytes);
|