Searched refs:MAX_SECRET_SIZE (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/security/asset/frameworks/js/napi/src/ |
H A D | asset_napi_check.cpp | 38 #define MAX_SECRET_SIZE 1024 macro 117 { SEC_ASSET_TAG_SECRET, { &CheckArraySize, MIN_ARRAY_SIZE, MAX_SECRET_SIZE } },
|
/ohos5.0/base/security/asset/services/core_service/src/operations/common/ |
H A D | argument_check.rs | 31 const MAX_SECRET_SIZE: usize = 1024; const 146 Tag::Secret => check_array_size(tag, value, MIN_ARRAY_SIZE, MAX_SECRET_SIZE), in check_data_value()
|
/ohos5.0/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | add_abnormal.rs | 117 attrs.insert_attr(Tag::Secret, vec![0; MAX_SECRET_SIZE]); in add_secret_with_max_len() 132 attrs.insert_attr(Tag::Secret, vec![0; MAX_SECRET_SIZE + 1]); in add_invalid_secret()
|
H A D | common.rs | 37 pub(crate) const MAX_SECRET_SIZE: usize = 1024;
|
H A D | update_abnormal.rs | 277 update.insert_attr(Tag::Secret, vec![0; MAX_SECRET_SIZE + 1]); in update_invalid_secret()
|