Debian Codegraph @

lib_pypy/_cffi_ssl/_cffi_src/openssl/hmac.py

raw symbols SCIP
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
5 from __future__ import absolute_import, division, print_function
6
7 INCLUDES = """
8 #include <openssl/hmac.h>
9 """
10
11 TYPES = """
12 typedef ... HMAC_CTX;
13 """
14
15 FUNCTIONS = """
16 int HMAC_Init_ex(HMAC_CTX *, const void *, int, const EVP_MD *, ENGINE *);
17 int HMAC_Update(HMAC_CTX *, const unsigned char *, size_t);
18 int HMAC_Final(HMAC_CTX *, unsigned char *, unsigned int *);
19 int HMAC_CTX_copy(HMAC_CTX *, HMAC_CTX *);
20
21 HMAC_CTX *HMAC_CTX_new(void);
22 void HMAC_CTX_free(HMAC_CTX *ctx);
23
24 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx);
25 """
26
27 CUSTOMIZATIONS = """
28 """