Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp70 ErrMsgOr<HmacSha256> generateCoseMac0Mac(HmacSha256Function macFunction, const bytevec& externalAad, in generateCoseMac0Mac() argument
79 auto macTag = macFunction(macStructure); in generateCoseMac0Mac()
87 ErrMsgOr<cppbor::Array> constructCoseMac0(HmacSha256Function macFunction, in constructCoseMac0() argument
89 auto tag = generateCoseMac0Mac(macFunction, externalAad, payload); in constructCoseMac0()
123 auto macFunction = [&macKey](const bytevec& input) { in verifyAndParseCoseMac0() local
126 auto macTag = generateCoseMac0Mac(macFunction, {} /* external_aad */, payload->value()); in verifyAndParseCoseMac0()
/system/keymaster/include/keymaster/
Dremote_provisioning_utils.h73 cppcose::HmacSha256Function macFunction);
/system/keymaster/android_keymaster/
Dremote_provisioning_utils.cpp129 cppcose::HmacSha256Function macFunction) { in validateAndExtractPubkeys() argument
175 auto macTag = generateCoseMac0Mac(macFunction, {} /* external_aad */, payload->value()); in validateAndExtractPubkeys()
Dandroid_keymaster.cpp394 auto macFunction = getMacFunction(request.test_mode, rem_prov_ctx); in GenerateRkpKey() local
395 auto macedKey = constructCoseMac0(macFunction, {} /* externalAad */, cosePublicKey); in GenerateRkpKey()
417 auto macFunction = getMacFunction(request.test_mode, rem_prov_ctx); in GenerateCsr() local
419 request.keys_to_sign_array, macFunction); in GenerateCsr()
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h242 ErrMsgOr<HmacSha256> generateCoseMac0Mac(HmacSha256Function macFunction, const bytevec& externalAad,
244 ErrMsgOr<cppbor::Array> constructCoseMac0(HmacSha256Function macFunction,