Home
last modified time | relevance | path

Searched refs:MAX_SECRET_SIZE (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/asset/frameworks/js/napi/src/
H A Dasset_napi_check.cpp38 #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 Dargument_check.rs31 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 Dadd_abnormal.rs117 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 Dcommon.rs37 pub(crate) const MAX_SECRET_SIZE: usize = 1024;
H A Dupdate_abnormal.rs277 update.insert_attr(Tag::Secret, vec![0; MAX_SECRET_SIZE + 1]); in update_invalid_secret()