Home
last modified time | relevance | path

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

/loramac-node-latest/src/peripherals/soft-se/
Dsoft-se.c341 uint32_t mic = 0; in SecureElementProcessJoinAccept() local
343 mic = ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE] << 0 ); in SecureElementProcessJoinAccept()
344 mic |= ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE + 1] << 8 ); in SecureElementProcessJoinAccept()
345 mic |= ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE + 2] << 16 ); in SecureElementProcessJoinAccept()
346 mic |= ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE + 3] << 24 ); in SecureElementProcessJoinAccept()
358 …mentVerifyAesCmac( decJoinAccept, ( encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE ), mic, NWK_KEY ) != in SecureElementProcessJoinAccept()
390 mic, J_S_INT_KEY ) != SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept()
/loramac-node-latest/src/peripherals/atecc608a-tnglora-se/
Datecc608a-tnglora-se.c470 uint32_t mic = 0; in SecureElementProcessJoinAccept() local
472 mic = ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE] << 0 ); in SecureElementProcessJoinAccept()
473 mic |= ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE + 1] << 8 ); in SecureElementProcessJoinAccept()
474 mic |= ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE + 2] << 16 ); in SecureElementProcessJoinAccept()
475 mic |= ( ( uint32_t ) decJoinAccept[encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE + 3] << 24 ); in SecureElementProcessJoinAccept()
487 …mentVerifyAesCmac( decJoinAccept, ( encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE ), mic, NWK_KEY ) != in SecureElementProcessJoinAccept()
519 mic, J_S_INT_KEY ) != SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept()