Home
last modified time | relevance | path

Searched refs:ltk (Results 1 – 3 of 3) sorted by relevance

/edtt-2.7.6/src/components/
Dpairing.py34 self.rand = self.ediv = self.ltk = 0;
262 success, ltk = self.__calcLTK(idx, er, div);
267 return success, ediv, rand, ltk;
429 def __encryptLink(self, rand, ediv, ltk): argument
430 …transport, self.initiator.initiator, self.initiator.handles[0], rand, ediv, toArray(ltk, 16), 200);
446 …le_long_term_key_request_reply(self.transport, self.initiator.peer, handle, toArray(ltk, 16), 200);
496 def __sendInitiatorKeys(self, ltk, ediv, rand, irk): argument
499 txData = smpData.encode( SMPOpcode.SMP_ENCRYPTION_INFORMATION, ltk );
520 def __sendResponderKeys(self, ltk, ediv, rand, irk): argument
523 txData = smpData.encode( SMPOpcode.SMP_ENCRYPTION_INFORMATION, ltk );
[all …]
Dpreambles.py321 _success, ltk = __encrypt(transport, idx, toArray(er, 16), div, trace);
331 ltk = [0 for _ in range(16)];
333 return (success, rand, ediv, ltk);
Dbasic_commands.py1480 def le_start_encryption(transport, idx, handle, rand, ediv, ltk, to): argument
1482 …_LE_START_ENCRYPTION_REQ, 30, HCICommands.BT_HCI_OP_LE_START_ENCRYPTION, handle, rand, ediv, *ltk);
1505 def le_long_term_key_request_reply(transport, idx, handle, ltk, to): argument
1507 ….CMD_LE_LONG_TERM_KEY_REQUEST_REPLY_REQ, 20, HCICommands.BT_HCI_OP_LE_LTK_REQ_REPLY, handle, *ltk);