HomeSort by relevance Sort by last modified time
    Searched refs:KEY_SIZE (Results 1 - 6 of 6) sorted by null

  /frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/
FwdLockGlue.c 32 #define KEY_SIZE 16
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/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c 40 #define KEY_SIZE AES_BLOCK_SIZE
41 #define KEY_SIZE_IN_BITS (KEY_SIZE * 8)
173 unsigned char value[KEY_SIZE];
174 unsigned char key[KEY_SIZE];
180 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE);
186 memset(pData->value, 0, KEY_SIZE);
196 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
267 pSession->encryptedSessionKeyLength = FwdLockGlue_GetEncryptedKeyLength(KEY_SIZE);
404 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL);
432 HMAC_Init_ex(&pSession->signingContext, NULL, KEY_SIZE, NULL, NULL)
    [all...]
  /frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.c 46 #define KEY_SIZE AES_BLOCK_SIZE
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];
257 memset(pData->value, 0, KEY_SIZE);
267 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL);
    [all...]
  /frameworks/base/cmds/keystore/
keystore.cpp 49 #define KEY_SIZE ((NAME_MAX - 15) / 2)
693 {get, 'g', STATE_NO_ERROR, GET, {KEY_SIZE, 0}},
694 {insert, 'i', STATE_NO_ERROR, INSERT, {KEY_SIZE, VALUE_SIZE}},
695 {del, 'd', STATE_ANY, DELETE, {KEY_SIZE, 0}},
696 {exist, 'e', STATE_ANY, EXIST, {KEY_SIZE, 0}},
697 {saw, 's', STATE_ANY, SAW, {KEY_SIZE, 0}},
  /external/grub/stage2/
fsys_reiserfs.c 176 #define KEY_SIZE (sizeof (struct key))
352 ((int) cache + BLKH_SIZE + KEY_SIZE * nr_item))
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
reiserfs_fs.h 437 #define KEY_SIZE (sizeof(struct reiserfs_key))
    [all...]

Completed in 225 milliseconds