⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aacs_error.h

📁 Sigma SMP8634 Mrua v. 2.8.2.0
💻 H
字号:
/* * * Copyright (c) Sigma Designs, Inc. 2005-2006. All rights reserved. * */#ifndef __AACS_ERROR_H__#define __AACS_ERROR_H__#include "rmdef/rmdef.h"/** Map error codes to function in the public APIError                                1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3      Number     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3aacs_open        x x     x                                     x                    aacs_close       x       x                                     x                    aacs_initialize  x x     x x x x x x x x x x xi  x x x x x x x x x x x x            aacs_get_psr     x       x                                     x                    aacs_ge.._hash   x       x   x x                   x                                aacs_get_pmsn    x       x   x                                 x             x      aacs_get_vo..id  x       x                                     x                    aacs_c..ocation  x x x x x   x x                         x     x x             x x xaacs_..le_ready  x x     x   x                     x           x x     x x          aacs_cancel      x       x                                                          aacs_ge.._info   x       x                                                          aacs_finalize    x       x                                     x                    aacs_set_kcd     x       x   x               xi                  x                  aacs_random_gen  x       x   x                                 x                    aacs_tdes_g      x       x   x                                 x                    aacs_send_fut    x x     x                                     x x                  aacs_set_sp      x       x           x                         x           x              x  api returns this error      xi depends on implementation*//** AACS error codes */#define AACS_E_OK		0		/* No error */#define AACS_E_MEM		1		/* No memory available */#define AACS_E_CHT		2		/* Content hash table missing or malformed */#define AACS_E_CONT_CERT	3		/* Content certificate missing or malformed */#define AACS_E_PARAM		4		/* Invalid parameter */#define AACS_E_IMPL		5		/* Not implemented */#define AACS_E_CIPHER		6		/* Cipher error */#define AACS_E_SIG		7		/* Error verifying signature / signing */#define AACS_E_DRIVE_CERT	8		/* Drive certificate error */#define AACS_E_MKB		9		/* Error in MKB, invalid MKB */#define AACS_E_NOT_FOUND	10		/* Record not found */#define AACS_E_DRL		11		/* Error in DRL, invalid DRL */#define AACS_E_DRIVE_REVOKED	12		/* AACS drive revoked */#define AACS_E_KM		13 		/* Error verifying Media Key */#define AACS_E_KCD		14 		/* KCD invalid */#define AACS_E_DEVICE_REVOKED	15		/* AACS device revoked */#define AACS_E_DEVICE_KEY	16		/* AACS device key not found */#define AACS_E_IO		17		/* I/O Error */#define AACS_E_GETVID		18		/* Error gettting volume ID */#define AACS_E_VID		19		/* Volume ID verification failed */#define AACS_E_ERROR		20		/* General error */#define AACS_E_AGID		21		/* Error getting AGID */#define AACS_E_AUTH_CHALLENGE	22		/* Error processing Auth challenge */#define AACS_E_XPU		23		/* Error during communication with XPU */#define AACS_E_MAP		24		/* Error mapping CPU <-> RUA mem */#define AACS_E_SKB		25		/* Error in SKB, invalid SKB */#define AACS_E_KSEG		26		/* Error in Segment Key File */#define AACS_E_CPS_UK		27		/* Error in CPS Unit Key File */#define AACS_E_CPS_UU		28		/* Error in CPS Unit Usage File */#define AACS_E_FUT		29		/* Error in FUT (BD+) */#define AACS_E_PMSN		30		/* Error getting PMSN */#define AACS_E_HASH		31		/* Content hash is wrong */#define AACS_E_CRL		32		/* CRL malformed or missing */#define AACS_E_CONTENT_REVOKED	33		/* Content has been reovked */#define AACS_E_BNONCE		34		/* Error reading binding nonce */#define AACS_E_MEDIAID		35		/* Error reading media ID */#define AACS_E_CLIP_NOT_FOUND_UK 36             /* Clip not found in CPS Unit Key File*//** Useful macros for debug */#define AACS_ERROR(msg) \RMDBGLOG((ENABLE, msg " : %lu\n", aacs_error))#define AACS_EERROR(msg, ...) \RMDBGLOG((ENABLE, msg " : %lu\n", __VA_ARGS__, aacs_error))/** Errno like error reporting */extern RMuint32 * __aacs_error_func(void);#define aacs_error (* __aacs_error_func())#endif /* __AACS_ERROR_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -