Lines Matching defs:signature
31 /* Maximum length of R_S pair in the ECDSA signature in bytes */
235 * This helper function that gets a pointer to the encoded ECDSA signature and
236 * its length (as per RFC5280) and returns corresponding decoded signature
296 * Verify a signature.
307 mbedtls_asn1_buf signature;
325 /* Get pointers to signature OID and parameters */
333 /* Get the actual signature algorithm (MD + PK) */
339 /* Get the signature (bitstring) */
342 signature.tag = *p;
343 rc = mbedtls_asn1_get_bitstring_null(&p, end, &signature.len);
344 if ((rc != 0) || ((size_t)(end - p) != signature.len)) {
350 local_sig_len = signature.len;