Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/contrib/lax_der_parsing.c
/********************************************************************** | /*********************************************************************** | ||||
* Copyright (c) 2015 Pieter Wuille * | * Copyright (c) 2015 Pieter Wuille * | ||||
* Distributed under the MIT software license, see the accompanying * | * Distributed under the MIT software license, see the accompanying * | ||||
* file COPYING or http://www.opensource.org/licenses/mit-license.php.* | * file COPYING or https://www.opensource.org/licenses/mit-license.php.* | ||||
**********************************************************************/ | ***********************************************************************/ | ||||
#include <string.h> | #include <string.h> | ||||
#include <secp256k1.h> | #include <secp256k1.h> | ||||
#include "lax_der_parsing.h" | #include "lax_der_parsing.h" | ||||
int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1_ecdsa_signature* sig, const unsigned char *input, size_t inputlen) { | int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1_ecdsa_signature* sig, const unsigned char *input, size_t inputlen) { | ||||
size_t rpos, rlen, spos, slen; | size_t rpos, rlen, spos, slen; | ||||
▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines |