Searched defs:KEY_SIZE (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 32 #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 D | ColorPickerDialog.java | 45 protected static final String KEY_SIZE = "size"; field in class:ColorPickerDialog 78 bundle.putInt(KEY_SIZE, size); 93 mSize = getArguments().getInt(KEY_SIZE);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A 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]; 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 D | FwdLockConv.c | 46 #define KEY_SIZE AES_BLOCK_SIZE macro 47 #define KEY_SIZE_IN_BITS (KEY_SIZE * 8) 143 unsigned char sessionKey[KEY_SIZE]; 246 unsigned char value[KEY_SIZE]; 247 unsigned char key[KEY_SIZE]; 259 memset(pData->value, 0, KEY_SIZE); 269 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); 1120 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE); 1130 if (!FwdLockGlue_GetRandomNumber(pSession->sessionKey, KEY_SIZE)) { 1132 } else if (!FwdLockGlue_EncryptKey(pSession->sessionKey, KEY_SIZE, [all...] |
Completed in 158 milliseconds