Home
last modified time | relevance | path

Searched refs:mac_length (Results 1 – 6 of 6) sorted by relevance

/system/keymaster/km_openssl/
Dhmac_operation.cpp94 size_t mac_length, size_t min_mac_length) in HmacOperation() argument
96 mac_length_(mac_length), min_mac_length_(min_mac_length) { in HmacOperation()
129 if (mac_length > EVP_MD_size(md) || mac_length < kMinHmacLengthBits / 8) { in HmacOperation()
133 if (mac_length < min_mac_length) { in HmacOperation()
Dhmac_operation.h28 size_t mac_length, size_t min_mac_length);
/system/security/ondevice-signing/
DKeystoreHmacKey.cpp185 KeyParameter mac_length; in getSignOpParameters() local
186 mac_length.tag = Tag::MAC_LENGTH; in getSignOpParameters()
187 mac_length.value = KeyParameterValue::make<KeyParameterValue::integer>(256); in getSignOpParameters()
188 opParameters.push_back(mac_length); in getSignOpParameters()
/system/security/keystore2/tests/
Dkeystore2_client_test_utils.rs161 .mac_length(256), in perform_sample_hmac_sign_verify_op()
326 op_params = op_params.mac_length(val); in perform_sample_sym_key_encrypt_op()
357 op_params = op_params.mac_length(val); in perform_sample_sym_key_decrypt_op()
393 .mac_length(mac_len); in encrypt_secure_key()
Dkeystore2_client_hmac_key_tests.rs46 .mac_length(mac_len), in create_hmac_key_and_operation()
/system/security/keystore2/test_utils/
Dauthorizations.rs153 pub fn mac_length(mut self, l: i32) -> Self { in mac_length() method