Searched defs:SecretKey (Results 1 – 3 of 3) sorted by relevance
/base/security/asset/services/crypto_manager/src/ |
D | secret_key.rs | 26 pub struct SecretKey { struct 27 auth_type: AuthType, 28 access_type: Accessibility, 29 require_password_set: bool, 30 alias: Vec<u8>, 31 calling_info: CallingInfo, 73 impl SecretKey { impl
|
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 | 111 pub(crate) fn build_secret_key(calling: &CallingInfo, attrs: &DbMap) -> Result<SecretKey> { in build_secret_key()
|