Home
last modified time | relevance | path

Searched refs:rand_data (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/gpxe/src/crypto/axtls/
Dcrypto.h128 void get_random(int num_rand_bytes, uint8_t *rand_data);
132 static inline void get_random_NZ(int num_rand_bytes, uint8_t *rand_data) { in get_random_NZ() argument
133 memset ( rand_data, 0x01, num_rand_bytes ); in get_random_NZ()
/external/libmtp/src/
Dmtpz.c1606 unsigned char *rand_data = (unsigned char *)malloc(rand_length); in ptp_mtpz_validatehandshakeresponse() local
1607 memcpy(rand_data, act_reader, rand_length); in ptp_mtpz_validatehandshakeresponse()
1608 if (memcmp(rand_data, random, 16) != 0) in ptp_mtpz_validatehandshakeresponse()
1610 free(rand_data); in ptp_mtpz_validatehandshakeresponse()
1613 free(rand_data); in ptp_mtpz_validatehandshakeresponse()