Home
last modified time | relevance | path

Searched refs:random_bytes (Results 1 – 12 of 12) sorted by relevance

/external/epid-sdk/epid/common-testhelper/
Dprng-testhelper.h64 unsigned char* random_bytes = reinterpret_cast<unsigned char*>(random_data); in Generate() local
77 random_bytes[n] = in Generate()
/external/epid-sdk/epid/member/tiny/math/unittests/
Donetimepad.h85 uint8_t* random_bytes = reinterpret_cast<uint8_t*>(random_data); in Generate() local
106 random_bytes[n] = myprng->data_[myprng->bytes_consumed_++]; in Generate()
/external/ppp/pppd/
Dmagic.h49 void random_bytes __P((unsigned char *buf, int len));
Dmagic.c90 random_bytes(unsigned char *buf, int len) in random_bytes() function
Dchap-md5.c53 random_bytes(cp, clen); in chap_md5_generate_challenge()
Dchap_ms.c177 random_bytes(challenge, 8); in chapms_generate_challenge()
189 random_bytes(challenge, 16); in chapms2_generate_challenge()
/external/scapy/scapy/layers/tls/
Dhandshake.py254 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/
Dnotebook2_tls_protected.ipynb157 "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/
Dtesting_api.proto86 bytes random_bytes = 1; field
/external/nos/test/system-test-harness/src/
Druntests.cc306 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/
Dpngvalid.c3564 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/
Dtls.uts804 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)