• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is dual licensed under the terms of the Apache License, Version
2# 2.0, and the BSD License. See the LICENSE file in the root of this repository
3# for complete details.
4
5from __future__ import absolute_import, division, print_function
6
7INCLUDES = """
8#include <openssl/ecdsa.h>
9"""
10
11TYPES = """
12typedef ... ECDSA_SIG;
13
14typedef ... CRYPTO_EX_new;
15typedef ... CRYPTO_EX_dup;
16typedef ... CRYPTO_EX_free;
17"""
18
19FUNCTIONS = """
20int ECDSA_sign(int, const unsigned char *, int, unsigned char *,
21               unsigned int *, EC_KEY *);
22int ECDSA_verify(int, const unsigned char *, int, const unsigned char *, int,
23                 EC_KEY *);
24int ECDSA_size(const EC_KEY *);
25
26"""
27
28CUSTOMIZATIONS = """
29"""
30