Searched refs:decJoinAccept (Results 1 – 5 of 5) sorted by relevance
/loramac-node-3.4.0/src/peripherals/soft-se/ |
D | soft-se.c | 308 … uint8_t encJoinAcceptSize, uint8_t* decJoinAccept, in SecureElementProcessJoinAccept() argument 311 if( ( encJoinAccept == NULL ) || ( decJoinAccept == NULL ) || ( versionMinor == NULL ) ) in SecureElementProcessJoinAccept() 330 memcpy1( decJoinAccept, encJoinAccept, encJoinAcceptSize ); in SecureElementProcessJoinAccept() 334 … encKeyID, decJoinAccept + LORAMAC_MHDR_FIELD_SIZE ) != SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept() 339 *versionMinor = ( ( decJoinAccept[11] & 0x80 ) == 0x80 ) ? 1 : 0; in SecureElementProcessJoinAccept() 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 …if( SecureElementVerifyAesCmac( decJoinAccept, ( encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE ), mic… in SecureElementProcessJoinAccept() [all …]
|
/loramac-node-3.4.0/src/peripherals/atecc608a-tnglora-se/ |
D | atecc608a-tnglora-se.c | 437 … uint8_t encJoinAcceptSize, uint8_t* decJoinAccept, in SecureElementProcessJoinAccept() argument 440 if( ( encJoinAccept == NULL ) || ( decJoinAccept == NULL ) || ( versionMinor == NULL ) ) in SecureElementProcessJoinAccept() 459 memcpy1( decJoinAccept, encJoinAccept, encJoinAcceptSize ); in SecureElementProcessJoinAccept() 463 … encKeyID, decJoinAccept + LORAMAC_MHDR_FIELD_SIZE ) != SECURE_ELEMENT_SUCCESS ) in SecureElementProcessJoinAccept() 468 *versionMinor = ( ( decJoinAccept[11] & 0x80 ) == 0x80 ) ? 1 : 0; in SecureElementProcessJoinAccept() 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 …if( SecureElementVerifyAesCmac( decJoinAccept, ( encJoinAcceptSize - LORAMAC_MIC_FIELD_SIZE ), mic… in SecureElementProcessJoinAccept() [all …]
|
/loramac-node-3.4.0/src/peripherals/lr1110-se/ |
D | lr1110-se.c | 227 … uint8_t encJoinAcceptSize, uint8_t* decJoinAccept, in SecureElementProcessJoinAccept() argument 232 if( ( encJoinAccept == NULL ) || ( decJoinAccept == NULL ) || ( versionMinor == NULL ) ) in SecureElementProcessJoinAccept() 263 encJoinAccept + 1, encJoinAcceptSize - 1, decJoinAccept + 1 ); in SecureElementProcessJoinAccept() 267 *versionMinor = ( ( decJoinAccept[11] & 0x80 ) == 0x80 ) ? 1 : 0; in SecureElementProcessJoinAccept() 295 encJoinAccept + 1, encJoinAcceptSize - 1, decJoinAccept + 1 ); in SecureElementProcessJoinAccept() 299 *versionMinor = ( ( decJoinAccept[11] & 0x80 ) == 0x80 ) ? 1 : 0; in SecureElementProcessJoinAccept()
|
/loramac-node-3.4.0/src/mac/ |
D | secure-element.h | 164 … uint8_t encJoinAcceptSize, uint8_t* decJoinAccept,
|
D | LoRaMacCrypto.c | 1123 uint8_t decJoinAccept[LORAMAC_JOIN_ACCEPT_FRAME_MAX_SIZE] = { 0 }; in LoRaMacCryptoHandleJoinAccept() local 1152 macMsg->BufSize, decJoinAccept, in LoRaMacCryptoHandleJoinAccept() 1158 memcpy1( macMsg->Buffer, decJoinAccept, macMsg->BufSize ); in LoRaMacCryptoHandleJoinAccept()
|