Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp306 bytevec signatureInput = cppbor::Array() in createECDSACoseSign1Signature() local
312 auto ecdsaSignature = signP256Digest(key, sha256(signatureInput)); in createECDSACoseSign1Signature()
320 bytevec signatureInput = cppbor::Array() in createCoseSign1Signature() local
329 if (!ED25519_sign(signature.data(), signatureInput.data(), signatureInput.size(), key.data())) { in createCoseSign1Signature()
402 bytevec signatureInput = in verifyAndParseCoseSign1() local
410 if (!ED25519_verify(signatureInput.data(), signatureInput.size(), signature->value().data(), in verifyAndParseCoseSign1()
429 if (!verifyEcdsaDigest(NID_X9_62_prime256v1, publicKey.moveValue(), sha256(signatureInput), in verifyAndParseCoseSign1()
448 if (!verifyEcdsaDigest(NID_secp384r1, publicKey.moveValue(), sha384(signatureInput), in verifyAndParseCoseSign1()