Searched defs:SecretKey (Results 1 – 3 of 3) sorted by relevance
| /base/security/asset/services/crypto_manager/src/ |
| D | secret_key.rs | 27 pub struct SecretKey { struct 28 auth_type: AuthType, 29 access_type: Accessibility, 30 require_password_set: bool, 31 alias: Vec<u8>, 32 calling_info: CallingInfo, 187 impl SecretKey { implementation
|
| D | crypto.rs | 55 pub fn build(key: SecretKey, valid_time: u32) -> Result<Self> { in build() 115 pub fn encrypt(key: &SecretKey, msg: &Vec<u8>, aad: &Vec<u8>) -> Result<Vec<u8>> { in encrypt() 138 pub fn decrypt(key: &SecretKey, cipher: &Vec<u8>, aad: &Vec<u8>) -> Result<Vec<u8>> { in decrypt() 164 pub(crate) fn key(&self) -> &SecretKey { in key()
|
| /base/security/asset/services/core_service/src/operations/ |
| D | common.rs | 135 pub(crate) fn build_secret_key(calling: &CallingInfo, attrs: &DbMap) -> Result<SecretKey> { in build_secret_key()
|