Home | History | Annotate | Download | only in btm

Lines Matching defs:er

218                 memcpy(p_devcb->er, p_key->er, sizeof(BT_OCTET16));
236 ** the local device ER is copied into er
239 void BTM_GetDeviceEncRoot (BT_OCTET16 er)
243 memcpy (er, btm_cb.devcb.er, BT_OCTET16_LEN);
1137 ** the local device ER is copied into er
1369 /* calculating LTK , LTK = E er(div) */
1370 SMP_Encrypt(p_cb->devcb.er, BT_OCTET16_LEN, (UINT8 *)&div, 2, &output);
1852 BT_OCTET16 er;
1895 BTM_GetDeviceEncRoot(er);
1897 /* CSRK = d1(ER, DIV, 1) */
1901 if (!SMP_Encrypt(er, BT_OCTET16_LEN, temp, 4, &output))
2004 ** Utility functions for LE device IR/ER generation
2033 p_locak_keys = (tBTM_BLE_LOCAL_KEYS *)&btm_cb.devcb.er;
2049 ** Description This function is called when ER is generated, store it in
2061 memcpy(&btm_cb.devcb.er[8], p->param_buf, BT_OCTET8_LEN);
2067 memset(&btm_cb.devcb.er, 0, sizeof(BT_OCTET16));
2075 ** Description This function is called when ER is generated, store it in
2087 memcpy(&btm_cb.devcb.er[0], p->param_buf, BT_OCTET8_LEN);
2091 memset(&btm_cb.devcb.er, 0, sizeof(BT_OCTET16));
2124 /* proceed generate ER */
2127 BTM_TRACE_ERROR("Generating ER failed.");
2136 ** local control block, and proceed to generate ER, a 128-bits