Home
last modified time | relevance | path

Searched refs:keySize (Results 1 – 23 of 23) sorted by relevance

/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp197 optional<EcCurve> getCurveFromLength(int keySize) { in getCurveFromLength() argument
198 switch (keySize) { in getCurveFromLength()
212 bool GenerateKey(string transform, int keySize, bool sign = false) { in GenerateKey() argument
234 .Authorization(TAG_KEY_SIZE, keySize) in GenerateKey()
254 std::optional<EcCurve> curve = getCurveFromLength(keySize); in GenerateKey()
256 std::cerr << "Error: invalid EC-Curve from size " << keySize << std::endl; in GenerateKey()
534 #define BENCHMARK_KM(func, transform, keySize) \ argument
535 BENCHMARK_CAPTURE(func, transform/keySize, #transform "/" #keySize, keySize)->Apply(settings);
536 #define BENCHMARK_KM_MSG(func, transform, keySize, msgSize) \ argument
537 BENCHMARK_CAPTURE(func, transform/keySize/msgSize, #transform "/" #keySize "/" #msgSize, \
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DShaderCache.cpp61 void SetBlob(const void* key, EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize… in SetBlob() argument
62 std::vector<uint8_t> keyVec(keySize); in SetBlob()
63 memcpy(keyVec.data(), key, keySize); in SetBlob()
68 mruCache.put(keyVec, keySize, std::move(valueVec), valueSize); in SetBlob()
71 EGLsizeiANDROID GetBlob(const void* key, EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valu… in GetBlob() argument
72 std::vector<uint8_t> keyVec(keySize); in GetBlob()
73 memcpy(keyVec.data(), key, keySize); in GetBlob()
DShaderCache.h23 void SetBlob(const void* key, EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize…
25 EGLsizeiANDROID GetBlob(const void* key, EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valu…
/hardware/interfaces/keymaster/4.0/vts/performance/
DBenchmark.cpp138 bool GenerateKey(Algorithm algorithm, int keySize, Digest digest = Digest::NONE, in GenerateKey() argument
146 .Authorization(TAG_KEY_SIZE, keySize)
187 bool GenerateKey(string transform, int keySize, bool sign = false) { in GenerateKey() argument
202 return GenerateKey(*algorithm, keySize, getDigest(transform), getPadding(transform, sign), in GenerateKey()
419 #define BENCHMARK_KM(func, transform, keySize) \ argument
420 BENCHMARK_CAPTURE(func, transform/keySize, #transform "/" #keySize, keySize)->Apply(settings);
421 #define BENCHMARK_KM_MSG(func, transform, keySize, msgSize) \ argument
422 BENCHMARK_CAPTURE(func, transform/keySize/msgSize, #transform "/" #keySize "/" #msgSize, \
423 keySize, msgSize) \
426 #define BENCHMARK_KM_ALL_MSGS(func, transform, keySize) \ argument
[all …]
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
DComposerCommandEngine.h92 const uint32_t keySize = read(); in executeSetLayerGenericMetadata() local
93 if (!isReadSizeValid(keySize)) { in executeSetLayerGenericMetadata()
97 key.resize(keySize); in executeSetLayerGenericMetadata()
98 readBlob(keySize, key.data()); in executeSetLayerGenericMetadata()
/hardware/interfaces/weaver/aidl/android/hardware/weaver/
DWeaverConfig.aidl28 int keySize;
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/1/android/hardware/weaver/
DWeaverConfig.aidl38 int keySize;
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/2/android/hardware/weaver/
DWeaverConfig.aidl38 int keySize;
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/current/android/hardware/weaver/
DWeaverConfig.aidl38 int keySize;
/hardware/nxp/weaver/1.0/
DWeaver.cpp59 configResp.keySize = slotInfo.keySize; in getConfig()
/hardware/interfaces/weaver/vts/
DVtsHalWeaverTargetTest.cpp106 _aidl_return->keySize = config.keySize; in getConfig()
195 GTEST_LOG_(INFO) << "WeaverConfig: slots=" << config_.slots << ", keySize=" << config_.keySize in SetUp()
253 EXPECT_GE(config_.keySize, 16u); in TEST_P()
365 std::vector<uint8_t> bigKey(config_.keySize + 1); in TEST_P()
385 std::vector<uint8_t> bigKey(config_.keySize + 1); in TEST_P()
/hardware/nxp/weaver/libese_weaver/inc/
Dweaver_common.h35 uint32_t keySize; member
/hardware/nxp/weaver/aidl_impl/
DWeaver.cpp59 out_config->keySize = slotInfo.keySize; in getConfig()
/hardware/google/gfxstream/guest/mesa/src/util/
Ddisk_cache.h60 (*disk_cache_put_cb) (const void *key, signed long keySize,
64 (*disk_cache_get_cb) (const void *key, signed long keySize,
/hardware/google/aemu/base/include/aemu/base/
DMruCache.h63 bool put(const K& key, size_t keySize, V&& value, size_t valueSize) { in put() argument
66 EntryWithSize<K> cacheKey(std::move(key), keySize); in put()
/hardware/interfaces/weaver/1.0/
Dtypes.hal27 uint32_t keySize;
/hardware/interfaces/identity/aidl/default/libeic/
DEicOps.h265 void eicOpsHmacSha256Init(EicHmacSha256Ctx* ctx, const uint8_t* key, size_t keySize);
/hardware/interfaces/identity/aidl/default/
DEicOpsImpl.cc79 void eicOpsHmacSha256Init(EicHmacSha256Ctx* ctx, const uint8_t* key, size_t keySize) { in eicOpsHmacSha256Init() argument
82 if (HMAC_Init_ex(realCtx, key, keySize, EVP_sha256(), nullptr /* impl */) != 1) { in eicOpsHmacSha256Init()
/hardware/google/gfxstream/guest/mesa/include/GL/internal/
Ddri_interface.h312 (*__DRIblobCacheSet) (const void *key, signed long keySize,
316 (*__DRIblobCacheGet) (const void *key, signed long keySize,
/hardware/nxp/weaver/libese_weaver/src/
Dweaver-parser-impl.cpp244 slotInfo.keySize = KEY_SIZE; in ParseSlotInfo()
/hardware/google/gfxstream/common/opengl/include/EGL/
Deglext.h468 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value,…
469 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *v…
/hardware/google/gfxstream/guest/mesa/include/EGL/
Deglext.h453 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value,…
454 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *v…
/hardware/interfaces/keymaster/4.0/
DIKeymasterDevice.hal721 * keySize [3] EXPLICIT INTEGER OPTIONAL,