* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
/**
- * @file DTapps2HMAC.h
- * @brief This file includes declarations relating to HMAC.
+ * @file DTapps2HMAC.h
+ * @brief HMAC.
*/
-
#ifndef __DTAPPS_HMAC_H__
#define __DTAPPS_HMAC_H__
-#ifdef __cplusplus
- extern "C" {
-#endif
-
#include "drm_intf_tapps.h"
-void DTappsCalHMACSHA1(unsigned char* key,int key_len,unsigned char* msg,size_t msglen,unsigned char *md,unsigned int *md_len);
-int DTappsGetDeviceKey(unsigned char **pDevKey,unsigned int *DevKeyLen);
+void DTappsCalHMACSHA1(unsigned char *key, int key_len, unsigned char *msg,
+ size_t msglen, unsigned char *md, unsigned int *md_len);
+int DTappsGetDeviceKey(unsigned char **pDevKey, unsigned int *DevKeyLen);
void DTappsFreeDeviceKey(unsigned char **pDevKey);
-#ifdef __cplusplus
-}
-#endif
-
#endif /*__DTAPPS_HMAC_H__ */