Debian Codegraph @

lib_pypy/_cffi_ssl/_cffi_src/openssl/cmac.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 #if !defined(OPENSSL_NO_CMAC)
9 #include <openssl/cmac.h>
10 #endif
11 """
12
13 TYPES = """
14 typedef ... CMAC_CTX;
15 """
16
17 FUNCTIONS = """
18 CMAC_CTX *CMAC_CTX_new(void);
19 int CMAC_Init(CMAC_CTX *, const void *, size_t, const EVP_CIPHER *, ENGINE *);
20 int CMAC_Update(CMAC_CTX *, const void *, size_t);
21 int CMAC_Final(CMAC_CTX *, unsigned char *, size_t *);
22 int CMAC_CTX_copy(CMAC_CTX *, const CMAC_CTX *);
23 void CMAC_CTX_free(CMAC_CTX *);
24 """
25
26 CUSTOMIZATIONS = """
27 """