Searched refs:macFunction (Results 1 – 5 of 5) sorted by relevance
/system/keymaster/cppcose/ |
D | cppcose.cpp | 70 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/ |
D | remote_provisioning_utils.h | 73 cppcose::HmacSha256Function macFunction);
|
/system/keymaster/android_keymaster/ |
D | remote_provisioning_utils.cpp | 129 cppcose::HmacSha256Function macFunction) { in validateAndExtractPubkeys() argument 175 auto macTag = generateCoseMac0Mac(macFunction, {} /* external_aad */, payload->value()); in validateAndExtractPubkeys()
|
D | android_keymaster.cpp | 394 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/ |
D | cppcose.h | 242 ErrMsgOr<HmacSha256> generateCoseMac0Mac(HmacSha256Function macFunction, const bytevec& externalAad, 244 ErrMsgOr<cppbor::Array> constructCoseMac0(HmacSha256Function macFunction,
|