Home
last modified time | relevance | path

Searched refs:keySize (Results 1 - 25 of 45) sorted by relevance

12

/third_party/lzma/CPP/7zip/Crypto/
H A DMyAes.h71 unsigned keySize
82 CAesCbcEncoder(unsigned keySize = 0): CAesCoder(keySize) in CAesCbcEncoder()
93 CAesCbcDecoder(unsigned keySize = 0): CAesCoder(keySize) in CAesCbcDecoder()
110 CAesCtrCoder(unsigned keySize = 0): CAesCoder(keySize) in CAesCtrCoder()
H A DMyAesReg.cpp13 #define REGISTER_AES_2(name, nameString, keySize) \
15 CAesCbcDecoder(keySize), \
16 CAesCbcEncoder(keySize), \
17 0x6F00100 | ((keySize - 16) * 8) | (/* isCtr */ 0 ? 4 : 1), \
H A DMyAes.cpp15 unsigned keySize in CAesCoder()
21 _keySize(keySize), in CAesCoder()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
H A DEGLProgramCacheControlTest.cpp115 EGLint keySize = eglProgramCacheGetAttribANGLE(display, EGL_PROGRAM_CACHE_KEY_LENGTH_ANGLE); in TEST_P() local
116 EXPECT_GT(kDefaultKeySize, keySize); in TEST_P()
117 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize + 1, kDefaultBinary, in TEST_P()
121 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize, kDefaultBinary, -1); in TEST_P()
124 eglProgramCachePopulateANGLE(display, nullptr, keySize, kDefaultBinary, kDefaultBinarySize); in TEST_P()
127 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize, nullptr, kDefaultBinarySize); in TEST_P()
131 eglProgramCachePopulateANGLE(display, kDefaultKey, keySize, kDefaultBinary, kDefaultBinarySize); in TEST_P()
151 ASSERT_EQ(keySize, tempKeySize); in TEST_P()
202 EGLint keySize = 0; in TEST_P() local
204 eglProgramCacheQueryANGLE(display, 0, nullptr, &keySize, nullpt in TEST_P()
205 EXPECT_EQ(static_cast<EGLint>(mCachedKey.size()), keySize); TEST_P() local
[all...]
H A DEGLBlobCacheTest.cpp52 void SetBlob(const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize) in SetBlob() argument
54 std::vector<uint8_t> keyVec(keySize); in SetBlob()
55 memcpy(keyVec.data(), key, keySize); in SetBlob()
66 EGLsizeiANDROID keySize, in GetBlob()
70 std::vector<uint8_t> keyVec(keySize); in GetBlob()
71 memcpy(keyVec.data(), key, keySize); in GetBlob()
65 GetBlob(const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize) GetBlob() argument
/third_party/skia/third_party/externals/angle2/src/common/
H A Dhash_utils.h18 inline std::size_t ComputeGenericHash(const void *key, size_t keySize) in ComputeGenericHash() argument
23 ASSERT(keySize % 4 == 0); in ComputeGenericHash()
25 return XXH64(key, keySize, kSeed); in ComputeGenericHash()
27 return XXH32(key, keySize, kSeed); in ComputeGenericHash()
/drivers/peripheral/codec/test/demo/heif/include/
H A Dbuffer_helper.h65 std::size_t keySize = sizeof(key); in AddData() local
67 std::size_t dataSize = keySize + valueSize; in AddData()
75 HDF_LOGD("key=%{public}d, keySize=%{public}zu, valueSize=%{public}zu, " \ in AddData()
77 key, keySize, valueSize, dataSize, totalSize_); in AddData()
80 ret = memcpy_s(p, dataSize, reinterpret_cast<uint8_t*>(&key), keySize); in AddData()
82 ret = memcpy_s(p + keySize, valueSize, reinterpret_cast<uint8_t*>(&value), valueSize); in AddData()
/third_party/lzma/C/
H A DAes.h22 /* keySize = 16 or 24 or 32 (bytes) */
23 typedef void (Z7_FASTCALL *AES_SET_KEY_FUNC)(UInt32 *aes, const Byte *key, unsigned keySize);
24 void Z7_FASTCALL Aes_SetKey_Enc(UInt32 *aes, const Byte *key, unsigned keySize);
25 void Z7_FASTCALL Aes_SetKey_Dec(UInt32 *aes, const Byte *key, unsigned keySize);
H A DAes.c197 void Z7_FASTCALL Aes_SetKey_Enc(UInt32 *w, const Byte *key, unsigned keySize) in Aes_SetKey_Enc() argument
204 keySize /= 4; in Aes_SetKey_Enc()
205 w[0] = ((UInt32)keySize / 2) + 3; in Aes_SetKey_Enc()
208 for (i = 0; i < keySize; i++, key += 4) in Aes_SetKey_Enc()
211 t = w[(size_t)keySize - 1]; in Aes_SetKey_Enc()
212 wLim = w + (size_t)keySize * 3 + 28; in Aes_SetKey_Enc()
222 m = keySize; in Aes_SetKey_Enc()
224 else if (m == 4 && keySize > 6) in Aes_SetKey_Enc()
228 w[keySize] = t; in Aes_SetKey_Enc()
233 void Z7_FASTCALL Aes_SetKey_Dec(UInt32 *w, const Byte *key, unsigned keySize) in Aes_SetKey_Dec() argument
[all...]
/drivers/peripheral/codec/test/unittest/hdi_image/
H A Dtest_helper.h46 std::size_t keySize = sizeof(key); in AddData() local
48 std::size_t dataSize = keySize + valueSize; in AddData()
58 ret = memcpy_s(p, dataSize, reinterpret_cast<uint8_t*>(&key), keySize); in AddData()
60 ret = memcpy_s(p + keySize, valueSize, reinterpret_cast<uint8_t*>(&value), valueSize); in AddData()
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
H A Dsymmetric_importKey.https.any.js68 function testFormat(format, algorithm, keyData, keySize, usages, extractable) {
73 assert_goodCryptoKey(key, hasLength(key.algorithm) ? { length: keySize, ...algorithm } : algorithm, extractable, usages, 'secret');
91 }, "Good parameters: " + keySize.toString() + " bits " + parameterString(format, keyData, algorithm, extractable, usages));
96 function testEmptyUsages(format, algorithm, keyData, keySize, extractable) {
105 }, "Empty Usages: " + keySize.toString() + " bits " + parameterString(format, keyData, algorithm, extractable, usages));
H A Dec_importKey.https.any.js104 function testFormat(format, algorithm, data, keySize, usages, extractable) {
136 }, "Good parameters: " + keySize.toString() + " bits " + parameterString(format, compressed, keyData, algorithm, extractable, usages));
141 function testEmptyUsages(format, algorithm, data, keySize, extractable) {
151 }, "Empty Usages: " + keySize.toString() + " bits " + parameterString(format, false, keyData, algorithm, extractable, usages));
H A Drsa_importKey.https.any.js112 function testFormat(format, algorithm, keyData, keySize, usages, extractable) {
135 }, "Good parameters: " + keySize.toString() + " bits " + parameterString(format, keyData[format], algorithm, extractable, usages));
140 function testEmptyUsages(format, algorithm, keyData, keySize, extractable) {
149 }, "Empty Usages: " + keySize.toString() + " bits " + parameterString(format, keyData, algorithm, extractable, usages));
/third_party/icu/icu4c/source/samples/legacy/
H A Doldcol.cpp92 int32_t keySize = 0; in test_legacy() local
100 keySize = getSortKey_legacy("ja", data[i], -1, keys[i], 32); in test_legacy()
101 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_legacy()
H A Dnewcol.cpp76 int32_t keySize = 0; in test_current() local
83 keySize = getSortKey_current("ja", data[i], -1, keys[i], 32); in test_current()
84 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_current()
H A Dlegacy.cpp55 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { in printKeys() argument
59 for(i = 0; i<keySize; i++) { in printKeys()
/third_party/skia/third_party/externals/icu/source/samples/legacy/
H A Dnewcol.cpp76 int32_t keySize = 0; in test_current() local
83 keySize = getSortKey_current("ja", data[i], -1, keys[i], 32); in test_current()
84 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_current()
H A Doldcol.cpp92 int32_t keySize = 0; in test_legacy() local
100 keySize = getSortKey_legacy("ja", data[i], -1, keys[i], 32); in test_legacy()
101 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_legacy()
H A Dlegacy.cpp55 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { in printKeys() argument
59 for(i = 0; i<keySize; i++) { in printKeys()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DD3D12CachingTests.cpp35 size_t keySize,
40 const std::string keyStr(reinterpret_cast<const char*>(key), keySize); variable
50 size_t keySize,
53 const std::string keyStr(reinterpret_cast<const char*>(key), keySize); variable
/drivers/hdf_core/framework/utils/src/
H A Dhdf_map.c101 uint32_t keySize = strlen(key) + 1; in MapCreateNode() local
102 struct MapNode *node = (struct MapNode *)OsalMemCalloc(sizeof(*node) + keySize + valueSize); in MapCreateNode()
109 node->value = (uint8_t *)node + sizeof(*node) + keySize; in MapCreateNode()
111 if (memcpy_s(node->key, keySize, key, keySize) != EOK) { in MapCreateNode()
/third_party/skia/third_party/externals/dawn/src/include/dawn_platform/
H A DDawnPlatform.h48 size_t keySize,
55 size_t keySize,
/third_party/mesa3d/src/util/
H A Ddisk_cache.h59 (*disk_cache_put_cb) (const void *key, signed long keySize,
63 (*disk_cache_get_cb) (const void *key, signed long keySize,
/third_party/node/deps/icu-small/source/common/
H A Dmlbe.cpp239 int32_t keySize = 0; in initKeyValue() local
254 keySize = stringArray.getSize(); in initKeyValue()
257 for (int32_t idx = 0; idx < keySize; idx++) { in initKeyValue()
/third_party/skia/src/ports/
H A DSkFontMgr_FontConfigInterface.cpp76 SkASSERT(SkTAddOffset<char>(this, sizeof(SkResourceCache::Key) + keySize) == content); in Request()
84 this->init(nullptr, 0, keySize + contentLen); in Request()
88 static const size_t keySize = sizeof(fStyle); member

Completed in 11 milliseconds

12