Searched defs:KEY_SIZE (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DDumpHeapActivity.java39 public static final String KEY_SIZE = "size"; field in class:DumpHeapActivity
61 mSize = getIntent().getLongExtra(KEY_SIZE, 0);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c32 #define KEY_SIZE 16 macro
33 #define KEY_SIZE_IN_BITS (KEY_SIZE * 8)
78 unsigned char keyEncryptionKey[KEY_SIZE];
81 if (read(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) {
86 FwdLockGlue_GetRandomNumber(keyEncryptionKey, KEY_SIZE) &&
90 if (write(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) {
102 memset(keyEncryptionKey, 0, KEY_SIZE); // Zero out key data.
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerDialog.java46 protected static final String KEY_SIZE = "size"; field in class:ColorPickerDialog
80 bundle.putInt(KEY_SIZE, size);
95 mSize = getArguments().getInt(KEY_SIZE);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c41 #define KEY_SIZE AES_BLOCK_SIZE macro
42 #define KEY_SIZE_IN_BITS (KEY_SIZE * 8)
175 unsigned char value[KEY_SIZE];
176 unsigned char key[KEY_SIZE];
185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
191 memset(pData->value, 0, KEY_SIZE);
201 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
272 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE);
400 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL);
428 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NUL
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c47 #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];
248 unsigned char key[KEY_SIZE];
260 memset(pData->value, 0, KEY_SIZE);
270 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
1121 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE);
1131 if (!FwdLockGlue_GetRandomNumber(pSession->sessionKey, KEY_SIZE)) {
1133 } else if (!FwdLockGlue_EncryptKey(pSession->sessionKey, KEY_SIZE,
[all...]

Completed in 93 milliseconds