HomeSort by relevance Sort by last modified time
    Searched refs:random_bytes (Results 1 - 10 of 10) sorted by null

  /external/ppp/pppd/
magic.h 49 void random_bytes __P((unsigned char *buf, int len));
magic.c 87 * random_bytes - Fill a buffer with random bytes.
90 random_bytes(unsigned char *buf, int len) function
chap-md5.c 53 random_bytes(cp, clen);
chap_ms.c 177 random_bytes(challenge, 8);
189 random_bytes(challenge, 16);
  /external/chromium/chrome/browser/sync/util/
crypto_helpers_unittest.cc 21 std::string random_bytes(i+1, ' ');
23 GetRandomBytes(&random_bytes[0], i);
24 ASSERT_EQ(random_bytes[i], ' ');
25 } while (random_bytes[i - 1] == ' ');
crypto_helpers.cc 66 std::string random_bytes(kNumberBytes, ' ');
67 GetRandomBytes(&random_bytes[0], kNumberBytes);
69 base::Base64Encode(random_bytes, &base64_encoded_bytes);
  /external/chromium_org/sync/internal_api/public/base/
ack_handle.cc 21 uint8 random_bytes[kBytesInHandle]; local
22 base::RandBytes(random_bytes, sizeof(random_bytes));
23 return AckHandle(base::HexEncode(random_bytes, sizeof(random_bytes)),
  /external/chromium/crypto/
symmetric_key_mac.cc 74 void* random_bytes = CreateRandomBytes((key_size_in_bits + 7) / 8); local
75 if (!random_bytes)
77 SymmetricKey *key = new SymmetricKey(random_bytes, key_size_in_bits);
78 free(random_bytes);
  /external/chromium_org/chrome/browser/extensions/api/identity/
web_auth_flow.cc 77 std::string random_bytes; local
78 crypto::RandBytes(WriteInto(&random_bytes, 33), 32);
79 base::Base64Encode(random_bytes, &shell_window_key_);
  /external/chromium_org/content/renderer/webcrypto/
webcrypto_impl_openssl.cc 309 std::vector<unsigned char> random_bytes(keylen_bytes, 0);
310 if (!(RAND_bytes(&random_bytes[0], keylen_bytes))) {
315 new SymKeyHandle(&random_bytes[0], random_bytes.size()),

Completed in 93 milliseconds