diff options
author | Chia-chi Yeh <chiachi@android.com> | 2009-08-06 02:28:24 +0800 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-08-05 22:01:28 -0400 |
commit | 64e69e8ab8f63c0bba14d1e17c0e9595487fc0dc (patch) | |
tree | acfc1a579a7ae022964fb8fb9492dc52276eecef /media/libdrm/mobile1/include | |
parent | 3905eb3d2f73b74333dff39bfe87e713dd072958 (diff) | |
download | frameworks_base-64e69e8ab8f63c0bba14d1e17c0e9595487fc0dc.zip frameworks_base-64e69e8ab8f63c0bba14d1e17c0e9595487fc0dc.tar.gz frameworks_base-64e69e8ab8f63c0bba14d1e17c0e9595487fc0dc.tar.bz2 |
libdrm1: Use libcrypto instead of libaes.
It seems that libdrm1 was the only user of libaes.
Now libaes is no longer required and removing it saves 36 kilobytes.
Diffstat (limited to 'media/libdrm/mobile1/include')
-rw-r--r-- | media/libdrm/mobile1/include/objmng/drm_rights_manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/libdrm/mobile1/include/objmng/drm_rights_manager.h b/media/libdrm/mobile1/include/objmng/drm_rights_manager.h index dd2116c..d81e7a1 100644 --- a/media/libdrm/mobile1/include/objmng/drm_rights_manager.h +++ b/media/libdrm/mobile1/include/objmng/drm_rights_manager.h @@ -21,9 +21,9 @@ extern "C" { #endif +#include <openssl/aes.h> #include <drm_common_types.h> #include <parser_rel.h> -#include <aes.h> #ifdef DRM_DEVICE_ARCH_ARM #define ANDROID_DRM_CORE_PATH "/data/drm/rights/" @@ -141,12 +141,12 @@ void drm_discardPaddingByte(uint8_t *decryptedBuf, int32_t *decryptedBufLen); * * \param Buffer The buffer to decrypted and also used to save the output data. * \param BufferLen The length of the buffer data and also save the output data length. - * \param ctx The structure of the CEK. + * \param key The structure of the CEK. * * \return * -0 */ -int32_t drm_aesDecBuffer(uint8_t * Buffer, int32_t * BufferLen, aes_decrypt_ctx ctx[1]); +int32_t drm_aesDecBuffer(uint8_t * Buffer, int32_t * BufferLen, AES_KEY *key); /** * Update the DCF data length according the CEK. |