/* Generated code for Python source for module 'cryptography.hazmat.primitives.ciphers.aead' * 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$primitives$ciphers$aead 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$primitives$ciphers$aead; PyDictObject *moduledict_cryptography$hazmat$primitives$ciphers$aead; /* The module constants used, if any. */ static PyObject *const_str_digest_b5c736a667461b8f70568cf8bf8c0404; extern PyObject *const_int_pos_12; extern PyObject *const_int_pos_192; static PyObject *const_str_digest_548f4479e5a7cb49b09c731dbd835178; extern PyObject *const_str_plain_metaclass; extern PyObject *const_int_pos_24; extern PyObject *const_str_plain___name__; extern PyObject *const_tuple_str_plain_self_str_plain_key_tuple; static PyObject *const_str_digest_144fa5bb5b7e1259688e01521b24f599; static PyObject *const_str_digest_4cbeb1665ebb28a5a4ceb2dc17fc986b; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_angle_metaclass; extern PyObject *const_str_plain_object; extern PyObject *const_str_plain___file__; static PyObject *const_str_digest_88ed7f67ae19238d9b6174558628ec3f; extern PyObject *const_tuple_str_plain_cls_tuple; extern PyObject *const_str_plain_nonce; extern PyObject *const_str_plain_associated_data; static PyObject *const_str_digest_6bebcfb89d00e14b17c8582e268c2741; static PyObject *const_str_plain__MAX_SIZE; static PyObject *const_str_plain__validate_lengths; extern PyObject *const_str_plain_division; static PyObject *const_str_digest_4e564256e26a6a28adc5a2f2add390fb; extern PyObject *const_int_pos_128; extern PyObject *const_str_plain_os; extern PyObject *const_int_pos_6; extern PyObject *const_str_plain_UnsupportedAlgorithm; extern PyObject *const_str_plain_classmethod; extern PyObject *const_str_plain_AESCCM; extern PyObject *const_str_plain_data_len; extern PyObject *const_str_plain_cls; extern PyObject *const_str_plain_utils; extern PyObject *const_int_pos_16; static PyObject *const_tuple_str_plain_cls_str_plain_bit_length_tuple; extern PyObject *const_str_plain_absolute_import; extern PyObject *const_str_plain___doc__; extern PyObject *const_int_pos_32; extern PyObject *const_str_plain__check_bytes; extern PyObject *const_str_plain___orig_bases__; extern PyObject *const_str_plain_data; extern PyObject *const_str_digest_336255be11d158429da8946aefa0f283; extern PyObject *const_tuple_str_plain_backend_tuple; static PyObject *const_str_plain__check_params; extern PyObject *const_str_plain_cryptography; extern PyObject *const_str_plain___qualname__; extern PyObject *const_str_plain__encrypt; static PyObject *const_tuple_495f23be81c1502beb1a5637652679eb_tuple; extern PyObject *const_str_plain_bit_length; static PyObject *const_str_digest_c4e219d70edc237f7b67d7bd490c3345; extern PyObject *const_str_digest_9abb9f40508debfa3aae6d9135753f7e; extern PyObject *const_str_plain_int; extern PyObject *const_str_digest_ee742e011576d32d1c182b86832e4555; static PyObject *const_str_plain_generate_key; extern PyObject *const_tuple_int_pos_16_tuple; static PyObject *const_str_digest_67e3ffb33dc96629fe4663eb3c5a6a46; extern PyObject *const_int_pos_8; static PyObject *const_str_digest_b94d6e3206a58448596109985595b700; extern PyObject *const_tuple_empty; static PyObject *const_str_digest_9a2d646ef753a257fc257c3588802065; static PyObject *const_str_digest_f38cc56850f0e0cdcf93467d6c23b3a0; static PyObject *const_str_digest_be59106cb586fa22146fa0a172d40968; static PyObject *const_str_digest_df430a017bc3e9e5bca8c6b9e3bed31e; extern PyObject *const_str_plain_exceptions; static PyObject *const_str_digest_2cf9e7b0c5626a88e4722e57b925a0f4; extern PyObject *const_int_pos_14; static PyObject *const_tuple_str_plain_self_str_plain_key_str_plain_tag_length_tuple; static PyObject *const_str_digest_d8b28440cb2ec934be9708126dc1912a; static PyObject *const_str_digest_0d283a702959290f445898752922a567; extern PyObject *const_str_plain_urandom; extern PyObject *const_str_plain_encrypt; static PyObject *const_str_digest_91f384765edb298c92d946c4a5304bec; extern PyObject *const_str_plain___getitem__; extern PyObject *const_str_plain__Reasons; extern PyObject *const_str_plain_AESGCM; extern PyObject *const_str_plain__decrypt; extern PyObject *const_int_0; static PyObject *const_int_pos_15; extern PyObject *const_str_plain__key; static PyObject *const_str_digest_cdcb16f45374aec2b4f44eea5de257e7; static PyObject *const_str_digest_1dff09be9f730d2776581b61e1d71d17; static PyObject *const_tuple_int_pos_32_tuple; static PyObject *const_str_digest_12aed1dddf057b7424c929591637e763; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_int_pos_4; extern PyObject *const_str_plain_type; extern PyObject *const_bytes_empty; static PyObject *const_str_digest_90ddf18686af7cfef5a94ec42770df0e; extern PyObject *const_int_pos_13; static PyObject *const_str_plain_l_val; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain_print_function; static PyObject *const_str_digest_c933396d6c5a8d8685e110a7d529e48c; extern PyObject *const_str_plain___class__; extern PyObject *const_tuple_str_plain_aead_tuple; extern PyObject *const_str_plain_UNSUPPORTED_CIPHER; static PyObject *const_str_digest_ca396467107e54a620f78307942767dd; extern PyObject *const_str_plain_ChaCha20Poly1305; static PyObject *const_str_plain__tag_length; extern PyObject *const_tuple_type_object_tuple; extern PyObject *const_str_plain___module__; static PyObject *const_str_digest_24f5a9217433c1b5032b4a0392f03dfc; static PyObject *const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple; extern PyObject *const_int_pos_256; extern PyObject *const_str_plain_backend; static PyObject *const_str_digest_aa3a2b76b9e0a32144f906e79865bd63; static PyObject *const_str_digest_d696a9a2b49ed192b90bc819d5fb3a9b; extern PyObject *const_str_plain_key; static PyObject *const_str_digest_cecac04d831558a7902b2101860d2da1; static PyObject *const_str_digest_981ddc8bdaeea0403d7a24b1fe25da17; extern PyObject *const_str_plain_tag_length; extern PyObject *const_str_plain_aead; extern PyObject *const_str_plain___prepare__; static PyObject *const_str_digest_e2954dff86b214a7d2b63430feefb76e; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain_self; extern PyObject *const_str_plain_decrypt; extern PyObject *const_int_pos_7; static PyObject *const_tuple_int_pos_16_int_pos_24_int_pos_32_tuple; extern PyObject *const_int_pos_2; static PyObject *const_str_digest_a4c8f01636700f9c2543786f8d573e2e; static PyObject *const_tuple_int_pos_128_int_pos_192_int_pos_256_tuple; static PyObject *const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple; extern PyObject *const_str_plain_aead_cipher_supported; static PyObject *const_tuple_str_plain_exceptions_str_plain_utils_tuple; extern PyObject *const_int_pos_4294967296; static PyObject *const_str_digest_2510368c0171705779a691a33cc20cf7; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_digest_b5c736a667461b8f70568cf8bf8c0404 = UNSTREAM_STRING( &constant_bin[ 499950 ], 25, 0 ); const_str_digest_548f4479e5a7cb49b09c731dbd835178 = UNSTREAM_STRING( &constant_bin[ 499975 ], 22, 0 ); const_str_digest_144fa5bb5b7e1259688e01521b24f599 = UNSTREAM_STRING( &constant_bin[ 499997 ], 29, 0 ); const_str_digest_4cbeb1665ebb28a5a4ceb2dc17fc986b = UNSTREAM_STRING( &constant_bin[ 500026 ], 23, 0 ); const_str_digest_88ed7f67ae19238d9b6174558628ec3f = UNSTREAM_STRING( &constant_bin[ 500049 ], 29, 0 ); const_str_digest_6bebcfb89d00e14b17c8582e268c2741 = UNSTREAM_STRING( &constant_bin[ 500078 ], 18, 0 ); const_str_plain__MAX_SIZE = UNSTREAM_STRING( &constant_bin[ 500096 ], 9, 1 ); const_str_plain__validate_lengths = UNSTREAM_STRING( &constant_bin[ 500105 ], 17, 1 ); const_str_digest_4e564256e26a6a28adc5a2f2add390fb = UNSTREAM_STRING( &constant_bin[ 500122 ], 41, 0 ); const_tuple_str_plain_cls_str_plain_bit_length_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_bit_length_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_bit_length_tuple, 1, const_str_plain_bit_length ); Py_INCREF( const_str_plain_bit_length ); const_str_plain__check_params = UNSTREAM_STRING( &constant_bin[ 500163 ], 13, 1 ); const_tuple_495f23be81c1502beb1a5637652679eb_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_495f23be81c1502beb1a5637652679eb_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_495f23be81c1502beb1a5637652679eb_tuple, 1, const_str_plain_nonce ); Py_INCREF( const_str_plain_nonce ); PyTuple_SET_ITEM( const_tuple_495f23be81c1502beb1a5637652679eb_tuple, 2, const_str_plain_data_len ); Py_INCREF( const_str_plain_data_len ); const_str_plain_l_val = UNSTREAM_STRING( &constant_bin[ 53969 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_495f23be81c1502beb1a5637652679eb_tuple, 3, const_str_plain_l_val ); Py_INCREF( const_str_plain_l_val ); const_str_digest_c4e219d70edc237f7b67d7bd490c3345 = UNSTREAM_STRING( &constant_bin[ 500176 ], 19, 0 ); const_str_plain_generate_key = UNSTREAM_STRING( &constant_bin[ 461565 ], 12, 1 ); const_str_digest_67e3ffb33dc96629fe4663eb3c5a6a46 = UNSTREAM_STRING( &constant_bin[ 500195 ], 20, 0 ); const_str_digest_b94d6e3206a58448596109985595b700 = UNSTREAM_STRING( &constant_bin[ 500215 ], 14, 0 ); const_str_digest_9a2d646ef753a257fc257c3588802065 = UNSTREAM_STRING( &constant_bin[ 500229 ], 79, 0 ); const_str_digest_f38cc56850f0e0cdcf93467d6c23b3a0 = UNSTREAM_STRING( &constant_bin[ 500308 ], 20, 0 ); const_str_digest_be59106cb586fa22146fa0a172d40968 = UNSTREAM_STRING( &constant_bin[ 500328 ], 19, 0 ); const_str_digest_df430a017bc3e9e5bca8c6b9e3bed31e = UNSTREAM_STRING( &constant_bin[ 500347 ], 38, 0 ); const_str_digest_2cf9e7b0c5626a88e4722e57b925a0f4 = UNSTREAM_STRING( &constant_bin[ 500385 ], 30, 0 ); const_tuple_str_plain_self_str_plain_key_str_plain_tag_length_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_key_str_plain_tag_length_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_key_str_plain_tag_length_tuple, 1, const_str_plain_key ); Py_INCREF( const_str_plain_key ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_key_str_plain_tag_length_tuple, 2, const_str_plain_tag_length ); Py_INCREF( const_str_plain_tag_length ); const_str_digest_d8b28440cb2ec934be9708126dc1912a = UNSTREAM_STRING( &constant_bin[ 500415 ], 14, 0 ); const_str_digest_0d283a702959290f445898752922a567 = UNSTREAM_STRING( &constant_bin[ 500429 ], 14, 0 ); const_str_digest_91f384765edb298c92d946c4a5304bec = UNSTREAM_STRING( &constant_bin[ 500443 ], 49, 0 ); const_int_pos_15 = PyLong_FromUnsignedLong( 15ul ); const_str_digest_cdcb16f45374aec2b4f44eea5de257e7 = UNSTREAM_STRING( &constant_bin[ 500492 ], 41, 0 ); const_str_digest_1dff09be9f730d2776581b61e1d71d17 = UNSTREAM_STRING( &constant_bin[ 500533 ], 52, 0 ); const_tuple_int_pos_32_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_int_pos_32_tuple, 0, const_int_pos_32 ); Py_INCREF( const_int_pos_32 ); const_str_digest_12aed1dddf057b7424c929591637e763 = UNSTREAM_STRING( &constant_bin[ 500585 ], 35, 0 ); const_str_digest_90ddf18686af7cfef5a94ec42770df0e = UNSTREAM_STRING( &constant_bin[ 500620 ], 15, 0 ); const_str_digest_c933396d6c5a8d8685e110a7d529e48c = UNSTREAM_STRING( &constant_bin[ 500635 ], 29, 0 ); const_str_digest_ca396467107e54a620f78307942767dd = UNSTREAM_STRING( &constant_bin[ 500664 ], 15, 0 ); const_str_plain__tag_length = UNSTREAM_STRING( &constant_bin[ 500634 ], 11, 1 ); const_str_digest_24f5a9217433c1b5032b4a0392f03dfc = UNSTREAM_STRING( &constant_bin[ 500679 ], 14, 0 ); const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 1, const_str_plain_nonce ); Py_INCREF( const_str_plain_nonce ); PyTuple_SET_ITEM( const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 2, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 3, const_str_plain_associated_data ); Py_INCREF( const_str_plain_associated_data ); const_str_digest_aa3a2b76b9e0a32144f906e79865bd63 = UNSTREAM_STRING( &constant_bin[ 500693 ], 29, 0 ); const_str_digest_d696a9a2b49ed192b90bc819d5fb3a9b = UNSTREAM_STRING( &constant_bin[ 500722 ], 24, 0 ); const_str_digest_cecac04d831558a7902b2101860d2da1 = UNSTREAM_STRING( &constant_bin[ 500746 ], 36, 0 ); const_str_digest_981ddc8bdaeea0403d7a24b1fe25da17 = UNSTREAM_STRING( &constant_bin[ 500782 ], 24, 0 ); const_str_digest_e2954dff86b214a7d2b63430feefb76e = UNSTREAM_STRING( &constant_bin[ 500806 ], 60, 0 ); const_tuple_int_pos_16_int_pos_24_int_pos_32_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_int_pos_16_int_pos_24_int_pos_32_tuple, 0, const_int_pos_16 ); Py_INCREF( const_int_pos_16 ); PyTuple_SET_ITEM( const_tuple_int_pos_16_int_pos_24_int_pos_32_tuple, 1, const_int_pos_24 ); Py_INCREF( const_int_pos_24 ); PyTuple_SET_ITEM( const_tuple_int_pos_16_int_pos_24_int_pos_32_tuple, 2, const_int_pos_32 ); Py_INCREF( const_int_pos_32 ); const_str_digest_a4c8f01636700f9c2543786f8d573e2e = UNSTREAM_STRING( &constant_bin[ 500866 ], 24, 0 ); const_tuple_int_pos_128_int_pos_192_int_pos_256_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_int_pos_128_int_pos_192_int_pos_256_tuple, 0, const_int_pos_128 ); Py_INCREF( const_int_pos_128 ); PyTuple_SET_ITEM( const_tuple_int_pos_128_int_pos_192_int_pos_256_tuple, 1, const_int_pos_192 ); Py_INCREF( const_int_pos_192 ); PyTuple_SET_ITEM( const_tuple_int_pos_128_int_pos_192_int_pos_256_tuple, 2, const_int_pos_256 ); Py_INCREF( const_int_pos_256 ); const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple, 0, const_int_pos_4 ); Py_INCREF( const_int_pos_4 ); PyTuple_SET_ITEM( const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple, 1, const_int_pos_6 ); Py_INCREF( const_int_pos_6 ); PyTuple_SET_ITEM( const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple, 2, const_int_pos_8 ); Py_INCREF( const_int_pos_8 ); PyTuple_SET_ITEM( const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple, 3, const_int_pos_12 ); Py_INCREF( const_int_pos_12 ); PyTuple_SET_ITEM( const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple, 4, const_int_pos_14 ); Py_INCREF( const_int_pos_14 ); PyTuple_SET_ITEM( const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple, 5, const_int_pos_16 ); Py_INCREF( const_int_pos_16 ); const_tuple_str_plain_exceptions_str_plain_utils_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_exceptions_str_plain_utils_tuple, 0, const_str_plain_exceptions ); Py_INCREF( const_str_plain_exceptions ); PyTuple_SET_ITEM( const_tuple_str_plain_exceptions_str_plain_utils_tuple, 1, const_str_plain_utils ); Py_INCREF( const_str_plain_utils ); const_str_digest_2510368c0171705779a691a33cc20cf7 = UNSTREAM_STRING( &constant_bin[ 500890 ], 50, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_cryptography$hazmat$primitives$ciphers$aead( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_ed49b28c0d047a9588b958147246b38f; static PyCodeObject *codeobj_fe31eeafaf0d2ee3ce6f63eeee7372c1; static PyCodeObject *codeobj_ea300468b9bf5eb55108ba4edde1c3f7; static PyCodeObject *codeobj_1a4b58084cdfba1804753abbf7c4b56c; static PyCodeObject *codeobj_75dcec1e29c261eb6c40d025cbe35f22; static PyCodeObject *codeobj_5c60ac56ac89a7bf0785964dbd28f93f; static PyCodeObject *codeobj_a0061fe777fe945bf5fd59f96fbedec9; static PyCodeObject *codeobj_9ae3bafb660baabb49d79170f186238a; static PyCodeObject *codeobj_3df4220d5c1e44baf209e6a0e08870a3; static PyCodeObject *codeobj_bfb2eeb46407933d4fcd72a5580fd922; static PyCodeObject *codeobj_f2cc61e8e060378ca8dc1841532fcc46; static PyCodeObject *codeobj_60b89cfbd005f7284db0b0115a32dda0; static PyCodeObject *codeobj_069f9d642a911f662fe629507044fd50; static PyCodeObject *codeobj_c7b9d357725fba7588766e779930e8ee; static PyCodeObject *codeobj_dcc590f462e98e526dbdd542a0787cde; static PyCodeObject *codeobj_460a354af434ed89286007681103a58e; static PyCodeObject *codeobj_2a7128b4a33239201cce46e4ff1b9e87; static PyCodeObject *codeobj_34660249e0ba3e83c199fd178f4aac12; static PyCodeObject *codeobj_ea85cfe82ef1d0399ccbdfe29607b364; static PyCodeObject *codeobj_e0d52fd990a00dc2a53edb3f2e9eafbb; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_9a2d646ef753a257fc257c3588802065; codeobj_ed49b28c0d047a9588b958147246b38f = MAKE_CODEOBJ( module_filename_obj, const_str_digest_1dff09be9f730d2776581b61e1d71d17, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_fe31eeafaf0d2ee3ce6f63eeee7372c1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_AESCCM, 66, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_ea300468b9bf5eb55108ba4edde1c3f7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_AESGCM, 139, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_1a4b58084cdfba1804753abbf7c4b56c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ChaCha20Poly1305, 14, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_75dcec1e29c261eb6c40d025cbe35f22 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 17, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5c60ac56ac89a7bf0785964dbd28f93f = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 69, const_tuple_str_plain_self_str_plain_key_str_plain_tag_length_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a0061fe777fe945bf5fd59f96fbedec9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 142, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_9ae3bafb660baabb49d79170f186238a = MAKE_CODEOBJ( module_filename_obj, const_str_plain__check_params, 58, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3df4220d5c1e44baf209e6a0e08870a3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__check_params, 131, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_bfb2eeb46407933d4fcd72a5580fd922 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__check_params, 183, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f2cc61e8e060378ca8dc1841532fcc46 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__validate_lengths, 124, const_tuple_495f23be81c1502beb1a5637652679eb_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_60b89cfbd005f7284db0b0115a32dda0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decrypt, 49, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_069f9d642a911f662fe629507044fd50 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decrypt, 115, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c7b9d357725fba7588766e779930e8ee = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decrypt, 174, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_dcc590f462e98e526dbdd542a0787cde = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encrypt, 34, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_460a354af434ed89286007681103a58e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encrypt, 99, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_2a7128b4a33239201cce46e4ff1b9e87 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encrypt, 159, const_tuple_07a7b3559c63f6d8e62902e0fb832388_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_34660249e0ba3e83c199fd178f4aac12 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_generate_key, 30, const_tuple_str_plain_cls_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_ea85cfe82ef1d0399ccbdfe29607b364 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_generate_key, 89, const_tuple_str_plain_cls_str_plain_bit_length_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e0d52fd990a00dc2a53edb3f2e9eafbb = MAKE_CODEOBJ( module_filename_obj, const_str_plain_generate_key, 149, const_tuple_str_plain_cls_str_plain_bit_length_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$primitives$ciphers$aead$$$function_10__validate_lengths( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_11__check_params( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_12___init__( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_13_generate_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_14_encrypt( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_15_decrypt( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_16__check_params( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_1___init__( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_2_generate_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_3_encrypt( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_4_decrypt( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_5__check_params( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_6___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_7_generate_key( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_8_encrypt( ); static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_9_decrypt( ); // The module function definitions. static PyObject *impl_cryptography$hazmat$primitives$ciphers$aead$$$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_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_75dcec1e29c261eb6c40d025cbe35f22; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_75dcec1e29c261eb6c40d025cbe35f22 = 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_75dcec1e29c261eb6c40d025cbe35f22, codeobj_75dcec1e29c261eb6c40d025cbe35f22, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *) ); frame_75dcec1e29c261eb6c40d025cbe35f22 = cache_frame_75dcec1e29c261eb6c40d025cbe35f22; // Push the new frame as the currently active one. pushFrameStack( frame_75dcec1e29c261eb6c40d025cbe35f22 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_75dcec1e29c261eb6c40d025cbe35f22 ) == 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_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 18; type_description_1 = "oo"; 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_aead_cipher_supported ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 18; type_description_1 = "oo"; 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 = 18; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; frame_75dcec1e29c261eb6c40d025cbe35f22->m_frame.f_lineno = 18; { 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 = 18; type_description_1 = "oo"; 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 = 18; type_description_1 = "oo"; 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_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_exceptions ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_exceptions ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "exceptions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 19; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_UnsupportedAlgorithm ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 19; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = const_str_digest_e2954dff86b214a7d2b63430feefb76e; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_exceptions ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_exceptions ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "exceptions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 21; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_3; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__Reasons ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 21; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_UNSUPPORTED_CIPHER ); Py_DECREF( tmp_source_name_3 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 21; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_75dcec1e29c261eb6c40d025cbe35f22->m_frame.f_lineno = 19; { 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_called_name_2 ); 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 = 19; type_description_1 = "oo"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_1; exception_lineno = 19; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_4 == 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 = 23; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_4; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__check_bytes ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = const_str_plain_key; if ( par_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 23; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_key; frame_75dcec1e29c261eb6c40d025cbe35f22->m_frame.f_lineno = 23; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( par_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 25; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_key; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_32; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? 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_raise_type_2; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_df430a017bc3e9e5bca8c6b9e3bed31e; frame_75dcec1e29c261eb6c40d025cbe35f22->m_frame.f_lineno = 26; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 26; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 28; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_key; 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 = 28; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__key, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_75dcec1e29c261eb6c40d025cbe35f22 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_75dcec1e29c261eb6c40d025cbe35f22 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_75dcec1e29c261eb6c40d025cbe35f22, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_75dcec1e29c261eb6c40d025cbe35f22->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_75dcec1e29c261eb6c40d025cbe35f22, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_75dcec1e29c261eb6c40d025cbe35f22, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_75dcec1e29c261eb6c40d025cbe35f22 == cache_frame_75dcec1e29c261eb6c40d025cbe35f22 ) { Py_DECREF( frame_75dcec1e29c261eb6c40d025cbe35f22 ); } cache_frame_75dcec1e29c261eb6c40d025cbe35f22 = NULL; assertFrameObject( frame_75dcec1e29c261eb6c40d025cbe35f22 ); // 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$primitives$ciphers$aead$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = 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_key ); par_key = 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$primitives$ciphers$aead$$$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$primitives$ciphers$aead$$$function_2_generate_key( 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_cls = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_34660249e0ba3e83c199fd178f4aac12; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_34660249e0ba3e83c199fd178f4aac12 = 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_34660249e0ba3e83c199fd178f4aac12, codeobj_34660249e0ba3e83c199fd178f4aac12, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *) ); frame_34660249e0ba3e83c199fd178f4aac12 = cache_frame_34660249e0ba3e83c199fd178f4aac12; // Push the new frame as the currently active one. pushFrameStack( frame_34660249e0ba3e83c199fd178f4aac12 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_34660249e0ba3e83c199fd178f4aac12 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 32; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_1; frame_34660249e0ba3e83c199fd178f4aac12->m_frame.f_lineno = 32; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_urandom, &PyTuple_GET_ITEM( const_tuple_int_pos_32_tuple, 0 ) ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_34660249e0ba3e83c199fd178f4aac12 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_34660249e0ba3e83c199fd178f4aac12 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_34660249e0ba3e83c199fd178f4aac12 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_34660249e0ba3e83c199fd178f4aac12, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_34660249e0ba3e83c199fd178f4aac12->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_34660249e0ba3e83c199fd178f4aac12, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_34660249e0ba3e83c199fd178f4aac12, type_description_1, par_cls ); // Release cached frame. if ( frame_34660249e0ba3e83c199fd178f4aac12 == cache_frame_34660249e0ba3e83c199fd178f4aac12 ) { Py_DECREF( frame_34660249e0ba3e83c199fd178f4aac12 ); } cache_frame_34660249e0ba3e83c199fd178f4aac12 = NULL; assertFrameObject( frame_34660249e0ba3e83c199fd178f4aac12 ); // 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$primitives$ciphers$aead$$$function_2_generate_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = 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_cls ); par_cls = 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$primitives$ciphers$aead$$$function_2_generate_key ); 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$primitives$ciphers$aead$$$function_3_encrypt( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_dcc590f462e98e526dbdd542a0787cde; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_dcc590f462e98e526dbdd542a0787cde = 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. { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_associated_data ); tmp_compexpr_left_1 = par_associated_data; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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_assign_source_1; tmp_assign_source_1 = const_bytes_empty; { PyObject *old = par_associated_data; par_associated_data = tmp_assign_source_1; Py_INCREF( par_associated_data ); Py_XDECREF( old ); } } branch_no_1:; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_dcc590f462e98e526dbdd542a0787cde, codeobj_dcc590f462e98e526dbdd542a0787cde, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_dcc590f462e98e526dbdd542a0787cde = cache_frame_dcc590f462e98e526dbdd542a0787cde; // Push the new frame as the currently active one. pushFrameStack( frame_dcc590f462e98e526dbdd542a0787cde ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dcc590f462e98e526dbdd542a0787cde ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_2; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_len_arg_2; PyObject *tmp_source_name_2; if ( par_data == NULL ) { 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 = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_data; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__MAX_SIZE ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( par_associated_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_2 = par_associated_data; tmp_compexpr_left_3 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__MAX_SIZE ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); exception_lineno = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_2 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_91f384765edb298c92d946c4a5304bec; frame_dcc590f462e98e526dbdd542a0787cde->m_frame.f_lineno = 40; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_OverflowError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 40; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_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 = 44; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__check_params ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_associated_data; frame_dcc590f462e98e526dbdd542a0787cde->m_frame.f_lineno = 44; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_4; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_aead ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_aead ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "aead" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 45; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__encrypt ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 45; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 46; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = tmp_mvar_value_2; 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 = 46; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_self; if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 46; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 46; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 46; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_associated_data; tmp_args_element_name_9 = const_int_pos_16; frame_dcc590f462e98e526dbdd542a0787cde->m_frame.f_lineno = 45; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 45; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dcc590f462e98e526dbdd542a0787cde ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dcc590f462e98e526dbdd542a0787cde ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dcc590f462e98e526dbdd542a0787cde ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dcc590f462e98e526dbdd542a0787cde, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dcc590f462e98e526dbdd542a0787cde->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dcc590f462e98e526dbdd542a0787cde, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dcc590f462e98e526dbdd542a0787cde, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_dcc590f462e98e526dbdd542a0787cde == cache_frame_dcc590f462e98e526dbdd542a0787cde ) { Py_DECREF( frame_dcc590f462e98e526dbdd542a0787cde ); } cache_frame_dcc590f462e98e526dbdd542a0787cde = NULL; assertFrameObject( frame_dcc590f462e98e526dbdd542a0787cde ); // 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$primitives$ciphers$aead$$$function_3_encrypt ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_3_encrypt ); 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$primitives$ciphers$aead$$$function_4_decrypt( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_60b89cfbd005f7284db0b0115a32dda0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_60b89cfbd005f7284db0b0115a32dda0 = 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. { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_associated_data ); tmp_compexpr_left_1 = par_associated_data; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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_assign_source_1; tmp_assign_source_1 = const_bytes_empty; { PyObject *old = par_associated_data; par_associated_data = tmp_assign_source_1; Py_INCREF( par_associated_data ); Py_XDECREF( old ); } } branch_no_1:; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_60b89cfbd005f7284db0b0115a32dda0, codeobj_60b89cfbd005f7284db0b0115a32dda0, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_60b89cfbd005f7284db0b0115a32dda0 = cache_frame_60b89cfbd005f7284db0b0115a32dda0; // Push the new frame as the currently active one. pushFrameStack( frame_60b89cfbd005f7284db0b0115a32dda0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_60b89cfbd005f7284db0b0115a32dda0 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_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 = 53; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__check_params ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 53; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_associated_data; frame_60b89cfbd005f7284db0b0115a32dda0->m_frame.f_lineno = 53; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 53; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_4; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_aead ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_aead ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "aead" ); 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_2 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__decrypt ); if ( tmp_called_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_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backend" ); 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_args_element_name_4 = tmp_mvar_value_2; 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_args_element_name_5 = par_self; if ( par_nonce == 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", "nonce" ); 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_args_element_name_6 = par_nonce; if ( par_data == 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", "data" ); 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_args_element_name_7 = par_data; if ( par_associated_data == 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", "associated_data" ); 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_args_element_name_8 = par_associated_data; tmp_args_element_name_9 = const_int_pos_16; frame_60b89cfbd005f7284db0b0115a32dda0->m_frame.f_lineno = 54; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == 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; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_60b89cfbd005f7284db0b0115a32dda0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_60b89cfbd005f7284db0b0115a32dda0 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_60b89cfbd005f7284db0b0115a32dda0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_60b89cfbd005f7284db0b0115a32dda0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_60b89cfbd005f7284db0b0115a32dda0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_60b89cfbd005f7284db0b0115a32dda0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_60b89cfbd005f7284db0b0115a32dda0, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_60b89cfbd005f7284db0b0115a32dda0 == cache_frame_60b89cfbd005f7284db0b0115a32dda0 ) { Py_DECREF( frame_60b89cfbd005f7284db0b0115a32dda0 ); } cache_frame_60b89cfbd005f7284db0b0115a32dda0 = NULL; assertFrameObject( frame_60b89cfbd005f7284db0b0115a32dda0 ); // 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$primitives$ciphers$aead$$$function_4_decrypt ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_4_decrypt ); 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$primitives$ciphers$aead$$$function_5__check_params( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_9ae3bafb660baabb49d79170f186238a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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_9ae3bafb660baabb49d79170f186238a = 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_9ae3bafb660baabb49d79170f186238a, codeobj_9ae3bafb660baabb49d79170f186238a, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_9ae3bafb660baabb49d79170f186238a = cache_frame_9ae3bafb660baabb49d79170f186238a; // Push the new frame as the currently active one. pushFrameStack( frame_9ae3bafb660baabb49d79170f186238a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9ae3bafb660baabb49d79170f186238a ) == 2 ); // Frame stack // Framed code: { 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$primitives$ciphers$aead, (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 = 59; type_description_1 = "oooo"; 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__check_bytes ); if ( tmp_called_name_1 == 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_args_element_name_1 = const_str_plain_nonce; if ( par_nonce == 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", "nonce" ); 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_args_element_name_2 = par_nonce; frame_9ae3bafb660baabb49d79170f186238a->m_frame.f_lineno = 59; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); 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_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_2 == 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 = 60; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__check_bytes ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 60; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = const_str_plain_data; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 60; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_data; frame_9ae3bafb660baabb49d79170f186238a->m_frame.f_lineno = 60; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 60; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (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 = 61; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__check_bytes ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = const_str_plain_associated_data; if ( par_associated_data == 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", "associated_data" ); 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_args_element_name_6 = par_associated_data; frame_9ae3bafb660baabb49d79170f186238a->m_frame.f_lineno = 61; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( par_nonce == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 62; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_nonce; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 62; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_12; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 62; type_description_1 = "oooo"; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_548f4479e5a7cb49b09c731dbd835178; frame_9ae3bafb660baabb49d79170f186238a->m_frame.f_lineno = 63; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 63; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9ae3bafb660baabb49d79170f186238a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9ae3bafb660baabb49d79170f186238a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9ae3bafb660baabb49d79170f186238a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9ae3bafb660baabb49d79170f186238a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9ae3bafb660baabb49d79170f186238a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9ae3bafb660baabb49d79170f186238a, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_9ae3bafb660baabb49d79170f186238a == cache_frame_9ae3bafb660baabb49d79170f186238a ) { Py_DECREF( frame_9ae3bafb660baabb49d79170f186238a ); } cache_frame_9ae3bafb660baabb49d79170f186238a = NULL; assertFrameObject( frame_9ae3bafb660baabb49d79170f186238a ); // 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$primitives$ciphers$aead$$$function_5__check_params ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_5__check_params ); 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$primitives$ciphers$aead$$$function_6___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_key = python_pars[ 1 ]; PyObject *par_tag_length = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_5c60ac56ac89a7bf0785964dbd28f93f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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; static struct Nuitka_FrameObject *cache_frame_5c60ac56ac89a7bf0785964dbd28f93f = 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_5c60ac56ac89a7bf0785964dbd28f93f, codeobj_5c60ac56ac89a7bf0785964dbd28f93f, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5c60ac56ac89a7bf0785964dbd28f93f = cache_frame_5c60ac56ac89a7bf0785964dbd28f93f; // Push the new frame as the currently active one. pushFrameStack( frame_5c60ac56ac89a7bf0785964dbd28f93f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5c60ac56ac89a7bf0785964dbd28f93f ) == 2 ); // Frame stack // Framed code: { 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$primitives$ciphers$aead, (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 = 70; 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__check_bytes ); if ( tmp_called_name_1 == 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_args_element_name_1 = const_str_plain_key; if ( par_key == 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", "key" ); 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_args_element_name_2 = par_key; frame_5c60ac56ac89a7bf0785964dbd28f93f->m_frame.f_lineno = 70; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == 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; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( par_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); 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_len_arg_1 = par_key; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_tuple_int_pos_16_int_pos_24_int_pos_32_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_cdcb16f45374aec2b4f44eea5de257e7; frame_5c60ac56ac89a7bf0785964dbd28f93f->m_frame.f_lineno = 72; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 72; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); 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_assattr_name_1 = par_key; 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 = 74; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__key, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 74; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; if ( par_tag_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_length" ); 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_isinstance_inst_1 = par_tag_length; tmp_isinstance_cls_1 = (PyObject *)&PyLong_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { 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_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 = 75; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? 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_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_c933396d6c5a8d8685e110a7d529e48c; frame_5c60ac56ac89a7bf0785964dbd28f93f->m_frame.f_lineno = 76; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 76; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_tag_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 78; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_tag_length; tmp_compexpr_right_2 = const_tuple_fc2201139e72a9b1ea6a421b0695d9ad_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_raise_type_3; PyObject *tmp_make_exception_arg_3; tmp_make_exception_arg_3 = const_str_digest_6bebcfb89d00e14b17c8582e268c2741; frame_5c60ac56ac89a7bf0785964dbd28f93f->m_frame.f_lineno = 79; { PyObject *call_args[] = { tmp_make_exception_arg_3 }; tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_3 == NULL) ); exception_type = tmp_raise_type_3; exception_lineno = 79; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_3:; } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_tag_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_length" ); 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_assattr_name_2 = par_tag_length; 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 = 81; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__tag_length, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_4; PyObject *tmp_operand_name_2; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 83; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_aead_cipher_supported ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "ooo"; goto frame_exception_exit_1; } 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 = 83; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_self; frame_5c60ac56ac89a7bf0785964dbd28f93f->m_frame.f_lineno = 83; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_raise_type_4; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_4; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_exceptions ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_exceptions ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "exceptions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_UnsupportedAlgorithm ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = const_str_digest_2510368c0171705779a691a33cc20cf7; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_exceptions ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_exceptions ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "exceptions" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 86; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_4; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__Reasons ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 86; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_UNSUPPORTED_CIPHER ); Py_DECREF( tmp_source_name_4 ); 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 = 86; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_5c60ac56ac89a7bf0785964dbd28f93f->m_frame.f_lineno = 84; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_raise_type_4 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_raise_type_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "ooo"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_4; exception_lineno = 84; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_4:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5c60ac56ac89a7bf0785964dbd28f93f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5c60ac56ac89a7bf0785964dbd28f93f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5c60ac56ac89a7bf0785964dbd28f93f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5c60ac56ac89a7bf0785964dbd28f93f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5c60ac56ac89a7bf0785964dbd28f93f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5c60ac56ac89a7bf0785964dbd28f93f, type_description_1, par_self, par_key, par_tag_length ); // Release cached frame. if ( frame_5c60ac56ac89a7bf0785964dbd28f93f == cache_frame_5c60ac56ac89a7bf0785964dbd28f93f ) { Py_DECREF( frame_5c60ac56ac89a7bf0785964dbd28f93f ); } cache_frame_5c60ac56ac89a7bf0785964dbd28f93f = NULL; assertFrameObject( frame_5c60ac56ac89a7bf0785964dbd28f93f ); // 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$primitives$ciphers$aead$$$function_6___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_tag_length ); par_tag_length = 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_key ); par_key = NULL; } { Py_XDECREF( par_tag_length ); par_tag_length = 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$primitives$ciphers$aead$$$function_6___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$primitives$ciphers$aead$$$function_7_generate_key( 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_cls = python_pars[ 0 ]; PyObject *par_bit_length = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_ea85cfe82ef1d0399ccbdfe29607b364; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_ea85cfe82ef1d0399ccbdfe29607b364 = 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_ea85cfe82ef1d0399ccbdfe29607b364, codeobj_ea85cfe82ef1d0399ccbdfe29607b364, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *) ); frame_ea85cfe82ef1d0399ccbdfe29607b364 = cache_frame_ea85cfe82ef1d0399ccbdfe29607b364; // Push the new frame as the currently active one. pushFrameStack( frame_ea85cfe82ef1d0399ccbdfe29607b364 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ea85cfe82ef1d0399ccbdfe29607b364 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( par_bit_length ); tmp_isinstance_inst_1 = par_bit_length; tmp_isinstance_cls_1 = (PyObject *)&PyLong_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "oo"; goto frame_exception_exit_1; } 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 = 91; type_description_1 = "oo"; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_144fa5bb5b7e1259688e01521b24f599; frame_ea85cfe82ef1d0399ccbdfe29607b364->m_frame.f_lineno = 92; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 92; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_bit_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bit_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 94; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_bit_length; tmp_compexpr_right_1 = const_tuple_int_pos_128_int_pos_192_int_pos_256_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 94; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? 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_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_12aed1dddf057b7424c929591637e763; frame_ea85cfe82ef1d0399ccbdfe29607b364->m_frame.f_lineno = 95; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 95; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 97; type_description_1 = "oo"; 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_urandom ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 97; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_bit_length == 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", "bit_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 97; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = par_bit_length; tmp_right_name_1 = const_int_pos_8; tmp_args_element_name_1 = BINARY_OPERATION_FLOORDIV( tmp_left_name_1, tmp_right_name_1 ); 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 = 97; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_ea85cfe82ef1d0399ccbdfe29607b364->m_frame.f_lineno = 97; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 97; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_ea85cfe82ef1d0399ccbdfe29607b364 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ea85cfe82ef1d0399ccbdfe29607b364 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ea85cfe82ef1d0399ccbdfe29607b364 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ea85cfe82ef1d0399ccbdfe29607b364, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ea85cfe82ef1d0399ccbdfe29607b364->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ea85cfe82ef1d0399ccbdfe29607b364, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ea85cfe82ef1d0399ccbdfe29607b364, type_description_1, par_cls, par_bit_length ); // Release cached frame. if ( frame_ea85cfe82ef1d0399ccbdfe29607b364 == cache_frame_ea85cfe82ef1d0399ccbdfe29607b364 ) { Py_DECREF( frame_ea85cfe82ef1d0399ccbdfe29607b364 ); } cache_frame_ea85cfe82ef1d0399ccbdfe29607b364 = NULL; assertFrameObject( frame_ea85cfe82ef1d0399ccbdfe29607b364 ); // 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$primitives$ciphers$aead$$$function_7_generate_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_bit_length ); par_bit_length = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_bit_length ); par_bit_length = 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$primitives$ciphers$aead$$$function_7_generate_key ); 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$primitives$ciphers$aead$$$function_8_encrypt( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_460a354af434ed89286007681103a58e; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_460a354af434ed89286007681103a58e = 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. { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_associated_data ); tmp_compexpr_left_1 = par_associated_data; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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_assign_source_1; tmp_assign_source_1 = const_bytes_empty; { PyObject *old = par_associated_data; par_associated_data = tmp_assign_source_1; Py_INCREF( par_associated_data ); Py_XDECREF( old ); } } branch_no_1:; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_460a354af434ed89286007681103a58e, codeobj_460a354af434ed89286007681103a58e, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_460a354af434ed89286007681103a58e = cache_frame_460a354af434ed89286007681103a58e; // Push the new frame as the currently active one. pushFrameStack( frame_460a354af434ed89286007681103a58e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_460a354af434ed89286007681103a58e ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_2; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_len_arg_2; PyObject *tmp_source_name_2; if ( par_data == NULL ) { 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 = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_data; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__MAX_SIZE ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( par_associated_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_2 = par_associated_data; tmp_compexpr_left_3 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__MAX_SIZE ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); exception_lineno = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_2 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_91f384765edb298c92d946c4a5304bec; frame_460a354af434ed89286007681103a58e->m_frame.f_lineno = 105; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_OverflowError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 105; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_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 = 109; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__check_params ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_associated_data; frame_460a354af434ed89286007681103a58e->m_frame.f_lineno = 109; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_len_arg_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 = 110; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__validate_lengths ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 110; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 110; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 110; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_3 = par_data; tmp_args_element_name_5 = BUILTIN_LEN( tmp_len_arg_3 ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 110; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_460a354af434ed89286007681103a58e->m_frame.f_lineno = 110; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); 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 = 110; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_6; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; PyObject *tmp_source_name_6; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_aead ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_aead ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "aead" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 111; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_1; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__encrypt ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 111; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } 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", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 112; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = tmp_mvar_value_2; 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 = 112; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_self; if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 112; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 112; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 112; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = par_associated_data; 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 = 112; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_args_element_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__tag_length ); if ( tmp_args_element_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 112; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_460a354af434ed89286007681103a58e->m_frame.f_lineno = 111; { PyObject *call_args[] = { tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9, tmp_args_element_name_10, tmp_args_element_name_11 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_11 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 111; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_460a354af434ed89286007681103a58e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_460a354af434ed89286007681103a58e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_460a354af434ed89286007681103a58e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_460a354af434ed89286007681103a58e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_460a354af434ed89286007681103a58e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_460a354af434ed89286007681103a58e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_460a354af434ed89286007681103a58e, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_460a354af434ed89286007681103a58e == cache_frame_460a354af434ed89286007681103a58e ) { Py_DECREF( frame_460a354af434ed89286007681103a58e ); } cache_frame_460a354af434ed89286007681103a58e = NULL; assertFrameObject( frame_460a354af434ed89286007681103a58e ); // 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$primitives$ciphers$aead$$$function_8_encrypt ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_8_encrypt ); 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$primitives$ciphers$aead$$$function_9_decrypt( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_069f9d642a911f662fe629507044fd50; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_069f9d642a911f662fe629507044fd50 = 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. { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_associated_data ); tmp_compexpr_left_1 = par_associated_data; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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_assign_source_1; tmp_assign_source_1 = const_bytes_empty; { PyObject *old = par_associated_data; par_associated_data = tmp_assign_source_1; Py_INCREF( par_associated_data ); Py_XDECREF( old ); } } branch_no_1:; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_069f9d642a911f662fe629507044fd50, codeobj_069f9d642a911f662fe629507044fd50, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_069f9d642a911f662fe629507044fd50 = cache_frame_069f9d642a911f662fe629507044fd50; // Push the new frame as the currently active one. pushFrameStack( frame_069f9d642a911f662fe629507044fd50 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_069f9d642a911f662fe629507044fd50 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_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 = 119; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__check_params ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_associated_data; frame_069f9d642a911f662fe629507044fd50->m_frame.f_lineno = 119; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_4; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_source_name_3; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_aead ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_aead ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "aead" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__decrypt ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 120; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = tmp_mvar_value_2; 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 = 121; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_self; if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_associated_data; 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 = 121; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__tag_length ); if ( tmp_args_element_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 121; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_069f9d642a911f662fe629507044fd50->m_frame.f_lineno = 120; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_9 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 120; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_069f9d642a911f662fe629507044fd50 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_069f9d642a911f662fe629507044fd50 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_069f9d642a911f662fe629507044fd50 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_069f9d642a911f662fe629507044fd50, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_069f9d642a911f662fe629507044fd50->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_069f9d642a911f662fe629507044fd50, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_069f9d642a911f662fe629507044fd50, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_069f9d642a911f662fe629507044fd50 == cache_frame_069f9d642a911f662fe629507044fd50 ) { Py_DECREF( frame_069f9d642a911f662fe629507044fd50 ); } cache_frame_069f9d642a911f662fe629507044fd50 = NULL; assertFrameObject( frame_069f9d642a911f662fe629507044fd50 ); // 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$primitives$ciphers$aead$$$function_9_decrypt ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_9_decrypt ); 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$primitives$ciphers$aead$$$function_10__validate_lengths( 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_nonce = python_pars[ 1 ]; PyObject *par_data_len = python_pars[ 2 ]; PyObject *var_l_val = NULL; struct Nuitka_FrameObject *frame_f2cc61e8e060378ca8dc1841532fcc46; 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_f2cc61e8e060378ca8dc1841532fcc46 = 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_f2cc61e8e060378ca8dc1841532fcc46, codeobj_f2cc61e8e060378ca8dc1841532fcc46, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_f2cc61e8e060378ca8dc1841532fcc46 = cache_frame_f2cc61e8e060378ca8dc1841532fcc46; // Push the new frame as the currently active one. pushFrameStack( frame_f2cc61e8e060378ca8dc1841532fcc46 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f2cc61e8e060378ca8dc1841532fcc46 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_len_arg_1; tmp_left_name_1 = const_int_pos_15; CHECK_OBJECT( par_nonce ); tmp_len_arg_1 = par_nonce; tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 127; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 127; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_l_val == NULL ); var_l_val = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; tmp_left_name_2 = const_int_pos_2; tmp_left_name_3 = const_int_pos_8; CHECK_OBJECT( var_l_val ); tmp_right_name_3 = var_l_val; tmp_right_name_2 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_3 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = POWER_OPERATION( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_data_len == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data_len" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 128; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = par_data_len; tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "oooo"; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_4cbeb1665ebb28a5a4ceb2dc17fc986b; frame_f2cc61e8e060378ca8dc1841532fcc46->m_frame.f_lineno = 129; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 129; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f2cc61e8e060378ca8dc1841532fcc46 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f2cc61e8e060378ca8dc1841532fcc46 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f2cc61e8e060378ca8dc1841532fcc46, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f2cc61e8e060378ca8dc1841532fcc46->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f2cc61e8e060378ca8dc1841532fcc46, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f2cc61e8e060378ca8dc1841532fcc46, type_description_1, par_self, par_nonce, par_data_len, var_l_val ); // Release cached frame. if ( frame_f2cc61e8e060378ca8dc1841532fcc46 == cache_frame_f2cc61e8e060378ca8dc1841532fcc46 ) { Py_DECREF( frame_f2cc61e8e060378ca8dc1841532fcc46 ); } cache_frame_f2cc61e8e060378ca8dc1841532fcc46 = NULL; assertFrameObject( frame_f2cc61e8e060378ca8dc1841532fcc46 ); // 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$primitives$ciphers$aead$$$function_10__validate_lengths ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data_len ); par_data_len = NULL; } { Py_XDECREF( var_l_val ); var_l_val = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data_len ); par_data_len = NULL; } { Py_XDECREF( var_l_val ); var_l_val = 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$primitives$ciphers$aead$$$function_10__validate_lengths ); 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$primitives$ciphers$aead$$$function_11__check_params( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; PyObject *tmp_comparison_chain_1__comparison_result = NULL; PyObject *tmp_comparison_chain_1__operand_2 = NULL; struct Nuitka_FrameObject *frame_3df4220d5c1e44baf209e6a0e08870a3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_3df4220d5c1e44baf209e6a0e08870a3 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_3df4220d5c1e44baf209e6a0e08870a3, codeobj_3df4220d5c1e44baf209e6a0e08870a3, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_3df4220d5c1e44baf209e6a0e08870a3 = cache_frame_3df4220d5c1e44baf209e6a0e08870a3; // Push the new frame as the currently active one. pushFrameStack( frame_3df4220d5c1e44baf209e6a0e08870a3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3df4220d5c1e44baf209e6a0e08870a3 ) == 2 ); // Frame stack // Framed code: { 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$primitives$ciphers$aead, (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 = 132; type_description_1 = "oooo"; 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__check_bytes ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_plain_nonce; if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 132; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_nonce; frame_3df4220d5c1e44baf209e6a0e08870a3->m_frame.f_lineno = 132; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 132; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_2 == 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 = 133; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__check_bytes ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 133; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = const_str_plain_data; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 133; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_data; frame_3df4220d5c1e44baf209e6a0e08870a3->m_frame.f_lineno = 133; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 133; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (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 = 134; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__check_bytes ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = const_str_plain_associated_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_associated_data; frame_3df4220d5c1e44baf209e6a0e08870a3->m_frame.f_lineno = 134; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_len_arg_1; if ( par_nonce == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 135; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_len_arg_1 = par_nonce; tmp_assign_source_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_comparison_chain_1__operand_2 == NULL ); tmp_comparison_chain_1__operand_2 = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = const_int_pos_7; CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_right_1 = tmp_comparison_chain_1__operand_2; tmp_assign_source_2 = RICH_COMPARE_LE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_comparison_chain_1__comparison_result == NULL ); tmp_comparison_chain_1__comparison_result = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_2; CHECK_OBJECT( tmp_comparison_chain_1__comparison_result ); tmp_operand_name_2 = tmp_comparison_chain_1__comparison_result; tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_condition_result_2 = ( tmp_res == 0 ) ? 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:; { CHECK_OBJECT( tmp_comparison_chain_1__comparison_result ); tmp_operand_name_1 = tmp_comparison_chain_1__comparison_result; Py_INCREF( tmp_operand_name_1 ); goto try_return_handler_2; } branch_no_2:; } { PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_left_2 = tmp_comparison_chain_1__operand_2; tmp_compexpr_right_2 = const_int_pos_13; tmp_operand_name_1 = RICH_COMPARE_LE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 135; type_description_1 = "oooo"; goto try_except_handler_2; } goto try_return_handler_2; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead$$$function_11__check_params ); return NULL; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_comparison_chain_1__operand_2 ); Py_DECREF( tmp_comparison_chain_1__operand_2 ); tmp_comparison_chain_1__operand_2 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_comparison_chain_1__comparison_result ); Py_DECREF( tmp_comparison_chain_1__comparison_result ); tmp_comparison_chain_1__comparison_result = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_2:; 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( tmp_comparison_chain_1__operand_2 ); tmp_comparison_chain_1__operand_2 = NULL; } { Py_XDECREF( tmp_comparison_chain_1__comparison_result ); tmp_comparison_chain_1__comparison_result = 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: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead$$$function_11__check_params ); return NULL; outline_result_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 = 135; type_description_1 = "oooo"; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_cecac04d831558a7902b2101860d2da1; frame_3df4220d5c1e44baf209e6a0e08870a3->m_frame.f_lineno = 136; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 136; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3df4220d5c1e44baf209e6a0e08870a3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3df4220d5c1e44baf209e6a0e08870a3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3df4220d5c1e44baf209e6a0e08870a3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3df4220d5c1e44baf209e6a0e08870a3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3df4220d5c1e44baf209e6a0e08870a3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3df4220d5c1e44baf209e6a0e08870a3, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_3df4220d5c1e44baf209e6a0e08870a3 == cache_frame_3df4220d5c1e44baf209e6a0e08870a3 ) { Py_DECREF( frame_3df4220d5c1e44baf209e6a0e08870a3 ); } cache_frame_3df4220d5c1e44baf209e6a0e08870a3 = NULL; assertFrameObject( frame_3df4220d5c1e44baf209e6a0e08870a3 ); // 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$primitives$ciphers$aead$$$function_11__check_params ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead$$$function_11__check_params ); 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$primitives$ciphers$aead$$$function_12___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_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_a0061fe777fe945bf5fd59f96fbedec9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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; static struct Nuitka_FrameObject *cache_frame_a0061fe777fe945bf5fd59f96fbedec9 = 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_a0061fe777fe945bf5fd59f96fbedec9, codeobj_a0061fe777fe945bf5fd59f96fbedec9, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *) ); frame_a0061fe777fe945bf5fd59f96fbedec9 = cache_frame_a0061fe777fe945bf5fd59f96fbedec9; // Push the new frame as the currently active one. pushFrameStack( frame_a0061fe777fe945bf5fd59f96fbedec9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a0061fe777fe945bf5fd59f96fbedec9 ) == 2 ); // Frame stack // Framed code: { 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$primitives$ciphers$aead, (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 = 143; type_description_1 = "oo"; 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__check_bytes ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_plain_key; if ( par_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 143; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_key; frame_a0061fe777fe945bf5fd59f96fbedec9->m_frame.f_lineno = 143; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 143; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( par_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 144; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_key; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_tuple_int_pos_16_int_pos_24_int_pos_32_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; type_description_1 = "oo"; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_4e564256e26a6a28adc5a2f2add390fb; frame_a0061fe777fe945bf5fd59f96fbedec9->m_frame.f_lineno = 145; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 145; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 147; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_key; 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 = 147; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__key, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 147; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_a0061fe777fe945bf5fd59f96fbedec9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a0061fe777fe945bf5fd59f96fbedec9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a0061fe777fe945bf5fd59f96fbedec9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a0061fe777fe945bf5fd59f96fbedec9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a0061fe777fe945bf5fd59f96fbedec9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a0061fe777fe945bf5fd59f96fbedec9, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_a0061fe777fe945bf5fd59f96fbedec9 == cache_frame_a0061fe777fe945bf5fd59f96fbedec9 ) { Py_DECREF( frame_a0061fe777fe945bf5fd59f96fbedec9 ); } cache_frame_a0061fe777fe945bf5fd59f96fbedec9 = NULL; assertFrameObject( frame_a0061fe777fe945bf5fd59f96fbedec9 ); // 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$primitives$ciphers$aead$$$function_12___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = 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_key ); par_key = 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$primitives$ciphers$aead$$$function_12___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$primitives$ciphers$aead$$$function_13_generate_key( 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_cls = python_pars[ 0 ]; PyObject *par_bit_length = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_e0d52fd990a00dc2a53edb3f2e9eafbb; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_e0d52fd990a00dc2a53edb3f2e9eafbb = 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_e0d52fd990a00dc2a53edb3f2e9eafbb, codeobj_e0d52fd990a00dc2a53edb3f2e9eafbb, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *) ); frame_e0d52fd990a00dc2a53edb3f2e9eafbb = cache_frame_e0d52fd990a00dc2a53edb3f2e9eafbb; // Push the new frame as the currently active one. pushFrameStack( frame_e0d52fd990a00dc2a53edb3f2e9eafbb ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e0d52fd990a00dc2a53edb3f2e9eafbb ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( par_bit_length ); tmp_isinstance_inst_1 = par_bit_length; tmp_isinstance_cls_1 = (PyObject *)&PyLong_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; type_description_1 = "oo"; goto frame_exception_exit_1; } 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 = 151; type_description_1 = "oo"; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_144fa5bb5b7e1259688e01521b24f599; frame_e0d52fd990a00dc2a53edb3f2e9eafbb->m_frame.f_lineno = 152; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 152; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_bit_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bit_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 154; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_bit_length; tmp_compexpr_right_1 = const_tuple_int_pos_128_int_pos_192_int_pos_256_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? 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_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_12aed1dddf057b7424c929591637e763; frame_e0d52fd990a00dc2a53edb3f2e9eafbb->m_frame.f_lineno = 155; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 155; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 157; type_description_1 = "oo"; 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_urandom ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 157; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_bit_length == 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", "bit_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 157; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = par_bit_length; tmp_right_name_1 = const_int_pos_8; tmp_args_element_name_1 = BINARY_OPERATION_FLOORDIV( tmp_left_name_1, tmp_right_name_1 ); 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 = 157; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_e0d52fd990a00dc2a53edb3f2e9eafbb->m_frame.f_lineno = 157; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 157; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e0d52fd990a00dc2a53edb3f2e9eafbb ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e0d52fd990a00dc2a53edb3f2e9eafbb ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e0d52fd990a00dc2a53edb3f2e9eafbb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e0d52fd990a00dc2a53edb3f2e9eafbb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e0d52fd990a00dc2a53edb3f2e9eafbb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e0d52fd990a00dc2a53edb3f2e9eafbb, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e0d52fd990a00dc2a53edb3f2e9eafbb, type_description_1, par_cls, par_bit_length ); // Release cached frame. if ( frame_e0d52fd990a00dc2a53edb3f2e9eafbb == cache_frame_e0d52fd990a00dc2a53edb3f2e9eafbb ) { Py_DECREF( frame_e0d52fd990a00dc2a53edb3f2e9eafbb ); } cache_frame_e0d52fd990a00dc2a53edb3f2e9eafbb = NULL; assertFrameObject( frame_e0d52fd990a00dc2a53edb3f2e9eafbb ); // 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$primitives$ciphers$aead$$$function_13_generate_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_bit_length ); par_bit_length = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_bit_length ); par_bit_length = 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$primitives$ciphers$aead$$$function_13_generate_key ); 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$primitives$ciphers$aead$$$function_14_encrypt( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_2a7128b4a33239201cce46e4ff1b9e87; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_2a7128b4a33239201cce46e4ff1b9e87 = 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. { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_associated_data ); tmp_compexpr_left_1 = par_associated_data; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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_assign_source_1; tmp_assign_source_1 = const_bytes_empty; { PyObject *old = par_associated_data; par_associated_data = tmp_assign_source_1; Py_INCREF( par_associated_data ); Py_XDECREF( old ); } } branch_no_1:; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_2a7128b4a33239201cce46e4ff1b9e87, codeobj_2a7128b4a33239201cce46e4ff1b9e87, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_2a7128b4a33239201cce46e4ff1b9e87 = cache_frame_2a7128b4a33239201cce46e4ff1b9e87; // Push the new frame as the currently active one. pushFrameStack( frame_2a7128b4a33239201cce46e4ff1b9e87 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2a7128b4a33239201cce46e4ff1b9e87 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_2; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_len_arg_2; PyObject *tmp_source_name_2; if ( par_data == NULL ) { 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 = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_data; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__MAX_SIZE ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( par_associated_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_2 = par_associated_data; tmp_compexpr_left_3 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__MAX_SIZE ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_2 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_91f384765edb298c92d946c4a5304bec; frame_2a7128b4a33239201cce46e4ff1b9e87->m_frame.f_lineno = 165; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_OverflowError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 165; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_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 = 169; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__check_params ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 169; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 169; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 169; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 169; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_associated_data; frame_2a7128b4a33239201cce46e4ff1b9e87->m_frame.f_lineno = 169; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 169; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_4; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_aead ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_aead ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "aead" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 170; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__encrypt ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 171; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = tmp_mvar_value_2; 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 = 171; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_self; if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 171; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 171; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 171; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_associated_data; tmp_args_element_name_9 = const_int_pos_16; frame_2a7128b4a33239201cce46e4ff1b9e87->m_frame.f_lineno = 170; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_2a7128b4a33239201cce46e4ff1b9e87 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2a7128b4a33239201cce46e4ff1b9e87 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2a7128b4a33239201cce46e4ff1b9e87 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2a7128b4a33239201cce46e4ff1b9e87, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2a7128b4a33239201cce46e4ff1b9e87->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2a7128b4a33239201cce46e4ff1b9e87, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2a7128b4a33239201cce46e4ff1b9e87, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_2a7128b4a33239201cce46e4ff1b9e87 == cache_frame_2a7128b4a33239201cce46e4ff1b9e87 ) { Py_DECREF( frame_2a7128b4a33239201cce46e4ff1b9e87 ); } cache_frame_2a7128b4a33239201cce46e4ff1b9e87 = NULL; assertFrameObject( frame_2a7128b4a33239201cce46e4ff1b9e87 ); // 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$primitives$ciphers$aead$$$function_14_encrypt ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_14_encrypt ); 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$primitives$ciphers$aead$$$function_15_decrypt( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_c7b9d357725fba7588766e779930e8ee; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_c7b9d357725fba7588766e779930e8ee = 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. { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_associated_data ); tmp_compexpr_left_1 = par_associated_data; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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_assign_source_1; tmp_assign_source_1 = const_bytes_empty; { PyObject *old = par_associated_data; par_associated_data = tmp_assign_source_1; Py_INCREF( par_associated_data ); Py_XDECREF( old ); } } branch_no_1:; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_c7b9d357725fba7588766e779930e8ee, codeobj_c7b9d357725fba7588766e779930e8ee, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_c7b9d357725fba7588766e779930e8ee = cache_frame_c7b9d357725fba7588766e779930e8ee; // Push the new frame as the currently active one. pushFrameStack( frame_c7b9d357725fba7588766e779930e8ee ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c7b9d357725fba7588766e779930e8ee ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_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 = 178; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__check_params ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 178; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 178; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 178; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_associated_data; frame_c7b9d357725fba7588766e779930e8ee->m_frame.f_lineno = 178; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 178; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_4; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_aead ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_aead ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "aead" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 179; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__decrypt ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 179; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_backend ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "backend" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 180; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = tmp_mvar_value_2; 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 = 180; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_self; if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 180; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_nonce; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 180; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 180; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_associated_data; tmp_args_element_name_9 = const_int_pos_16; frame_c7b9d357725fba7588766e779930e8ee->m_frame.f_lineno = 179; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 179; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c7b9d357725fba7588766e779930e8ee ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c7b9d357725fba7588766e779930e8ee ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c7b9d357725fba7588766e779930e8ee ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c7b9d357725fba7588766e779930e8ee, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c7b9d357725fba7588766e779930e8ee->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c7b9d357725fba7588766e779930e8ee, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c7b9d357725fba7588766e779930e8ee, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_c7b9d357725fba7588766e779930e8ee == cache_frame_c7b9d357725fba7588766e779930e8ee ) { Py_DECREF( frame_c7b9d357725fba7588766e779930e8ee ); } cache_frame_c7b9d357725fba7588766e779930e8ee = NULL; assertFrameObject( frame_c7b9d357725fba7588766e779930e8ee ); // 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$primitives$ciphers$aead$$$function_15_decrypt ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_15_decrypt ); 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$primitives$ciphers$aead$$$function_16__check_params( 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_nonce = python_pars[ 1 ]; PyObject *par_data = python_pars[ 2 ]; PyObject *par_associated_data = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_bfb2eeb46407933d4fcd72a5580fd922; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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_bfb2eeb46407933d4fcd72a5580fd922 = 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_bfb2eeb46407933d4fcd72a5580fd922, codeobj_bfb2eeb46407933d4fcd72a5580fd922, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_bfb2eeb46407933d4fcd72a5580fd922 = cache_frame_bfb2eeb46407933d4fcd72a5580fd922; // Push the new frame as the currently active one. pushFrameStack( frame_bfb2eeb46407933d4fcd72a5580fd922 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_bfb2eeb46407933d4fcd72a5580fd922 ) == 2 ); // Frame stack // Framed code: { 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$primitives$ciphers$aead, (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 = 184; type_description_1 = "oooo"; 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__check_bytes ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 184; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_plain_nonce; if ( par_nonce == 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", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 184; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_nonce; frame_bfb2eeb46407933d4fcd72a5580fd922->m_frame.f_lineno = 184; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 184; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_utils ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_utils ); } if ( tmp_mvar_value_2 == 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 = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__check_bytes ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = const_str_plain_data; if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_data; frame_bfb2eeb46407933d4fcd72a5580fd922->m_frame.f_lineno = 185; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (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 = 186; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__check_bytes ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 186; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = const_str_plain_associated_data; if ( par_associated_data == 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", "associated_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 186; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_associated_data; frame_bfb2eeb46407933d4fcd72a5580fd922->m_frame.f_lineno = 186; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 186; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( par_nonce == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nonce" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_nonce; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 187; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 187; type_description_1 = "oooo"; 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_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_aa3a2b76b9e0a32144f906e79865bd63; frame_bfb2eeb46407933d4fcd72a5580fd922->m_frame.f_lineno = 188; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 188; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_bfb2eeb46407933d4fcd72a5580fd922 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_bfb2eeb46407933d4fcd72a5580fd922 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_bfb2eeb46407933d4fcd72a5580fd922, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_bfb2eeb46407933d4fcd72a5580fd922->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_bfb2eeb46407933d4fcd72a5580fd922, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_bfb2eeb46407933d4fcd72a5580fd922, type_description_1, par_self, par_nonce, par_data, par_associated_data ); // Release cached frame. if ( frame_bfb2eeb46407933d4fcd72a5580fd922 == cache_frame_bfb2eeb46407933d4fcd72a5580fd922 ) { Py_DECREF( frame_bfb2eeb46407933d4fcd72a5580fd922 ); } cache_frame_bfb2eeb46407933d4fcd72a5580fd922 = NULL; assertFrameObject( frame_bfb2eeb46407933d4fcd72a5580fd922 ); // 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$primitives$ciphers$aead$$$function_16__check_params ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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_nonce ); par_nonce = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_associated_data ); par_associated_data = 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$primitives$ciphers$aead$$$function_16__check_params ); 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$primitives$ciphers$aead$$$function_10__validate_lengths( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_10__validate_lengths, const_str_plain__validate_lengths, #if PYTHON_VERSION >= 300 const_str_digest_d696a9a2b49ed192b90bc819d5fb3a9b, #endif codeobj_f2cc61e8e060378ca8dc1841532fcc46, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_11__check_params( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_11__check_params, const_str_plain__check_params, #if PYTHON_VERSION >= 300 const_str_digest_67e3ffb33dc96629fe4663eb3c5a6a46, #endif codeobj_3df4220d5c1e44baf209e6a0e08870a3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_12___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_12___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_ca396467107e54a620f78307942767dd, #endif codeobj_a0061fe777fe945bf5fd59f96fbedec9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_13_generate_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_13_generate_key, const_str_plain_generate_key, #if PYTHON_VERSION >= 300 const_str_digest_be59106cb586fa22146fa0a172d40968, #endif codeobj_e0d52fd990a00dc2a53edb3f2e9eafbb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_14_encrypt( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_14_encrypt, const_str_plain_encrypt, #if PYTHON_VERSION >= 300 const_str_digest_b94d6e3206a58448596109985595b700, #endif codeobj_2a7128b4a33239201cce46e4ff1b9e87, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_15_decrypt( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_15_decrypt, const_str_plain_decrypt, #if PYTHON_VERSION >= 300 const_str_digest_0d283a702959290f445898752922a567, #endif codeobj_c7b9d357725fba7588766e779930e8ee, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_16__check_params( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_16__check_params, const_str_plain__check_params, #if PYTHON_VERSION >= 300 const_str_digest_f38cc56850f0e0cdcf93467d6c23b3a0, #endif codeobj_bfb2eeb46407933d4fcd72a5580fd922, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_1___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_b5c736a667461b8f70568cf8bf8c0404, #endif codeobj_75dcec1e29c261eb6c40d025cbe35f22, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_2_generate_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_2_generate_key, const_str_plain_generate_key, #if PYTHON_VERSION >= 300 const_str_digest_88ed7f67ae19238d9b6174558628ec3f, #endif codeobj_34660249e0ba3e83c199fd178f4aac12, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_3_encrypt( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_3_encrypt, const_str_plain_encrypt, #if PYTHON_VERSION >= 300 const_str_digest_981ddc8bdaeea0403d7a24b1fe25da17, #endif codeobj_dcc590f462e98e526dbdd542a0787cde, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_4_decrypt( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_4_decrypt, const_str_plain_decrypt, #if PYTHON_VERSION >= 300 const_str_digest_a4c8f01636700f9c2543786f8d573e2e, #endif codeobj_60b89cfbd005f7284db0b0115a32dda0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_5__check_params( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_5__check_params, const_str_plain__check_params, #if PYTHON_VERSION >= 300 const_str_digest_2cf9e7b0c5626a88e4722e57b925a0f4, #endif codeobj_9ae3bafb660baabb49d79170f186238a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_6___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_6___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_90ddf18686af7cfef5a94ec42770df0e, #endif codeobj_5c60ac56ac89a7bf0785964dbd28f93f, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_7_generate_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_7_generate_key, const_str_plain_generate_key, #if PYTHON_VERSION >= 300 const_str_digest_c4e219d70edc237f7b67d7bd490c3345, #endif codeobj_ea85cfe82ef1d0399ccbdfe29607b364, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_8_encrypt( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_8_encrypt, const_str_plain_encrypt, #if PYTHON_VERSION >= 300 const_str_digest_24f5a9217433c1b5032b4a0392f03dfc, #endif codeobj_460a354af434ed89286007681103a58e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_9_decrypt( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_cryptography$hazmat$primitives$ciphers$aead$$$function_9_decrypt, const_str_plain_decrypt, #if PYTHON_VERSION >= 300 const_str_digest_d8b28440cb2ec934be9708126dc1912a, #endif codeobj_069f9d642a911f662fe629507044fd50, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_cryptography$hazmat$primitives$ciphers$aead, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_cryptography$hazmat$primitives$ciphers$aead = { PyModuleDef_HEAD_INIT, "cryptography.hazmat.primitives.ciphers.aead", /* 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$primitives$ciphers$aead ) { #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$primitives$ciphers$aead ); } 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.primitives.ciphers.aead: 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.primitives.ciphers.aead: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("cryptography.hazmat.primitives.ciphers.aead: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initcryptography$hazmat$primitives$ciphers$aead" ); // 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$primitives$ciphers$aead = Py_InitModule4( "cryptography.hazmat.primitives.ciphers.aead", // 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$primitives$ciphers$aead = PyModule_Create( &mdef_cryptography$hazmat$primitives$ciphers$aead ); #endif moduledict_cryptography$hazmat$primitives$ciphers$aead = MODULE_DICT( module_cryptography$hazmat$primitives$ciphers$aead ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_cryptography$hazmat$primitives$ciphers$aead, (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$primitives$ciphers$aead, (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$primitives$ciphers$aead, (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$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_cryptography$hazmat$primitives$ciphers$aead ); // 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_336255be11d158429da8946aefa0f283, module_cryptography$hazmat$primitives$ciphers$aead ); 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$primitives$ciphers$aead, (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$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$ciphers$aead, (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$primitives$ciphers$aead, (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$primitives$ciphers$aead, (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 *outline_1_var___class__ = NULL; PyObject *outline_2_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_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; struct Nuitka_FrameObject *frame_ed49b28c0d047a9588b958147246b38f; 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; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_cryptography$hazmat$primitives$ciphers$aead_14 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_1a4b58084cdfba1804753abbf7c4b56c_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_1a4b58084cdfba1804753abbf7c4b56c_2 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; 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 *locals_cryptography$hazmat$primitives$ciphers$aead_66 = NULL; struct Nuitka_FrameObject *frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *locals_cryptography$hazmat$primitives$ciphers$aead_139 = NULL; struct Nuitka_FrameObject *frame_ea300468b9bf5eb55108ba4edde1c3f7_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_ea300468b9bf5eb55108ba4edde1c3f7_4 = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_9a2d646ef753a257fc257c3588802065; UPDATE_STRING_DICT0( moduledict_cryptography$hazmat$primitives$ciphers$aead, (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$primitives$ciphers$aead, (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_ed49b28c0d047a9588b958147246b38f = MAKE_MODULE_FRAME( codeobj_ed49b28c0d047a9588b958147246b38f, module_cryptography$hazmat$primitives$ciphers$aead ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_ed49b28c0d047a9588b958147246b38f ); assert( Py_REFCNT( frame_ed49b28c0d047a9588b958147246b38f ) == 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$primitives$ciphers$aead, (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$primitives$ciphers$aead, (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$primitives$ciphers$aead, (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_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_os; tmp_globals_name_1 = (PyObject *)moduledict_cryptography$hazmat$primitives$ciphers$aead; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 7; tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 7; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_os, 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_plain_cryptography; tmp_globals_name_2 = (PyObject *)moduledict_cryptography$hazmat$primitives$ciphers$aead; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_exceptions_str_plain_utils_tuple; tmp_level_name_2 = const_int_0; frame_ed49b28c0d047a9588b958147246b38f->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_4; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_4 = tmp_import_from_2__module; tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_exceptions ); 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$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_exceptions, tmp_assign_source_10 ); } { PyObject *tmp_assign_source_11; 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_11 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_utils ); 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$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_utils, tmp_assign_source_11 ); } 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_12; PyObject *tmp_import_name_from_6; 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_ee742e011576d32d1c182b86832e4555; tmp_globals_name_3 = (PyObject *)moduledict_cryptography$hazmat$primitives$ciphers$aead; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = const_tuple_str_plain_aead_tuple; tmp_level_name_3 = const_int_0; frame_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 10; tmp_import_name_from_6 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_import_name_from_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto frame_exception_exit_1; } tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_aead ); Py_DECREF( tmp_import_name_from_6 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_aead, tmp_assign_source_12 ); } { PyObject *tmp_assign_source_13; PyObject *tmp_import_name_from_7; 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_9abb9f40508debfa3aae6d9135753f7e; tmp_globals_name_4 = (PyObject *)moduledict_cryptography$hazmat$primitives$ciphers$aead; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_str_plain_backend_tuple; tmp_level_name_4 = const_int_0; frame_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 11; tmp_import_name_from_7 = 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_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_backend ); Py_DECREF( tmp_import_name_from_7 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_backend, tmp_assign_source_13 ); } { // Tried code: { PyObject *tmp_assign_source_14; 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_14 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_14; } { PyObject *tmp_assign_source_15; tmp_assign_source_15 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } 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_16 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_16; } { 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } } 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_17; 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 = 14; goto try_except_handler_3; } tmp_tuple_element_1 = const_str_plain_ChaCha20Poly1305; 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_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 14; tmp_assign_source_17 = 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_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_17; } { 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } 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 = 14; goto try_except_handler_3; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 14; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_3; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_18; tmp_assign_source_18 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_18; } branch_end_2:; } { PyObject *tmp_assign_source_19; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_cryptography$hazmat$primitives$ciphers$aead_14 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_336255be11d158429da8946aefa0f283; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, 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 = 14; goto try_except_handler_5; } } { tmp_dictset_value = const_str_plain_ChaCha20Poly1305; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, 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 = 14; goto try_except_handler_5; } } MAKE_OR_REUSE_FRAME( cache_frame_1a4b58084cdfba1804753abbf7c4b56c_2, codeobj_1a4b58084cdfba1804753abbf7c4b56c, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *) ); frame_1a4b58084cdfba1804753abbf7c4b56c_2 = cache_frame_1a4b58084cdfba1804753abbf7c4b56c_2; // Push the new frame as the currently active one. pushFrameStack( frame_1a4b58084cdfba1804753abbf7c4b56c_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1a4b58084cdfba1804753abbf7c4b56c_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_pos_4294967296; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, const_str_plain__MAX_SIZE, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 15; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_1___init__( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, 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 = 17; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_classmethod_arg_1; tmp_res = MAPPING_HAS_ITEM( locals_cryptography$hazmat$primitives$ciphers$aead_14, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_6 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; tmp_called_name_2 = PyObject_GetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, const_str_plain_classmethod ); if ( tmp_called_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_1 = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_2_generate_key( ); frame_1a4b58084cdfba1804753abbf7c4b56c_2->m_frame.f_lineno = 30; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_3; condexpr_false_3:; tmp_classmethod_arg_1 = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_2_generate_key( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 ); Py_DECREF( tmp_classmethod_arg_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_3:; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, const_str_plain_generate_key, 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 = 30; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_3_encrypt( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, const_str_plain_encrypt, 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 = 34; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_4_decrypt( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, const_str_plain_decrypt, 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$primitives$ciphers$aead$$$function_5__check_params( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_14, const_str_plain__check_params, 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 = 58; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1a4b58084cdfba1804753abbf7c4b56c_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_1a4b58084cdfba1804753abbf7c4b56c_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1a4b58084cdfba1804753abbf7c4b56c_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1a4b58084cdfba1804753abbf7c4b56c_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1a4b58084cdfba1804753abbf7c4b56c_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1a4b58084cdfba1804753abbf7c4b56c_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_1a4b58084cdfba1804753abbf7c4b56c_2 == cache_frame_1a4b58084cdfba1804753abbf7c4b56c_2 ) { Py_DECREF( frame_1a4b58084cdfba1804753abbf7c4b56c_2 ); } cache_frame_1a4b58084cdfba1804753abbf7c4b56c_2 = NULL; assertFrameObject( frame_1a4b58084cdfba1804753abbf7c4b56c_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_5; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_7; 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 = 14; goto try_except_handler_5; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == 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$primitives$ciphers$aead_14, 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 = 14; goto try_except_handler_5; } } branch_no_4:; } { PyObject *tmp_assign_source_20; PyObject *tmp_called_name_3; 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_3 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_ChaCha20Poly1305; 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$primitives$ciphers$aead_14; 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_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 14; tmp_assign_source_20 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_5; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_20; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_19 = outline_0_var___class__; Py_INCREF( tmp_assign_source_19 ); goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_5:; { Py_DECREF( locals_cryptography$hazmat$primitives$ciphers$aead_14 ); locals_cryptography$hazmat$primitives$ciphers$aead_14 = NULL; } { goto try_return_handler_4; } // Exception handler code: try_except_handler_5:; 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; { Py_DECREF( locals_cryptography$hazmat$primitives$ciphers$aead_14 ); locals_cryptography$hazmat$primitives$ciphers$aead_14 = 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 try_except_handler_4; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_4:; { 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_4:; 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; { // 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 14; goto try_except_handler_3; outline_result_1:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_ChaCha20Poly1305, tmp_assign_source_19 ); } goto try_end_3; // Exception handler code: try_except_handler_3:; 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; { 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_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; } // End of try: try_end_3:; } { 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; } { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_21 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_21; } { PyObject *tmp_assign_source_22; tmp_assign_source_22 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_22; } { PyObject *tmp_assign_source_23; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_8; PyObject *tmp_key_name_4; PyObject *tmp_dict_name_4; PyObject *tmp_dict_name_5; PyObject *tmp_key_name_5; nuitka_bool tmp_condition_result_9; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_bases_name_2; tmp_key_name_4 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict; tmp_key_name_5 = const_str_plain_metaclass; tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 ); if ( tmp_metaclass_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } goto condexpr_end_4; condexpr_false_4:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } tmp_condition_result_9 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_subscribed_name_2 = tmp_class_creation_2__bases; tmp_subscript_name_2 = const_int_0; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_type_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 ); Py_DECREF( tmp_type_arg_3 ); if ( tmp_metaclass_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } goto condexpr_end_5; condexpr_false_5:; tmp_metaclass_name_2 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_2 ); condexpr_end_5:; condexpr_end_4:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_bases_name_2 = tmp_class_creation_2__bases; tmp_assign_source_23 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_23; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_key_name_6; PyObject *tmp_dict_name_6; tmp_key_name_6 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_2__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 = 66; goto try_except_handler_6; } } branch_no_5:; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_source_name_5; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_5 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_5, const_str_plain___prepare__ ); tmp_condition_result_11 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_24; PyObject *tmp_called_name_4; PyObject *tmp_source_name_6; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_6 = tmp_class_creation_2__metaclass; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___prepare__ ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } tmp_tuple_element_4 = const_str_plain_AESCCM; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_4 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 66; tmp_assign_source_24 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_24; } { nuitka_bool tmp_condition_result_12; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_7; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_7 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_7, const_str_plain___getitem__ ); tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } tmp_condition_result_12 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_8; PyObject *tmp_type_arg_4; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = const_str_plain___name__; tmp_getattr_default_2 = const_str_angle_metaclass; tmp_tuple_element_5 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_8 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_8 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); Py_DECREF( tmp_source_name_8 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 66; goto try_except_handler_6; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_5 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_6; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 66; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_6; } branch_no_7:; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_25; tmp_assign_source_25 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_25; } branch_end_6:; } { PyObject *tmp_assign_source_26; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_cryptography$hazmat$primitives$ciphers$aead_66 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_336255be11d158429da8946aefa0f283; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, 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 = 66; goto try_except_handler_8; } } { tmp_dictset_value = const_str_plain_AESCCM; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, 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 = 66; goto try_except_handler_8; } } MAKE_OR_REUSE_FRAME( cache_frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3, codeobj_fe31eeafaf0d2ee3ce6f63eeee7372c1, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *) ); frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 = cache_frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3; // Push the new frame as the currently active one. pushFrameStack( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_pos_4294967296; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain__MAX_SIZE, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 67; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_int_pos_16_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_6___init__( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, 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 = 69; type_description_2 = "o"; goto frame_exception_exit_3; } } { nuitka_bool tmp_condition_result_13; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_2; PyObject *tmp_classmethod_arg_2; tmp_res = MAPPING_HAS_ITEM( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_condition_result_13 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; tmp_called_name_5 = PyObject_GetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain_classmethod ); if ( tmp_called_name_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 89; type_description_2 = "o"; goto frame_exception_exit_3; } if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_2 = "o"; goto frame_exception_exit_3; } tmp_args_element_name_2 = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_7_generate_key( ); frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3->m_frame.f_lineno = 89; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_2 = "o"; goto frame_exception_exit_3; } goto condexpr_end_6; condexpr_false_6:; tmp_classmethod_arg_2 = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_7_generate_key( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_2 ); Py_DECREF( tmp_classmethod_arg_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_2 = "o"; goto frame_exception_exit_3; } condexpr_end_6:; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain_generate_key, 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 = 89; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_8_encrypt( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain_encrypt, 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 = 99; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_9_decrypt( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain_decrypt, 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 = 115; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_10__validate_lengths( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain__validate_lengths, 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 = 124; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_11__check_params( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, const_str_plain__check_params, 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 = 131; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 == cache_frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 ) { Py_DECREF( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 ); } cache_frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 = NULL; assertFrameObject( frame_fe31eeafaf0d2ee3ce6f63eeee7372c1_3 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; goto try_except_handler_8; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_14; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_2 = tmp_class_creation_2__bases; tmp_compexpr_right_2 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_8; } tmp_condition_result_14 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_66, 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 = 66; goto try_except_handler_8; } } branch_no_8:; } { PyObject *tmp_assign_source_27; PyObject *tmp_called_name_6; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_6 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_AESCCM; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_6 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 ); tmp_tuple_element_6 = locals_cryptography$hazmat$primitives$ciphers$aead_66; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 66; tmp_assign_source_27 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_8; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_27; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_26 = outline_1_var___class__; Py_INCREF( tmp_assign_source_26 ); goto try_return_handler_8; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { Py_DECREF( locals_cryptography$hazmat$primitives$ciphers$aead_66 ); locals_cryptography$hazmat$primitives$ciphers$aead_66 = NULL; } { goto try_return_handler_7; } // Exception handler code: try_except_handler_8:; 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_DECREF( locals_cryptography$hazmat$primitives$ciphers$aead_66 ); locals_cryptography$hazmat$primitives$ciphers$aead_66 = 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 try_except_handler_7; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_7:; { CHECK_OBJECT( (PyObject *)outline_1_var___class__ ); Py_DECREF( outline_1_var___class__ ); outline_1_var___class__ = NULL; } { goto outline_result_2; } // Exception handler code: try_except_handler_7:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 66; goto try_except_handler_6; outline_result_2:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_AESCCM, tmp_assign_source_26 ); } goto try_end_4; // Exception handler code: try_except_handler_6:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_2__bases ); tmp_class_creation_2__bases = NULL; } { Py_XDECREF( tmp_class_creation_2__class_decl_dict ); tmp_class_creation_2__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_2__metaclass ); tmp_class_creation_2__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_2__prepared ); tmp_class_creation_2__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases ); Py_DECREF( tmp_class_creation_2__bases ); tmp_class_creation_2__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict ); Py_DECREF( tmp_class_creation_2__class_decl_dict ); tmp_class_creation_2__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass ); Py_DECREF( tmp_class_creation_2__metaclass ); tmp_class_creation_2__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared ); Py_DECREF( tmp_class_creation_2__prepared ); tmp_class_creation_2__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_28; PyObject *tmp_dircall_arg1_3; tmp_dircall_arg1_3 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_3 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_28 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_28; } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_29; } { PyObject *tmp_assign_source_30; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_15; PyObject *tmp_key_name_7; PyObject *tmp_dict_name_7; PyObject *tmp_dict_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_16; int tmp_truth_name_3; PyObject *tmp_type_arg_5; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_3; tmp_key_name_7 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = const_str_plain_metaclass; tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } tmp_condition_result_16 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_subscribed_name_3 = tmp_class_creation_3__bases; tmp_subscript_name_3 = const_int_0; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_type_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 ); Py_DECREF( tmp_type_arg_5 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_3 ); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_30 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_30; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_key_name_9; PyObject *tmp_dict_name_9; tmp_key_name_9 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } tmp_condition_result_17 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_3__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 = 139; goto try_except_handler_9; } } branch_no_9:; } { nuitka_bool tmp_condition_result_18; PyObject *tmp_source_name_9; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_9 = tmp_class_creation_3__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_9, const_str_plain___prepare__ ); tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_assign_source_31; PyObject *tmp_called_name_7; PyObject *tmp_source_name_10; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_7; PyObject *tmp_kw_name_5; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_10 = tmp_class_creation_3__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___prepare__ ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } tmp_tuple_element_7 = const_str_plain_AESGCM; tmp_args_name_5 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_7 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict; frame_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 139; tmp_assign_source_31 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_5, tmp_kw_name_5 ); Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_name_5 ); if ( tmp_assign_source_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_31; } { nuitka_bool tmp_condition_result_19; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_11; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_source_name_11 = tmp_class_creation_3__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_11, const_str_plain___getitem__ ); tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } tmp_condition_result_19 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_8; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; PyObject *tmp_source_name_12; PyObject *tmp_type_arg_6; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = const_str_plain___name__; tmp_getattr_default_3 = const_str_angle_metaclass; tmp_tuple_element_8 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } tmp_right_name_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_source_name_12 = BUILTIN_TYPE1( tmp_type_arg_6 ); assert( !(tmp_source_name_12 == NULL) ); tmp_tuple_element_8 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___name__ ); Py_DECREF( tmp_source_name_12 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_3 ); exception_lineno = 139; goto try_except_handler_9; } PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_8 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_9; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_3; exception_lineno = 139; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_9; } branch_no_11:; } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_32; tmp_assign_source_32 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_32; } branch_end_10:; } { PyObject *tmp_assign_source_33; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_cryptography$hazmat$primitives$ciphers$aead_139 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_336255be11d158429da8946aefa0f283; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, 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 = 139; goto try_except_handler_11; } } { tmp_dictset_value = const_str_plain_AESGCM; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, 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 = 139; goto try_except_handler_11; } } MAKE_OR_REUSE_FRAME( cache_frame_ea300468b9bf5eb55108ba4edde1c3f7_4, codeobj_ea300468b9bf5eb55108ba4edde1c3f7, module_cryptography$hazmat$primitives$ciphers$aead, sizeof(void *) ); frame_ea300468b9bf5eb55108ba4edde1c3f7_4 = cache_frame_ea300468b9bf5eb55108ba4edde1c3f7_4; // Push the new frame as the currently active one. pushFrameStack( frame_ea300468b9bf5eb55108ba4edde1c3f7_4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ea300468b9bf5eb55108ba4edde1c3f7_4 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_pos_4294967296; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, const_str_plain__MAX_SIZE, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 140; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_12___init__( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, 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 = 142; type_description_2 = "o"; goto frame_exception_exit_4; } } { nuitka_bool tmp_condition_result_20; PyObject *tmp_called_name_8; PyObject *tmp_args_element_name_3; PyObject *tmp_classmethod_arg_3; tmp_res = MAPPING_HAS_ITEM( locals_cryptography$hazmat$primitives$ciphers$aead_139, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; type_description_2 = "o"; goto frame_exception_exit_4; } tmp_condition_result_20 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE ) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; tmp_called_name_8 = PyObject_GetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, const_str_plain_classmethod ); if ( tmp_called_name_8 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 149; type_description_2 = "o"; goto frame_exception_exit_4; } if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; type_description_2 = "o"; goto frame_exception_exit_4; } tmp_args_element_name_3 = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_13_generate_key( ); frame_ea300468b9bf5eb55108ba4edde1c3f7_4->m_frame.f_lineno = 149; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; type_description_2 = "o"; goto frame_exception_exit_4; } goto condexpr_end_9; condexpr_false_9:; tmp_classmethod_arg_3 = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_13_generate_key( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_3 ); Py_DECREF( tmp_classmethod_arg_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; type_description_2 = "o"; goto frame_exception_exit_4; } condexpr_end_9:; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, const_str_plain_generate_key, 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 = 149; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_14_encrypt( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, const_str_plain_encrypt, 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 = 159; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_15_decrypt( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, const_str_plain_decrypt, 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 = 174; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_cryptography$hazmat$primitives$ciphers$aead$$$function_16__check_params( ); tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, const_str_plain__check_params, 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 = 183; type_description_2 = "o"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_ea300468b9bf5eb55108ba4edde1c3f7_4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ea300468b9bf5eb55108ba4edde1c3f7_4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ea300468b9bf5eb55108ba4edde1c3f7_4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ea300468b9bf5eb55108ba4edde1c3f7_4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ea300468b9bf5eb55108ba4edde1c3f7_4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ea300468b9bf5eb55108ba4edde1c3f7_4, type_description_2, outline_2_var___class__ ); // Release cached frame. if ( frame_ea300468b9bf5eb55108ba4edde1c3f7_4 == cache_frame_ea300468b9bf5eb55108ba4edde1c3f7_4 ) { Py_DECREF( frame_ea300468b9bf5eb55108ba4edde1c3f7_4 ); } cache_frame_ea300468b9bf5eb55108ba4edde1c3f7_4 = NULL; assertFrameObject( frame_ea300468b9bf5eb55108ba4edde1c3f7_4 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_11; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_21; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_compexpr_left_3 = tmp_class_creation_3__bases; tmp_compexpr_right_3 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_11; } tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_cryptography$hazmat$primitives$ciphers$aead_139, 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 = 139; goto try_except_handler_11; } } branch_no_12:; } { PyObject *tmp_assign_source_34; PyObject *tmp_called_name_9; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_9; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_9 = tmp_class_creation_3__metaclass; tmp_tuple_element_9 = const_str_plain_AESGCM; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_9 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_9 ); tmp_tuple_element_9 = locals_cryptography$hazmat$primitives$ciphers$aead_139; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict; frame_ed49b28c0d047a9588b958147246b38f->m_frame.f_lineno = 139; tmp_assign_source_34 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_11; } assert( outline_2_var___class__ == NULL ); outline_2_var___class__ = tmp_assign_source_34; } { CHECK_OBJECT( outline_2_var___class__ ); tmp_assign_source_33 = outline_2_var___class__; Py_INCREF( tmp_assign_source_33 ); goto try_return_handler_11; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { Py_DECREF( locals_cryptography$hazmat$primitives$ciphers$aead_139 ); locals_cryptography$hazmat$primitives$ciphers$aead_139 = NULL; } { goto try_return_handler_10; } // Exception handler code: try_except_handler_11:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_cryptography$hazmat$primitives$ciphers$aead_139 ); locals_cryptography$hazmat$primitives$ciphers$aead_139 = NULL; } { // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_10; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_10:; { CHECK_OBJECT( (PyObject *)outline_2_var___class__ ); Py_DECREF( outline_2_var___class__ ); outline_2_var___class__ = NULL; } { goto outline_result_3; } // Exception handler code: try_except_handler_10:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto outline_exception_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( cryptography$hazmat$primitives$ciphers$aead ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 139; goto try_except_handler_9; outline_result_3:; UPDATE_STRING_DICT1( moduledict_cryptography$hazmat$primitives$ciphers$aead, (Nuitka_StringObject *)const_str_plain_AESGCM, tmp_assign_source_33 ); } goto try_end_5; // Exception handler code: try_except_handler_9:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { Py_XDECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_1; } // End of try: try_end_5:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_ed49b28c0d047a9588b958147246b38f ); #endif popFrameStack(); assertFrameObject( frame_ed49b28c0d047a9588b958147246b38f ); goto frame_no_exception_4; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ed49b28c0d047a9588b958147246b38f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ed49b28c0d047a9588b958147246b38f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ed49b28c0d047a9588b958147246b38f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ed49b28c0d047a9588b958147246b38f, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_4:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases ); Py_DECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict ); Py_DECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass ); Py_DECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared ); Py_DECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } return MOD_RETURN_VALUE( module_cryptography$hazmat$primitives$ciphers$aead ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }