Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dhmac_operation.cpp92 size_t mac_length, size_t min_mac_length) in HmacOperation() argument
94 mac_length_(mac_length), min_mac_length_(min_mac_length) { in HmacOperation()
127 if (mac_length > EVP_MD_size(md) || mac_length < kMinHmacLengthBits / 8) { in HmacOperation()
131 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.cpp188 KeyParameter mac_length; in getSignOpParameters() local
189 mac_length.tag = Tag::MAC_LENGTH; in getSignOpParameters()
190 mac_length.value = KeyParameterValue::make<KeyParameterValue::integer>(256); in getSignOpParameters()
191 opParameters.push_back(mac_length); in getSignOpParameters()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h238 void MacMessage(const std::string& message, std::string* signature, size_t mac_length);
Dandroid_keymaster_test_utils.cpp424 void Keymaster2Test::MacMessage(const string& message, string* signature, size_t mac_length) { in MacMessage() argument
427 input_params.push_back(TAG_MAC_LENGTH, mac_length); in MacMessage()