Lines Matching refs:random
62 SMP_RAND_CMD_SIZE, /* 0x04: pairing random */
89 smp_command_has_valid_fixed_length, /* 0x04: pairing random */
116 smp_parameter_unconditionally_valid, /* 0x04: pairing random */
166 smp_build_rand_cmd, /* 0x04: pairing random */
1287 * Description This function returns random input value to be used in
1289 * (if bit["round"] in "random" array == 1 then returns 0x81
1295 uint8_t smp_calculate_random_input(uint8_t* random, uint8_t round) {
1300 SMP_TRACE_DEBUG("random: 0x%02x, round: %d, i: %d, j: %d", random[i], round,
1302 ri = ((random[i] >> j) & 1) | 0x80;