Searched refs:build_aad (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/security/asset/services/core_service/src/operations/ |
H A D | operation_query.rs | 46 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 D | operation_update.rs | 32 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in encrypt()
|
H A D | operation_add.rs | 40 let cipher = Crypto::encrypt(&secret_key, secret, &common::build_aad(db_data)?)?; in encrypt_secret()
|
H A D | common.rs | 185 pub(crate) fn build_aad(attrs: &DbMap) -> Result<Vec<u8>> { in build_aad() function
|