Lines Matching full:signature
28 * Verifies a signature using a public key found in a keyPath.
34 * @param[in] signature The signature to be verified
35 * @param[in] signatureSize The size of signature in bytes
38 * @retval TSS2_FAPI_RC_BAD_REFERENCE: if context, keyPath, signature, or
44 * @retval TSS2_FAPI_RC_BAD_VALUE: if signature is invalid (has the wrong format)
46 * @retval TSS2_FAPI_RC_SIGNATURE_VERIFICATION_FAILED: if the signature fails to
65 uint8_t const *signature, in Fapi_VerifySignature() argument
76 check_not_null(signature); in Fapi_VerifySignature()
79 signature, signatureSize); in Fapi_VerifySignature()
101 * Verifies a signature using a public key found in a keyPath.
109 * @param[in] signature The signature to be verified
110 * @param[in] signatureSize The size of signature in bytes
113 * @retval TSS2_FAPI_RC_BAD_REFERENCE: if context, keyPath, signature, or
119 * @retval TSS2_FAPI_RC_BAD_VALUE: if signature is invalid (has the wrong format)
121 * @retval TSS2_FAPI_RC_SIGNATURE_VERIFICATION_FAILED: if the signature fails to
137 uint8_t const *signature, in Fapi_VerifySignature_Async() argument
147 if (signature) { in Fapi_VerifySignature_Async()
148 LOGBLOB_TRACE(signature, signatureSize, "signature"); in Fapi_VerifySignature_Async()
150 LOG_TRACE("signature: (null) sigantureSize: %zi", signatureSize); in Fapi_VerifySignature_Async()
159 check_not_null(signature); in Fapi_VerifySignature_Async()
174 memcpy(signatureBuffer, signature, signatureSize); in Fapi_VerifySignature_Async()
176 command->signature = signatureBuffer; in Fapi_VerifySignature_Async()
193 command->signature = NULL; in Fapi_VerifySignature_Async()
218 * @retval TSS2_FAPI_RC_SIGNATURE_VERIFICATION_FAILED if the signature could not
240 /* Verify the signature using a helper that tests all known signature schemes. */ in Fapi_VerifySignature_Finish()
241 r = ifapi_verify_signature(&command->key_object, command->signature, in Fapi_VerifySignature_Finish()
243 goto_if_error(r, "Verify signature.", cleanup); in Fapi_VerifySignature_Finish()
252 SAFE_FREE(command->signature); in Fapi_VerifySignature_Finish()