HomeSort by relevance Sort by last modified time
    Searched full:key_size_in_bytes (Results 1 - 3 of 3) sorted by null

  /external/libchrome/crypto/
symmetric_key_openssl.cc 36 size_t key_size_in_bytes = key_size_in_bits / 8;
37 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8);
39 if (key_size_in_bytes == 0)
45 base::WriteInto(&key->key_, key_size_in_bytes + 1));
47 int rv = RAND_bytes(key_data, static_cast<int>(key_size_in_bytes));
67 size_t key_size_in_bytes = key_size_in_bits / 8; local
68 DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8);
70 if (key_size_in_bytes == 0)
76 base::WriteInto(&key->key_, key_size_in_bytes + 1));
80 static_cast<int>(key_size_in_bytes), key_data)
    [all...]
symmetric_key_win.cc 190 DWORD key_size_in_bytes = static_cast<DWORD>(key_size_in_bits / 8);
191 scoped_ptr<BYTE[]> random(new BYTE[key_size_in_bytes]);
192 ok = CryptGenRandom(safe_provider, key_size_in_bytes, random.get());
198 key_size_in_bytes, &safe_key);
205 SecureZeroMemory(random.get(), key_size_in_bytes);
343 size_t key_size_in_bytes = key_size_in_bits / 8; local
345 key_size_in_bytes = 0;
350 key_size_in_bytes);
352 SecureZeroMemory(raw_key.get(), key_size_in_bytes);
531 const void* key_data, size_t key_size_in_bytes)
535 key_size_in_bytes); local
    [all...]
symmetric_key.h 79 const void* key_data, size_t key_size_in_bytes);

Completed in 5895 milliseconds