Lines Matching refs:decJoinAccept
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()
385 … memcpy1( localBuffer + JOIN_ACCEPT_MIC_COMPUTATION_OFFSET - 1, decJoinAccept, encJoinAcceptSize ); in SecureElementProcessJoinAccept()