Files
fesmoo_perdoliq/baraban.build/module.cryptography.hazmat.backends.openssl.cmac.c

6174 lines
198 KiB
C
Raw Normal View History

2019-12-06 12:23:21 +03:00
/* Generated code for Python source for module 'cryptography.hazmat.backends.openssl.cmac'
* created by Nuitka version 0.6.0
*
* This code is in part copyright 2018 Kay Hayen.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "nuitka/prelude.h"
#include "__helpers.h"
/* The _module_cryptography$hazmat$backends$openssl$cmac is a Python object pointer of module type. */
/* Note: For full compatibility with CPython, every module variable access
* needs to go through it except for cases where the module cannot possibly
* have changed in the mean time.
*/
PyObject *module_cryptography$hazmat$backends$openssl$cmac;
PyDictObject *moduledict_cryptography$hazmat$backends$openssl$cmac;
/* The module constants used, if any. */
extern PyObject *const_str_plain_metaclass;
extern PyObject *const_str_plain___name__;
extern PyObject *const_tuple_str_plain___class___tuple;
static PyObject *const_str_plain_CMAC_Final;
extern PyObject *const_str_angle_metaclass;
extern PyObject *const_str_plain_object;
extern PyObject *const_str_plain___file__;
static PyObject *const_str_digest_892f78f58091e927d7540f8aa71c83a6;
static PyObject *const_str_plain_CMAC_CTX_free;
extern PyObject *const_tuple_str_plain_self_str_plain_signature_str_plain_digest_tuple;
extern PyObject *const_str_plain_constant_time;
extern PyObject *const_str_plain_division;
extern PyObject *const_str_digest_dad71bd336cb898ea2767fe5d1d92e3c;
extern PyObject *const_str_plain_cmac_algorithm_supported;
extern PyObject *const_str_digest_9db3cdd3cd765463b4eec6754eb8e087;
extern PyObject *const_str_plain_None;
extern PyObject *const_tuple_str_plain_utils_tuple;
extern PyObject *const_str_plain_UnsupportedAlgorithm;
extern PyObject *const_str_plain_signature;
extern PyObject *const_str_plain__cipher_registry;
extern PyObject *const_str_plain_algorithm;
static PyObject *const_str_digest_e6fb59bafea2f8833703486cd63b079f;
extern PyObject *const_str_plain_utils;
extern PyObject *const_str_plain_absolute_import;
extern PyObject *const_str_plain___doc__;
extern PyObject *const_str_plain___orig_bases__;
static PyObject *const_tuple_str_plain_constant_time_str_plain_mac_tuple;
extern PyObject *const_str_digest_82e5b7f1075745a8638e06059354d03c;
extern PyObject *const_str_plain_res;
extern PyObject *const_str_plain_data;
extern PyObject *const_str_plain_cryptography;
extern PyObject *const_str_plain___qualname__;
extern PyObject *const_tuple_9758f710ce98b1c0cfd42dd10befe3cb_tuple;
extern PyObject *const_str_plain_registry;
extern PyObject *const_str_plain_block_size;
extern PyObject *const_str_plain_ctx;
static PyObject *const_str_plain__output_length;
extern PyObject *const_str_digest_0ed479378fbe7eb5a772011447b2048e;
extern PyObject *const_str_plain_NULL;
extern PyObject *const_int_pos_8;
extern PyObject *const_str_plain_finalize;
extern PyObject *const_tuple_empty;
static PyObject *const_str_digest_941e43339b6ed9750c807f9bcd0b201d;
static PyObject *const_str_plain_CMAC_CTX_new;
static PyObject *const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple;
extern PyObject *const_str_plain_new;
extern PyObject *const_str_plain__ctx;
static PyObject *const_str_digest_987ab223654c11b234700e74e216b1da;
extern PyObject *const_str_plain_register_interface;
extern PyObject *const_str_plain_gc;
extern PyObject *const_str_plain_InvalidSignature;
extern PyObject *const_str_plain_mac;
extern PyObject *const_str_plain_buffer;
extern PyObject *const_str_plain___getitem__;
extern PyObject *const_str_plain__Reasons;
static PyObject *const_str_plain_CMAC_Update;
static PyObject *const_str_digest_00b1475f7619bfaf4b198639584192e3;
extern PyObject *const_str_plain_adapter;
static PyObject *const_str_digest_be0519335f5f483d871219458fb8d4a8;
extern PyObject *const_str_plain_buf;
extern PyObject *const_int_0;
extern PyObject *const_tuple_str_plain_CBC_tuple;
extern PyObject *const_str_plain_copied_ctx;
extern PyObject *const_str_plain__key;
extern PyObject *const_str_plain_bytes_eq;
static PyObject *const_str_plain_CMAC_Init;
extern PyObject *const_str_plain_length;
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
extern PyObject *const_str_plain_openssl_assert;
extern PyObject *const_str_plain_verify;
extern PyObject *const_str_digest_496388af417742534c869e89560f4859;
static PyObject *const_str_digest_83a7f58ec691f157cc0bb9a5b9261601;
extern PyObject *const_str_digest_9841ce71dddac32d13e81b29f10b2a67;
static PyObject *const_str_digest_b5b1193211d57fe0cdd4b0dd8c937595;
extern PyObject *const_str_plain_type;
extern PyObject *const_tuple_str_plain__algorithm_tuple;
extern PyObject *const_str_digest_81f1b0dfcc7a862e6940580ec4cc42d3;
extern PyObject *const_str_plain___cached__;
extern PyObject *const_str_plain_print_function;
extern PyObject *const_str_plain___class__;
extern PyObject *const_str_plain_UNSUPPORTED_CIPHER;
extern PyObject *const_tuple_none_tuple;
extern PyObject *const_str_plain__lib;
extern PyObject *const_tuple_type_object_tuple;
extern PyObject *const_str_plain___module__;
extern PyObject *const_str_plain__ffi;
extern PyObject *const_str_plain_update;
extern PyObject *const_int_pos_1;
extern PyObject *const_tuple_str_digest_0ed479378fbe7eb5a772011447b2048e_tuple;
extern PyObject *const_str_plain_backend;
extern PyObject *const_str_plain_copy;
static PyObject *const_str_plain_CMAC_CTX_copy;
extern PyObject *const_str_plain_digest;
extern PyObject *const_str_plain_key;
extern PyObject *const_str_plain__backend;
extern PyObject *const_str_plain__algorithm;
extern PyObject *const_str_plain___prepare__;
extern PyObject *const_str_plain___init__;
extern PyObject *const_str_plain_MACContext;
extern PyObject *const_str_plain_self;
extern PyObject *const_slice_none_none_none;
extern PyObject *const_str_plain_CBC;
extern PyObject *const_tuple_str_plain_self_str_plain_copied_ctx_str_plain_res_tuple;
static PyObject *const_tuple_str_plain_self_str_plain_buf_str_plain_length_str_plain_res_tuple;
extern PyObject *const_tuple_str_plain_self_str_plain_data_str_plain_res_tuple;
extern PyObject *const_str_plain_read_only_property;
extern PyObject *const_str_plain_evp_cipher;
extern PyObject *const_str_plain__CMACContext;
static PyObject *module_filename_obj;
static bool constants_created = false;
static void createModuleConstants( void )
{
const_str_plain_CMAC_Final = UNSTREAM_STRING( &constant_bin[ 469249 ], 10, 1 );
const_str_digest_892f78f58091e927d7540f8aa71c83a6 = UNSTREAM_STRING( &constant_bin[ 469259 ], 21, 0 );
const_str_plain_CMAC_CTX_free = UNSTREAM_STRING( &constant_bin[ 469280 ], 13, 1 );
const_str_digest_e6fb59bafea2f8833703486cd63b079f = UNSTREAM_STRING( &constant_bin[ 469293 ], 77, 0 );
const_tuple_str_plain_constant_time_str_plain_mac_tuple = PyTuple_New( 2 );
PyTuple_SET_ITEM( const_tuple_str_plain_constant_time_str_plain_mac_tuple, 0, const_str_plain_constant_time ); Py_INCREF( const_str_plain_constant_time );
PyTuple_SET_ITEM( const_tuple_str_plain_constant_time_str_plain_mac_tuple, 1, const_str_plain_mac ); Py_INCREF( const_str_plain_mac );
const_str_plain__output_length = UNSTREAM_STRING( &constant_bin[ 469370 ], 14, 1 );
const_str_digest_941e43339b6ed9750c807f9bcd0b201d = UNSTREAM_STRING( &constant_bin[ 469384 ], 19, 0 );
const_str_plain_CMAC_CTX_new = UNSTREAM_STRING( &constant_bin[ 469403 ], 12, 1 );
const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple = PyTuple_New( 8 );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 1, const_str_plain_backend ); Py_INCREF( const_str_plain_backend );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 2, const_str_plain_algorithm ); Py_INCREF( const_str_plain_algorithm );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 3, const_str_plain_ctx ); Py_INCREF( const_str_plain_ctx );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 4, const_str_plain_registry ); Py_INCREF( const_str_plain_registry );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 5, const_str_plain_adapter ); Py_INCREF( const_str_plain_adapter );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 6, const_str_plain_evp_cipher ); Py_INCREF( const_str_plain_evp_cipher );
PyTuple_SET_ITEM( const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 7, const_str_plain_res ); Py_INCREF( const_str_plain_res );
const_str_digest_987ab223654c11b234700e74e216b1da = UNSTREAM_STRING( &constant_bin[ 469415 ], 35, 0 );
const_str_plain_CMAC_Update = UNSTREAM_STRING( &constant_bin[ 469450 ], 11, 1 );
const_str_digest_00b1475f7619bfaf4b198639584192e3 = UNSTREAM_STRING( &constant_bin[ 469461 ], 19, 0 );
const_str_digest_be0519335f5f483d871219458fb8d4a8 = UNSTREAM_STRING( &constant_bin[ 469480 ], 21, 0 );
const_str_plain_CMAC_Init = UNSTREAM_STRING( &constant_bin[ 469501 ], 9, 1 );
const_str_digest_83a7f58ec691f157cc0bb9a5b9261601 = UNSTREAM_STRING( &constant_bin[ 469510 ], 50, 0 );
const_str_digest_b5b1193211d57fe0cdd4b0dd8c937595 = UNSTREAM_STRING( &constant_bin[ 469560 ], 17, 0 );
const_str_plain_CMAC_CTX_copy = UNSTREAM_STRING( &constant_bin[ 469577 ], 13, 1 );
const_tuple_str_plain_self_str_plain_buf_str_plain_length_str_plain_res_tuple = PyTuple_New( 4 );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_buf_str_plain_length_str_plain_res_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_buf_str_plain_length_str_plain_res_tuple, 1, const_str_plain_buf ); Py_INCREF( const_str_plain_buf );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_buf_str_plain_length_str_plain_res_tuple, 2, const_str_plain_length ); Py_INCREF( const_str_plain_length );
PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_buf_str_plain_length_str_plain_res_tuple, 3, const_str_plain_res ); Py_INCREF( const_str_plain_res );
constants_created = true;
}
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_cryptography$hazmat$backends$openssl$cmac( void )
{
// The module may not have been used at all.
if (constants_created == false) return;
}
#endif
// The module code objects.
static PyCodeObject *codeobj_48fb0616f524e09d9fa0435bc4e3a385;
static PyCodeObject *codeobj_98bf2bdeec3e0e7ad1a83c2583f0f60f;
static PyCodeObject *codeobj_09db476110dcf0f43c8885b2440c157d;
static PyCodeObject *codeobj_16df6f50886fdda02b04c21599600235;
static PyCodeObject *codeobj_2d5245cc4f39b75986251613d55389d3;
static PyCodeObject *codeobj_fe9d5cacd94b0863748df2d1313b1b56;
static PyCodeObject *codeobj_a81514fe189c660582f0060a74c2af35;
static void createModuleCodeObjects(void)
{
module_filename_obj = const_str_digest_e6fb59bafea2f8833703486cd63b079f;
codeobj_48fb0616f524e09d9fa0435bc4e3a385 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_83a7f58ec691f157cc0bb9a5b9261601, 1, const_tuple_empty, 0, 0, CO_NOFREE );
codeobj_98bf2bdeec3e0e7ad1a83c2583f0f60f = MAKE_CODEOBJ( module_filename_obj, const_str_plain__CMACContext, 17, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
codeobj_09db476110dcf0f43c8885b2440c157d = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 18, const_tuple_f91577ebca26e50dfeb13e57354be29a_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_16df6f50886fdda02b04c21599600235 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_copy, 65, const_tuple_str_plain_self_str_plain_copied_ctx_str_plain_res_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_2d5245cc4f39b75986251613d55389d3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_finalize, 53, const_tuple_str_plain_self_str_plain_buf_str_plain_length_str_plain_res_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_fe9d5cacd94b0863748df2d1313b1b56 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_update, 49, const_tuple_str_plain_self_str_plain_data_str_plain_res_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
codeobj_a81514fe189c660582f0060a74c2af35 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_verify, 78, const_tuple_str_plain_self_str_plain_signature_str_plain_digest_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_1___init__( PyObject *defaults );
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_2_update( );
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_3_finalize( );
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_4_copy( );
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_5_verify( );
// The module function definitions.
static PyObject *impl_cryptography$hazmat$backends$openssl$cmac$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_backend = python_pars[ 1 ];
PyObject *par_algorithm = python_pars[ 2 ];
PyObject *par_ctx = python_pars[ 3 ];
PyObject *var_registry = NULL;
PyObject *var_adapter = NULL;
PyObject *var_evp_cipher = NULL;
PyObject *var_res = NULL;
struct Nuitka_FrameObject *frame_09db476110dcf0f43c8885b2440c157d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_09db476110dcf0f43c8885b2440c157d = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_09db476110dcf0f43c8885b2440c157d, codeobj_09db476110dcf0f43c8885b2440c157d, module_cryptography$hazmat$backends$openssl$cmac, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_09db476110dcf0f43c8885b2440c157d = cache_frame_09db476110dcf0f43c8885b2440c157d;
// Push the new frame as the currently active one.
pushFrameStack( frame_09db476110dcf0f43c8885b2440c157d );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_09db476110dcf0f43c8885b2440c157d ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_operand_name_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_args_element_name_1;
CHECK_OBJECT( par_backend );
tmp_source_name_1 = par_backend;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_cmac_algorithm_supported );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 19;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_algorithm == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "algorithm" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 19;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = par_algorithm;
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 19;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_operand_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 19;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
Py_DECREF( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 19;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_name_2;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_source_name_2;
PyObject *tmp_mvar_value_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_UnsupportedAlgorithm );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_UnsupportedAlgorithm );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "UnsupportedAlgorithm" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 20;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_2 = tmp_mvar_value_1;
tmp_args_element_name_2 = const_str_digest_987ab223654c11b234700e74e216b1da;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain__Reasons );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__Reasons );
}
if ( tmp_mvar_value_2 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_Reasons" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 21;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_2 = tmp_mvar_value_2;
tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_UNSUPPORTED_CIPHER );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 21;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 20;
{
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 };
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_raise_type_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 20;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 20;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
if ( par_backend == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "backend" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 23;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_1 = par_backend;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 23;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__backend, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 23;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_assattr_target_2;
if ( par_algorithm == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "algorithm" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 24;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_algorithm;
tmp_assattr_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_key );
if ( tmp_assattr_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 24;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__key, tmp_assattr_name_2 );
Py_DECREF( tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
if ( par_algorithm == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "algorithm" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 25;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_3 = par_algorithm;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 25;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain__algorithm, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 25;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_left_name_1;
PyObject *tmp_source_name_4;
PyObject *tmp_right_name_1;
PyObject *tmp_assattr_target_4;
if ( par_algorithm == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "algorithm" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 26;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_algorithm;
tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_block_size );
if ( tmp_left_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_right_name_1 = const_int_pos_8;
tmp_assattr_name_4 = BINARY_OPERATION_FLOORDIV( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_left_name_1 );
if ( tmp_assattr_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 26;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain__output_length, tmp_assattr_name_4 );
Py_DECREF( tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 26;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
if ( par_ctx == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 28;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = par_ctx;
tmp_compexpr_right_1 = Py_None;
tmp_condition_result_2 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 29;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = par_self;
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__backend );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 29;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__cipher_registry );
Py_DECREF( tmp_source_name_5 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 29;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert( var_registry == NULL );
var_registry = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_mvar_value_3;
CHECK_OBJECT( var_registry );
tmp_subscribed_name_1 = var_registry;
if ( par_algorithm == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "algorithm" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 30;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_type_arg_1 = par_algorithm;
tmp_tuple_element_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 30;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_subscript_name_1, 0, tmp_tuple_element_1 );
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_CBC );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CBC );
}
if ( tmp_mvar_value_3 == NULL )
{
Py_DECREF( tmp_subscript_name_1 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CBC" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 30;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_tuple_element_1 = tmp_mvar_value_3;
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_subscript_name_1, 1, tmp_tuple_element_1 );
tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
Py_DECREF( tmp_subscript_name_1 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 30;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert( var_adapter == NULL );
var_adapter = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_name_3;
PyObject *tmp_args_element_name_4;
PyObject *tmp_source_name_7;
PyObject *tmp_args_element_name_5;
PyObject *tmp_args_element_name_6;
PyObject *tmp_mvar_value_4;
CHECK_OBJECT( var_adapter );
tmp_called_name_3 = var_adapter;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 32;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_7 = par_self;
tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__backend );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 32;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_algorithm == NULL )
{
Py_DECREF( tmp_args_element_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "algorithm" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 32;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_5 = par_algorithm;
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_CBC );
if (unlikely( tmp_mvar_value_4 == NULL ))
{
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CBC );
}
if ( tmp_mvar_value_4 == NULL )
{
Py_DECREF( tmp_args_element_name_4 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CBC" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 32;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_6 = tmp_mvar_value_4;
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 32;
{
PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6 };
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_assign_source_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 32;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert( var_evp_cipher == NULL );
var_evp_cipher = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_1;
PyObject *tmp_source_name_8;
PyObject *tmp_source_name_9;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 34;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_9 = par_self;
tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain__backend );
if ( tmp_source_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__lib );
Py_DECREF( tmp_source_name_8 );
if ( tmp_called_instance_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 34;
tmp_assign_source_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_CMAC_CTX_new );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 34;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_ctx;
par_ctx = tmp_assign_source_4;
Py_XDECREF( old );
}
}
{
PyObject *tmp_called_name_4;
PyObject *tmp_source_name_10;
PyObject *tmp_source_name_11;
PyObject *tmp_args_element_name_7;
PyObject *tmp_compexpr_left_2;
PyObject *tmp_compexpr_right_2;
PyObject *tmp_source_name_12;
PyObject *tmp_source_name_13;
PyObject *tmp_source_name_14;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_11 = par_self;
tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain__backend );
if ( tmp_source_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_openssl_assert );
Py_DECREF( tmp_source_name_10 );
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_ctx == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_2 = par_ctx;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_14 = par_self;
tmp_source_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain__backend );
if ( tmp_source_name_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain__ffi );
Py_DECREF( tmp_source_name_13 );
if ( tmp_source_name_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_NULL );
Py_DECREF( tmp_source_name_12 );
if ( tmp_compexpr_right_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_7 = RICH_COMPARE_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
Py_DECREF( tmp_compexpr_right_2 );
if ( tmp_args_element_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 36;
{
PyObject *call_args[] = { tmp_args_element_name_7 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
Py_DECREF( tmp_args_element_name_7 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 36;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_name_5;
PyObject *tmp_source_name_15;
PyObject *tmp_source_name_16;
PyObject *tmp_source_name_17;
PyObject *tmp_args_element_name_8;
PyObject *tmp_args_element_name_9;
PyObject *tmp_source_name_18;
PyObject *tmp_source_name_19;
PyObject *tmp_source_name_20;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_17 = par_self;
tmp_source_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain__backend );
if ( tmp_source_name_16 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain__ffi );
Py_DECREF( tmp_source_name_16 );
if ( tmp_source_name_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_gc );
Py_DECREF( tmp_source_name_15 );
if ( tmp_called_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_ctx == NULL )
{
Py_DECREF( tmp_called_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_8 = par_ctx;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_20 = par_self;
tmp_source_name_19 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain__backend );
if ( tmp_source_name_19 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_5 );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_18 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain__lib );
Py_DECREF( tmp_source_name_19 );
if ( tmp_source_name_18 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_5 );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_CMAC_CTX_free );
Py_DECREF( tmp_source_name_18 );
if ( tmp_args_element_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_5 );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 37;
{
PyObject *call_args[] = { tmp_args_element_name_8, tmp_args_element_name_9 };
tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_5, call_args );
}
Py_DECREF( tmp_called_name_5 );
Py_DECREF( tmp_args_element_name_9 );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 37;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_ctx;
par_ctx = tmp_assign_source_5;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_name_6;
PyObject *tmp_source_name_21;
PyObject *tmp_source_name_22;
PyObject *tmp_source_name_23;
PyObject *tmp_args_element_name_10;
PyObject *tmp_args_element_name_11;
PyObject *tmp_source_name_24;
PyObject *tmp_args_element_name_12;
PyObject *tmp_len_arg_1;
PyObject *tmp_source_name_25;
PyObject *tmp_args_element_name_13;
PyObject *tmp_args_element_name_14;
PyObject *tmp_source_name_26;
PyObject *tmp_source_name_27;
PyObject *tmp_source_name_28;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 39;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_23 = par_self;
tmp_source_name_22 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain__backend );
if ( tmp_source_name_22 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 39;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_21 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain__lib );
Py_DECREF( tmp_source_name_22 );
if ( tmp_source_name_21 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 39;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_CMAC_Init );
Py_DECREF( tmp_source_name_21 );
if ( tmp_called_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 39;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_ctx == NULL )
{
Py_DECREF( tmp_called_name_6 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 40;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_10 = par_ctx;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_6 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 40;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_24 = par_self;
tmp_args_element_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain__key );
if ( tmp_args_element_name_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
exception_lineno = 40;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 40;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_25 = par_self;
tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain__key );
if ( tmp_len_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
exception_lineno = 40;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_12 = BUILTIN_LEN( tmp_len_arg_1 );
Py_DECREF( tmp_len_arg_1 );
if ( tmp_args_element_name_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
exception_lineno = 40;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( var_evp_cipher == NULL )
{
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
Py_DECREF( tmp_args_element_name_12 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "evp_cipher" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 41;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_13 = var_evp_cipher;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
Py_DECREF( tmp_args_element_name_12 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 41;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_28 = par_self;
tmp_source_name_27 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain__backend );
if ( tmp_source_name_27 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
Py_DECREF( tmp_args_element_name_12 );
exception_lineno = 41;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_26 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain__ffi );
Py_DECREF( tmp_source_name_27 );
if ( tmp_source_name_26 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
Py_DECREF( tmp_args_element_name_12 );
exception_lineno = 41;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain_NULL );
Py_DECREF( tmp_source_name_26 );
if ( tmp_args_element_name_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
Py_DECREF( tmp_args_element_name_12 );
exception_lineno = 41;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 39;
{
PyObject *call_args[] = { tmp_args_element_name_10, tmp_args_element_name_11, tmp_args_element_name_12, tmp_args_element_name_13, tmp_args_element_name_14 };
tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS5( tmp_called_name_6, call_args );
}
Py_DECREF( tmp_called_name_6 );
Py_DECREF( tmp_args_element_name_11 );
Py_DECREF( tmp_args_element_name_12 );
Py_DECREF( tmp_args_element_name_14 );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 39;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
assert( var_res == NULL );
var_res = tmp_assign_source_6;
}
{
PyObject *tmp_called_name_7;
PyObject *tmp_source_name_29;
PyObject *tmp_source_name_30;
PyObject *tmp_args_element_name_15;
PyObject *tmp_compexpr_left_3;
PyObject *tmp_compexpr_right_3;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 43;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_30 = par_self;
tmp_source_name_29 = LOOKUP_ATTRIBUTE( tmp_source_name_30, const_str_plain__backend );
if ( tmp_source_name_29 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 43;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_openssl_assert );
Py_DECREF( tmp_source_name_29 );
if ( tmp_called_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 43;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
if ( var_res == NULL )
{
Py_DECREF( tmp_called_name_7 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 43;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_3 = var_res;
tmp_compexpr_right_3 = const_int_pos_1;
tmp_args_element_name_15 = RICH_COMPARE_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
if ( tmp_args_element_name_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_7 );
exception_lineno = 43;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
frame_09db476110dcf0f43c8885b2440c157d->m_frame.f_lineno = 43;
{
PyObject *call_args[] = { tmp_args_element_name_15 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args );
}
Py_DECREF( tmp_called_name_7 );
Py_DECREF( tmp_args_element_name_15 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 43;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
branch_no_2:;
}
{
PyObject *tmp_assattr_name_5;
PyObject *tmp_assattr_target_5;
if ( par_ctx == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 45;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_5 = par_ctx;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 45;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain__ctx, tmp_assattr_name_5 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 45;
type_description_1 = "oooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_09db476110dcf0f43c8885b2440c157d );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_09db476110dcf0f43c8885b2440c157d );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_09db476110dcf0f43c8885b2440c157d, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_09db476110dcf0f43c8885b2440c157d->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_09db476110dcf0f43c8885b2440c157d, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_09db476110dcf0f43c8885b2440c157d,
type_description_1,
par_self,
par_backend,
par_algorithm,
par_ctx,
var_registry,
var_adapter,
var_evp_cipher,
var_res
);
// Release cached frame.
if ( frame_09db476110dcf0f43c8885b2440c157d == cache_frame_09db476110dcf0f43c8885b2440c157d )
{
Py_DECREF( frame_09db476110dcf0f43c8885b2440c157d );
}
cache_frame_09db476110dcf0f43c8885b2440c157d = NULL;
assertFrameObject( frame_09db476110dcf0f43c8885b2440c157d );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_1___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_backend );
par_backend = NULL;
}
{
Py_XDECREF( par_algorithm );
par_algorithm = NULL;
}
{
Py_XDECREF( par_ctx );
par_ctx = NULL;
}
{
Py_XDECREF( var_registry );
var_registry = NULL;
}
{
Py_XDECREF( var_adapter );
var_adapter = NULL;
}
{
Py_XDECREF( var_evp_cipher );
var_evp_cipher = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_backend );
par_backend = NULL;
}
{
Py_XDECREF( par_algorithm );
par_algorithm = NULL;
}
{
Py_XDECREF( par_ctx );
par_ctx = NULL;
}
{
Py_XDECREF( var_registry );
var_registry = NULL;
}
{
Py_XDECREF( var_adapter );
var_adapter = NULL;
}
{
Py_XDECREF( var_evp_cipher );
var_evp_cipher = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_1___init__ );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_cryptography$hazmat$backends$openssl$cmac$$$function_2_update( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_data = python_pars[ 1 ];
PyObject *var_res = NULL;
struct Nuitka_FrameObject *frame_fe9d5cacd94b0863748df2d1313b1b56;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
static struct Nuitka_FrameObject *cache_frame_fe9d5cacd94b0863748df2d1313b1b56 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_fe9d5cacd94b0863748df2d1313b1b56, codeobj_fe9d5cacd94b0863748df2d1313b1b56, module_cryptography$hazmat$backends$openssl$cmac, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_fe9d5cacd94b0863748df2d1313b1b56 = cache_frame_fe9d5cacd94b0863748df2d1313b1b56;
// Push the new frame as the currently active one.
pushFrameStack( frame_fe9d5cacd94b0863748df2d1313b1b56 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_fe9d5cacd94b0863748df2d1313b1b56 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_args_element_name_1;
PyObject *tmp_source_name_4;
PyObject *tmp_args_element_name_2;
PyObject *tmp_args_element_name_3;
PyObject *tmp_len_arg_1;
CHECK_OBJECT( par_self );
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__backend );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__lib );
Py_DECREF( tmp_source_name_2 );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_CMAC_Update );
Py_DECREF( tmp_source_name_1 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__ctx );
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_data;
if ( par_data == NULL )
{
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_len_arg_1 = par_data;
tmp_args_element_name_3 = BUILTIN_LEN( tmp_len_arg_1 );
if ( tmp_args_element_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_fe9d5cacd94b0863748df2d1313b1b56->m_frame.f_lineno = 50;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 };
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_1 );
Py_DECREF( tmp_args_element_name_3 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 50;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( var_res == NULL );
var_res = tmp_assign_source_1;
}
{
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_args_element_name_4;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 51;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = par_self;
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__backend );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 51;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_openssl_assert );
Py_DECREF( tmp_source_name_5 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 51;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_res == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 51;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = var_res;
tmp_compexpr_right_1 = const_int_pos_1;
tmp_args_element_name_4 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_2 );
exception_lineno = 51;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_fe9d5cacd94b0863748df2d1313b1b56->m_frame.f_lineno = 51;
{
PyObject *call_args[] = { tmp_args_element_name_4 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 51;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_fe9d5cacd94b0863748df2d1313b1b56 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_fe9d5cacd94b0863748df2d1313b1b56 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_fe9d5cacd94b0863748df2d1313b1b56, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_fe9d5cacd94b0863748df2d1313b1b56->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_fe9d5cacd94b0863748df2d1313b1b56, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_fe9d5cacd94b0863748df2d1313b1b56,
type_description_1,
par_self,
par_data,
var_res
);
// Release cached frame.
if ( frame_fe9d5cacd94b0863748df2d1313b1b56 == cache_frame_fe9d5cacd94b0863748df2d1313b1b56 )
{
Py_DECREF( frame_fe9d5cacd94b0863748df2d1313b1b56 );
}
cache_frame_fe9d5cacd94b0863748df2d1313b1b56 = NULL;
assertFrameObject( frame_fe9d5cacd94b0863748df2d1313b1b56 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_2_update );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_2_update );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_cryptography$hazmat$backends$openssl$cmac$$$function_3_finalize( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *var_buf = NULL;
PyObject *var_length = NULL;
PyObject *var_res = NULL;
struct Nuitka_FrameObject *frame_2d5245cc4f39b75986251613d55389d3;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
bool tmp_result;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_2d5245cc4f39b75986251613d55389d3 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_2d5245cc4f39b75986251613d55389d3, codeobj_2d5245cc4f39b75986251613d55389d3, module_cryptography$hazmat$backends$openssl$cmac, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_2d5245cc4f39b75986251613d55389d3 = cache_frame_2d5245cc4f39b75986251613d55389d3;
// Push the new frame as the currently active one.
pushFrameStack( frame_2d5245cc4f39b75986251613d55389d3 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_2d5245cc4f39b75986251613d55389d3 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_source_name_4;
CHECK_OBJECT( par_self );
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__backend );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 54;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__ffi );
Py_DECREF( tmp_source_name_2 );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 54;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_new );
Py_DECREF( tmp_source_name_1 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 54;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = const_str_digest_81f1b0dfcc7a862e6940580ec4cc42d3;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 54;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__output_length );
if ( tmp_args_element_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 54;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2d5245cc4f39b75986251613d55389d3->m_frame.f_lineno = 54;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 54;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert( var_buf == NULL );
var_buf = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_source_name_7;
PyObject *tmp_args_element_name_3;
PyObject *tmp_args_element_name_4;
PyObject *tmp_source_name_8;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 55;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_7 = par_self;
tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__backend );
if ( tmp_source_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 55;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__ffi );
Py_DECREF( tmp_source_name_6 );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 55;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_new );
Py_DECREF( tmp_source_name_5 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 55;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = const_str_digest_496388af417742534c869e89560f4859;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 55;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_8 = par_self;
tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__output_length );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_2 );
exception_lineno = 55;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2d5245cc4f39b75986251613d55389d3->m_frame.f_lineno = 55;
{
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 55;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert( var_length == NULL );
var_length = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_9;
PyObject *tmp_source_name_10;
PyObject *tmp_source_name_11;
PyObject *tmp_args_element_name_5;
PyObject *tmp_source_name_12;
PyObject *tmp_args_element_name_6;
PyObject *tmp_args_element_name_7;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 56;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_11 = par_self;
tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain__backend );
if ( tmp_source_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 56;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain__lib );
Py_DECREF( tmp_source_name_10 );
if ( tmp_source_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 56;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_CMAC_Final );
Py_DECREF( tmp_source_name_9 );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 56;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 57;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_12 = par_self;
tmp_args_element_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain__ctx );
if ( tmp_args_element_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 57;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if ( var_buf == NULL )
{
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 57;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_6 = var_buf;
if ( var_length == NULL )
{
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "length" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 57;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_7 = var_length;
frame_2d5245cc4f39b75986251613d55389d3->m_frame.f_lineno = 56;
{
PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7 };
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_5 );
if ( tmp_assign_source_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 56;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert( var_res == NULL );
var_res = tmp_assign_source_3;
}
{
PyObject *tmp_called_name_4;
PyObject *tmp_source_name_13;
PyObject *tmp_source_name_14;
PyObject *tmp_args_element_name_8;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 59;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_14 = par_self;
tmp_source_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain__backend );
if ( tmp_source_name_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 59;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_openssl_assert );
Py_DECREF( tmp_source_name_13 );
if ( tmp_called_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 59;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if ( var_res == NULL )
{
Py_DECREF( tmp_called_name_4 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 59;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = var_res;
tmp_compexpr_right_1 = const_int_pos_1;
tmp_args_element_name_8 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_args_element_name_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_4 );
exception_lineno = 59;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2d5245cc4f39b75986251613d55389d3->m_frame.f_lineno = 59;
{
PyObject *call_args[] = { tmp_args_element_name_8 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
}
Py_DECREF( tmp_called_name_4 );
Py_DECREF( tmp_args_element_name_8 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 59;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_name_1 = Py_None;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 61;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__ctx, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 61;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_subscribed_name_1;
PyObject *tmp_called_name_5;
PyObject *tmp_source_name_15;
PyObject *tmp_source_name_16;
PyObject *tmp_source_name_17;
PyObject *tmp_args_element_name_9;
PyObject *tmp_subscript_name_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 63;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_17 = par_self;
tmp_source_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain__backend );
if ( tmp_source_name_16 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_source_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain__ffi );
Py_DECREF( tmp_source_name_16 );
if ( tmp_source_name_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_buffer );
Py_DECREF( tmp_source_name_15 );
if ( tmp_called_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if ( var_buf == NULL )
{
Py_DECREF( tmp_called_name_5 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buf" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 63;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_9 = var_buf;
frame_2d5245cc4f39b75986251613d55389d3->m_frame.f_lineno = 63;
{
PyObject *call_args[] = { tmp_args_element_name_9 };
tmp_subscribed_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
}
Py_DECREF( tmp_called_name_5 );
if ( tmp_subscribed_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_subscript_name_1 = const_slice_none_none_none;
tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
Py_DECREF( tmp_subscribed_name_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 63;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_2d5245cc4f39b75986251613d55389d3 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_2d5245cc4f39b75986251613d55389d3 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_2d5245cc4f39b75986251613d55389d3 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_2d5245cc4f39b75986251613d55389d3, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_2d5245cc4f39b75986251613d55389d3->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_2d5245cc4f39b75986251613d55389d3, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_2d5245cc4f39b75986251613d55389d3,
type_description_1,
par_self,
var_buf,
var_length,
var_res
);
// Release cached frame.
if ( frame_2d5245cc4f39b75986251613d55389d3 == cache_frame_2d5245cc4f39b75986251613d55389d3 )
{
Py_DECREF( frame_2d5245cc4f39b75986251613d55389d3 );
}
cache_frame_2d5245cc4f39b75986251613d55389d3 = NULL;
assertFrameObject( frame_2d5245cc4f39b75986251613d55389d3 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_3_finalize );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_buf );
var_buf = NULL;
}
{
Py_XDECREF( var_length );
var_length = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_buf );
var_buf = NULL;
}
{
Py_XDECREF( var_length );
var_length = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_3_finalize );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_cryptography$hazmat$backends$openssl$cmac$$$function_4_copy( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *var_copied_ctx = NULL;
PyObject *var_res = NULL;
struct Nuitka_FrameObject *frame_16df6f50886fdda02b04c21599600235;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_16df6f50886fdda02b04c21599600235 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_16df6f50886fdda02b04c21599600235, codeobj_16df6f50886fdda02b04c21599600235, module_cryptography$hazmat$backends$openssl$cmac, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_16df6f50886fdda02b04c21599600235 = cache_frame_16df6f50886fdda02b04c21599600235;
// Push the new frame as the currently active one.
pushFrameStack( frame_16df6f50886fdda02b04c21599600235 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_16df6f50886fdda02b04c21599600235 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
CHECK_OBJECT( par_self );
tmp_source_name_2 = par_self;
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__backend );
if ( tmp_source_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 66;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__lib );
Py_DECREF( tmp_source_name_1 );
if ( tmp_called_instance_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 66;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_16df6f50886fdda02b04c21599600235->m_frame.f_lineno = 66;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_CMAC_CTX_new );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 66;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( var_copied_ctx == NULL );
var_copied_ctx = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_3;
PyObject *tmp_source_name_4;
PyObject *tmp_source_name_5;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
PyObject *tmp_source_name_6;
PyObject *tmp_source_name_7;
PyObject *tmp_source_name_8;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 67;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_5 = par_self;
tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__backend );
if ( tmp_source_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 67;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__ffi );
Py_DECREF( tmp_source_name_4 );
if ( tmp_source_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 67;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_gc );
Py_DECREF( tmp_source_name_3 );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 67;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_copied_ctx == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "copied_ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 68;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = var_copied_ctx;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 68;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_8 = par_self;
tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__backend );
if ( tmp_source_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 68;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__lib );
Py_DECREF( tmp_source_name_7 );
if ( tmp_source_name_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 68;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_CMAC_CTX_free );
Py_DECREF( tmp_source_name_6 );
if ( tmp_args_element_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_1 );
exception_lineno = 68;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_16df6f50886fdda02b04c21599600235->m_frame.f_lineno = 67;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_assign_source_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 67;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_copied_ctx;
var_copied_ctx = tmp_assign_source_2;
Py_XDECREF( old );
}
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_name_2;
PyObject *tmp_source_name_9;
PyObject *tmp_source_name_10;
PyObject *tmp_source_name_11;
PyObject *tmp_args_element_name_3;
PyObject *tmp_args_element_name_4;
PyObject *tmp_source_name_12;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 70;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_11 = par_self;
tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain__backend );
if ( tmp_source_name_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 70;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain__lib );
Py_DECREF( tmp_source_name_10 );
if ( tmp_source_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 70;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_CMAC_CTX_copy );
Py_DECREF( tmp_source_name_9 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 70;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_copied_ctx == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "copied_ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 71;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_3 = var_copied_ctx;
if ( par_self == NULL )
{
Py_DECREF( tmp_called_name_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 71;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_12 = par_self;
tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain__ctx );
if ( tmp_args_element_name_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_2 );
exception_lineno = 71;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_16df6f50886fdda02b04c21599600235->m_frame.f_lineno = 70;
{
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_4 );
if ( tmp_assign_source_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 70;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( var_res == NULL );
var_res = tmp_assign_source_3;
}
{
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_13;
PyObject *tmp_source_name_14;
PyObject *tmp_args_element_name_5;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 73;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_14 = par_self;
tmp_source_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain__backend );
if ( tmp_source_name_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 73;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_openssl_assert );
Py_DECREF( tmp_source_name_13 );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 73;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_res == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "res" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 73;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_compexpr_left_1 = var_res;
tmp_compexpr_right_1 = const_int_pos_1;
tmp_args_element_name_5 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_args_element_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 73;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_16df6f50886fdda02b04c21599600235->m_frame.f_lineno = 73;
{
PyObject *call_args[] = { tmp_args_element_name_5 };
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_5 );
if ( tmp_unused == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 73;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF( tmp_unused );
}
{
PyObject *tmp_called_name_4;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_source_name_15;
PyObject *tmp_source_name_16;
PyObject *tmp_kw_name_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain__CMACContext );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__CMACContext );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_CMACContext" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_4 = tmp_mvar_value_1;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_15 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain__backend );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_args_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_16 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain__algorithm );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_args_name_1 );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
tmp_dict_key_1 = const_str_plain_ctx;
if ( var_copied_ctx == NULL )
{
Py_DECREF( tmp_args_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "copied_ctx" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 75;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = var_copied_ctx;
tmp_kw_name_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
assert( !(tmp_res != 0) );
frame_16df6f50886fdda02b04c21599600235->m_frame.f_lineno = 74;
tmp_return_value = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_args_name_1 );
Py_DECREF( tmp_kw_name_1 );
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 74;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_16df6f50886fdda02b04c21599600235 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_16df6f50886fdda02b04c21599600235 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_16df6f50886fdda02b04c21599600235 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_16df6f50886fdda02b04c21599600235, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_16df6f50886fdda02b04c21599600235->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_16df6f50886fdda02b04c21599600235, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_16df6f50886fdda02b04c21599600235,
type_description_1,
par_self,
var_copied_ctx,
var_res
);
// Release cached frame.
if ( frame_16df6f50886fdda02b04c21599600235 == cache_frame_16df6f50886fdda02b04c21599600235 )
{
Py_DECREF( frame_16df6f50886fdda02b04c21599600235 );
}
cache_frame_16df6f50886fdda02b04c21599600235 = NULL;
assertFrameObject( frame_16df6f50886fdda02b04c21599600235 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_4_copy );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_copied_ctx );
var_copied_ctx = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( var_copied_ctx );
var_copied_ctx = NULL;
}
{
Py_XDECREF( var_res );
var_res = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_4_copy );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *impl_cryptography$hazmat$backends$openssl$cmac$$$function_5_verify( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_signature = python_pars[ 1 ];
PyObject *var_digest = NULL;
struct Nuitka_FrameObject *frame_a81514fe189c660582f0060a74c2af35;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_a81514fe189c660582f0060a74c2af35 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function code.
{
// Tried code:
MAKE_OR_REUSE_FRAME( cache_frame_a81514fe189c660582f0060a74c2af35, codeobj_a81514fe189c660582f0060a74c2af35, module_cryptography$hazmat$backends$openssl$cmac, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_a81514fe189c660582f0060a74c2af35 = cache_frame_a81514fe189c660582f0060a74c2af35;
// Push the new frame as the currently active one.
pushFrameStack( frame_a81514fe189c660582f0060a74c2af35 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_a81514fe189c660582f0060a74c2af35 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT( par_self );
tmp_called_instance_1 = par_self;
frame_a81514fe189c660582f0060a74c2af35->m_frame.f_lineno = 79;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_finalize );
if ( tmp_assign_source_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 79;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert( var_digest == NULL );
var_digest = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_operand_name_1;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_1;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_args_element_name_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_constant_time );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_constant_time );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "constant_time" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 80;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = tmp_mvar_value_1;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_bytes_eq );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 80;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( var_digest == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "digest" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 80;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_1 = var_digest;
if ( par_signature == NULL )
{
Py_DECREF( tmp_called_name_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "signature" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 80;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_signature;
frame_a81514fe189c660582f0060a74c2af35->m_frame.f_lineno = 80;
{
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
}
Py_DECREF( tmp_called_name_1 );
if ( tmp_operand_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 80;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
Py_DECREF( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 80;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_name_2;
PyObject *tmp_mvar_value_2;
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_InvalidSignature );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_InvalidSignature );
}
if ( tmp_mvar_value_2 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "InvalidSignature" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 81;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_name_2 = tmp_mvar_value_2;
frame_a81514fe189c660582f0060a74c2af35->m_frame.f_lineno = 81;
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_str_digest_0ed479378fbe7eb5a772011447b2048e_tuple, 0 ) );
if ( tmp_raise_type_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 81;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 81;
RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb );
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_a81514fe189c660582f0060a74c2af35 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_a81514fe189c660582f0060a74c2af35 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_a81514fe189c660582f0060a74c2af35, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_a81514fe189c660582f0060a74c2af35->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_a81514fe189c660582f0060a74c2af35, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_a81514fe189c660582f0060a74c2af35,
type_description_1,
par_self,
par_signature,
var_digest
);
// Release cached frame.
if ( frame_a81514fe189c660582f0060a74c2af35 == cache_frame_a81514fe189c660582f0060a74c2af35 )
{
Py_DECREF( frame_a81514fe189c660582f0060a74c2af35 );
}
cache_frame_a81514fe189c660582f0060a74c2af35 = NULL;
assertFrameObject( frame_a81514fe189c660582f0060a74c2af35 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
tmp_return_value = Py_None;
Py_INCREF( tmp_return_value );
goto try_return_handler_1;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_5_verify );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_signature );
par_signature = NULL;
}
{
Py_XDECREF( var_digest );
var_digest = NULL;
}
{
goto function_return_exit;
}
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_signature );
par_signature = NULL;
}
{
Py_XDECREF( var_digest );
var_digest = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac$$$function_5_verify );
return NULL;
function_exception_exit:
assert( exception_type );
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return NULL;
function_return_exit:
CHECK_OBJECT( tmp_return_value );
assert( had_error || !ERROR_OCCURRED() );
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_1___init__( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_cryptography$hazmat$backends$openssl$cmac$$$function_1___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_892f78f58091e927d7540f8aa71c83a6,
#endif
codeobj_09db476110dcf0f43c8885b2440c157d,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_cryptography$hazmat$backends$openssl$cmac,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_2_update( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_cryptography$hazmat$backends$openssl$cmac$$$function_2_update,
const_str_plain_update,
#if PYTHON_VERSION >= 300
const_str_digest_00b1475f7619bfaf4b198639584192e3,
#endif
codeobj_fe9d5cacd94b0863748df2d1313b1b56,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_cryptography$hazmat$backends$openssl$cmac,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_3_finalize( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_cryptography$hazmat$backends$openssl$cmac$$$function_3_finalize,
const_str_plain_finalize,
#if PYTHON_VERSION >= 300
const_str_digest_be0519335f5f483d871219458fb8d4a8,
#endif
codeobj_2d5245cc4f39b75986251613d55389d3,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_cryptography$hazmat$backends$openssl$cmac,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_4_copy( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_cryptography$hazmat$backends$openssl$cmac$$$function_4_copy,
const_str_plain_copy,
#if PYTHON_VERSION >= 300
const_str_digest_b5b1193211d57fe0cdd4b0dd8c937595,
#endif
codeobj_16df6f50886fdda02b04c21599600235,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_cryptography$hazmat$backends$openssl$cmac,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_5_verify( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_cryptography$hazmat$backends$openssl$cmac$$$function_5_verify,
const_str_plain_verify,
#if PYTHON_VERSION >= 300
const_str_digest_941e43339b6ed9750c807f9bcd0b201d,
#endif
codeobj_a81514fe189c660582f0060a74c2af35,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_cryptography$hazmat$backends$openssl$cmac,
NULL,
0
);
return (PyObject *)result;
}
#if PYTHON_VERSION >= 300
static struct PyModuleDef mdef_cryptography$hazmat$backends$openssl$cmac =
{
PyModuleDef_HEAD_INIT,
"cryptography.hazmat.backends.openssl.cmac", /* m_name */
NULL, /* m_doc */
-1, /* m_size */
NULL, /* m_methods */
NULL, /* m_reload */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL, /* m_free */
};
#endif
extern PyObject *const_str_plain___package__;
#if PYTHON_VERSION >= 300
extern PyObject *const_str_dot;
extern PyObject *const_str_plain___loader__;
extern PyObject *metapath_based_loader;
#endif
#if PYTHON_VERSION >= 340
extern PyObject *const_str_plain___spec__;
extern PyObject *const_str_plain__initializing;
#endif
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
#if PYTHON_VERSION >= 350
extern void _initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
extern void _initCompiledAsyncgenTypes();
#endif
// The exported interface to CPython. On import of the module, this function
// gets called. It has to have an exact function name, in cases it's a shared
// library export. This is hidden behind the MOD_INIT_DECL.
MOD_INIT_DECL( cryptography$hazmat$backends$openssl$cmac )
{
#if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300
static bool _init_done = false;
// Modules might be imported repeatedly, which is to be ignored.
if ( _init_done )
{
return MOD_RETURN_VALUE( module_cryptography$hazmat$backends$openssl$cmac );
}
else
{
_init_done = true;
}
#endif
#ifdef _NUITKA_MODULE
// In case of a stand alone extension module, need to call initialization
// the init here because that's the first and only time we are going to get
// called here.
// Initialize the constant values used.
_initBuiltinModule();
createGlobalConstants();
/* Initialize the compiled types of Nuitka. */
_initCompiledCellType();
_initCompiledGeneratorType();
_initCompiledFunctionType();
_initCompiledMethodType();
_initCompiledFrameType();
#if PYTHON_VERSION >= 350
_initCompiledCoroutineTypes();
#endif
#if PYTHON_VERSION >= 360
_initCompiledAsyncgenTypes();
#endif
#if PYTHON_VERSION < 300
_initSlotCompare();
#endif
#if PYTHON_VERSION >= 270
_initSlotIternext();
#endif
patchBuiltinModule();
patchTypeComparison();
// Enable meta path based loader if not already done.
#ifdef _NUITKA_TRACE
puts("cryptography.hazmat.backends.openssl.cmac: Calling setupMetaPathBasedLoader().");
#endif
setupMetaPathBasedLoader();
#if PYTHON_VERSION >= 300
patchInspectModule();
#endif
#endif
/* The constants only used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("cryptography.hazmat.backends.openssl.cmac: Calling createModuleConstants().");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("cryptography.hazmat.backends.openssl.cmac: Calling createModuleCodeObjects().");
#endif
createModuleCodeObjects();
// puts( "in initcryptography$hazmat$backends$openssl$cmac" );
// Create the module object first. There are no methods initially, all are
// added dynamically in actual code only. Also no "__doc__" is initially
// set at this time, as it could not contain NUL characters this way, they
// are instead set in early module code. No "self" for modules, we have no
// use for it.
#if PYTHON_VERSION < 300
module_cryptography$hazmat$backends$openssl$cmac = Py_InitModule4(
"cryptography.hazmat.backends.openssl.cmac", // Module Name
NULL, // No methods initially, all are added
// dynamically in actual module code only.
NULL, // No "__doc__" is initially set, as it could
// not contain NUL this way, added early in
// actual code.
NULL, // No self for modules, we don't use it.
PYTHON_API_VERSION
);
#else
module_cryptography$hazmat$backends$openssl$cmac = PyModule_Create( &mdef_cryptography$hazmat$backends$openssl$cmac );
#endif
moduledict_cryptography$hazmat$backends$openssl$cmac = MODULE_DICT( module_cryptography$hazmat$backends$openssl$cmac );
// Update "__package__" value to what it ought to be.
{
#if 0
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___name__ );
UPDATE_STRING_DICT1(
moduledict_cryptography$hazmat$backends$openssl$cmac,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 300
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___name__ );
char const *module_name_cstr = PyString_AS_STRING( module_name );
char const *last_dot = strrchr( module_name_cstr, '.' );
if ( last_dot != NULL )
{
UPDATE_STRING_DICT1(
moduledict_cryptography$hazmat$backends$openssl$cmac,
(Nuitka_StringObject *)const_str_plain___package__,
PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr )
);
}
#else
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___name__ );
Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 );
if ( dot_index != -1 )
{
UPDATE_STRING_DICT1(
moduledict_cryptography$hazmat$backends$openssl$cmac,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring( module_name, 0, dot_index )
);
}
#endif
#endif
}
CHECK_OBJECT( module_cryptography$hazmat$backends$openssl$cmac );
// Seems to work for Python2.7 out of the box, but for Python3, the module
// doesn't automatically enter "sys.modules", so do it manually.
#if PYTHON_VERSION >= 300
{
int r = PyObject_SetItem( PySys_GetObject( (char *)"modules" ), const_str_digest_9841ce71dddac32d13e81b29f10b2a67, module_cryptography$hazmat$backends$openssl$cmac );
assert( r != -1 );
}
#endif
// For deep importing of a module we need to have "__builtins__", so we set
// it ourselves in the same way than CPython does. Note: This must be done
// before the frame object is allocated, or else it may fail.
if ( GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___builtins__ ) == NULL )
{
PyObject *value = (PyObject *)builtin_module;
// Check if main module, not a dict then but the module itself.
#if !defined(_NUITKA_EXE) || !0
value = PyModule_GetDict( value );
#endif
UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___builtins__, value );
}
#if PYTHON_VERSION >= 300
UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
#endif
#if PYTHON_VERSION >= 340
#if 0
UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___spec__, Py_None );
#else
{
PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap");
CHECK_OBJECT( bootstrap_module );
PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" );
Py_DECREF( bootstrap_module );
PyObject *args[] = {
GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___name__ ),
metapath_based_loader
};
PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2(
module_spec_class,
args
);
SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True );
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
Py_DECREF( module_spec_class );
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
PyObject *tmp_import_from_3__module = NULL;
struct Nuitka_FrameObject *frame_48fb0616f524e09d9fa0435bc4e3a385;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
bool tmp_result;
PyObject *locals_cryptography$hazmat$backends$openssl$cmac_17 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_None;
UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = const_str_digest_e6fb59bafea2f8833703486cd63b079f;
UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 );
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = PyImport_ImportModule("__future__");
assert( !(tmp_assign_source_4 == NULL) );
assert( tmp_import_from_1__module == NULL );
Py_INCREF( tmp_assign_source_4 );
tmp_import_from_1__module = tmp_assign_source_4;
}
// Frame without reuse.
frame_48fb0616f524e09d9fa0435bc4e3a385 = MAKE_MODULE_FRAME( codeobj_48fb0616f524e09d9fa0435bc4e3a385, module_cryptography$hazmat$backends$openssl$cmac );
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack( frame_48fb0616f524e09d9fa0435bc4e3a385 );
assert( Py_REFCNT( frame_48fb0616f524e09d9fa0435bc4e3a385 ) == 2 );
// Framed code:
{
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_1 = tmp_import_from_1__module;
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 5;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_5 );
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_2 = tmp_import_from_1__module;
tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 5;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_6 );
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_3 = tmp_import_from_1__module;
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_print_function );
if ( tmp_assign_source_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 5;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_print_function, tmp_assign_source_7 );
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
Py_DECREF( tmp_import_from_1__module );
tmp_import_from_1__module = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
}
// End of try:
try_end_1:;
}
{
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
Py_DECREF( tmp_import_from_1__module );
tmp_import_from_1__module = NULL;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_name_1;
PyObject *tmp_globals_name_1;
PyObject *tmp_locals_name_1;
PyObject *tmp_fromlist_name_1;
PyObject *tmp_level_name_1;
tmp_name_name_1 = const_str_plain_cryptography;
tmp_globals_name_1 = (PyObject *)moduledict_cryptography$hazmat$backends$openssl$cmac;
tmp_locals_name_1 = Py_None;
tmp_fromlist_name_1 = const_tuple_str_plain_utils_tuple;
tmp_level_name_1 = const_int_0;
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 8;
tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
if ( tmp_import_name_from_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 8;
goto frame_exception_exit_1;
}
tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_utils );
Py_DECREF( tmp_import_name_from_4 );
if ( tmp_assign_source_8 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 8;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_utils, tmp_assign_source_8 );
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_name_name_2;
PyObject *tmp_globals_name_2;
PyObject *tmp_locals_name_2;
PyObject *tmp_fromlist_name_2;
PyObject *tmp_level_name_2;
tmp_name_name_2 = const_str_digest_82e5b7f1075745a8638e06059354d03c;
tmp_globals_name_2 = (PyObject *)moduledict_cryptography$hazmat$backends$openssl$cmac;
tmp_locals_name_2 = Py_None;
tmp_fromlist_name_2 = const_tuple_9758f710ce98b1c0cfd42dd10befe3cb_tuple;
tmp_level_name_2 = const_int_0;
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 9;
tmp_assign_source_9 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 );
if ( tmp_assign_source_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 9;
goto frame_exception_exit_1;
}
assert( tmp_import_from_2__module == NULL );
tmp_import_from_2__module = tmp_assign_source_9;
}
{
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT( tmp_import_from_2__module );
tmp_import_name_from_5 = tmp_import_from_2__module;
tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_InvalidSignature );
if ( tmp_assign_source_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 9;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_InvalidSignature, tmp_assign_source_10 );
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT( tmp_import_from_2__module );
tmp_import_name_from_6 = tmp_import_from_2__module;
tmp_assign_source_11 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_UnsupportedAlgorithm );
if ( tmp_assign_source_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 9;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_UnsupportedAlgorithm, tmp_assign_source_11 );
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT( tmp_import_from_2__module );
tmp_import_name_from_7 = tmp_import_from_2__module;
tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain__Reasons );
if ( tmp_assign_source_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 9;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain__Reasons, tmp_assign_source_12 );
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_import_from_2__module );
Py_DECREF( tmp_import_from_2__module );
tmp_import_from_2__module = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
}
// End of try:
try_end_2:;
}
{
CHECK_OBJECT( (PyObject *)tmp_import_from_2__module );
Py_DECREF( tmp_import_from_2__module );
tmp_import_from_2__module = NULL;
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_name_name_3;
PyObject *tmp_globals_name_3;
PyObject *tmp_locals_name_3;
PyObject *tmp_fromlist_name_3;
PyObject *tmp_level_name_3;
tmp_name_name_3 = const_str_digest_9db3cdd3cd765463b4eec6754eb8e087;
tmp_globals_name_3 = (PyObject *)moduledict_cryptography$hazmat$backends$openssl$cmac;
tmp_locals_name_3 = Py_None;
tmp_fromlist_name_3 = const_tuple_str_plain_constant_time_str_plain_mac_tuple;
tmp_level_name_3 = const_int_0;
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 12;
tmp_assign_source_13 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 );
if ( tmp_assign_source_13 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 12;
goto frame_exception_exit_1;
}
assert( tmp_import_from_3__module == NULL );
tmp_import_from_3__module = tmp_assign_source_13;
}
{
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT( tmp_import_from_3__module );
tmp_import_name_from_8 = tmp_import_from_3__module;
tmp_assign_source_14 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_constant_time );
if ( tmp_assign_source_14 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 12;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_constant_time, tmp_assign_source_14 );
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT( tmp_import_from_3__module );
tmp_import_name_from_9 = tmp_import_from_3__module;
tmp_assign_source_15 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_mac );
if ( tmp_assign_source_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 12;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_mac, tmp_assign_source_15 );
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_import_from_3__module );
Py_DECREF( tmp_import_from_3__module );
tmp_import_from_3__module = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
}
// End of try:
try_end_3:;
}
{
CHECK_OBJECT( (PyObject *)tmp_import_from_3__module );
Py_DECREF( tmp_import_from_3__module );
tmp_import_from_3__module = NULL;
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_10;
PyObject *tmp_name_name_4;
PyObject *tmp_globals_name_4;
PyObject *tmp_locals_name_4;
PyObject *tmp_fromlist_name_4;
PyObject *tmp_level_name_4;
tmp_name_name_4 = const_str_digest_dad71bd336cb898ea2767fe5d1d92e3c;
tmp_globals_name_4 = (PyObject *)moduledict_cryptography$hazmat$backends$openssl$cmac;
tmp_locals_name_4 = Py_None;
tmp_fromlist_name_4 = const_tuple_str_plain_CBC_tuple;
tmp_level_name_4 = const_int_0;
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 13;
tmp_import_name_from_10 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 );
if ( tmp_import_name_from_10 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 13;
goto frame_exception_exit_1;
}
tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_CBC );
Py_DECREF( tmp_import_name_from_10 );
if ( tmp_assign_source_16 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 13;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_CBC, tmp_assign_source_16 );
}
{
// Tried code:
{
PyObject *tmp_assign_source_17;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = const_tuple_type_object_tuple;
Py_INCREF( tmp_dircall_arg1_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_17 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_17 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
assert( tmp_class_creation_1__bases == NULL );
tmp_class_creation_1__bases = tmp_assign_source_17;
}
{
PyObject *tmp_assign_source_18;
tmp_assign_source_18 = PyDict_New();
assert( tmp_class_creation_1__class_decl_dict == NULL );
tmp_class_creation_1__class_decl_dict = tmp_assign_source_18;
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_metaclass_name_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_key_name_1;
PyObject *tmp_dict_name_1;
PyObject *tmp_dict_name_2;
PyObject *tmp_key_name_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_bases_name_1;
tmp_key_name_1 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_1;
}
else
{
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_name_2 = const_str_plain_metaclass;
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
if ( tmp_truth_name_1 == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
{
goto condexpr_true_2;
}
else
{
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
tmp_subscript_name_1 = const_int_0;
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
if ( tmp_type_arg_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
Py_DECREF( tmp_type_arg_1 );
if ( tmp_metaclass_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_1 );
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_bases_name_1 = tmp_class_creation_1__bases;
tmp_assign_source_19 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
Py_DECREF( tmp_metaclass_name_1 );
if ( tmp_assign_source_19 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
assert( tmp_class_creation_1__metaclass == NULL );
tmp_class_creation_1__metaclass = tmp_assign_source_19;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_key_name_3;
PyObject *tmp_dict_name_3;
tmp_key_name_3 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
{
goto branch_yes_1;
}
else
{
goto branch_no_1;
}
branch_yes_1:;
{
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = const_str_plain_metaclass;
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
}
branch_no_1:;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_source_name_1;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_1 = tmp_class_creation_1__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ );
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_assign_source_20;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_args_name_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kw_name_1;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_2 = tmp_class_creation_1__metaclass;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
tmp_tuple_element_1 = const_str_plain__CMACContext;
tmp_args_name_1 = PyTuple_New( 2 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_1 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict;
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 17;
tmp_assign_source_20 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_name_1 );
if ( tmp_assign_source_20 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_20;
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_3;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_source_name_3 = tmp_class_creation_1__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ );
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
{
goto branch_yes_3;
}
else
{
goto branch_no_3;
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_left_name_1;
PyObject *tmp_right_name_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
PyObject *tmp_source_name_4;
PyObject *tmp_type_arg_2;
tmp_raise_type_1 = PyExc_TypeError;
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = const_str_plain___name__;
tmp_getattr_default_1 = const_str_angle_metaclass;
tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
if ( tmp_tuple_element_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
tmp_right_name_1 = PyTuple_New( 2 );
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 );
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 );
assert( !(tmp_source_name_4 == NULL) );
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
Py_DECREF( tmp_source_name_4 );
if ( tmp_tuple_element_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_right_name_1 );
exception_lineno = 17;
goto try_except_handler_4;
}
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 );
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
Py_DECREF( tmp_right_name_1 );
if ( tmp_raise_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_4;
}
exception_type = tmp_raise_type_1;
Py_INCREF( tmp_raise_type_1 );
exception_value = tmp_raise_value_1;
exception_lineno = 17;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_4;
}
branch_no_3:;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_21;
tmp_assign_source_21 = PyDict_New();
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_21;
}
branch_end_2:;
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_called_name_2;
PyObject *tmp_called_name_3;
PyObject *tmp_source_name_5;
PyObject *tmp_mvar_value_1;
PyObject *tmp_args_element_name_1;
PyObject *tmp_source_name_6;
PyObject *tmp_mvar_value_2;
PyObject *tmp_args_element_name_2;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_utils );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "utils" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 16;
goto try_except_handler_4;
}
tmp_source_name_5 = tmp_mvar_value_1;
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_register_interface );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 16;
goto try_except_handler_4;
}
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_mac );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_mac );
}
if ( tmp_mvar_value_2 == NULL )
{
Py_DECREF( tmp_called_name_3 );
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "mac" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 16;
goto try_except_handler_4;
}
tmp_source_name_6 = tmp_mvar_value_2;
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_MACContext );
if ( tmp_args_element_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_called_name_3 );
exception_lineno = 16;
goto try_except_handler_4;
}
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 16;
{
PyObject *call_args[] = { tmp_args_element_name_1 };
tmp_called_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
}
Py_DECREF( tmp_called_name_3 );
Py_DECREF( tmp_args_element_name_1 );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 16;
goto try_except_handler_4;
}
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_cryptography$hazmat$backends$openssl$cmac_17 = tmp_set_locals_1;
Py_INCREF( tmp_set_locals_1 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_9841ce71dddac32d13e81b29f10b2a67;
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain___module__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_6;
}
}
{
tmp_dictset_value = const_str_plain__CMACContext;
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain___qualname__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_6;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2, codeobj_98bf2bdeec3e0e7ad1a83c2583f0f60f, module_cryptography$hazmat$backends$openssl$cmac, sizeof(void *) );
frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 = cache_frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2;
// Push the new frame as the currently active one.
pushFrameStack( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = const_tuple_none_tuple;
Py_INCREF( tmp_defaults_1 );
tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_1___init__( tmp_defaults_1 );
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain___init__, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 18;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_mvar_value_3;
tmp_called_instance_1 = PyObject_GetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain_utils );
if ( tmp_called_instance_1 == NULL )
{
if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain_utils );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "utils" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 47;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_called_instance_1 = tmp_mvar_value_3;
Py_INCREF( tmp_called_instance_1 );
}
}
frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2->m_frame.f_lineno = 47;
tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_read_only_property, &PyTuple_GET_ITEM( const_tuple_str_plain__algorithm_tuple, 0 ) );
Py_DECREF( tmp_called_instance_1 );
if ( tmp_dictset_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 47;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain_algorithm, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 47;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_2_update( );
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain_update, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 49;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_3_finalize( );
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain_finalize, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 53;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_4_copy( );
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain_copy, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 65;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$backends$openssl$cmac$$$function_5_verify( );
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain_verify, tmp_dictset_value );
Py_DECREF( tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 78;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame.
if ( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 == cache_frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 )
{
Py_DECREF( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 );
}
cache_frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 = NULL;
assertFrameObject( frame_98bf2bdeec3e0e7ad1a83c2583f0f60f_2 );
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_6;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_compexpr_left_1;
PyObject *tmp_compexpr_right_1;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_compexpr_left_1 = tmp_class_creation_1__bases;
tmp_compexpr_right_1 = const_tuple_type_object_tuple;
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_6;
}
tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE )
{
goto branch_yes_4;
}
else
{
goto branch_no_4;
}
branch_yes_4:;
{
tmp_dictset_value = const_tuple_type_object_tuple;
tmp_res = PyObject_SetItem( locals_cryptography$hazmat$backends$openssl$cmac_17, const_str_plain___orig_bases__, tmp_dictset_value );
if ( tmp_res != 0 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_6;
}
}
branch_no_4:;
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_called_name_4;
PyObject *tmp_args_name_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kw_name_2;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_called_name_4 = tmp_class_creation_1__metaclass;
tmp_tuple_element_3 = const_str_plain__CMACContext;
tmp_args_name_2 = PyTuple_New( 3 );
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 );
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_tuple_element_3 = tmp_class_creation_1__bases;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 );
tmp_tuple_element_3 = locals_cryptography$hazmat$backends$openssl$cmac_17;
Py_INCREF( tmp_tuple_element_3 );
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 );
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 17;
tmp_assign_source_23 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_2, tmp_kw_name_2 );
Py_DECREF( tmp_args_name_2 );
if ( tmp_assign_source_23 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 17;
goto try_except_handler_6;
}
assert( outline_0_var___class__ == NULL );
outline_0_var___class__ = tmp_assign_source_23;
}
{
CHECK_OBJECT( outline_0_var___class__ );
tmp_args_element_name_2 = outline_0_var___class__;
Py_INCREF( tmp_args_element_name_2 );
goto try_return_handler_6;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_6:;
{
Py_DECREF( locals_cryptography$hazmat$backends$openssl$cmac_17 );
locals_cryptography$hazmat$backends$openssl$cmac_17 = NULL;
}
{
goto try_return_handler_5;
}
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_DECREF( locals_cryptography$hazmat$backends$openssl$cmac_17 );
locals_cryptography$hazmat$backends$openssl$cmac_17 = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_5;
}
// End of try:
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_5:;
{
CHECK_OBJECT( (PyObject *)outline_0_var___class__ );
Py_DECREF( outline_0_var___class__ );
outline_0_var___class__ = NULL;
}
{
goto outline_result_1;
}
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto outline_exception_1;
}
// End of try:
}
// Return statement must have exited already.
NUITKA_CANNOT_GET_HERE( cryptography$hazmat$backends$openssl$cmac );
return MOD_RETURN_VALUE( NULL );
outline_exception_1:;
exception_lineno = 17;
goto try_except_handler_4;
outline_result_1:;
frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame.f_lineno = 16;
{
PyObject *call_args[] = { tmp_args_element_name_2 };
tmp_assign_source_22 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args );
}
Py_DECREF( tmp_called_name_2 );
Py_DECREF( tmp_args_element_name_2 );
if ( tmp_assign_source_22 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 16;
goto try_except_handler_4;
}
UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$backends$openssl$cmac, (Nuitka_StringObject *)const_str_plain__CMACContext, tmp_assign_source_22 );
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__class_decl_dict );
tmp_class_creation_1__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto frame_exception_exit_1;
}
// End of try:
try_end_4:;
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION( frame_48fb0616f524e09d9fa0435bc4e3a385 );
#endif
popFrameStack();
assertFrameObject( frame_48fb0616f524e09d9fa0435bc4e3a385 );
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_48fb0616f524e09d9fa0435bc4e3a385 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_48fb0616f524e09d9fa0435bc4e3a385, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_48fb0616f524e09d9fa0435bc4e3a385->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_48fb0616f524e09d9fa0435bc4e3a385, exception_lineno );
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_2:;
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
Py_DECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict );
Py_DECREF( tmp_class_creation_1__class_decl_dict );
tmp_class_creation_1__class_decl_dict = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass );
Py_DECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
Py_DECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
return MOD_RETURN_VALUE( module_cryptography$hazmat$backends$openssl$cmac );
module_exception_exit:
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return MOD_RETURN_VALUE( NULL );
}