/frameworks/av/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.
|
/external/jemalloc/test/unit/ |
hash.c | 62 #define KEY_SIZE 256 73 memset(key, 0, KEY_SIZE); 147 uint8_t key[KEY_SIZE + (MAX_ALIGN - 1)]; 154 #undef KEY_SIZE
|
/external/ltp/testcases/kernel/syscalls/flistxattr/ |
flistxattr01.c | 45 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
|
/external/ltp/testcases/kernel/syscalls/listxattr/ |
listxattr01.c | 45 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
|
/system/hwservicemanager/ |
TokenManager.h | 36 static constexpr uint64_t KEY_SIZE = 16; 45 std::array<uint8_t, KEY_SIZE> mKey;
|
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/ |
BrokenKeyDerivationActivity.java | 102 SecretKey insecureKey = deriveKeyInsecurely(password, KEY_SIZE); 104 SecretKey secureKey = deriveKeySecurely(password, KEY_SIZE); 109 SecretKey secureKey = deriveKeySecurely(password, KEY_SIZE); 190 deriveKeyInsecurely("unguessable", KEY_SIZE)); 217 byte[] salt = new byte[KEY_SIZE]; 284 private static final int KEY_SIZE = 32;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.c | 41 #define KEY_SIZE AES_BLOCK_SIZE 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, NULL, NULL) [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.c | 47 #define KEY_SIZE AES_BLOCK_SIZE 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); [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/drivers/crypt/ |
crypt.c | 36 #define KEY_SIZE 160 117 for (i = 0; i < KEY_SIZE; i++)
|
/external/nos/test/system-test-harness/src/ |
weaver_tests.cc | 49 static constexpr size_t KEY_SIZE = 16; 51 const uint8_t TEST_KEY[KEY_SIZE] = {1, 2, 3, 4, 5, 6, 7, 8, 53 const uint8_t WRONG_KEY[KEY_SIZE] = {100, 2, 3, 4, 5, 6, 7, 8, 90 request.set_key(key, KEY_SIZE); 102 request.set_key(key, KEY_SIZE); 109 for (size_t x = 0; x < KEY_SIZE; ++x) { 129 request.set_key(key, KEY_SIZE); 147 request.set_key(key, KEY_SIZE); 182 EXPECT_EQ(response.key_size(), 16u);
|
keymaster-import-key-tests.cc | 48 void initRSARequest(ImportKeyRequest *request, Algorithm alg, int key_size) { 51 if (key_size >= 0) { 54 param->set_tag(Tag::KEY_SIZE); 55 param->set_integer(key_size); 59 void initRSARequest(ImportKeyRequest *request, Algorithm alg, int key_size, 61 initRSARequest(request, alg, key_size); 71 void initRSARequest(ImportKeyRequest *request, Algorithm alg, int key_size, 74 initRSARequest(request, alg, key_size, public_exponent_tag); 117 param->set_tag(Tag::KEY_SIZE); 157 // N does not match KEY_SIZE [all...] |
/external/ltp/testcases/kernel/syscalls/llistxattr/ |
llistxattr01.c | 44 #define KEY_SIZE (sizeof(SECURITY_KEY1) - 1)
|
/kernel/tests/net/test/ |
bpf_test.py | 33 KEY_SIZE = 8 167 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 189 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 201 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 212 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 222 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 245 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 266 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 290 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE, 377 self.map_fd = CreateMap(BPF_MAP_TYPE_HASH, KEY_SIZE, VALUE_SIZE [all...] |
/external/nos/host/android/hals/keymaster/ |
import_key.cpp | 65 if (params.find(Tag::KEY_SIZE) != params.end()) { 66 const vector<KeyParameter>& v = params.find(Tag::KEY_SIZE)->second; 146 const uint32_t *key_size = nullptr; local 147 if (params.find(Tag::KEY_SIZE) != params.end()) { 148 const vector<KeyParameter>& v = params.find(Tag::KEY_SIZE)->second; 149 key_size = &v[0].f.integer; 196 if (key_size != nullptr && *key_size != parsed_key_size) { 257 const uint32_t *key_size = nullptr; local 258 if (params.find(Tag::KEY_SIZE) != params.end()) [all...] |
import_wrapped_key.cpp | 179 case Tag::KEY_SIZE: 414 {Tag::KEY_SIZE, parse_asn1_integer},
|
/frameworks/base/core/java/com/android/internal/app/ |
DumpHeapActivity.java | 39 public static final String KEY_SIZE = "size"; 61 mSize = getIntent().getLongExtra(KEY_SIZE, 0);
|
/system/security/keystore/ |
key_proto_handler.cpp | 39 case Tag::KEY_SIZE:
|
operation_proto_handler.cpp | 60 case Tag::KEY_SIZE:
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
ColorPickerDialog.java | 46 protected static final String KEY_SIZE = "size"; 80 bundle.putInt(KEY_SIZE, size); 95 mSize = getArguments().getInt(KEY_SIZE);
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
TrampolineActivity.java | 54 private static final String KEY_SIZE = "size"; 137 args.putLong(KEY_SIZE, size); 151 final long size = getArguments().getLong(KEY_SIZE);
|
/external/kernel-headers/original/uapi/linux/ |
bcache.h | 51 KEY_FIELD(KEY_SIZE, high, 20, KEY_SIZE_BITS) 83 #define KEY_START(k) (KEY_OFFSET(k) - KEY_SIZE(k))
|
/external/nos/host/generic/nugget/proto/nugget/app/keymaster/ |
keymaster_defs.proto | 43 KEY_SIZE = 0x30003; // (TagType:UINT | 3)
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
MediaBitstreamsDeviceSideTest.java | 64 private static final String KEY_SIZE = "size"; 121 formatStringBuilder.append(',').append(KEY_SIZE)
|
/hardware/interfaces/keymaster/3.0/ |
types.hal | 43 KEY_SIZE = TagType:UINT | 3, /** Key size in bits. */
|
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/ |
keymaster_tags.h | 126 DECLARE_TYPED_TAG(KEY_SIZE); 358 case Tag::KEY_SIZE:
|