Searched refs:KEY_SIZE (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 32 #define KEY_SIZE 16 macro 33 #define KEY_SIZE_IN_BITS (KEY_SIZE * 8) 78 unsigned char keyEncryptionKey[KEY_SIZE]; in FwdLockGlue_InitializeRoundKeys() 81 if (read(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) { in FwdLockGlue_InitializeRoundKeys() 86 FwdLockGlue_GetRandomNumber(keyEncryptionKey, KEY_SIZE) && in FwdLockGlue_InitializeRoundKeys() 90 if (write(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) { in FwdLockGlue_InitializeRoundKeys() 102 memset(keyEncryptionKey, 0, KEY_SIZE); // Zero out key data. in FwdLockGlue_InitializeRoundKeys()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.c | 41 #define KEY_SIZE AES_BLOCK_SIZE macro 42 #define KEY_SIZE_IN_BITS (KEY_SIZE * 8) 175 unsigned char value[KEY_SIZE]; in FwdLockFile_DeriveKeys() 176 unsigned char key[KEY_SIZE]; in FwdLockFile_DeriveKeys() 185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE); in FwdLockFile_DeriveKeys() 191 memset(pData->value, 0, KEY_SIZE); in FwdLockFile_DeriveKeys() 201 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockFile_DeriveKeys() 272 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE); in FwdLockFile_attach() 400 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL); in FwdLockFile_CheckDataIntegrity() 428 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL); in FwdLockFile_CheckHeaderIntegrity()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 47 #define KEY_SIZE AES_BLOCK_SIZE macro 48 #define KEY_SIZE_IN_BITS (KEY_SIZE * 8) 144 unsigned char sessionKey[KEY_SIZE]; 247 unsigned char value[KEY_SIZE]; in FwdLockConv_DeriveKeys() 248 unsigned char key[KEY_SIZE]; in FwdLockConv_DeriveKeys() 260 memset(pData->value, 0, KEY_SIZE); in FwdLockConv_DeriveKeys() 270 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockConv_DeriveKeys() 1121 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE); in FwdLockConv_OpenSession() 1131 if (!FwdLockGlue_GetRandomNumber(pSession->sessionKey, KEY_SIZE)) { in FwdLockConv_OpenSession() 1133 } else if (!FwdLockGlue_EncryptKey(pSession->sessionKey, KEY_SIZE, in FwdLockConv_OpenSession() [all …]
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerDialog.java | 46 protected static final String KEY_SIZE = "size"; field in ColorPickerDialog 80 bundle.putInt(KEY_SIZE, size); in setArguments() 95 mSize = getArguments().getInt(KEY_SIZE); in onCreate()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | DumpHeapActivity.java | 39 public static final String KEY_SIZE = "size"; field in DumpHeapActivity 65 mSize = getIntent().getLongExtra(KEY_SIZE, 0); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 1832 intent.putExtra(DumpHeapActivity.KEY_SIZE, memLimit); in handleMessage()
|