Home
last modified time | relevance | path

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

/system/keymaster/cppcose/
Dcppcose.cpp171 ErrMsgOr<bytevec> ecdsaDerSignatureToCose(int point_size, const bytevec& ecdsaSignature) { in ecdsaDerSignatureToCose() argument
172 const unsigned char* p = ecdsaSignature.data(); in ecdsaDerSignatureToCose()
173 auto sig = ECDSA_SIG_Ptr(d2i_ECDSA_SIG(nullptr, &p, ecdsaSignature.size())); in ecdsaDerSignatureToCose()
312 auto ecdsaSignature = signP256Digest(key, sha256(signatureInput)); in createECDSACoseSign1Signature() local
313 if (!ecdsaSignature) return ecdsaSignature.moveMessage(); in createECDSACoseSign1Signature()
315 return ecdsaDerSignatureToCose(kP256AffinePointSize, *ecdsaSignature); in createECDSACoseSign1Signature()