disabled all crypto
This commit is contained in:
parent
43d67e5b36
commit
a290db763b
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#undef ENCRYPT_L0DABLE
|
#undef ENCRYPT_L0DABLE
|
||||||
|
|
||||||
|
#if 0
|
||||||
static uint32_t const meshkey[4] = {
|
static uint32_t const meshkey[4] = {
|
||||||
0x00000042, 0x000005ec, 0x00000023, 0x00000005
|
0x00000042, 0x000005ec, 0x00000023, 0x00000005
|
||||||
};
|
};
|
||||||
|
@ -18,5 +19,5 @@ static uint32_t const l0dable_sign_key[4] = {
|
||||||
static uint32_t const l0dable_crypt_key[4] = {
|
static uint32_t const l0dable_crypt_key[4] = {
|
||||||
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff
|
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
#undef ENCRYPT_L0DABLE 1
|
#undef ENCRYPT_L0DABLE 1
|
||||||
|
|
||||||
|
#if 0
|
||||||
static uint32_t const meshkey[4] = {
|
static uint32_t const meshkey[4] = {
|
||||||
0xafbbcb26, 0x39108427, 0x455ef5e5, 0x51b482d2
|
0xafbbcb26, 0x39108427, 0x455ef5e5, 0x51b482d2
|
||||||
};
|
};
|
||||||
|
@ -18,5 +19,5 @@ static uint32_t const l0dable_sign_key[4] = {
|
||||||
static uint32_t const l0dable_crypt_key[4] = {
|
static uint32_t const l0dable_crypt_key[4] = {
|
||||||
0x303e5fab, 0x1240acc9, 0xf8496f21, 0x361fd856
|
0x303e5fab, 0x1240acc9, 0xf8496f21, 0x361fd856
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -148,7 +148,7 @@ void mesh_sendloop(void){
|
||||||
};
|
};
|
||||||
ctr++;
|
ctr++;
|
||||||
memcpy(buf,meshbuffer[i].pkt,MESHPKTSIZE);
|
memcpy(buf,meshbuffer[i].pkt,MESHPKTSIZE);
|
||||||
status=nrf_snd_pkt_crc_encr(MESHPKTSIZE,buf,meshkey);
|
status=nrf_snd_pkt_crc_encr(MESHPKTSIZE,buf,NULL);
|
||||||
//Check status? But what would we do...
|
//Check status? But what would we do...
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -185,7 +185,7 @@ uint8_t mesh_recvqloop_work(void){
|
||||||
__attribute__ ((aligned (4))) uint8_t buf[32];
|
__attribute__ ((aligned (4))) uint8_t buf[32];
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
len=nrf_rcv_pkt_poll_dec(sizeof(buf),buf,meshkey);
|
len=nrf_rcv_pkt_poll_dec(sizeof(buf),buf,NULL);
|
||||||
|
|
||||||
// Receive
|
// Receive
|
||||||
if(len<=0){
|
if(len<=0){
|
||||||
|
|
Loading…
Reference in New Issue