Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp129 const cppcose::HmacSha256Function& macFunction) { in validateAndExtractPubkeys() argument
175 auto macTag = generateCoseMac0Mac(macFunction, {} /* external_aad */, payload->value()); in validateAndExtractPubkeys()
Dandroid_keymaster.cpp421 auto macFunction = getMacFunction(request.test_mode, rem_prov_ctx); in GenerateRkpKey() local
422 auto macedKey = constructCoseMac0(macFunction, {} /* externalAad */, cosePublicKey); in GenerateRkpKey()
451 auto macFunction = getMacFunction(request.test_mode, rem_prov_ctx); in GenerateCsr() local
453 request.keys_to_sign_array, macFunction); in GenerateCsr()
560 auto macFunction = getMacFunction(false /* test_mode */, rem_prov_ctx); in GenerateCsrV2() local
562 request.keys_to_sign_array, macFunction); in GenerateCsrV2()
1031 auto macFunction = in GetRootOfTrust() local
1039 macFunction, // in GetRootOfTrust()
/system/keymaster/include/keymaster/
Dremote_provisioning_utils.h74 const cppcose::HmacSha256Function& macFunction);
/system/keymaster/cppcose/
Dcppcose.cpp237 ErrMsgOr<HmacSha256> generateCoseMac0Mac(HmacSha256Function macFunction, const bytevec& externalAad, in generateCoseMac0Mac() argument
246 auto macTag = macFunction(macStructure); in generateCoseMac0Mac()
254 ErrMsgOr<cppbor::Array> constructCoseMac0(HmacSha256Function macFunction, in constructCoseMac0() argument
256 auto tag = generateCoseMac0Mac(macFunction, externalAad, payload); in constructCoseMac0()
290 auto macFunction = [&macKey](const bytevec& input) { in verifyAndParseCoseMac0() local
293 auto macTag = generateCoseMac0Mac(macFunction, {} /* external_aad */, payload->value()); in verifyAndParseCoseMac0()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h286 ErrMsgOr<HmacSha256> generateCoseMac0Mac(HmacSha256Function macFunction, const bytevec& externalAad,
288 ErrMsgOr<cppbor::Array> constructCoseMac0(HmacSha256Function macFunction,