Home
last modified time | relevance | path

Searched refs:build_aad (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/security/asset/services/core_service/src/operations/
H A Doperation_query.rs46 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in upgrade_version()
65 let secret = Crypto::decrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in decrypt_secret()
80 let secret = crypto.exec_crypt(secret, &common::build_aad(db_data)?, auth_token)?; in exec_crypto()
H A Doperation_update.rs32 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in encrypt()
H A Doperation_add.rs40 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in encrypt_secret()
H A Dcommon.rs185 pub(crate) fn build_aad(attrs: &DbMap) -> Result<Vec<u8>> { in build_aad() function