Searched refs:random_bytes (Results 1 – 13 of 13) sorted by relevance
/external/libmojo/mojo/edk/embedder/ |
D | embedder.cc | 142 char random_bytes[16]; in GenerateRandomToken() local 145 base::RandBytes(random_bytes, 16); in GenerateRandomToken() 147 crypto::RandBytes(random_bytes, 16); in GenerateRandomToken() 149 return base::HexEncode(random_bytes, 16); in GenerateRandomToken()
|
/external/syslinux/utils/ |
D | md5pass | 7 sub random_bytes($) { subroutine 30 $salt = MIME::Base64::encode(random_bytes(6), '');
|
D | sha1pass | 7 sub random_bytes($) { subroutine 30 $salt = MIME::Base64::encode(random_bytes(6), '');
|
/external/ppp/pppd/ |
D | magic.h | 49 void random_bytes __P((unsigned char *buf, int len));
|
D | magic.c | 90 random_bytes(unsigned char *buf, int len) in random_bytes() function
|
D | chap-md5.c | 53 random_bytes(cp, clen); in chap_md5_generate_challenge()
|
D | chap_ms.c | 177 random_bytes(challenge, 8); in chapms_generate_challenge() 189 random_bytes(challenge, 16); in chapms2_generate_challenge()
|
/external/scapy/scapy/layers/tls/ |
D | handshake.py | 254 if self.random_bytes is None: 281 self.random_bytes = msg_str[10:38] 284 self.random_bytes) 342 if self.random_bytes is None: 359 self.random_bytes = msg_str[10:38] 362 self.random_bytes) 418 s.server_random = self.random_bytes
|
/external/scapy/doc/notebooks/tls/ |
D | notebook2_tls_protected.ipynb | 157 "cli_random = pkcs_i2osp(record1.msg[0].gmt_unix_time, 4) + record1.msg[0].random_bytes\n", 158 "srv_random = pkcs_i2osp(record2.msg[0].gmt_unix_time, 4) + record2.msg[0].random_bytes\n",
|
/external/nos/host/generic/nugget/proto/nugget/app/protoapi/ |
D | testing_api.proto | 86 bytes random_bytes = 1; field
|
/external/nos/test/system-test-harness/src/ |
D | runtests.cc | 306 ASSERT_EQ(result.random_bytes().size(), request_size); in TEST_F() 307 for (const auto rand_byte : result.random_bytes()) { in TEST_F()
|
/external/libpng/contrib/libtests/ |
D | pngvalid.c | 3564 png_byte random_bytes[4]; in make_standard_palette() local 3577 make_four_random_bytes(palette_seed, random_bytes); in make_standard_palette() 3581 b = random_bytes[--j]; in make_standard_palette() 8264 png_byte random_bytes[8]; /* 8 bytes - 64 bits - the biggest pixel */ in image_transform_png_set_background_set() local 8273 R8(random_bytes); in image_transform_png_set_background_set() 8295 image_pixel_init(&data, random_bytes, colour_type, in image_transform_png_set_background_set()
|
/external/scapy/test/ |
D | tls.uts | 804 assert(ch.random_bytes == b'|\x19\xdb\xc3<\xb5J\x0b\x8d5\x81\xc5\xce\t 2\x08\xd8\xec\xd1\xf8"B\x9cW… 850 assert(sh.random_bytes == b'\x0c\x97g\xb7o\xb6\x9b\x14\x19\xbd\xdd1\x80@\xaaQ+\xc2,\x19\x15"\x82\xe… 1033 ch.random_bytes = b'X\xe1\xb1T\xaa\xb1\x0b\xa0zlg\xf8\xd14]%\xa9\x91d\x08\xc7t\xcd6\xd4"\x9f\xcf' 1053 sh = TLSServerHello(gmt_unix_time=0x41414141, random_bytes='B'*28, cipher=0xc014)
|