Home
last modified time | relevance | path

Searched refs:require_digest (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/
Drsa_operation.h54 virtual bool require_digest() const = 0;
81 bool require_digest() const override { return padding_ == KM_PAD_RSA_PSS; } in require_digest() function
141 bool require_digest() const override { return padding_ == KM_PAD_RSA_OAEP; } in require_digest() function
Drsa_operation.cpp73 bool require_digest = (purpose() == KM_PURPOSE_SIGN || purpose() == KM_PURPOSE_VERIFY || in CreateRsaOperation() local
77 if (require_digest && !GetAndValidateDigest(begin_params, key, &digest, error)) in CreateRsaOperation()
79 if (!require_digest && begin_params.find(TAG_DIGEST) != -1) { in CreateRsaOperation()
193 if (require_digest()) in InitDigest()