Home
last modified time | relevance | path

Searched refs:HmacSharingParameters (Results 1 – 16 of 16) sorted by relevance

/system/keymaster/include/keymaster/km_openssl/
Dsoft_keymaster_enforcement.h42 keymaster_error_t GetHmacSharingParameters(HmacSharingParameters* params) override;
51 HmacSharingParameters saved_params_;
/system/keymaster/include/keymaster/
Dkeymaster_enforcement.h39 struct HmacSharingParameters;
164 virtual keymaster_error_t GetHmacSharingParameters(HmacSharingParameters* params) = 0;
Dandroid_keymaster_messages.h761 struct HmacSharingParameters : public Serializable { struct
762 HmacSharingParameters() : seed({}) { memset(nonce, 0, sizeof(nonce)); } in HmacSharingParameters() argument
763 HmacSharingParameters(HmacSharingParameters&& other) { in HmacSharingParameters() argument
793 HmacSharingParameters* params_array; argument
816 HmacSharingParameters params;
/system/keymaster/km_openssl/
Dsoft_keymaster_enforcement.cpp80 SoftKeymasterEnforcement::GetHmacSharingParameters(HmacSharingParameters* params) { in GetHmacSharingParameters()
140 bool operator==(const HmacSharingParameters& a, const HmacSharingParameters& b) { in operator ==()
/system/keymaster/ng/include/
DAndroidKeymaster4Device.h41 using ::android::hardware::keymaster::V4_0::HmacSharingParameters;
59 Return<void> computeSharedHmac(const hidl_vec<HmacSharingParameters>& params,
DAndroidKeymaster41Device.h40 using ::android::hardware::keymaster::V4_0::HmacSharingParameters;
81 Return<void> computeSharedHmac(const hidl_vec<HmacSharingParameters>& params, in computeSharedHmac()
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeymaster4Device.h36 using ::android::hardware::keymaster::V4_0::HmacSharingParameters;
53 Return<void> computeSharedHmac(const hidl_vec<HmacSharingParameters>& params,
/system/core/trusty/keymaster/keymint/
DTrustySharedSecret.cpp38 request.params_array.params_array = new keymaster::HmacSharingParameters[params.size()]; in computeSharedSecret()
/system/keymaster/ng/
DAndroidSharedSecret.cpp47 request.params_array.params_array = new keymaster::HmacSharingParameters[params.size()]; in computeSharedSecret()
DAndroidKeymaster4Device.cpp243 ::android::hardware::keymaster::V4_0::HmacSharingParameters params; in getHmacSharingParameters()
253 const hidl_vec<::android::hardware::keymaster::V4_0::HmacSharingParameters>& params, in computeSharedHmac()
256 request.params_array.params_array = new keymaster::HmacSharingParameters[params.size()]; in computeSharedHmac()
/system/security/keystore/include/keystore/
Dkeymaster_types.h56 using keymaster::HmacSharingParameters;
/system/keymaster/tests/fuzzers/
Dserializable_types.h195 return std::make_unique<HmacSharingParameters>(); in getSerializable()
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp736 size_t HmacSharingParameters::SerializedSize() const { in SerializedSize()
740 uint8_t* HmacSharingParameters::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize()
745 bool HmacSharingParameters::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize()
768 params_array = new (std::nothrow) HmacSharingParameters[num_params]; in Deserialize()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp276 V4_0::HmacSharingParameters params; in getHmacSharingParameters()
286 const hidl_vec<HmacSharingParameters>& params, computeSharedHmac_cb _hidl_cb) { in computeSharedHmac()
288 request.params_array.params_array = new keymaster::HmacSharingParameters[params.size()]; in computeSharedHmac()
/system/security/keystore2/src/km_compat/
Dkm_compat.cpp50 using V4_0_HmacSharingParameters = ::android::hardware::keymaster::V4_0::HmacSharingParameters;
/system/keymaster/tests/
Dandroid_keymaster_test.cpp4003 using ParamsVec = std::vector<HmacSharingParameters>;
4040 req.params_array.params_array = const_cast<HmacSharingParameters*>(paramsVec.data()); in ComputeSharedHmac()