I am attempting to use the CyBle_AesCcm functions to encrypt part of an advertising packet. This works great when using a PSoC on the receiving end of the advertising packet, but the MIC value doesn't match when using another receiver and OpenSSL to decrypt the informaiton. After a test with OpenSSL to encrypt the same data with the same input, the encrypted data checks out, but the MIC values are different.
Is there some additional authentication data being used internally to the CyBle_AesCcm functions? If so, what is the additional data so I can replicate that for OpenSSL?