📄 css_interface.inc
字号:
/**************************************************************************** * Copyright (c) Sigma Designs, Inc. 2005. All rights reserved. *//** * @file css_interface.inc * * @brief Creates function prototypes utilizing Macro Function wrappers. * from within css_interface.h * * @version 0.1 * * @buglog First revision. * * @author Alan Liddeke ( from Julien's rmupnp project ) * ****************************************************************************/#ifdef CSS_USE_CONTEXT #ifdef CSS_AUTHENTICATION_API FUNC0(css_initialize,RMstatus,RM_ERROR,void*,context) FUNC0(css_terminate,RMstatus,RM_ERROR,void*,context) FUNC1(css_get_challenge,RMstatus,RM_ERROR,void*,context,RMuint8*,challenge) FUNC1(css_record_challenge_response,void*,context,RMuint8*,response) FUNC1(css_send_challenge,RMstatus,RM_ERROR,void*,context,RMuint8*,challenge) FUNC1(css_get_challenge_response,RMstatus,RM_ERROR,void*,context,RMuint8*,response) FUNC1(css_send_disc_key,RMstatus,RM_ERROR,void*,context,RMuint8*,discKey) FUNC1(css_send_title_key,RMstatus,RM_ERROR,void*,context,RMuint8*,titleKey) RUNC1(css_set_title_key_location,RMstatus, RM_ERROR,void*,context, RMuint32, tkLoc) #endif #ifdef CSS_DECRYPTION_API FUNC2( css_decrypt, RMstatus, RM_ERROR, RMuint8, *buffer, RMuint32, numSectors ) #endif#else #ifdef CSS_AUTHENTICATION_API FUNC2(css_initialize,RMstatus,RM_ERROR,RMuint32,base_addr,RMuint32,mem_size) FUNC0(css_terminate,RMstatus,RM_ERROR) FUNC1(css_get_challenge,RMstatus,RM_ERROR,RMuint8*,challenge) FUNC1(css_record_challenge_response,RMstatus, RM_ERROR,RMuint8*,response) FUNC1(css_send_challenge,RMstatus,RM_ERROR,RMuint8*,challenge) FUNC1(css_get_challenge_response,RMstatus,RM_ERROR,RMuint8*,response) FUNC1(css_send_disc_key,RMstatus,RM_ERROR,RMuint8*,discKey) FUNC1(css_send_title_key,RMstatus,RM_ERROR,RMuint8*,titleKey) FUNC1(css_set_title_key_location,RMstatus,RM_ERROR,RMuint32,tkLoc) FUNC3(css_initialize_preloaded,RMstatus,RM_ERROR,RMuint32,base_addr,RMuint32,mem_size,RMuint8,xtask_slot_id) #endif #ifdef CSS_DECRYPTION_API FUNC2(css_decrypt,RMstatus,RM_ERROR,RMuint8*,buffer,RMuint32,numSectors ) #endif #endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -