_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EEC2Ev:
   62|  12.7k|      AlignmentBuffer() = default;
_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE5clearEv:
   71|  25.5k|      void clear() {
   72|  25.5k|         zeroize_buffer(m_buffer.data(), m_buffer.size());
   73|  25.5k|         m_position = 0;
   74|  25.5k|      }
_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EED2Ev:
   64|  12.7k|      ~AlignmentBuffer() { secure_zeroize_buffer(m_buffer.data(), sizeof(T) * m_buffer.size()); }
_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE21handle_unaligned_dataERNS_12BufferSlicerE:
  166|  44.7k|      [[nodiscard]] std::optional<std::span<const T>> handle_unaligned_data(BufferSlicer& slicer) {
  167|       |         // When the final block is to be deferred, we would need to store and
  168|       |         // hold a buffer that contains exactly one block until more data is
  169|       |         // passed or it is explicitly consumed.
  170|  44.7k|         const size_t defer = (defers_final_block()) ? 1 : 0;
  ------------------
  |  Branch (170:31): [True: 0, False: 44.7k]
  ------------------
  171|       |
  172|  44.7k|         if(in_alignment() && slicer.remaining() >= m_buffer.size() + defer) {
  ------------------
  |  Branch (172:13): [True: 20.5k, False: 24.1k]
  |  Branch (172:31): [True: 196, False: 20.3k]
  ------------------
  173|       |            // We are currently in alignment and the passed-in data source
  174|       |            // contains enough data to benefit from aligned processing.
  175|       |            // Therefore, we don't copy anything into the intermittent buffer.
  176|    196|            return std::nullopt;
  177|    196|         }
  178|       |
  179|       |         // Fill the buffer with as much input data as needed to reach alignment
  180|       |         // or until the input source is depleted.
  181|  44.5k|         const auto elements_to_consume = std::min(m_buffer.size() - m_position, slicer.remaining());
  182|  44.5k|         append(slicer.take(elements_to_consume));
  183|       |
  184|       |         // If we collected enough data, we push out one full block. When
  185|       |         // deferring the final block is enabled, we additionally check that
  186|       |         // more input data is available to continue processing a consecutive
  187|       |         // block.
  188|  44.5k|         if(ready_to_consume() && (!defers_final_block() || !slicer.empty())) {
  ------------------
  |  Branch (188:13): [True: 7.80k, False: 36.7k]
  |  Branch (188:36): [True: 7.80k, False: 0]
  |  Branch (188:61): [True: 0, False: 0]
  ------------------
  189|  7.80k|            return consume();
  190|  36.7k|         } else {
  191|  36.7k|            return std::nullopt;
  192|  36.7k|         }
  193|  44.5k|      }
_ZNK5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE18defers_final_blockEv:
  233|  60.5k|      constexpr bool defers_final_block() const {
  234|  60.5k|         return FINAL_BLOCK_STRATEGY == AlignmentBufferFinalBlock::must_be_deferred;
  235|  60.5k|      }
_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE6appendENSt3__14spanIKhLm18446744073709551615EEE:
   90|  57.3k|      void append(std::span<const T> elements) {
   91|  57.3k|         BOTAN_ASSERT_NOMSG(elements.size() <= elements_until_alignment());
  ------------------
  |  |   77|  57.3k|   do {                                                                     \
  |  |   78|  57.3k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  57.3k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 57.3k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  57.3k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 57.3k]
  |  |  ------------------
  ------------------
   92|  57.3k|         std::copy(elements.begin(), elements.end(), m_buffer.begin() + m_position);
   93|  57.3k|         m_position += elements.size();
   94|  57.3k|      }
_ZNK5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE24elements_until_alignmentEv:
  221|  96.2k|      size_t elements_until_alignment() const { return m_buffer.size() - m_position; }
_ZNK5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE16ready_to_consumeEv:
  231|  92.5k|      bool ready_to_consume() const { return m_position == m_buffer.size(); }
_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE7consumeEv:
  200|  21.4k|      [[nodiscard]] std::span<const T> consume() {
  201|  21.4k|         BOTAN_ASSERT_NOMSG(ready_to_consume());
  ------------------
  |  |   77|  21.4k|   do {                                                                     \
  |  |   78|  21.4k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  21.4k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 21.4k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  21.4k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 21.4k]
  |  |  ------------------
  ------------------
  202|  21.4k|         m_position = 0;
  203|  21.4k|         return m_buffer;
  204|  21.4k|      }
_ZNK5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE12in_alignmentEv:
  226|  97.4k|      bool in_alignment() const { return m_position == 0; }
_ZNK5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE23aligned_data_to_processERNS_12BufferSlicerE:
  126|  8.00k|      [[nodiscard]] std::tuple<std::span<const uint8_t>, size_t> aligned_data_to_process(BufferSlicer& slicer) const {
  127|  8.00k|         BOTAN_ASSERT_NOMSG(in_alignment());
  ------------------
  |  |   77|  8.00k|   do {                                                                     \
  |  |   78|  8.00k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  8.00k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 8.00k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  8.00k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 8.00k]
  |  |  ------------------
  ------------------
  128|       |
  129|       |         // When the final block is to be deferred, the last block must not be
  130|       |         // selected for processing if there is no (unaligned) extra input data.
  131|  8.00k|         const size_t defer = (defers_final_block()) ? 1 : 0;
  ------------------
  |  Branch (131:31): [True: 0, False: 8.00k]
  ------------------
  132|  8.00k|         const size_t full_blocks_to_process = (slicer.remaining() - defer) / m_buffer.size();
  133|  8.00k|         return {slicer.take(full_blocks_to_process * m_buffer.size()), full_blocks_to_process};
  134|  8.00k|      }
_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE18fill_up_with_zerosEv:
   79|  13.6k|      void fill_up_with_zeros() {
   80|  13.6k|         if(!ready_to_consume()) {
  ------------------
  |  Branch (80:13): [True: 13.2k, False: 407]
  ------------------
   81|  13.2k|            zeroize_buffer(&m_buffer[m_position], elements_until_alignment());
   82|  13.2k|            m_position = m_buffer.size();
   83|  13.2k|         }
   84|  13.6k|      }
_ZN5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE20directly_modify_lastEm:
  113|  12.7k|      std::span<T> directly_modify_last(size_t elements) {
  114|  12.7k|         BOTAN_ASSERT_NOMSG(size() >= elements);
  ------------------
  |  |   77|  12.7k|   do {                                                                     \
  |  |   78|  12.7k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  12.7k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 12.7k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  12.7k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 12.7k]
  |  |  ------------------
  ------------------
  115|  12.7k|         return std::span(m_buffer).last(elements);
  116|  12.7k|      }
_ZNK5Botan15AlignmentBufferIhLm64ELNS_25AlignmentBufferFinalBlockE0EE4sizeEv:
  217|  12.7k|      constexpr size_t size() const { return m_buffer.size(); }

_ZN5Botan6chooseITkNSt3__117unsigned_integralEjEET_S2_S2_S2_:
  216|  16.7M|BOTAN_FORCE_INLINE constexpr T choose(T mask, T a, T b) {
  217|       |   //return (mask & a) | (~mask & b);
  218|  16.7M|   return (b ^ (mask & (a ^ b)));
  219|  16.7M|}
_ZN5Botan8majorityITkNSt3__117unsigned_integralEjEET_S2_S2_S2_:
  222|  8.27M|BOTAN_FORCE_INLINE constexpr T majority(T a, T b, T c) {
  223|       |   /*
  224|       |   Considering each bit of a, b, c individually
  225|       |
  226|       |   If a xor b is set, then c is the deciding vote.
  227|       |
  228|       |   If a xor b is not set then either a and b are both set or both unset.
  229|       |   In either case the value of c doesn't matter, and examining b (or a)
  230|       |   allows us to determine which case we are in.
  231|       |   */
  232|  8.27M|   return choose(a ^ b, c, b);
  233|  8.27M|}

_ZN5Botan13reverse_bytesITkNSt3__117unsigned_integralEjQooooooeqstT_Li1EeqstS2_Li2EeqstS2_Li4EeqstS2_Li8EEES2_S2_:
   27|  2.14M|inline constexpr T reverse_bytes(T x) {
   28|       |   if constexpr(sizeof(T) == 1) {
   29|       |      return x;
   30|       |   } else if constexpr(sizeof(T) == 2) {
   31|       |#if BOTAN_COMPILER_HAS_BUILTIN(__builtin_bswap16)
   32|       |      return static_cast<T>(__builtin_bswap16(x));
   33|       |#else
   34|       |      return static_cast<T>((x << 8) | (x >> 8));
   35|       |#endif
   36|  2.14M|   } else if constexpr(sizeof(T) == 4) {
   37|  2.14M|#if BOTAN_COMPILER_HAS_BUILTIN(__builtin_bswap32)
   38|  2.14M|      return static_cast<T>(__builtin_bswap32(x));
   39|       |#else
   40|       |      // MSVC at least recognizes this as a bswap
   41|       |      return static_cast<T>(((x & 0x000000FF) << 24) | ((x & 0x0000FF00) << 8) | ((x & 0x00FF0000) >> 8) |
   42|       |                            ((x & 0xFF000000) >> 24));
   43|       |#endif
   44|       |   } else if constexpr(sizeof(T) == 8) {
   45|       |#if BOTAN_COMPILER_HAS_BUILTIN(__builtin_bswap64)
   46|       |      return static_cast<T>(__builtin_bswap64(x));
   47|       |#else
   48|       |      uint32_t hi = static_cast<uint32_t>(x >> 32);
   49|       |      uint32_t lo = static_cast<uint32_t>(x);
   50|       |
   51|       |      hi = reverse_bytes(hi);
   52|       |      lo = reverse_bytes(lo);
   53|       |
   54|       |      return (static_cast<T>(lo) << 32) | hi;
   55|       |#endif
   56|       |   }
   57|  2.14M|}
_ZN5Botan13reverse_bytesITkNSt3__117unsigned_integralEmQooooooeqstT_Li1EeqstS2_Li2EeqstS2_Li4EeqstS2_Li8EEES2_S2_:
   27|  9.05k|inline constexpr T reverse_bytes(T x) {
   28|       |   if constexpr(sizeof(T) == 1) {
   29|       |      return x;
   30|       |   } else if constexpr(sizeof(T) == 2) {
   31|       |#if BOTAN_COMPILER_HAS_BUILTIN(__builtin_bswap16)
   32|       |      return static_cast<T>(__builtin_bswap16(x));
   33|       |#else
   34|       |      return static_cast<T>((x << 8) | (x >> 8));
   35|       |#endif
   36|       |   } else if constexpr(sizeof(T) == 4) {
   37|       |#if BOTAN_COMPILER_HAS_BUILTIN(__builtin_bswap32)
   38|       |      return static_cast<T>(__builtin_bswap32(x));
   39|       |#else
   40|       |      // MSVC at least recognizes this as a bswap
   41|       |      return static_cast<T>(((x & 0x000000FF) << 24) | ((x & 0x0000FF00) << 8) | ((x & 0x00FF0000) >> 8) |
   42|       |                            ((x & 0xFF000000) >> 24));
   43|       |#endif
   44|  9.05k|   } else if constexpr(sizeof(T) == 8) {
   45|  9.05k|#if BOTAN_COMPILER_HAS_BUILTIN(__builtin_bswap64)
   46|  9.05k|      return static_cast<T>(__builtin_bswap64(x));
   47|       |#else
   48|       |      uint32_t hi = static_cast<uint32_t>(x >> 32);
   49|       |      uint32_t lo = static_cast<uint32_t>(x);
   50|       |
   51|       |      hi = reverse_bytes(hi);
   52|       |      lo = reverse_bytes(lo);
   53|       |
   54|       |      return (static_cast<T>(lo) << 32) | hi;
   55|       |#endif
   56|  9.05k|   }
   57|  9.05k|}

_ZN5Botan12BufferSlicerC2ENSt3__14spanIKhLm18446744073709551615EEE:
   25|  63.5k|      explicit BufferSlicer(std::span<const uint8_t> buffer) : m_remaining(buffer) {}
_ZNK5Botan12BufferSlicer5emptyEv:
   68|  82.0k|      bool empty() const { return m_remaining.empty(); }
_ZN5Botan12BufferSlicer4takeEm:
   37|  52.5k|      std::span<const uint8_t> take(const size_t count) {
   38|  52.5k|         BOTAN_STATE_CHECK(remaining() >= count);
  ------------------
  |  |   51|  52.5k|   do {                                                         \
  |  |   52|  52.5k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */             \
  |  |   53|  52.5k|      if(!(expr)) {                                             \
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 0, False: 52.5k]
  |  |  ------------------
  |  |   54|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */    \
  |  |   55|      0|         Botan::throw_invalid_state(#expr, __func__, __FILE__); \
  |  |   56|      0|      }                                                         \
  |  |   57|  52.5k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (57:12): [Folded, False: 52.5k]
  |  |  ------------------
  ------------------
   39|  52.5k|         auto result = m_remaining.first(count);
   40|  52.5k|         m_remaining = m_remaining.subspan(count);
   41|  52.5k|         return result;
   42|  52.5k|      }
_ZNK5Botan12BufferSlicer9remainingEv:
   66|   262k|      size_t remaining() const { return m_remaining.size(); }
_ZN5Botan12BufferSlicer4takeILm64EEENSt3__14spanIKhXT_EEEv:
   45|   136k|      std::span<const uint8_t, count> take() {
   46|   136k|         BOTAN_STATE_CHECK(remaining() >= count);
  ------------------
  |  |   51|   136k|   do {                                                         \
  |  |   52|   136k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */             \
  |  |   53|   136k|      if(!(expr)) {                                             \
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 0, False: 136k]
  |  |  ------------------
  |  |   54|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */    \
  |  |   55|      0|         Botan::throw_invalid_state(#expr, __func__, __FILE__); \
  |  |   56|      0|      }                                                         \
  |  |   57|   136k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (57:12): [Folded, False: 136k]
  |  |  ------------------
  ------------------
   47|   136k|         auto result = m_remaining.first<count>();
   48|   136k|         m_remaining = m_remaining.subspan(count);
   49|   136k|         return result;
   50|   136k|      }

_ZN5Botan5CRC245clearEv:
   33|  30.0k|      void clear() override { m_crc = 0xCE04B7; }
_ZNK5Botan5CRC2413output_lengthEv:
   25|  62.0k|      size_t output_length() const override { return 3; }

ffi.cpp:_ZN9Botan_FFI15ffi_guard_thunkITkNSt3__19invocableEZ16botan_hex_encodeE3$_0EEiPKcT_:
   95|  2.30M|int ffi_guard_thunk(const char* func_name, T thunk) {
   96|  2.30M|   ffi_clear_last_exception();
   97|       |
   98|  2.30M|   try {
   99|  2.30M|      return thunk();
  100|  2.30M|   } catch(std::bad_alloc&) {
  101|      0|      return ffi_error_exception_thrown(func_name, "bad_alloc", BOTAN_FFI_ERROR_OUT_OF_MEMORY);
  102|      0|   } catch(Botan_FFI::FFI_Error& e) {
  103|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_code());
  104|      0|   } catch(Botan::Exception& e) {
  105|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_type());
  106|      0|   } catch(std::exception& e) {
  107|      0|      return ffi_error_exception_thrown(func_name, e.what(), BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  108|      0|   } catch(...) {
  109|      0|      return ffi_error_exception_thrown(func_name, "unknown exception", BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  110|      0|   }
  111|  2.30M|}
ffi_hash.cpp:_ZN9Botan_FFI15ffi_guard_thunkITkNSt3__19invocableEZ15botan_hash_initE3$_0EEiPKcT_:
   95|  44.8k|int ffi_guard_thunk(const char* func_name, T thunk) {
   96|  44.8k|   ffi_clear_last_exception();
   97|       |
   98|  44.8k|   try {
   99|  44.8k|      return thunk();
  100|  44.8k|   } catch(std::bad_alloc&) {
  101|      0|      return ffi_error_exception_thrown(func_name, "bad_alloc", BOTAN_FFI_ERROR_OUT_OF_MEMORY);
  102|      0|   } catch(Botan_FFI::FFI_Error& e) {
  103|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_code());
  104|      0|   } catch(Botan::Exception& e) {
  105|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_type());
  106|      0|   } catch(std::exception& e) {
  107|      0|      return ffi_error_exception_thrown(func_name, e.what(), BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  108|      0|   } catch(...) {
  109|      0|      return ffi_error_exception_thrown(func_name, "unknown exception", BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  110|      0|   }
  111|  44.8k|}
_ZN9Botan_FFI14ffi_new_objectIP17botan_hash_structJNSt3__110unique_ptrIN5Botan12HashFunctionENS3_14default_deleteIS6_EEEEEEE15BOTAN_FFI_ERRORPT_DpOT0_:
  178|  44.8k|BOTAN_FFI_ERROR ffi_new_object(T* obj, Args&&... args) {
  179|  44.8k|   if(obj == nullptr) {
  ------------------
  |  Branch (179:7): [True: 0, False: 44.8k]
  ------------------
  180|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
  181|      0|   }
  182|       |   // NOLINTNEXTLINE(*-owning-memory)
  183|  44.8k|   *obj = new std::remove_pointer_t<T>(std::forward<Args>(args)...);
  184|  44.8k|   return BOTAN_FFI_SUCCESS;
  185|  44.8k|}
_ZN17botan_hash_structC2ENSt3__110unique_ptrIN5Botan12HashFunctionENS0_14default_deleteIS3_EEEE:
   63|  44.8k|         explicit NAME(std::unique_ptr<TYPE> x) : botan_struct(std::move(x)) {} \
_ZN9Botan_FFI12botan_structIN5Botan12HashFunctionELj520769412EEC2ENSt3__110unique_ptrIS2_NS4_14default_deleteIS2_EEEE:
   38|  44.8k|      explicit botan_struct(std::unique_ptr<T> obj) : m_magic(MAGIC), m_obj(std::move(obj)) {}
_ZN9Botan_FFI12botan_structIN5Botan12HashFunctionELj520769412EED2Ev:
   40|  44.8k|      virtual ~botan_struct() {
   41|  44.8k|         m_magic = 0;
   42|  44.8k|         m_obj.reset();  // NOLINT(*-ambiguous-smartptr-reset-call)
   43|  44.8k|      }
_ZN9Botan_FFI17ffi_delete_objectIN5Botan12HashFunctionELj520769412EEEiPNS_12botan_structIT_XT0_EEEPKc:
  161|  44.8k|int ffi_delete_object(botan_struct<T, M>* obj, const char* func_name) {
  162|  44.8k|   return ffi_guard_thunk(func_name, [=]() -> int {
  163|       |      // ignore delete of null objects
  164|  44.8k|      if(obj == nullptr) {
  165|  44.8k|         return BOTAN_FFI_SUCCESS;
  166|  44.8k|      }
  167|       |
  168|  44.8k|      if(!obj->magic_ok()) {
  169|  44.8k|         return BOTAN_FFI_ERROR_INVALID_OBJECT;
  170|  44.8k|      }
  171|       |
  172|  44.8k|      delete obj;  // NOLINT(*-owning-memory)
  173|  44.8k|      return BOTAN_FFI_SUCCESS;
  174|  44.8k|   });
  175|  44.8k|}
_ZN9Botan_FFI15ffi_guard_thunkITkNSt3__19invocableEZNS_17ffi_delete_objectIN5Botan12HashFunctionELj520769412EEEiPNS_12botan_structIT_XT0_EEEPKcEUlvE_EEiSA_S6_:
   95|  44.8k|int ffi_guard_thunk(const char* func_name, T thunk) {
   96|  44.8k|   ffi_clear_last_exception();
   97|       |
   98|  44.8k|   try {
   99|  44.8k|      return thunk();
  100|  44.8k|   } catch(std::bad_alloc&) {
  101|      0|      return ffi_error_exception_thrown(func_name, "bad_alloc", BOTAN_FFI_ERROR_OUT_OF_MEMORY);
  102|      0|   } catch(Botan_FFI::FFI_Error& e) {
  103|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_code());
  104|      0|   } catch(Botan::Exception& e) {
  105|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_type());
  106|      0|   } catch(std::exception& e) {
  107|      0|      return ffi_error_exception_thrown(func_name, e.what(), BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  108|      0|   } catch(...) {
  109|      0|      return ffi_error_exception_thrown(func_name, "unknown exception", BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  110|      0|   }
  111|  44.8k|}
_ZZN9Botan_FFI17ffi_delete_objectIN5Botan12HashFunctionELj520769412EEEiPNS_12botan_structIT_XT0_EEEPKcENKUlvE_clEv:
  162|  44.8k|   return ffi_guard_thunk(func_name, [=]() -> int {
  163|       |      // ignore delete of null objects
  164|  44.8k|      if(obj == nullptr) {
  ------------------
  |  Branch (164:10): [True: 0, False: 44.8k]
  ------------------
  165|      0|         return BOTAN_FFI_SUCCESS;
  166|      0|      }
  167|       |
  168|  44.8k|      if(!obj->magic_ok()) {
  ------------------
  |  Branch (168:10): [True: 0, False: 44.8k]
  ------------------
  169|      0|         return BOTAN_FFI_ERROR_INVALID_OBJECT;
  170|      0|      }
  171|       |
  172|  44.8k|      delete obj;  // NOLINT(*-owning-memory)
  173|  44.8k|      return BOTAN_FFI_SUCCESS;
  174|  44.8k|   });
_ZNK9Botan_FFI12botan_structIN5Botan12HashFunctionELj520769412EE8magic_okEv:
   50|   221k|      bool magic_ok() const { return (m_magic == MAGIC); }
ffi_hash.cpp:_ZN9Botan_FFI15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ24botan_hash_output_lengthE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKc:
  114|  44.8k|int botan_ffi_visit(botan_struct<T, M>* o, F func, const char* func_name) {
  115|  44.8k|   using RetT = std::invoke_result_t<F, T&>;
  116|  44.8k|   static_assert(std::is_void_v<RetT> || std::is_same_v<RetT, BOTAN_FFI_ERROR> || std::is_same_v<RetT, int>,
  117|  44.8k|                 "BOTAN_FFI_DO must be used with a block that returns either nothing, int or BOTAN_FFI_ERROR");
  118|       |
  119|  44.8k|   if(!o) {
  ------------------
  |  Branch (119:7): [True: 0, False: 44.8k]
  ------------------
  120|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
  121|      0|   }
  122|       |
  123|  44.8k|   if(!o->magic_ok()) {
  ------------------
  |  Branch (123:7): [True: 0, False: 44.8k]
  ------------------
  124|      0|      return BOTAN_FFI_ERROR_INVALID_OBJECT;
  125|      0|   }
  126|       |
  127|  44.8k|   T* p = o->unsafe_get();
  128|  44.8k|   if(p == nullptr) {
  ------------------
  |  Branch (128:7): [True: 0, False: 44.8k]
  ------------------
  129|      0|      return BOTAN_FFI_ERROR_INVALID_OBJECT;
  130|      0|   }
  131|       |
  132|  44.8k|   if constexpr(std::is_void_v<RetT>) {
  133|  44.8k|      return ffi_guard_thunk(func_name, [&] {
  134|  44.8k|         func(*p);
  135|  44.8k|         return BOTAN_FFI_SUCCESS;
  136|  44.8k|      });
  137|       |   } else {
  138|       |      return ffi_guard_thunk(func_name, [&] { return func(*p); });
  139|       |   }
  140|  44.8k|}
_ZNK9Botan_FFI12botan_structIN5Botan12HashFunctionELj520769412EE10unsafe_getEv:
   52|   176k|      T* unsafe_get() const { return m_obj.get(); }
ffi_hash.cpp:_ZN9Botan_FFI15ffi_guard_thunkITkNSt3__19invocableEZNS_15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ24botan_hash_output_lengthE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKcEUlvE_EEiSC_S7_:
   95|  44.8k|int ffi_guard_thunk(const char* func_name, T thunk) {
   96|  44.8k|   ffi_clear_last_exception();
   97|       |
   98|  44.8k|   try {
   99|  44.8k|      return thunk();
  100|  44.8k|   } catch(std::bad_alloc&) {
  101|      0|      return ffi_error_exception_thrown(func_name, "bad_alloc", BOTAN_FFI_ERROR_OUT_OF_MEMORY);
  102|      0|   } catch(Botan_FFI::FFI_Error& e) {
  103|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_code());
  104|      0|   } catch(Botan::Exception& e) {
  105|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_type());
  106|      0|   } catch(std::exception& e) {
  107|      0|      return ffi_error_exception_thrown(func_name, e.what(), BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  108|      0|   } catch(...) {
  109|      0|      return ffi_error_exception_thrown(func_name, "unknown exception", BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  110|      0|   }
  111|  44.8k|}
ffi_hash.cpp:_ZZN9Botan_FFI15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ24botan_hash_output_lengthE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKcENKUlvE_clEv:
  133|  44.8k|      return ffi_guard_thunk(func_name, [&] {
  134|  44.8k|         func(*p);
  135|  44.8k|         return BOTAN_FFI_SUCCESS;
  136|  44.8k|      });
ffi_hash.cpp:_ZZ24botan_hash_output_lengthENK3$_0clIN5Botan12HashFunctionEEEDaRKT_:
  158|  44.8k|#define BOTAN_FFI_VISIT(obj, lambda) botan_ffi_visit(obj, lambda, __func__)
ffi_hash.cpp:_ZN9Botan_FFI15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ17botan_hash_updateE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKc:
  114|  88.5k|int botan_ffi_visit(botan_struct<T, M>* o, F func, const char* func_name) {
  115|  88.5k|   using RetT = std::invoke_result_t<F, T&>;
  116|  88.5k|   static_assert(std::is_void_v<RetT> || std::is_same_v<RetT, BOTAN_FFI_ERROR> || std::is_same_v<RetT, int>,
  117|  88.5k|                 "BOTAN_FFI_DO must be used with a block that returns either nothing, int or BOTAN_FFI_ERROR");
  118|       |
  119|  88.5k|   if(!o) {
  ------------------
  |  Branch (119:7): [True: 0, False: 88.5k]
  ------------------
  120|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
  121|      0|   }
  122|       |
  123|  88.5k|   if(!o->magic_ok()) {
  ------------------
  |  Branch (123:7): [True: 0, False: 88.5k]
  ------------------
  124|      0|      return BOTAN_FFI_ERROR_INVALID_OBJECT;
  125|      0|   }
  126|       |
  127|  88.5k|   T* p = o->unsafe_get();
  128|  88.5k|   if(p == nullptr) {
  ------------------
  |  Branch (128:7): [True: 0, False: 88.5k]
  ------------------
  129|      0|      return BOTAN_FFI_ERROR_INVALID_OBJECT;
  130|      0|   }
  131|       |
  132|  88.5k|   if constexpr(std::is_void_v<RetT>) {
  133|  88.5k|      return ffi_guard_thunk(func_name, [&] {
  134|  88.5k|         func(*p);
  135|  88.5k|         return BOTAN_FFI_SUCCESS;
  136|  88.5k|      });
  137|       |   } else {
  138|       |      return ffi_guard_thunk(func_name, [&] { return func(*p); });
  139|       |   }
  140|  88.5k|}
ffi_hash.cpp:_ZN9Botan_FFI15ffi_guard_thunkITkNSt3__19invocableEZNS_15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ17botan_hash_updateE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKcEUlvE_EEiSC_S7_:
   95|  88.5k|int ffi_guard_thunk(const char* func_name, T thunk) {
   96|  88.5k|   ffi_clear_last_exception();
   97|       |
   98|  88.5k|   try {
   99|  88.5k|      return thunk();
  100|  88.5k|   } catch(std::bad_alloc&) {
  101|      0|      return ffi_error_exception_thrown(func_name, "bad_alloc", BOTAN_FFI_ERROR_OUT_OF_MEMORY);
  102|      0|   } catch(Botan_FFI::FFI_Error& e) {
  103|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_code());
  104|      0|   } catch(Botan::Exception& e) {
  105|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_type());
  106|      0|   } catch(std::exception& e) {
  107|      0|      return ffi_error_exception_thrown(func_name, e.what(), BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  108|      0|   } catch(...) {
  109|      0|      return ffi_error_exception_thrown(func_name, "unknown exception", BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  110|      0|   }
  111|  88.5k|}
ffi_hash.cpp:_ZZN9Botan_FFI15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ17botan_hash_updateE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKcENKUlvE_clEv:
  133|  88.5k|      return ffi_guard_thunk(func_name, [&] {
  134|  88.5k|         func(*p);
  135|  88.5k|         return BOTAN_FFI_SUCCESS;
  136|  88.5k|      });
ffi_hash.cpp:_ZZ17botan_hash_updateENK3$_0clIN5Botan12HashFunctionEEEDaRT_:
  158|  88.5k|#define BOTAN_FFI_VISIT(obj, lambda) botan_ffi_visit(obj, lambda, __func__)
ffi_hash.cpp:_ZN9Botan_FFI15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ16botan_hash_finalE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKc:
  114|  42.8k|int botan_ffi_visit(botan_struct<T, M>* o, F func, const char* func_name) {
  115|  42.8k|   using RetT = std::invoke_result_t<F, T&>;
  116|  42.8k|   static_assert(std::is_void_v<RetT> || std::is_same_v<RetT, BOTAN_FFI_ERROR> || std::is_same_v<RetT, int>,
  117|  42.8k|                 "BOTAN_FFI_DO must be used with a block that returns either nothing, int or BOTAN_FFI_ERROR");
  118|       |
  119|  42.8k|   if(!o) {
  ------------------
  |  Branch (119:7): [True: 0, False: 42.8k]
  ------------------
  120|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
  121|      0|   }
  122|       |
  123|  42.8k|   if(!o->magic_ok()) {
  ------------------
  |  Branch (123:7): [True: 0, False: 42.8k]
  ------------------
  124|      0|      return BOTAN_FFI_ERROR_INVALID_OBJECT;
  125|      0|   }
  126|       |
  127|  42.8k|   T* p = o->unsafe_get();
  128|  42.8k|   if(p == nullptr) {
  ------------------
  |  Branch (128:7): [True: 0, False: 42.8k]
  ------------------
  129|      0|      return BOTAN_FFI_ERROR_INVALID_OBJECT;
  130|      0|   }
  131|       |
  132|  42.8k|   if constexpr(std::is_void_v<RetT>) {
  133|  42.8k|      return ffi_guard_thunk(func_name, [&] {
  134|  42.8k|         func(*p);
  135|  42.8k|         return BOTAN_FFI_SUCCESS;
  136|  42.8k|      });
  137|       |   } else {
  138|       |      return ffi_guard_thunk(func_name, [&] { return func(*p); });
  139|       |   }
  140|  42.8k|}
ffi_hash.cpp:_ZN9Botan_FFI15ffi_guard_thunkITkNSt3__19invocableEZNS_15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ16botan_hash_finalE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKcEUlvE_EEiSC_S7_:
   95|  42.8k|int ffi_guard_thunk(const char* func_name, T thunk) {
   96|  42.8k|   ffi_clear_last_exception();
   97|       |
   98|  42.8k|   try {
   99|  42.8k|      return thunk();
  100|  42.8k|   } catch(std::bad_alloc&) {
  101|      0|      return ffi_error_exception_thrown(func_name, "bad_alloc", BOTAN_FFI_ERROR_OUT_OF_MEMORY);
  102|      0|   } catch(Botan_FFI::FFI_Error& e) {
  103|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_code());
  104|      0|   } catch(Botan::Exception& e) {
  105|      0|      return ffi_error_exception_thrown(func_name, e.what(), e.error_type());
  106|      0|   } catch(std::exception& e) {
  107|      0|      return ffi_error_exception_thrown(func_name, e.what(), BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  108|      0|   } catch(...) {
  109|      0|      return ffi_error_exception_thrown(func_name, "unknown exception", BOTAN_FFI_ERROR_EXCEPTION_THROWN);
  110|      0|   }
  111|  42.8k|}
ffi_hash.cpp:_ZZN9Botan_FFI15botan_ffi_visitIN5Botan12HashFunctionELj520769412EZ16botan_hash_finalE3$_0EEiPNS_12botan_structIT_XT0_EEET1_PKcENKUlvE_clEv:
  133|  42.8k|      return ffi_guard_thunk(func_name, [&] {
  134|  42.8k|         func(*p);
  135|  42.8k|         return BOTAN_FFI_SUCCESS;
  136|  42.8k|      });
ffi_hash.cpp:_ZZ16botan_hash_finalENK3$_0clIN5Botan12HashFunctionEEEDaRT_:
  158|  42.8k|#define BOTAN_FFI_VISIT(obj, lambda) botan_ffi_visit(obj, lambda, __func__)

_ZN5Botan11checked_mulITkNSt3__117unsigned_integralEmEENS1_8optionalIT_EES3_S3_:
   46|  12.7k|constexpr inline std::optional<T> checked_mul(T a, T b) {
   47|       |   // Multiplication by 1U is a hack to work around C's insane
   48|       |   // integer promotion rules.
   49|       |   // https://stackoverflow.com/questions/24795651
   50|  12.7k|   const T r = (1U * a) * b;
   51|       |   // If a == 0 then the multiply certainly did not overflow
   52|       |   // Otherwise r / a == b unless overflow occurred
   53|  12.7k|   if(a != 0 && r / a != b) {
  ------------------
  |  Branch (53:7): [True: 12.7k, False: 0]
  |  Branch (53:17): [True: 0, False: 12.7k]
  ------------------
   54|      0|      return {};
   55|      0|   }
   56|  12.7k|   return r;
   57|  12.7k|}
_ZN5Botan7swar_ltITkNSt3__117unsigned_integralEtEET_S2_S2_:
  121|   265M|constexpr T swar_lt(T a, T b) {
  122|       |   // The constant 0x808080... as a T
  123|   265M|   constexpr T hi1 = (static_cast<T>(-1) / 255) << 7;
  124|       |   // The constant 0x7F7F7F... as a T
  125|   265M|   constexpr T lo7 = static_cast<T>(~hi1);
  126|   265M|   T r = (lo7 - a + b) & hi1;
  127|       |   // Currently the mask is 80 if lt, otherwise 00. Convert to FF/00
  128|   265M|   return (r << 1) - (r >> 7);
  129|   265M|}

_ZN5Botan6detail9store_anyILNSt3__16endianE64206ETkNS0_20unsigned_integralishEjTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm4EEEQnt15custom_storableINS0_19wrapped_type_helperIu14__remove_cvrefIT0_EE4typeEEEEvS9_OT1_:
  525|  72.4k|inline constexpr void store_any(WrappedInT wrapped_in, OutR&& out_range) {
  526|  72.4k|   const auto in = detail::unwrap_strong_type_or_enum(wrapped_in);
  527|  72.4k|   using InT = decltype(in);
  528|  72.4k|   ranges::assert_exact_byte_length<sizeof(in)>(out_range);
  529|  72.4k|   const std::span out{out_range};
  530|       |
  531|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  532|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  533|       |   // in a `constexpr` context.
  534|  72.4k|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (534:7): [Folded, False: 72.4k]
  ------------------
  535|      0|      return fallback_store_any<endianness, InT>(in, std::forward<OutR>(out_range));
  536|  72.4k|   } else {
  537|       |      if constexpr(sizeof(InT) == 1) {
  538|       |         out[0] = static_cast<uint8_t>(in);
  539|       |      } else if constexpr(endianness == std::endian::native) {
  540|       |         typecast_copy(out, in);
  541|  72.4k|      } else {
  542|  72.4k|         static_assert(opposite(endianness) == std::endian::native);
  543|  72.4k|         typecast_copy(out, reverse_bytes(in));
  544|  72.4k|      }
  545|  72.4k|   }
  546|  72.4k|}
_ZN5Botan6detail26unwrap_strong_type_or_enumITkNS0_20unsigned_integralishEjEEDaT_:
  190|  72.4k|constexpr auto unwrap_strong_type_or_enum(InT t) {
  191|       |   if constexpr(std::is_enum_v<InT>) {
  192|       |      // TODO: C++23: use std::to_underlying(in) instead
  193|       |      return static_cast<std::underlying_type_t<InT>>(t);
  194|  72.4k|   } else {
  195|  72.4k|      return Botan::unwrap_strong_type(t);
  196|  72.4k|   }
  197|  72.4k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE64206ENS0_10AutoDetectETkNS0_20unsigned_integralishEmQoosr3stdE7same_asIS4_T0_Esr3stdE7same_asIT1_S5_EEEvS6_Ph:
  711|  9.05k|inline constexpr void store_any(T in, uint8_t out[]) {
  712|       |   // asserts that *out points to enough bytes to write into
  713|  9.05k|   store_any<endianness, InT>(in, std::span<uint8_t, sizeof(T)>(out, sizeof(T)));
  714|  9.05k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE64206ENS0_10AutoDetectETkNS0_20unsigned_integralishEmTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm8EEEQsr3stdE7same_asIS4_T0_EEEvT1_OT2_:
  646|  9.05k|inline constexpr void store_any(T in, OutR&& out_range) {
  647|  9.05k|   store_any<endianness, T>(in, std::forward<OutR>(out_range));
  648|  9.05k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE64206ETkNS0_20unsigned_integralishEmTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm8EEEQnt15custom_storableINS0_19wrapped_type_helperIu14__remove_cvrefIT0_EE4typeEEEEvS9_OT1_:
  525|  9.05k|inline constexpr void store_any(WrappedInT wrapped_in, OutR&& out_range) {
  526|  9.05k|   const auto in = detail::unwrap_strong_type_or_enum(wrapped_in);
  527|  9.05k|   using InT = decltype(in);
  528|  9.05k|   ranges::assert_exact_byte_length<sizeof(in)>(out_range);
  529|  9.05k|   const std::span out{out_range};
  530|       |
  531|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  532|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  533|       |   // in a `constexpr` context.
  534|  9.05k|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (534:7): [Folded, False: 9.05k]
  ------------------
  535|      0|      return fallback_store_any<endianness, InT>(in, std::forward<OutR>(out_range));
  536|  9.05k|   } else {
  537|       |      if constexpr(sizeof(InT) == 1) {
  538|       |         out[0] = static_cast<uint8_t>(in);
  539|       |      } else if constexpr(endianness == std::endian::native) {
  540|       |         typecast_copy(out, in);
  541|  9.05k|      } else {
  542|  9.05k|         static_assert(opposite(endianness) == std::endian::native);
  543|  9.05k|         typecast_copy(out, reverse_bytes(in));
  544|  9.05k|      }
  545|  9.05k|   }
  546|  9.05k|}
_ZN5Botan6detail26unwrap_strong_type_or_enumITkNS0_20unsigned_integralishEmEEDaT_:
  190|  12.7k|constexpr auto unwrap_strong_type_or_enum(InT t) {
  191|       |   if constexpr(std::is_enum_v<InT>) {
  192|       |      // TODO: C++23: use std::to_underlying(in) instead
  193|       |      return static_cast<std::underlying_type_t<InT>>(t);
  194|  12.7k|   } else {
  195|  12.7k|      return Botan::unwrap_strong_type(t);
  196|  12.7k|   }
  197|  12.7k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE57005ENS0_10AutoDetectETkNS0_20unsigned_integralishEmQoosr3stdE7same_asIS4_T0_Esr3stdE7same_asIT1_S5_EEEvS6_Ph:
  711|  3.73k|inline constexpr void store_any(T in, uint8_t out[]) {
  712|       |   // asserts that *out points to enough bytes to write into
  713|  3.73k|   store_any<endianness, InT>(in, std::span<uint8_t, sizeof(T)>(out, sizeof(T)));
  714|  3.73k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE57005ENS0_10AutoDetectETkNS0_20unsigned_integralishEmTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm8EEEQsr3stdE7same_asIS4_T0_EEEvT1_OT2_:
  646|  3.73k|inline constexpr void store_any(T in, OutR&& out_range) {
  647|  3.73k|   store_any<endianness, T>(in, std::forward<OutR>(out_range));
  648|  3.73k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE57005ETkNS0_20unsigned_integralishEmTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm8EEEQnt15custom_storableINS0_19wrapped_type_helperIu14__remove_cvrefIT0_EE4typeEEEEvS9_OT1_:
  525|  3.73k|inline constexpr void store_any(WrappedInT wrapped_in, OutR&& out_range) {
  526|  3.73k|   const auto in = detail::unwrap_strong_type_or_enum(wrapped_in);
  527|  3.73k|   using InT = decltype(in);
  528|  3.73k|   ranges::assert_exact_byte_length<sizeof(in)>(out_range);
  529|  3.73k|   const std::span out{out_range};
  530|       |
  531|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  532|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  533|       |   // in a `constexpr` context.
  534|  3.73k|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (534:7): [Folded, False: 3.73k]
  ------------------
  535|      0|      return fallback_store_any<endianness, InT>(in, std::forward<OutR>(out_range));
  536|  3.73k|   } else {
  537|       |      if constexpr(sizeof(InT) == 1) {
  538|       |         out[0] = static_cast<uint8_t>(in);
  539|  3.73k|      } else if constexpr(endianness == std::endian::native) {
  540|  3.73k|         typecast_copy(out, in);
  541|       |      } else {
  542|       |         static_assert(opposite(endianness) == std::endian::native);
  543|       |         typecast_copy(out, reverse_bytes(in));
  544|       |      }
  545|  3.73k|   }
  546|  3.73k|}
_ZN5Botan8get_byteILm1EtEEhT0_QltT_stS1_:
   81|   265M|{
   82|   265M|   const size_t shift = ((~B) & (sizeof(T) - 1)) << 3;
   83|   265M|   return static_cast<uint8_t>((input >> shift) & 0xFF);
   84|   265M|}
_ZN5Botan8get_byteILm0EtEEhT0_QltT_stS1_:
   81|   265M|{
   82|   265M|   const size_t shift = ((~B) & (sizeof(T) - 1)) << 3;
   83|   265M|   return static_cast<uint8_t>((input >> shift) & 0xFF);
   84|   265M|}
_ZN5Botan8get_byteILm3EjEEhT0_QltT_stS1_:
   81|  8.66M|{
   82|  8.66M|   const size_t shift = ((~B) & (sizeof(T) - 1)) << 3;
   83|  8.66M|   return static_cast<uint8_t>((input >> shift) & 0xFF);
   84|  8.66M|}
_ZN5Botan8get_byteILm2EjEEhT0_QltT_stS1_:
   81|  8.25M|{
   82|  8.25M|   const size_t shift = ((~B) & (sizeof(T) - 1)) << 3;
   83|  8.25M|   return static_cast<uint8_t>((input >> shift) & 0xFF);
   84|  8.25M|}
_ZN5Botan8get_byteILm1EjEEhT0_QltT_stS1_:
   81|  8.25M|{
   82|  8.25M|   const size_t shift = ((~B) & (sizeof(T) - 1)) << 3;
   83|  8.25M|   return static_cast<uint8_t>((input >> shift) & 0xFF);
   84|  8.25M|}
_ZN5Botan8get_byteILm0EjEEhT0_QltT_stS1_:
   81|  8.22M|{
   82|  8.22M|   const size_t shift = ((~B) & (sizeof(T) - 1)) << 3;
   83|  8.22M|   return static_cast<uint8_t>((input >> shift) & 0xFF);
   84|  8.22M|}
_ZN5Botan6detail8load_anyILNSt3__16endianE64206ETkNS0_20unsigned_integralishEjTkNS_6ranges16contiguous_rangeIhEENS2_4spanIKhLm4EEEQnt15custom_loadableINS0_19wrapped_type_helperIu14__remove_cvrefIT0_EE4typeEEEESA_OT1_:
  278|  2.06M|inline constexpr WrappedOutT load_any(InR&& in_range) {
  279|  2.06M|   using OutT = detail::wrapped_type<WrappedOutT>;
  280|  2.06M|   ranges::assert_exact_byte_length<sizeof(OutT)>(in_range);
  281|       |
  282|  2.06M|   return detail::wrap_strong_type_or_enum<WrappedOutT>([&]() -> OutT {
  283|       |      // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  284|       |      // internally to copy ranges on a byte-by-byte basis, which is not allowed
  285|       |      // in a `constexpr` context.
  286|  2.06M|      if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  287|  2.06M|         return fallback_load_any<endianness, OutT>(std::forward<InR>(in_range));
  288|  2.06M|      } else {
  289|  2.06M|         const std::span in{in_range};
  290|  2.06M|         if constexpr(sizeof(OutT) == 1) {
  291|  2.06M|            return static_cast<OutT>(in[0]);
  292|  2.06M|         } else if constexpr(endianness == std::endian::native) {
  293|  2.06M|            return typecast_copy<OutT>(in);
  294|  2.06M|         } else {
  295|  2.06M|            static_assert(opposite(endianness) == std::endian::native);
  296|  2.06M|            return reverse_bytes(typecast_copy<OutT>(in));
  297|  2.06M|         }
  298|  2.06M|      }
  299|  2.06M|   }());
  300|  2.06M|}
_ZN5Botan6detail24wrap_strong_type_or_enumITkNS0_20unsigned_integralishEjTkNSt3__117unsigned_integralEjEEDaT0_:
  200|  2.06M|constexpr auto wrap_strong_type_or_enum(T t) {
  201|       |   if constexpr(std::is_enum_v<OutT>) {
  202|       |      return static_cast<OutT>(t);
  203|  2.06M|   } else {
  204|  2.06M|      return Botan::wrap_strong_type<OutT>(t);
  205|  2.06M|   }
  206|  2.06M|}
_ZZN5Botan6detail8load_anyILNSt3__16endianE64206ETkNS0_20unsigned_integralishEjTkNS_6ranges16contiguous_rangeIhEENS2_4spanIKhLm4EEEQnt15custom_loadableINS0_19wrapped_type_helperIu14__remove_cvrefIT0_EE4typeEEEESA_OT1_ENKUlvE_clEv:
  282|  2.06M|   return detail::wrap_strong_type_or_enum<WrappedOutT>([&]() -> OutT {
  283|       |      // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  284|       |      // internally to copy ranges on a byte-by-byte basis, which is not allowed
  285|       |      // in a `constexpr` context.
  286|  2.06M|      if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (286:10): [Folded, False: 2.06M]
  ------------------
  287|      0|         return fallback_load_any<endianness, OutT>(std::forward<InR>(in_range));
  288|  2.06M|      } else {
  289|  2.06M|         const std::span in{in_range};
  290|       |         if constexpr(sizeof(OutT) == 1) {
  291|       |            return static_cast<OutT>(in[0]);
  292|       |         } else if constexpr(endianness == std::endian::native) {
  293|       |            return typecast_copy<OutT>(in);
  294|  2.06M|         } else {
  295|  2.06M|            static_assert(opposite(endianness) == std::endian::native);
  296|  2.06M|            return reverse_bytes(typecast_copy<OutT>(in));
  297|  2.06M|         }
  298|  2.06M|      }
  299|  2.06M|   }());
_ZN5Botan6detail33copy_out_any_word_aligned_portionILNSt3__16endianE64206ETkNS0_20unsigned_integralishEjEEmRNS2_4spanIhLm18446744073709551615EEERNS4_IKT0_Lm18446744073709551615EEE:
  752|  9.05k|inline size_t copy_out_any_word_aligned_portion(std::span<uint8_t>& out, std::span<const T>& in) {
  753|  9.05k|   const size_t full_words = out.size() / sizeof(T);
  754|  9.05k|   const size_t full_word_bytes = full_words * sizeof(T);
  755|  9.05k|   const size_t remaining_bytes = out.size() - full_word_bytes;
  756|  9.05k|   BOTAN_ASSERT_NOMSG(in.size_bytes() >= full_word_bytes + remaining_bytes);
  ------------------
  |  |   77|  9.05k|   do {                                                                     \
  |  |   78|  9.05k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  9.05k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 9.05k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  9.05k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 9.05k]
  |  |  ------------------
  ------------------
  757|       |
  758|       |   // copy full words
  759|  9.05k|   store_any<endianness, T>(out.first(full_word_bytes), in.first(full_words));
  760|  9.05k|   out = out.subspan(full_word_bytes);
  761|  9.05k|   in = in.subspan(full_words);
  762|       |
  763|  9.05k|   return remaining_bytes;
  764|  9.05k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE64206EjTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm18446744073709551615EEETkNS4_14spanable_rangeENS6_IKjLm18446744073709551615EEEQoosr3stdE7same_asINS0_10AutoDetectET0_Esr3stdE7same_asISB_NS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT2_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISJ_EESK_E4type10value_typeEEEEvOT1_RKSG_:
  603|  9.05k|inline constexpr void store_any(OutR&& out /* NOLINT(*-std-forward) */, const InR& in) {
  604|  9.05k|   ranges::assert_equal_byte_lengths(out, in);
  605|  9.05k|   using element_type = std::ranges::range_value_t<InR>;
  606|       |
  607|  9.05k|   auto store_elementwise = [&] {
  608|  9.05k|      constexpr size_t bytes_per_element = sizeof(element_type);
  609|  9.05k|      std::span<uint8_t> out_s(out);
  610|  9.05k|      for(auto in_elem : in) {
  611|  9.05k|         store_any<endianness, element_type>(out_s.template first<bytes_per_element>(), in_elem);
  612|  9.05k|         out_s = out_s.subspan(bytes_per_element);
  613|  9.05k|      }
  614|  9.05k|   };
  615|       |
  616|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  617|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  618|       |   // in a `constexpr` context.
  619|  9.05k|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (619:7): [Folded, False: 9.05k]
  ------------------
  620|      0|      store_elementwise();
  621|  9.05k|   } else {
  622|       |      if constexpr(endianness == std::endian::native && !custom_storable<element_type>) {
  623|       |         typecast_copy(out, in);
  624|  9.05k|      } else {
  625|  9.05k|         store_elementwise();
  626|  9.05k|      }
  627|  9.05k|   }
  628|  9.05k|}
_ZZN5Botan6detail9store_anyILNSt3__16endianE64206EjTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm18446744073709551615EEETkNS4_14spanable_rangeENS6_IKjLm18446744073709551615EEEQoosr3stdE7same_asINS0_10AutoDetectET0_Esr3stdE7same_asISB_NS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT2_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISJ_EESK_E4type10value_typeEEEEvOT1_RKSG_ENKUlvE_clEv:
  607|  9.05k|   auto store_elementwise = [&] {
  608|  9.05k|      constexpr size_t bytes_per_element = sizeof(element_type);
  609|  9.05k|      std::span<uint8_t> out_s(out);
  610|  72.4k|      for(auto in_elem : in) {
  ------------------
  |  Branch (610:24): [True: 72.4k, False: 9.05k]
  ------------------
  611|  72.4k|         store_any<endianness, element_type>(out_s.template first<bytes_per_element>(), in_elem);
  612|  72.4k|         out_s = out_s.subspan(bytes_per_element);
  613|  72.4k|      }
  614|  9.05k|   };
_ZN5Botan6detail9store_anyILNSt3__16endianE64206EjTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm4EEETpTkNS0_20unsigned_integralishEJjEQaagtsZT2_Li0Eooaasr3stdE7same_asINS0_10AutoDetectET0_E10all_same_vIDpT2_Eaa20unsigned_integralishIS9_E10all_same_vIS9_SB_EEEvOT1_SB_:
  582|  72.4k|inline constexpr void store_any(OutR&& out /* NOLINT(*-std-forward) */, Ts... ins) {
  583|  72.4k|   ranges::assert_exact_byte_length<(sizeof(Ts) + ...)>(out);
  584|  72.4k|   auto store_one = [off = 0]<typename T>(auto o, T i) mutable {
  585|  72.4k|      store_any<endianness, T>(i, o.subspan(off).template first<sizeof(T)>());
  586|  72.4k|      off += sizeof(T);
  587|  72.4k|   };
  588|       |
  589|  72.4k|   (store_one(std::span{out}, ins), ...);
  590|  72.4k|}
_ZZN5Botan6detail9store_anyILNSt3__16endianE64206EjTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm4EEETpTkNS0_20unsigned_integralishEJjEQaagtsZT2_Li0Eooaasr3stdE7same_asINS0_10AutoDetectET0_E10all_same_vIDpT2_Eaa20unsigned_integralishIS9_E10all_same_vIS9_SB_EEEvOT1_SB_ENUlTyS9_T_E_clIjS7_EEDaS9_SE_:
  584|  72.4k|   auto store_one = [off = 0]<typename T>(auto o, T i) mutable {
  585|  72.4k|      store_any<endianness, T>(i, o.subspan(off).template first<sizeof(T)>());
  586|  72.4k|      off += sizeof(T);
  587|  72.4k|   };
_ZN5Botan7load_leINS_6detail10AutoDetectEJRA4_jPKhiEEEDaDpOT0_:
  495|  2.05M|inline constexpr auto load_le(ParamTs&&... params) {
  496|  2.05M|   return detail::load_any<std::endian::little, OutT>(std::forward<ParamTs>(params)...);
  497|  2.05M|}
_ZN5Botan6detail8load_anyILNSt3__16endianE57005ENS0_10AutoDetectETkNS0_20unsigned_integralishEjQoosr3stdE7same_asIS4_T0_Esr3stdE7same_asIT1_S5_EEEvPS6_PKhm:
  483|  2.05M|inline constexpr void load_any(T out[], const uint8_t in[], size_t count) {
  484|       |   // asserts that *in and *out point to the correct amount of memory
  485|  2.05M|   load_any<endianness, OutT>(std::span<T>(out, count), std::span<const uint8_t>(in, count * sizeof(T)));
  486|  2.05M|}
_ZN5Botan6detail8load_anyILNSt3__16endianE57005ENS0_10AutoDetectETkNS_6ranges23contiguous_output_rangeENS2_4spanIjLm18446744073709551615EEETkNS5_16contiguous_rangeIhEENS6_IKhLm18446744073709551615EEEQaa20unsigned_integralishINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT1_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISI_EESJ_E4type10value_typeEEoosr3stdE7same_asIS4_T0_Esr3stdE7same_asISP_SO_EEEvOSF_RKT2_:
  355|  2.05M|inline constexpr void load_any(OutR&& out /* NOLINT(*-std-forward) */, const InR& in) {
  356|  2.05M|   ranges::assert_equal_byte_lengths(out, in);
  357|  2.05M|   using element_type = std::ranges::range_value_t<OutR>;
  358|       |
  359|  2.05M|   auto load_elementwise = [&] {
  360|  2.05M|      constexpr size_t bytes_per_element = sizeof(element_type);
  361|  2.05M|      std::span<const uint8_t> in_s(in);
  362|  2.05M|      for(auto& out_elem : out) {
  363|  2.05M|         out_elem = load_any<endianness, element_type>(in_s.template first<bytes_per_element>());
  364|  2.05M|         in_s = in_s.subspan(bytes_per_element);
  365|  2.05M|      }
  366|  2.05M|   };
  367|       |
  368|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  369|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  370|       |   // in a `constexpr` context.
  371|  2.05M|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (371:7): [Folded, False: 2.05M]
  ------------------
  372|      0|      load_elementwise();
  373|  2.05M|   } else {
  374|  2.05M|      if constexpr(endianness == std::endian::native && !custom_loadable<element_type>) {
  375|  2.05M|         typecast_copy(out, in);
  376|       |      } else {
  377|       |         load_elementwise();
  378|       |      }
  379|  2.05M|   }
  380|  2.05M|}
_ZN5Botan7load_leINS_6detail10AutoDetectEJRNSt3__15arrayIjLm16EEENS3_4spanIKhLm64EEEEEEDaDpOT0_:
  495|  7.22k|inline constexpr auto load_le(ParamTs&&... params) {
  496|  7.22k|   return detail::load_any<std::endian::little, OutT>(std::forward<ParamTs>(params)...);
  497|  7.22k|}
_ZN5Botan6detail8load_anyILNSt3__16endianE57005ENS0_10AutoDetectETkNS_6ranges23contiguous_output_rangeERNS2_5arrayIjLm16EEETkNS5_16contiguous_rangeIhEENS2_4spanIKhLm64EEEQaa20unsigned_integralishINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT1_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISK_EESL_E4type10value_typeEEoosr3stdE7same_asIS4_T0_Esr3stdE7same_asISR_SQ_EEEvOSH_RKT2_:
  355|  7.22k|inline constexpr void load_any(OutR&& out /* NOLINT(*-std-forward) */, const InR& in) {
  356|  7.22k|   ranges::assert_equal_byte_lengths(out, in);
  357|  7.22k|   using element_type = std::ranges::range_value_t<OutR>;
  358|       |
  359|  7.22k|   auto load_elementwise = [&] {
  360|  7.22k|      constexpr size_t bytes_per_element = sizeof(element_type);
  361|  7.22k|      std::span<const uint8_t> in_s(in);
  362|  7.22k|      for(auto& out_elem : out) {
  363|  7.22k|         out_elem = load_any<endianness, element_type>(in_s.template first<bytes_per_element>());
  364|  7.22k|         in_s = in_s.subspan(bytes_per_element);
  365|  7.22k|      }
  366|  7.22k|   };
  367|       |
  368|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  369|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  370|       |   // in a `constexpr` context.
  371|  7.22k|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (371:7): [Folded, False: 7.22k]
  ------------------
  372|      0|      load_elementwise();
  373|  7.22k|   } else {
  374|  7.22k|      if constexpr(endianness == std::endian::native && !custom_loadable<element_type>) {
  375|  7.22k|         typecast_copy(out, in);
  376|       |      } else {
  377|       |         load_elementwise();
  378|       |      }
  379|  7.22k|   }
  380|  7.22k|}
_ZN5Botan8store_leINS_6detail10AutoDetectEJRKmPhEEEDaDpOT0_:
  736|  3.73k|inline constexpr auto store_le(ParamTs&&... params) {
  737|  3.73k|   return detail::store_any<std::endian::little, ModifierT>(std::forward<ParamTs>(params)...);
  738|  3.73k|}
_ZN5Botan11copy_out_leITkNS_6ranges14spanable_rangeENSt3__16vectorIjNS_16secure_allocatorIjEEEEEEvNS2_4spanIhLm18446744073709551615EEERKT_:
  789|  3.73k|inline void copy_out_le(std::span<uint8_t> out, const InR& in) {
  790|  3.73k|   using T = std::ranges::range_value_t<InR>;
  791|  3.73k|   std::span<const T> in_s{in};
  792|  3.73k|   const auto remaining_bytes = detail::copy_out_any_word_aligned_portion<std::endian::little>(out, in_s);
  793|       |
  794|       |   // copy remaining bytes as a partial word
  795|  3.73k|   for(size_t i = 0; i < remaining_bytes; ++i) {
  ------------------
  |  Branch (795:22): [True: 0, False: 3.73k]
  ------------------
  796|      0|      out[i] = get_byte_var(sizeof(T) - 1 - i, in_s.front());
  797|      0|   }
  798|  3.73k|}
_ZN5Botan6detail33copy_out_any_word_aligned_portionILNSt3__16endianE57005ETkNS0_20unsigned_integralishEjEEmRNS2_4spanIhLm18446744073709551615EEERNS4_IKT0_Lm18446744073709551615EEE:
  752|  3.73k|inline size_t copy_out_any_word_aligned_portion(std::span<uint8_t>& out, std::span<const T>& in) {
  753|  3.73k|   const size_t full_words = out.size() / sizeof(T);
  754|  3.73k|   const size_t full_word_bytes = full_words * sizeof(T);
  755|  3.73k|   const size_t remaining_bytes = out.size() - full_word_bytes;
  756|  3.73k|   BOTAN_ASSERT_NOMSG(in.size_bytes() >= full_word_bytes + remaining_bytes);
  ------------------
  |  |   77|  3.73k|   do {                                                                     \
  |  |   78|  3.73k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  3.73k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 3.73k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  3.73k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 3.73k]
  |  |  ------------------
  ------------------
  757|       |
  758|       |   // copy full words
  759|  3.73k|   store_any<endianness, T>(out.first(full_word_bytes), in.first(full_words));
  760|  3.73k|   out = out.subspan(full_word_bytes);
  761|  3.73k|   in = in.subspan(full_words);
  762|       |
  763|  3.73k|   return remaining_bytes;
  764|  3.73k|}
_ZN5Botan6detail9store_anyILNSt3__16endianE57005EjTkNS_6ranges23contiguous_output_rangeIhEENS2_4spanIhLm18446744073709551615EEETkNS4_14spanable_rangeENS6_IKjLm18446744073709551615EEEQoosr3stdE7same_asINS0_10AutoDetectET0_Esr3stdE7same_asISB_NS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT2_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISJ_EESK_E4type10value_typeEEEEvOT1_RKSG_:
  603|  3.73k|inline constexpr void store_any(OutR&& out /* NOLINT(*-std-forward) */, const InR& in) {
  604|  3.73k|   ranges::assert_equal_byte_lengths(out, in);
  605|  3.73k|   using element_type = std::ranges::range_value_t<InR>;
  606|       |
  607|  3.73k|   auto store_elementwise = [&] {
  608|  3.73k|      constexpr size_t bytes_per_element = sizeof(element_type);
  609|  3.73k|      std::span<uint8_t> out_s(out);
  610|  3.73k|      for(auto in_elem : in) {
  611|  3.73k|         store_any<endianness, element_type>(out_s.template first<bytes_per_element>(), in_elem);
  612|  3.73k|         out_s = out_s.subspan(bytes_per_element);
  613|  3.73k|      }
  614|  3.73k|   };
  615|       |
  616|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  617|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  618|       |   // in a `constexpr` context.
  619|  3.73k|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (619:7): [Folded, False: 3.73k]
  ------------------
  620|      0|      store_elementwise();
  621|  3.73k|   } else {
  622|  3.73k|      if constexpr(endianness == std::endian::native && !custom_storable<element_type>) {
  623|  3.73k|         typecast_copy(out, in);
  624|       |      } else {
  625|       |         store_elementwise();
  626|       |      }
  627|  3.73k|   }
  628|  3.73k|}
_ZN5Botan8store_beINS_6detail10AutoDetectEJRKmPhEEEDaDpOT0_:
  745|  9.05k|inline constexpr auto store_be(ParamTs&&... params) {
  746|  9.05k|   return detail::store_any<std::endian::big, ModifierT>(std::forward<ParamTs>(params)...);
  747|  9.05k|}
_ZN5Botan11copy_out_beITkNS_6ranges14spanable_rangeENSt3__16vectorIjNS_16secure_allocatorIjEEEEEEvNS2_4spanIhLm18446744073709551615EEERKT_:
  773|  9.05k|inline void copy_out_be(std::span<uint8_t> out, const InR& in) {
  774|  9.05k|   using T = std::ranges::range_value_t<InR>;
  775|  9.05k|   std::span<const T> in_s{in};
  776|  9.05k|   const auto remaining_bytes = detail::copy_out_any_word_aligned_portion<std::endian::big>(out, in_s);
  777|       |
  778|       |   // copy remaining bytes as a partial word
  779|  9.05k|   for(size_t i = 0; i < remaining_bytes; ++i) {
  ------------------
  |  Branch (779:22): [True: 0, False: 9.05k]
  ------------------
  780|      0|      out[i] = get_byte_var(i, in_s.front());
  781|      0|   }
  782|  9.05k|}
_ZN5Botan7load_beINS_6detail10AutoDetectEJRNSt3__15arrayIjLm16EEENS3_4spanIKhLm64EEEEEEDaDpOT0_:
  504|   129k|inline constexpr auto load_be(ParamTs&&... params) {
  505|   129k|   return detail::load_any<std::endian::big, OutT>(std::forward<ParamTs>(params)...);
  506|   129k|}
_ZN5Botan6detail8load_anyILNSt3__16endianE64206ENS0_10AutoDetectETkNS_6ranges23contiguous_output_rangeERNS2_5arrayIjLm16EEETkNS5_16contiguous_rangeIhEENS2_4spanIKhLm64EEEQaa20unsigned_integralishINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT1_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISK_EESL_E4type10value_typeEEoosr3stdE7same_asIS4_T0_Esr3stdE7same_asISR_SQ_EEEvOSH_RKT2_:
  355|   129k|inline constexpr void load_any(OutR&& out /* NOLINT(*-std-forward) */, const InR& in) {
  356|   129k|   ranges::assert_equal_byte_lengths(out, in);
  357|   129k|   using element_type = std::ranges::range_value_t<OutR>;
  358|       |
  359|   129k|   auto load_elementwise = [&] {
  360|   129k|      constexpr size_t bytes_per_element = sizeof(element_type);
  361|   129k|      std::span<const uint8_t> in_s(in);
  362|   129k|      for(auto& out_elem : out) {
  363|   129k|         out_elem = load_any<endianness, element_type>(in_s.template first<bytes_per_element>());
  364|   129k|         in_s = in_s.subspan(bytes_per_element);
  365|   129k|      }
  366|   129k|   };
  367|       |
  368|       |   // At compile time we cannot use `typecast_copy` as it uses `std::memcpy`
  369|       |   // internally to copy ranges on a byte-by-byte basis, which is not allowed
  370|       |   // in a `constexpr` context.
  371|   129k|   if(std::is_constant_evaluated()) /* TODO: C++23: if consteval {} */ {
  ------------------
  |  Branch (371:7): [Folded, False: 129k]
  ------------------
  372|      0|      load_elementwise();
  373|   129k|   } else {
  374|       |      if constexpr(endianness == std::endian::native && !custom_loadable<element_type>) {
  375|       |         typecast_copy(out, in);
  376|   129k|      } else {
  377|   129k|         load_elementwise();
  378|   129k|      }
  379|   129k|   }
  380|   129k|}
_ZZN5Botan6detail8load_anyILNSt3__16endianE64206ENS0_10AutoDetectETkNS_6ranges23contiguous_output_rangeERNS2_5arrayIjLm16EEETkNS5_16contiguous_rangeIhEENS2_4spanIKhLm64EEEQaa20unsigned_integralishINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT1_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISK_EESL_E4type10value_typeEEoosr3stdE7same_asIS4_T0_Esr3stdE7same_asISR_SQ_EEEvOSH_RKT2_ENKUlvE_clEv:
  359|   129k|   auto load_elementwise = [&] {
  360|   129k|      constexpr size_t bytes_per_element = sizeof(element_type);
  361|   129k|      std::span<const uint8_t> in_s(in);
  362|  2.06M|      for(auto& out_elem : out) {
  ------------------
  |  Branch (362:26): [True: 2.06M, False: 129k]
  ------------------
  363|  2.06M|         out_elem = load_any<endianness, element_type>(in_s.template first<bytes_per_element>());
  364|  2.06M|         in_s = in_s.subspan(bytes_per_element);
  365|  2.06M|      }
  366|   129k|   };

_ZNK5Botan3MD513output_lengthEv:
   34|  7.47k|      size_t output_length() const override { return output_bytes; }

_ZN5Botan18MerkleDamgard_HashINS_7SHA_256EEC2Ev:
   42|  9.05k|      MerkleDamgard_Hash() { clear(); }
_ZN5Botan18MerkleDamgard_HashINS_7SHA_256EE5clearEv:
   70|  18.1k|      void clear() {
   71|  18.1k|         MD::init(m_digest);
   72|  18.1k|         m_buffer.clear();
   73|  18.1k|         m_count = 0;
   74|  18.1k|      }
_ZN5Botan18MerkleDamgard_HashINS_3MD5EEC2Ev:
   42|  3.73k|      MerkleDamgard_Hash() { clear(); }
_ZN5Botan18MerkleDamgard_HashINS_3MD5EE5clearEv:
   70|  7.47k|      void clear() {
   71|  7.47k|         MD::init(m_digest);
   72|  7.47k|         m_buffer.clear();
   73|  7.47k|         m_count = 0;
   74|  7.47k|      }
_ZN5Botan18MerkleDamgard_HashINS_3MD5EE6updateENSt3__14spanIKhLm18446744073709551615EEE:
   44|  19.1k|      void update(std::span<const uint8_t> input) {
   45|  19.1k|         BufferSlicer in(input);
   46|       |
   47|  39.5k|         while(!in.empty()) {
  ------------------
  |  Branch (47:16): [True: 20.4k, False: 19.1k]
  ------------------
   48|  20.4k|            if(const auto one_block = m_buffer.handle_unaligned_data(in)) {
  ------------------
  |  Branch (48:27): [True: 1.58k, False: 18.8k]
  ------------------
   49|  1.58k|               MD::compress_n(m_digest, one_block.value(), 1);
   50|  1.58k|            }
   51|       |
   52|  20.4k|            if(m_buffer.in_alignment()) {
  ------------------
  |  Branch (52:16): [True: 1.78k, False: 18.6k]
  ------------------
   53|  1.78k|               const auto [aligned_data, full_blocks] = m_buffer.aligned_data_to_process(in);
   54|  1.78k|               if(full_blocks > 0) {
  ------------------
  |  Branch (54:19): [True: 331, False: 1.45k]
  ------------------
   55|    331|                  MD::compress_n(m_digest, aligned_data, full_blocks);
   56|    331|               }
   57|  1.78k|            }
   58|  20.4k|         }
   59|       |
   60|  19.1k|         m_count += input.size();
   61|  19.1k|      }
_ZN5Botan18MerkleDamgard_HashINS_3MD5EE5finalENSt3__14spanIhLm18446744073709551615EEE:
   63|  3.73k|      void final(std::span<uint8_t> output) {
   64|  3.73k|         append_padding_bit();
   65|  3.73k|         append_counter_and_finalize();
   66|  3.73k|         copy_output(output);
   67|  3.73k|         clear();
   68|  3.73k|      }
_ZN5Botan18MerkleDamgard_HashINS_3MD5EE18append_padding_bitEv:
   77|  3.73k|      void append_padding_bit() {
   78|  3.73k|         BOTAN_ASSERT_NOMSG(!m_buffer.ready_to_consume());
  ------------------
  |  |   77|  3.73k|   do {                                                                     \
  |  |   78|  3.73k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  3.73k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 3.73k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  3.73k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 3.73k]
  |  |  ------------------
  ------------------
   79|  3.73k|         if constexpr(MD::bit_endianness == MD_Endian::Big) {
   80|  3.73k|            const uint8_t final_byte = 0x80;
   81|  3.73k|            m_buffer.append({&final_byte, 1});
   82|       |         } else {
   83|       |            const uint8_t final_byte = 0x01;
   84|       |            m_buffer.append({&final_byte, 1});
   85|       |         }
   86|  3.73k|      }
_ZN5Botan18MerkleDamgard_HashINS_3MD5EE27append_counter_and_finalizeEv:
   88|  3.73k|      void append_counter_and_finalize() {
   89|       |         // Compress the remaining data if the final data block does not provide
   90|       |         // enough space for the counter bytes.
   91|  3.73k|         if(m_buffer.elements_until_alignment() < MD::ctr_bytes) {
  ------------------
  |  Branch (91:13): [True: 490, False: 3.24k]
  ------------------
   92|    490|            m_buffer.fill_up_with_zeros();
   93|    490|            MD::compress_n(m_digest, m_buffer.consume(), 1);
   94|    490|         }
   95|       |
   96|       |         // Make sure that any remaining bytes in the very last block are zero.
   97|  3.73k|         BOTAN_ASSERT_NOMSG(m_buffer.elements_until_alignment() >= MD::ctr_bytes);
  ------------------
  |  |   77|  3.73k|   do {                                                                     \
  |  |   78|  3.73k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  3.73k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 3.73k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  3.73k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 3.73k]
  |  |  ------------------
  ------------------
   98|  3.73k|         m_buffer.fill_up_with_zeros();
   99|       |
  100|       |         // Replace a bunch of the right-most zero-padding with the counter bytes.
  101|  3.73k|         const uint64_t bit_count = m_count * 8;
  102|  3.73k|         auto last_bytes = m_buffer.directly_modify_last(sizeof(bit_count));
  103|       |         if constexpr(MD::byte_endianness == MD_Endian::Big) {
  104|       |            store_be(bit_count, last_bytes.data());
  105|  3.73k|         } else {
  106|  3.73k|            store_le(bit_count, last_bytes.data());
  107|  3.73k|         }
  108|       |
  109|       |         // Compress the very last block.
  110|  3.73k|         MD::compress_n(m_digest, m_buffer.consume(), 1);
  111|  3.73k|      }
_ZN5Botan18MerkleDamgard_HashINS_3MD5EE11copy_outputENSt3__14spanIhLm18446744073709551615EEE:
  113|  3.73k|      void copy_output(std::span<uint8_t> output) {
  114|  3.73k|         BOTAN_ASSERT_NOMSG(output.size() >= MD::output_bytes);
  ------------------
  |  |   77|  3.73k|   do {                                                                     \
  |  |   78|  3.73k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  3.73k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 3.73k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  3.73k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 3.73k]
  |  |  ------------------
  ------------------
  115|       |
  116|       |         if constexpr(MD::byte_endianness == MD_Endian::Big) {
  117|       |            copy_out_be(output.first(MD::output_bytes), m_digest);
  118|  3.73k|         } else {
  119|  3.73k|            copy_out_le(output.first(MD::output_bytes), m_digest);
  120|  3.73k|         }
  121|  3.73k|      }
_ZN5Botan18MerkleDamgard_HashINS_7SHA_256EE6updateENSt3__14spanIKhLm18446744073709551615EEE:
   44|  18.1k|      void update(std::span<const uint8_t> input) {
   45|  18.1k|         BufferSlicer in(input);
   46|       |
   47|  42.4k|         while(!in.empty()) {
  ------------------
  |  Branch (47:16): [True: 24.3k, False: 18.1k]
  ------------------
   48|  24.3k|            if(const auto one_block = m_buffer.handle_unaligned_data(in)) {
  ------------------
  |  Branch (48:27): [True: 6.22k, False: 18.1k]
  ------------------
   49|  6.22k|               MD::compress_n(m_digest, one_block.value(), 1);
   50|  6.22k|            }
   51|       |
   52|  24.3k|            if(m_buffer.in_alignment()) {
  ------------------
  |  Branch (52:16): [True: 6.22k, False: 18.1k]
  ------------------
   53|  6.22k|               const auto [aligned_data, full_blocks] = m_buffer.aligned_data_to_process(in);
   54|  6.22k|               if(full_blocks > 0) {
  ------------------
  |  Branch (54:19): [True: 4.45k, False: 1.76k]
  ------------------
   55|  4.45k|                  MD::compress_n(m_digest, aligned_data, full_blocks);
   56|  4.45k|               }
   57|  6.22k|            }
   58|  24.3k|         }
   59|       |
   60|  18.1k|         m_count += input.size();
   61|  18.1k|      }
_ZN5Botan18MerkleDamgard_HashINS_7SHA_256EE5finalENSt3__14spanIhLm18446744073709551615EEE:
   63|  9.05k|      void final(std::span<uint8_t> output) {
   64|  9.05k|         append_padding_bit();
   65|  9.05k|         append_counter_and_finalize();
   66|  9.05k|         copy_output(output);
   67|  9.05k|         clear();
   68|  9.05k|      }
_ZN5Botan18MerkleDamgard_HashINS_7SHA_256EE18append_padding_bitEv:
   77|  9.05k|      void append_padding_bit() {
   78|  9.05k|         BOTAN_ASSERT_NOMSG(!m_buffer.ready_to_consume());
  ------------------
  |  |   77|  9.05k|   do {                                                                     \
  |  |   78|  9.05k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  9.05k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 9.05k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  9.05k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 9.05k]
  |  |  ------------------
  ------------------
   79|  9.05k|         if constexpr(MD::bit_endianness == MD_Endian::Big) {
   80|  9.05k|            const uint8_t final_byte = 0x80;
   81|  9.05k|            m_buffer.append({&final_byte, 1});
   82|       |         } else {
   83|       |            const uint8_t final_byte = 0x01;
   84|       |            m_buffer.append({&final_byte, 1});
   85|       |         }
   86|  9.05k|      }
_ZN5Botan18MerkleDamgard_HashINS_7SHA_256EE27append_counter_and_finalizeEv:
   88|  9.05k|      void append_counter_and_finalize() {
   89|       |         // Compress the remaining data if the final data block does not provide
   90|       |         // enough space for the counter bytes.
   91|  9.05k|         if(m_buffer.elements_until_alignment() < MD::ctr_bytes) {
  ------------------
  |  Branch (91:13): [True: 404, False: 8.65k]
  ------------------
   92|    404|            m_buffer.fill_up_with_zeros();
   93|    404|            MD::compress_n(m_digest, m_buffer.consume(), 1);
   94|    404|         }
   95|       |
   96|       |         // Make sure that any remaining bytes in the very last block are zero.
   97|  9.05k|         BOTAN_ASSERT_NOMSG(m_buffer.elements_until_alignment() >= MD::ctr_bytes);
  ------------------
  |  |   77|  9.05k|   do {                                                                     \
  |  |   78|  9.05k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  9.05k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 9.05k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  9.05k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 9.05k]
  |  |  ------------------
  ------------------
   98|  9.05k|         m_buffer.fill_up_with_zeros();
   99|       |
  100|       |         // Replace a bunch of the right-most zero-padding with the counter bytes.
  101|  9.05k|         const uint64_t bit_count = m_count * 8;
  102|  9.05k|         auto last_bytes = m_buffer.directly_modify_last(sizeof(bit_count));
  103|  9.05k|         if constexpr(MD::byte_endianness == MD_Endian::Big) {
  104|  9.05k|            store_be(bit_count, last_bytes.data());
  105|       |         } else {
  106|       |            store_le(bit_count, last_bytes.data());
  107|       |         }
  108|       |
  109|       |         // Compress the very last block.
  110|  9.05k|         MD::compress_n(m_digest, m_buffer.consume(), 1);
  111|  9.05k|      }
_ZN5Botan18MerkleDamgard_HashINS_7SHA_256EE11copy_outputENSt3__14spanIhLm18446744073709551615EEE:
  113|  9.05k|      void copy_output(std::span<uint8_t> output) {
  114|  9.05k|         BOTAN_ASSERT_NOMSG(output.size() >= MD::output_bytes);
  ------------------
  |  |   77|  9.05k|   do {                                                                     \
  |  |   78|  9.05k|      /* NOLINTNEXTLINE(*-simplify-boolean-expr) */                         \
  |  |   79|  9.05k|      if(!(expr)) {                                                         \
  |  |  ------------------
  |  |  |  Branch (79:10): [True: 0, False: 9.05k]
  |  |  ------------------
  |  |   80|      0|         /* NOLINTNEXTLINE(bugprone-lambda-function-name) */                \
  |  |   81|      0|         Botan::assertion_failure(#expr, "", __func__, __FILE__, __LINE__); \
  |  |   82|      0|      }                                                                     \
  |  |   83|  9.05k|   } while(0)
  |  |  ------------------
  |  |  |  Branch (83:12): [Folded, False: 9.05k]
  |  |  ------------------
  ------------------
  115|       |
  116|  9.05k|         if constexpr(MD::byte_endianness == MD_Endian::Big) {
  117|  9.05k|            copy_out_be(output.first(MD::output_bytes), m_digest);
  118|       |         } else {
  119|       |            copy_out_le(output.first(MD::output_bytes), m_digest);
  120|       |         }
  121|  9.05k|      }

_ZN5Botan14zeroize_bufferITkNSt3__117unsigned_integralEhEEvPT_m:
   37|  38.8k|inline void zeroize_buffer(T buf[], size_t n) {
   38|  38.8k|   if(n > 0) {
  ------------------
  |  Branch (38:7): [True: 38.8k, False: 0]
  ------------------
   39|  38.8k|      std::memset(buf, 0, sizeof(T) * n);
   40|  38.8k|   }
   41|  38.8k|}

_ZN5Botan4rotlILm10ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm23ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm9ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm7ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm12ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm17ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm22ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm5ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm14ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm20ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm4ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm11ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm16ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm6ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm15ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan4rotlILm21ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   25|  28.9k|{
   26|  28.9k|   return static_cast<T>((input << ROT) | (input >> (8 * sizeof(T) - ROT)));
   27|  28.9k|}
_ZN5Botan3rhoILm6ELm11ELm25ETkNSt3__117unsigned_integralEjEET2_S2_:
   53|  8.27M|BOTAN_FORCE_INLINE constexpr T rho(T x) {
   54|  8.27M|   return rotr<R1>(x) ^ rotr<R2>(x) ^ rotr<R3>(x);
   55|  8.27M|}
_ZN5Botan4rotrILm6ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan4rotrILm11ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan4rotrILm25ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan3rhoILm2ELm13ELm22ETkNSt3__117unsigned_integralEjEET2_S2_:
   53|  8.27M|BOTAN_FORCE_INLINE constexpr T rho(T x) {
   54|  8.27M|   return rotr<R1>(x) ^ rotr<R2>(x) ^ rotr<R3>(x);
   55|  8.27M|}
_ZN5Botan4rotrILm2ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan4rotrILm13ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan4rotrILm22ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan5sigmaILm17ELm19ELm10ETkNSt3__117unsigned_integralEjEET2_S2_:
   45|  8.27M|BOTAN_FORCE_INLINE constexpr T sigma(T x) {
   46|  8.27M|   return rotr<R1>(x) ^ rotr<R2>(x) ^ (x >> S);
   47|  8.27M|}
_ZN5Botan4rotrILm17ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan4rotrILm19ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan5sigmaILm7ELm18ELm3ETkNSt3__117unsigned_integralEjEET2_S2_:
   45|  8.27M|BOTAN_FORCE_INLINE constexpr T sigma(T x) {
   46|  8.27M|   return rotr<R1>(x) ^ rotr<R2>(x) ^ (x >> S);
   47|  8.27M|}
_ZN5Botan4rotrILm7ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}
_ZN5Botan4rotrILm18ETkNSt3__117unsigned_integralEjEET0_S2_QaagtT_Li0EltT_mlLi8EstS2_:
   37|  8.27M|{
   38|  8.27M|   return static_cast<T>((input >> ROT) | (input << (8 * sizeof(T) - ROT)));
   39|  8.27M|}

_ZNK5Botan7SHA_25613output_lengthEv:
   75|  18.1k|      size_t output_length() const override { return output_bytes; }

_ZN5Botan9SHA2_32_FEjjjRjjjjS0_S0_jjjj:
   31|  8.27M|                                  uint32_t magic) {
   32|  8.27M|   H += magic + rho<6, 11, 25>(E) + choose(E, F, G) + M1;
   33|  8.27M|   D += H;
   34|  8.27M|   H += rho<2, 13, 22>(A) + majority(A, B, C);
   35|  8.27M|   M1 += sigma<17, 19, 10>(M2) + M3 + sigma<7, 18, 3>(M4);
   36|  8.27M|}

_ZN5Botan20Buffered_Computation6updateEPKhm:
   35|  88.5k|      void update(const uint8_t in[], size_t length) { add_data({in, length}); }
_ZN5Botan20Buffered_Computation5finalEPh:
   97|  42.8k|      void final(uint8_t out[]) { final_result({out, output_length()}); }
_ZN5Botan20Buffered_ComputationD2Ev:
  169|  44.8k|      virtual ~Buffered_Computation() = default;

_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERKNSt3__14spanIhLm4EEEjQaaaasr3stdE23is_trivially_copyable_vIT0_Entsr3std6rangesE5rangeIS7_Esr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISF_EESG_E4type10value_typeEEEEvOSC_RKS7_:
  199|  72.4k|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromT& in) {
  200|  72.4k|   typecast_copy(out, std::span<const FromT, 1>(&in, 1));
  201|  72.4k|}
_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERKNSt3__14spanIhLm4EEETkNS1_16contiguous_rangeENS3_IKjLm1EEEQaasr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISG_EESH_E4type10value_typeEEsr3stdE23is_trivially_copyable_vINS9_IXsr21__is_primary_templateINSA_Iu14__remove_cvrefIDTclL_ZNSC_5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENSI_ISQ_EESR_E4type10value_typeEEEEvOSN_RKSD_:
  176|  72.4k|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromR& in) {
  177|  72.4k|   ranges::assert_equal_byte_lengths(out, in);
  178|  72.4k|   std::memcpy(std::ranges::data(out), std::ranges::data(in), ranges::size_bytes(out));
  179|  72.4k|}
_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERKNSt3__14spanIhLm8EEEmQaaaasr3stdE23is_trivially_copyable_vIT0_Entsr3std6rangesE5rangeIS7_Esr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISF_EESG_E4type10value_typeEEEEvOSC_RKS7_:
  199|  12.7k|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromT& in) {
  200|  12.7k|   typecast_copy(out, std::span<const FromT, 1>(&in, 1));
  201|  12.7k|}
_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERKNSt3__14spanIhLm8EEETkNS1_16contiguous_rangeENS3_IKmLm1EEEQaasr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISG_EESH_E4type10value_typeEEsr3stdE23is_trivially_copyable_vINS9_IXsr21__is_primary_templateINSA_Iu14__remove_cvrefIDTclL_ZNSC_5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENSI_ISQ_EESR_E4type10value_typeEEEEvOSN_RKSD_:
  176|  12.7k|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromR& in) {
  177|  12.7k|   ranges::assert_equal_byte_lengths(out, in);
  178|  12.7k|   std::memcpy(std::ranges::data(out), std::ranges::data(in), ranges::size_bytes(out));
  179|  12.7k|}
_ZN5Botan13typecast_copyIjTkNS_6ranges16contiguous_rangeENSt3__14spanIKhLm4EEEQaaaasr3stdE26is_default_constructible_vIT_Esr3stdE23is_trivially_copyable_vIS6_Esr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISE_EESF_E4type10value_typeEEEES6_RKSB_:
  210|  2.06M|inline constexpr ToT typecast_copy(const FromR& src) {
  211|  2.06M|   ToT dst;  // NOLINT(*-member-init)
  212|  2.06M|   typecast_copy(dst, src);
  213|  2.06M|   return dst;
  214|  2.06M|}
_ZN5Botan13typecast_copyIjTkNS_6ranges16contiguous_rangeENSt3__14spanIKhLm4EEEQaaaasr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISD_EESE_E4type10value_typeEEsr3stdE23is_trivially_copyable_vIT_Entsr3std6rangesE5rangeISK_EEEvRSK_RKSA_:
  188|  2.06M|inline constexpr void typecast_copy(ToT& out, const FromR& in) {
  189|  2.06M|   typecast_copy(std::span<ToT, 1>(&out, 1), in);
  190|  2.06M|}
_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeENSt3__14spanIjLm1EEETkNS1_16contiguous_rangeENS3_IKhLm4EEEQaasr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISE_EESF_E4type10value_typeEEsr3stdE23is_trivially_copyable_vINS7_IXsr21__is_primary_templateINS8_Iu14__remove_cvrefIDTclL_ZNSA_5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENSG_ISO_EESP_E4type10value_typeEEEEvOSL_RKSB_:
  176|  2.06M|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromR& in) {
  177|  2.06M|   ranges::assert_equal_byte_lengths(out, in);
  178|  2.06M|   std::memcpy(std::ranges::data(out), std::ranges::data(in), ranges::size_bytes(out));
  179|  2.06M|}
_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERNSt3__14spanIjLm18446744073709551615EEETkNS1_16contiguous_rangeENS3_IKhLm18446744073709551615EEEQaasr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISF_EESG_E4type10value_typeEEsr3stdE23is_trivially_copyable_vINS8_IXsr21__is_primary_templateINS9_Iu14__remove_cvrefIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENSH_ISP_EESQ_E4type10value_typeEEEEvOSM_RKSC_:
  176|  2.05M|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromR& in) {
  177|  2.05M|   ranges::assert_equal_byte_lengths(out, in);
  178|  2.05M|   std::memcpy(std::ranges::data(out), std::ranges::data(in), ranges::size_bytes(out));
  179|  2.05M|}
_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERNSt3__15arrayIjLm16EEETkNS1_16contiguous_rangeENS2_4spanIKhLm64EEEQaasr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISG_EESH_E4type10value_typeEEsr3stdE23is_trivially_copyable_vINS9_IXsr21__is_primary_templateINSA_Iu14__remove_cvrefIDTclL_ZNSC_5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENSI_ISQ_EESR_E4type10value_typeEEEEvOSN_RKSD_:
  176|  7.22k|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromR& in) {
  177|  7.22k|   ranges::assert_equal_byte_lengths(out, in);
  178|  7.22k|   std::memcpy(std::ranges::data(out), std::ranges::data(in), ranges::size_bytes(out));
  179|  7.22k|}
_ZN5Botan13typecast_copyITkNS_6ranges23contiguous_output_rangeERNSt3__14spanIhLm18446744073709551615EEETkNS1_16contiguous_rangeENS3_IKjLm18446744073709551615EEEQaasr3stdE23is_trivially_copyable_vINS2_11conditionalIXsr21__is_primary_templateINS2_15iterator_traitsIu14__remove_cvrefIDTclL_ZNS2_6ranges5__cpo5beginEEclsr3stdE7declvalIRT0_EEEEEEEEE5valueENS2_26indirectly_readable_traitsISF_EESG_E4type10value_typeEEsr3stdE23is_trivially_copyable_vINS8_IXsr21__is_primary_templateINS9_Iu14__remove_cvrefIDTclL_ZNSB_5beginEEclsr3stdE7declvalIRT_EEEEEEEEE5valueENSH_ISP_EESQ_E4type10value_typeEEEEvOSM_RKSC_:
  176|  3.73k|inline constexpr void typecast_copy(ToR&& out /* NOLINT(*-std-forward) */, const FromR& in) {
  177|  3.73k|   ranges::assert_equal_byte_lengths(out, in);
  178|  3.73k|   std::memcpy(std::ranges::data(out), std::ranges::data(in), ranges::size_bytes(out));
  179|  3.73k|}

_ZN5Botan6ranges24assert_exact_byte_lengthILm4ETkNS0_14spanable_rangeENSt3__14spanIhLm4EEEEEvRKT0_:
   77|   144k|inline constexpr void assert_exact_byte_length(const R& r) {
   78|   144k|   const std::span s{r};
   79|   144k|   if constexpr(statically_spanable_range<R>) {
   80|   144k|      static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths");
   81|       |   } else {
   82|       |      if(s.size_bytes() != expected) {
   83|       |         memory_region_size_violation();
   84|       |      }
   85|       |   }
   86|   144k|}
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm4EEETpTkNS0_14spanable_rangeEJNS3_IKjLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E:
  100|  72.4k|{
  101|  72.4k|   const std::span s0{r0};
  102|       |
  103|  72.4k|   if constexpr(statically_spanable_range<R0>) {
  104|  72.4k|      constexpr size_t expected_size = s0.size_bytes();
  105|  72.4k|      (assert_exact_byte_length<expected_size>(rs), ...);
  106|       |   } else {
  107|       |      const size_t expected_size = s0.size_bytes();
  108|       |      const bool correct_size =
  109|       |         ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...);
  110|       |
  111|       |      if(!correct_size) {
  112|       |         memory_region_size_violation();
  113|       |      }
  114|       |   }
  115|  72.4k|}
_ZN5Botan6ranges24assert_exact_byte_lengthILm4ETkNS0_14spanable_rangeENSt3__14spanIKjLm1EEEEEvRKT0_:
   77|  72.4k|inline constexpr void assert_exact_byte_length(const R& r) {
   78|  72.4k|   const std::span s{r};
   79|  72.4k|   if constexpr(statically_spanable_range<R>) {
   80|  72.4k|      static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths");
   81|       |   } else {
   82|       |      if(s.size_bytes() != expected) {
   83|       |         memory_region_size_violation();
   84|       |      }
   85|       |   }
   86|  72.4k|}
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm4EEEEEmRKT_:
   59|  72.4k|inline constexpr size_t size_bytes(const spanable_range auto& r) {
   60|  72.4k|   return std::span{r}.size_bytes();
   61|  72.4k|}
_ZN5Botan6ranges24assert_exact_byte_lengthILm8ETkNS0_14spanable_rangeENSt3__14spanIhLm8EEEEEvRKT0_:
   77|  12.7k|inline constexpr void assert_exact_byte_length(const R& r) {
   78|  12.7k|   const std::span s{r};
   79|  12.7k|   if constexpr(statically_spanable_range<R>) {
   80|  12.7k|      static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths");
   81|       |   } else {
   82|       |      if(s.size_bytes() != expected) {
   83|       |         memory_region_size_violation();
   84|       |      }
   85|       |   }
   86|  12.7k|}
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm8EEETpTkNS0_14spanable_rangeEJNS3_IKmLm1EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E:
  100|  12.7k|{
  101|  12.7k|   const std::span s0{r0};
  102|       |
  103|  12.7k|   if constexpr(statically_spanable_range<R0>) {
  104|  12.7k|      constexpr size_t expected_size = s0.size_bytes();
  105|  12.7k|      (assert_exact_byte_length<expected_size>(rs), ...);
  106|       |   } else {
  107|       |      const size_t expected_size = s0.size_bytes();
  108|       |      const bool correct_size =
  109|       |         ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...);
  110|       |
  111|       |      if(!correct_size) {
  112|       |         memory_region_size_violation();
  113|       |      }
  114|       |   }
  115|  12.7k|}
_ZN5Botan6ranges24assert_exact_byte_lengthILm8ETkNS0_14spanable_rangeENSt3__14spanIKmLm1EEEEEvRKT0_:
   77|  12.7k|inline constexpr void assert_exact_byte_length(const R& r) {
   78|  12.7k|   const std::span s{r};
   79|  12.7k|   if constexpr(statically_spanable_range<R>) {
   80|  12.7k|      static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths");
   81|       |   } else {
   82|       |      if(s.size_bytes() != expected) {
   83|       |         memory_region_size_violation();
   84|       |      }
   85|       |   }
   86|  12.7k|}
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm8EEEEEmRKT_:
   59|  12.7k|inline constexpr size_t size_bytes(const spanable_range auto& r) {
   60|  12.7k|   return std::span{r}.size_bytes();
   61|  12.7k|}
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIjLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKhLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E:
  100|  4.11M|{
  101|  4.11M|   const std::span s0{r0};
  102|       |
  103|       |   if constexpr(statically_spanable_range<R0>) {
  104|       |      constexpr size_t expected_size = s0.size_bytes();
  105|       |      (assert_exact_byte_length<expected_size>(rs), ...);
  106|  4.11M|   } else {
  107|  4.11M|      const size_t expected_size = s0.size_bytes();
  108|  4.11M|      const bool correct_size =
  109|  4.11M|         ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...);
  110|       |
  111|  4.11M|      if(!correct_size) {
  ------------------
  |  Branch (111:10): [True: 0, False: 4.11M]
  ------------------
  112|      0|         memory_region_size_violation();
  113|      0|      }
  114|  4.11M|   }
  115|  4.11M|}
_ZN5Botan6ranges24assert_exact_byte_lengthILm4ETkNS0_14spanable_rangeENSt3__14spanIKhLm4EEEEEvRKT0_:
   77|  4.13M|inline constexpr void assert_exact_byte_length(const R& r) {
   78|  4.13M|   const std::span s{r};
   79|  4.13M|   if constexpr(statically_spanable_range<R>) {
   80|  4.13M|      static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths");
   81|       |   } else {
   82|       |      if(s.size_bytes() != expected) {
   83|       |         memory_region_size_violation();
   84|       |      }
   85|       |   }
   86|  4.13M|}
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIjLm1EEETpTkNS0_14spanable_rangeEJNS3_IKhLm4EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E:
  100|  2.06M|{
  101|  2.06M|   const std::span s0{r0};
  102|       |
  103|  2.06M|   if constexpr(statically_spanable_range<R0>) {
  104|  2.06M|      constexpr size_t expected_size = s0.size_bytes();
  105|  2.06M|      (assert_exact_byte_length<expected_size>(rs), ...);
  106|       |   } else {
  107|       |      const size_t expected_size = s0.size_bytes();
  108|       |      const bool correct_size =
  109|       |         ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...);
  110|       |
  111|       |      if(!correct_size) {
  112|       |         memory_region_size_violation();
  113|       |      }
  114|       |   }
  115|  2.06M|}
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIjLm1EEEEEmRKT_:
   59|  2.06M|inline constexpr size_t size_bytes(const spanable_range auto& r) {
   60|  2.06M|   return std::span{r}.size_bytes();
   61|  2.06M|}
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEETpTkNS0_14spanable_rangeEJNS3_IKjLm18446744073709551615EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E:
  100|  16.5k|{
  101|  16.5k|   const std::span s0{r0};
  102|       |
  103|       |   if constexpr(statically_spanable_range<R0>) {
  104|       |      constexpr size_t expected_size = s0.size_bytes();
  105|       |      (assert_exact_byte_length<expected_size>(rs), ...);
  106|  16.5k|   } else {
  107|  16.5k|      const size_t expected_size = s0.size_bytes();
  108|  16.5k|      const bool correct_size =
  109|  16.5k|         ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...);
  110|       |
  111|  16.5k|      if(!correct_size) {
  ------------------
  |  Branch (111:10): [True: 0, False: 16.5k]
  ------------------
  112|      0|         memory_region_size_violation();
  113|      0|      }
  114|  16.5k|   }
  115|  16.5k|}
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIhLm18446744073709551615EEEEEmRKT_:
   59|  3.73k|inline constexpr size_t size_bytes(const spanable_range auto& r) {
   60|  3.73k|   return std::span{r}.size_bytes();
   61|  3.73k|}
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__14spanIjLm18446744073709551615EEEEEmRKT_:
   59|  2.05M|inline constexpr size_t size_bytes(const spanable_range auto& r) {
   60|  2.05M|   return std::span{r}.size_bytes();
   61|  2.05M|}
_ZN5Botan6ranges25assert_equal_byte_lengthsITkNS0_14spanable_rangeENSt3__15arrayIjLm16EEETpTkNS0_14spanable_rangeEJNS2_4spanIKhLm64EEEEEEvRKT_DpRKT0_QgtsZT0_Li0E:
  100|   143k|{
  101|   143k|   const std::span s0{r0};
  102|       |
  103|   143k|   if constexpr(statically_spanable_range<R0>) {
  104|   143k|      constexpr size_t expected_size = s0.size_bytes();
  105|   143k|      (assert_exact_byte_length<expected_size>(rs), ...);
  106|       |   } else {
  107|       |      const size_t expected_size = s0.size_bytes();
  108|       |      const bool correct_size =
  109|       |         ((std::span<const std::ranges::range_value_t<Rs>>{rs}.size_bytes() == expected_size) && ...);
  110|       |
  111|       |      if(!correct_size) {
  112|       |         memory_region_size_violation();
  113|       |      }
  114|       |   }
  115|   143k|}
_ZN5Botan6ranges24assert_exact_byte_lengthILm64ETkNS0_14spanable_rangeENSt3__14spanIKhLm64EEEEEvRKT0_:
   77|   143k|inline constexpr void assert_exact_byte_length(const R& r) {
   78|   143k|   const std::span s{r};
   79|   143k|   if constexpr(statically_spanable_range<R>) {
   80|   143k|      static_assert(s.size_bytes() == expected, "memory region does not have expected byte lengths");
   81|       |   } else {
   82|       |      if(s.size_bytes() != expected) {
   83|       |         memory_region_size_violation();
   84|       |      }
   85|       |   }
   86|   143k|}
_ZN5Botan6ranges10size_bytesITkNS0_14spanable_rangeENSt3__15arrayIjLm16EEEEEmRKT_:
   59|  7.22k|inline constexpr size_t size_bytes(const spanable_range auto& r) {
   60|  7.22k|   return std::span{r}.size_bytes();
   61|  7.22k|}

_ZN5Botan16secure_allocatorIjE8allocateEm:
   95|  12.7k|      T* allocate(std::size_t n) { return static_cast<T*>(allocate_memory(n, sizeof(T))); }
_ZN5Botan16secure_allocatorIjE10deallocateEPjm:
  102|  12.7k|      void deallocate(T* p, std::size_t n) { deallocate_memory(p, n, sizeof(T)); }

_ZN5Botan18unwrap_strong_typeIRjEEDcOT_:
  328|  72.4k|[[nodiscard]] constexpr decltype(auto) unwrap_strong_type(T&& t) {
  329|  72.4k|   if constexpr(!concepts::strong_type<std::remove_cvref_t<T>>) {
  330|       |      // If the parameter type isn't a strong type, return it as is.
  331|  72.4k|      return std::forward<T>(t);
  332|       |   } else {
  333|       |      // Unwrap the strong type and return the underlying value.
  334|       |      return std::forward<T>(t).get();
  335|       |   }
  336|  72.4k|}
_ZN5Botan18unwrap_strong_typeIRmEEDcOT_:
  328|  12.7k|[[nodiscard]] constexpr decltype(auto) unwrap_strong_type(T&& t) {
  329|  12.7k|   if constexpr(!concepts::strong_type<std::remove_cvref_t<T>>) {
  330|       |      // If the parameter type isn't a strong type, return it as is.
  331|  12.7k|      return std::forward<T>(t);
  332|       |   } else {
  333|       |      // Unwrap the strong type and return the underlying value.
  334|       |      return std::forward<T>(t).get();
  335|       |   }
  336|  12.7k|}
_ZN5Botan16wrap_strong_typeIjRjQoosr3stdE18constructible_fromIT_T0_Eaasr8conceptsE11strong_typeIS2_Esr3stdE18constructible_fromINS2_12wrapped_typeES3_EEEDcOS3_:
  353|  2.06M|[[nodiscard]] constexpr decltype(auto) wrap_strong_type(ParamT&& t) {
  354|  2.06M|   if constexpr(std::same_as<std::remove_cvref_t<ParamT>, T>) {
  355|       |      // Noop, if the parameter type already is the desired return type.
  356|  2.06M|      return std::forward<ParamT>(t);
  357|       |   } else if constexpr(std::constructible_from<T, ParamT>) {
  358|       |      // Implicit conversion from the parameter type to the return type.
  359|       |      return T{std::forward<ParamT>(t)};
  360|       |   } else {
  361|       |      // Explicitly calling the wrapped type's constructor to support
  362|       |      // implicit conversions on types that mark their constructors as explicit.
  363|       |      static_assert(concepts::strong_type<T> && std::constructible_from<typename T::wrapped_type, ParamT>);
  364|       |      return T{typename T::wrapped_type{std::forward<ParamT>(t)}};
  365|       |   }
  366|  2.06M|}

_ZN5Botan10hex_encodeEPcPKhmb:
   34|  2.30M|void hex_encode(char output[], const uint8_t input[], size_t input_length, bool uppercase) {
   35|   267M|   for(size_t i = 0; i != input_length; ++i) {
  ------------------
  |  Branch (35:22): [True: 265M, False: 2.30M]
  ------------------
   36|   265M|      const uint16_t h = hex_encode_2nibble(input[i], uppercase);
   37|   265M|      output[2 * i] = get_byte<0>(h);
   38|   265M|      output[2 * i + 1] = get_byte<1>(h);
   39|   265M|   }
   40|  2.30M|}
hex.cpp:_ZN5Botan12_GLOBAL__N_118hex_encode_2nibbleEhb:
   21|   265M|uint16_t hex_encode_2nibble(uint8_t n8, bool uppercase) {
   22|       |   // Offset for upper or lower case 'a' resp
   23|   265M|   const uint16_t a_mask = uppercase ? 0x0707 : 0x2727;
  ------------------
  |  Branch (23:28): [True: 0, False: 265M]
  ------------------
   24|       |
   25|   265M|   const uint16_t n = (static_cast<uint16_t>(n8 & 0xF0) << 4) | (n8 & 0x0F);
   26|       |   // n >= 10? If so add offset
   27|   265M|   const uint16_t diff = swar_lt<uint16_t>(0x0909, n) & a_mask;
   28|       |   // Can't overflow between bytes, so don't need explicit SWAR addition:
   29|   265M|   return n + 0x3030 + diff;
   30|   265M|}

_ZN9Botan_FFI24ffi_clear_last_exceptionEv:
   85|  2.57M|void ffi_clear_last_exception() {
   86|  2.57M|   g_last_exception_what.clear();
   87|  2.57M|}
botan_scrub_mem:
  340|  4.34M|int botan_scrub_mem(void* mem, size_t bytes) {
  341|  4.34M|   if(bytes > 0 && mem == nullptr) {
  ------------------
  |  Branch (341:7): [True: 4.14M, False: 194k]
  |  Branch (341:20): [True: 0, False: 4.14M]
  ------------------
  342|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
  343|      0|   }
  344|  4.34M|   Botan::secure_scrub_memory(mem, bytes);
  345|  4.34M|   return BOTAN_FFI_SUCCESS;
  346|  4.34M|}
botan_hex_encode:
  348|  2.30M|int botan_hex_encode(const uint8_t* in, size_t len, char* out, uint32_t flags) {
  349|  2.30M|   if(len > 0 && (in == nullptr || out == nullptr)) {
  ------------------
  |  Branch (349:7): [True: 2.30M, False: 6.08k]
  |  Branch (349:19): [True: 0, False: 2.30M]
  |  Branch (349:36): [True: 0, False: 2.30M]
  ------------------
  350|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
  351|      0|   }
  352|  2.30M|   return ffi_guard_thunk(__func__, [=]() -> int {
  353|  2.30M|      const bool uppercase = (flags & BOTAN_FFI_HEX_LOWER_CASE) == 0;
  354|  2.30M|      Botan::hex_encode(out, in, len, uppercase);
  355|  2.30M|      return BOTAN_FFI_SUCCESS;
  356|  2.30M|   });
  357|  2.30M|}
ffi.cpp:_ZZ16botan_hex_encodeENK3$_0clEv:
  352|  2.30M|   return ffi_guard_thunk(__func__, [=]() -> int {
  353|  2.30M|      const bool uppercase = (flags & BOTAN_FFI_HEX_LOWER_CASE) == 0;
  ------------------
  |  |  247|  2.30M|#define BOTAN_FFI_HEX_LOWER_CASE 1
  ------------------
  354|  2.30M|      Botan::hex_encode(out, in, len, uppercase);
  355|  2.30M|      return BOTAN_FFI_SUCCESS;
  356|  2.30M|   });

botan_hash_init:
   18|  44.8k|int botan_hash_init(botan_hash_t* hash, const char* hash_name, uint32_t flags) {
   19|  44.8k|   return ffi_guard_thunk(__func__, [=]() -> int {
   20|  44.8k|      if(hash == nullptr || hash_name == nullptr || *hash_name == 0) {
   21|  44.8k|         return BOTAN_FFI_ERROR_NULL_POINTER;
   22|  44.8k|      }
   23|  44.8k|      if(flags != 0) {
   24|  44.8k|         return BOTAN_FFI_ERROR_BAD_FLAG;
   25|  44.8k|      }
   26|       |
   27|  44.8k|      auto h = Botan::HashFunction::create(hash_name);
   28|  44.8k|      if(h == nullptr) {
   29|  44.8k|         return BOTAN_FFI_ERROR_NOT_IMPLEMENTED;
   30|  44.8k|      }
   31|       |
   32|  44.8k|      ffi_new_object(hash, std::move(h));
   33|  44.8k|      return BOTAN_FFI_SUCCESS;
   34|  44.8k|   });
   35|  44.8k|}
botan_hash_destroy:
   37|  44.8k|int botan_hash_destroy(botan_hash_t hash) {
   38|  44.8k|   return BOTAN_FFI_CHECKED_DELETE(hash);
  ------------------
  |  |  188|  44.8k|#define BOTAN_FFI_CHECKED_DELETE(o) ffi_delete_object(o, __func__)
  ------------------
   39|  44.8k|}
botan_hash_output_length:
   41|  44.8k|int botan_hash_output_length(botan_hash_t hash, size_t* out) {
   42|  44.8k|   if(out == nullptr) {
  ------------------
  |  Branch (42:7): [True: 0, False: 44.8k]
  ------------------
   43|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
   44|      0|   }
   45|  44.8k|   return BOTAN_FFI_VISIT(hash, [=](const auto& h) { *out = h.output_length(); });
  ------------------
  |  |  158|  44.8k|#define BOTAN_FFI_VISIT(obj, lambda) botan_ffi_visit(obj, lambda, __func__)
  ------------------
   46|  44.8k|}
botan_hash_update:
   66|  98.7k|int botan_hash_update(botan_hash_t hash, const uint8_t* buf, size_t len) {
   67|  98.7k|   if(len == 0) {
  ------------------
  |  Branch (67:7): [True: 10.1k, False: 88.5k]
  ------------------
   68|  10.1k|      return 0;
   69|  10.1k|   }
   70|       |
   71|  88.5k|   if(buf == nullptr) {
  ------------------
  |  Branch (71:7): [True: 0, False: 88.5k]
  ------------------
   72|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
   73|      0|   }
   74|       |
   75|  88.5k|   return BOTAN_FFI_VISIT(hash, [=](auto& h) { h.update(buf, len); });
  ------------------
  |  |  158|  88.5k|#define BOTAN_FFI_VISIT(obj, lambda) botan_ffi_visit(obj, lambda, __func__)
  ------------------
   76|  88.5k|}
botan_hash_final:
   78|  42.8k|int botan_hash_final(botan_hash_t hash, uint8_t out[]) {
   79|  42.8k|   if(out == nullptr) {
  ------------------
  |  Branch (79:7): [True: 0, False: 42.8k]
  ------------------
   80|      0|      return BOTAN_FFI_ERROR_NULL_POINTER;
   81|      0|   }
   82|  42.8k|   return BOTAN_FFI_VISIT(hash, [=](auto& h) { h.final(out); });
  ------------------
  |  |  158|  42.8k|#define BOTAN_FFI_VISIT(obj, lambda) botan_ffi_visit(obj, lambda, __func__)
  ------------------
   83|  42.8k|}
ffi_hash.cpp:_ZZ15botan_hash_initENK3$_0clEv:
   19|  44.8k|   return ffi_guard_thunk(__func__, [=]() -> int {
   20|  44.8k|      if(hash == nullptr || hash_name == nullptr || *hash_name == 0) {
  ------------------
  |  Branch (20:10): [True: 0, False: 44.8k]
  |  Branch (20:29): [True: 0, False: 44.8k]
  |  Branch (20:53): [True: 0, False: 44.8k]
  ------------------
   21|      0|         return BOTAN_FFI_ERROR_NULL_POINTER;
   22|      0|      }
   23|  44.8k|      if(flags != 0) {
  ------------------
  |  Branch (23:10): [True: 0, False: 44.8k]
  ------------------
   24|      0|         return BOTAN_FFI_ERROR_BAD_FLAG;
   25|      0|      }
   26|       |
   27|  44.8k|      auto h = Botan::HashFunction::create(hash_name);
   28|  44.8k|      if(h == nullptr) {
  ------------------
  |  Branch (28:10): [True: 0, False: 44.8k]
  ------------------
   29|      0|         return BOTAN_FFI_ERROR_NOT_IMPLEMENTED;
   30|      0|      }
   31|       |
   32|  44.8k|      ffi_new_object(hash, std::move(h));
   33|  44.8k|      return BOTAN_FFI_SUCCESS;
   34|  44.8k|   });

_ZN5Botan5CRC248add_dataENSt3__14spanIKhLm18446744073709551615EEE:
   85|  51.3k|void CRC24::add_data(std::span<const uint8_t> input) {
   86|  51.3k|   uint32_t tmp = m_crc;
   87|       |
   88|       |   // Input is word aligned if WA & input == 0
   89|  51.3k|   static const uint8_t WA = sizeof(size_t) - 1;
   90|       |
   91|       |   // Ensure input is word aligned before processing in parallel
   92|  52.6k|   for(; !input.empty() && (reinterpret_cast<uintptr_t>(input.data()) & WA) > 0; input = input.last(input.size() - 1)) {
  ------------------
  |  Branch (92:10): [True: 52.0k, False: 544]
  |  Branch (92:28): [True: 1.30k, False: 50.7k]
  ------------------
   93|  1.30k|      tmp = process8(tmp, input.front());
   94|  1.30k|   }
   95|       |
   96|  2.10M|   while(input.size() >= 16) {
  ------------------
  |  Branch (96:10): [True: 2.05M, False: 51.3k]
  ------------------
   97|  2.05M|      uint32_t d[4];
   98|  2.05M|      load_le(d, input.data(), 4);
   99|  2.05M|      tmp = process32(tmp, d[0]);
  100|  2.05M|      tmp = process32(tmp, d[1]);
  101|  2.05M|      tmp = process32(tmp, d[2]);
  102|  2.05M|      tmp = process32(tmp, d[3]);
  103|       |
  104|  2.05M|      input = input.last(input.size() - 16);
  105|  2.05M|   }
  106|       |
  107|   467k|   for(; !input.empty(); input = input.last(input.size() - 1)) {
  ------------------
  |  Branch (107:10): [True: 416k, False: 51.3k]
  ------------------
  108|   416k|      tmp = process8(tmp, input.front());
  109|   416k|   }
  110|       |
  111|  51.3k|   m_crc = tmp;
  112|  51.3k|}
_ZN5Botan5CRC2412final_resultENSt3__14spanIhLm18446744073709551615EEE:
  117|  30.0k|void CRC24::final_result(std::span<uint8_t> output) {
  118|  30.0k|   output[0] = get_byte<3>(m_crc);
  119|  30.0k|   output[1] = get_byte<2>(m_crc);
  120|  30.0k|   output[2] = get_byte<1>(m_crc);
  121|  30.0k|   clear();
  122|  30.0k|}
crc24.cpp:_ZN5Botan12_GLOBAL__N_18process8Ejh:
   59|   417k|inline uint32_t process8(uint32_t crc, uint8_t data) {
   60|   417k|   return (crc >> 8) ^ CRC24_T0[get_byte<3>(crc) ^ data];
   61|   417k|}
crc24.cpp:_ZN5Botan12_GLOBAL__N_19process32Ejj:
   63|  8.22M|inline uint32_t process32(uint32_t crc, uint32_t word) {
   64|  8.22M|   const uint32_t sum = crc ^ word;
   65|       |
   66|  8.22M|   return CRC24_T3[get_byte<3>(sum)] ^ CRC24_T2[get_byte<2>(sum)] ^ CRC24_T1[get_byte<1>(sum)] ^
   67|  8.22M|          CRC24_T0[get_byte<0>(sum)];
   68|  8.22M|}

_ZN5Botan12HashFunction6createENSt3__117basic_string_viewIcNS1_11char_traitsIcEEEES5_:
  111|  44.8k|std::unique_ptr<HashFunction> HashFunction::create(std::string_view algo_spec, std::string_view provider) {
  112|       |#if defined(BOTAN_HAS_COMMONCRYPTO)
  113|       |   if(provider.empty() || provider == "commoncrypto") {
  114|       |      if(auto hash = make_commoncrypto_hash(algo_spec))
  115|       |         return hash;
  116|       |
  117|       |      if(!provider.empty())
  118|       |         return nullptr;
  119|       |   }
  120|       |#endif
  121|       |
  122|  44.8k|   if(provider.empty() == false && provider != "base") {
  ------------------
  |  Branch (122:7): [True: 0, False: 44.8k]
  |  Branch (122:36): [True: 0, False: 0]
  ------------------
  123|      0|      return nullptr;  // unknown provider
  124|      0|   }
  125|       |
  126|  44.8k|#if defined(BOTAN_HAS_SHA1)
  127|  44.8k|   if(algo_spec == "SHA-1") {
  ------------------
  |  Branch (127:7): [True: 0, False: 44.8k]
  ------------------
  128|      0|      return std::make_unique<SHA_1>();
  129|      0|   }
  130|  44.8k|#endif
  131|       |
  132|  44.8k|#if defined(BOTAN_HAS_SHA2_32)
  133|  44.8k|   if(algo_spec == "SHA-224") {
  ------------------
  |  Branch (133:7): [True: 0, False: 44.8k]
  ------------------
  134|      0|      return std::make_unique<SHA_224>();
  135|      0|   }
  136|       |
  137|  44.8k|   if(algo_spec == "SHA-256") {
  ------------------
  |  Branch (137:7): [True: 9.05k, False: 35.7k]
  ------------------
  138|  9.05k|      return std::make_unique<SHA_256>();
  139|  9.05k|   }
  140|  35.7k|#endif
  141|       |
  142|  35.7k|#if defined(BOTAN_HAS_SHA2_64)
  143|  35.7k|   if(algo_spec == "SHA-384") {
  ------------------
  |  Branch (143:7): [True: 0, False: 35.7k]
  ------------------
  144|      0|      return std::make_unique<SHA_384>();
  145|      0|   }
  146|       |
  147|  35.7k|   if(algo_spec == "SHA-512") {
  ------------------
  |  Branch (147:7): [True: 0, False: 35.7k]
  ------------------
  148|      0|      return std::make_unique<SHA_512>();
  149|      0|   }
  150|       |
  151|  35.7k|   if(algo_spec == "SHA-512-256") {
  ------------------
  |  Branch (151:7): [True: 0, False: 35.7k]
  ------------------
  152|      0|      return std::make_unique<SHA_512_256>();
  153|      0|   }
  154|  35.7k|#endif
  155|       |
  156|  35.7k|#if defined(BOTAN_HAS_RIPEMD_160)
  157|  35.7k|   if(algo_spec == "RIPEMD-160") {
  ------------------
  |  Branch (157:7): [True: 0, False: 35.7k]
  ------------------
  158|      0|      return std::make_unique<RIPEMD_160>();
  159|      0|   }
  160|  35.7k|#endif
  161|       |
  162|       |#if defined(BOTAN_HAS_WHIRLPOOL)
  163|       |   if(algo_spec == "Whirlpool") {
  164|       |      return std::make_unique<Whirlpool>();
  165|       |   }
  166|       |#endif
  167|       |
  168|  35.7k|#if defined(BOTAN_HAS_MD5)
  169|  35.7k|   if(algo_spec == "MD5") {
  ------------------
  |  Branch (169:7): [True: 3.73k, False: 32.0k]
  ------------------
  170|  3.73k|      return std::make_unique<MD5>();
  171|  3.73k|   }
  172|  32.0k|#endif
  173|       |
  174|       |#if defined(BOTAN_HAS_MD4)
  175|       |   if(algo_spec == "MD4") {
  176|       |      return std::make_unique<MD4>();
  177|       |   }
  178|       |#endif
  179|       |
  180|       |#if defined(BOTAN_HAS_GOST_34_11)
  181|       |   if(algo_spec == "GOST-R-34.11-94" || algo_spec == "GOST-34.11") {
  182|       |      return std::make_unique<GOST_34_11>();
  183|       |   }
  184|       |#endif
  185|       |
  186|       |#if defined(BOTAN_HAS_ADLER32)
  187|       |   if(algo_spec == "Adler32") {
  188|       |      return std::make_unique<Adler32>();
  189|       |   }
  190|       |#endif
  191|       |
  192|       |#if defined(BOTAN_HAS_ASCON_HASH256)
  193|       |   if(algo_spec == "Ascon-Hash256") {
  194|       |      return std::make_unique<Ascon_Hash256>();
  195|       |   }
  196|       |#endif
  197|       |
  198|  32.0k|#if defined(BOTAN_HAS_CRC24)
  199|  32.0k|   if(algo_spec == "CRC24") {
  ------------------
  |  Branch (199:7): [True: 32.0k, False: 0]
  ------------------
  200|  32.0k|      return std::make_unique<CRC24>();
  201|  32.0k|   }
  202|      0|#endif
  203|       |
  204|       |#if defined(BOTAN_HAS_CRC32)
  205|       |   if(algo_spec == "CRC32") {
  206|       |      return std::make_unique<CRC32>();
  207|       |   }
  208|       |#endif
  209|       |
  210|       |#if defined(BOTAN_HAS_STREEBOG)
  211|       |   if(algo_spec == "Streebog-256") {
  212|       |      return std::make_unique<Streebog>(256);
  213|       |   }
  214|       |   if(algo_spec == "Streebog-512") {
  215|       |      return std::make_unique<Streebog>(512);
  216|       |   }
  217|       |#endif
  218|       |
  219|      0|#if defined(BOTAN_HAS_SM3)
  220|      0|   if(algo_spec == "SM3") {
  ------------------
  |  Branch (220:7): [True: 0, False: 0]
  ------------------
  221|      0|      return std::make_unique<SM3>();
  222|      0|   }
  223|      0|#endif
  224|       |
  225|      0|   const SCAN_Name req(algo_spec);
  226|       |
  227|       |#if defined(BOTAN_HAS_SKEIN_512)
  228|       |   if(req.algo_name() == "Skein-512") {
  229|       |      return std::make_unique<Skein_512>(req.arg_as_integer(0, 512), req.arg(1, ""));
  230|       |   }
  231|       |#endif
  232|       |
  233|      0|#if defined(BOTAN_HAS_BLAKE2B)
  234|      0|   if(req.algo_name() == "Blake2b" || req.algo_name() == "BLAKE2b") {
  ------------------
  |  Branch (234:7): [True: 0, False: 0]
  |  Branch (234:39): [True: 0, False: 0]
  ------------------
  235|      0|      return std::make_unique<BLAKE2b>(req.arg_as_integer(0, 512));
  236|      0|   }
  237|      0|#endif
  238|       |
  239|       |#if defined(BOTAN_HAS_BLAKE2S)
  240|       |   if(req.algo_name() == "Blake2s" || req.algo_name() == "BLAKE2s") {
  241|       |      return std::make_unique<BLAKE2s>(req.arg_as_integer(0, 256));
  242|       |   }
  243|       |#endif
  244|       |
  245|       |#if defined(BOTAN_HAS_KECCAK)
  246|       |   if(req.algo_name() == "Keccak-1600") {
  247|       |      return std::make_unique<Keccak_1600>(req.arg_as_integer(0, 512));
  248|       |   }
  249|       |#endif
  250|       |
  251|      0|#if defined(BOTAN_HAS_SHA3)
  252|      0|   if(req.algo_name() == "SHA-3") {
  ------------------
  |  Branch (252:7): [True: 0, False: 0]
  ------------------
  253|      0|      return std::make_unique<SHA_3>(req.arg_as_integer(0, 512));
  254|      0|   }
  255|      0|#endif
  256|       |
  257|      0|#if defined(BOTAN_HAS_SHAKE)
  258|      0|   if(req.algo_name() == "SHAKE-128" && req.arg_count() == 1) {
  ------------------
  |  Branch (258:7): [True: 0, False: 0]
  |  Branch (258:41): [True: 0, False: 0]
  ------------------
  259|      0|      return std::make_unique<SHAKE_128>(req.arg_as_integer(0));
  260|      0|   }
  261|      0|   if(req.algo_name() == "SHAKE-256" && req.arg_count() == 1) {
  ------------------
  |  Branch (261:7): [True: 0, False: 0]
  |  Branch (261:41): [True: 0, False: 0]
  ------------------
  262|      0|      return std::make_unique<SHAKE_256>(req.arg_as_integer(0));
  263|      0|   }
  264|      0|#endif
  265|       |
  266|       |#if defined(BOTAN_HAS_PARALLEL_HASH)
  267|       |   if(req.algo_name() == "Parallel") {
  268|       |      std::vector<std::unique_ptr<HashFunction>> hashes;
  269|       |
  270|       |      for(size_t i = 0; i != req.arg_count(); ++i) {
  271|       |         auto h = HashFunction::create(req.arg(i));
  272|       |         if(!h) {
  273|       |            return nullptr;
  274|       |         }
  275|       |         hashes.push_back(std::move(h));
  276|       |      }
  277|       |
  278|       |      return std::make_unique<Parallel>(hashes);
  279|       |   }
  280|       |#endif
  281|       |
  282|      0|#if defined(BOTAN_HAS_TRUNCATED_HASH)
  283|      0|   if(req.algo_name() == "Truncated" && req.arg_count() == 2) {
  ------------------
  |  Branch (283:7): [True: 0, False: 0]
  |  Branch (283:41): [True: 0, False: 0]
  ------------------
  284|      0|      auto hash = HashFunction::create(req.arg(0));
  285|      0|      if(!hash) {
  ------------------
  |  Branch (285:10): [True: 0, False: 0]
  ------------------
  286|      0|         return nullptr;
  287|      0|      }
  288|       |
  289|      0|      return std::make_unique<Truncated_Hash>(std::move(hash), req.arg_as_integer(1));
  290|      0|   }
  291|      0|#endif
  292|       |
  293|       |#if defined(BOTAN_HAS_COMB4P)
  294|       |   if(req.algo_name() == "Comb4P" && req.arg_count() == 2) {
  295|       |      auto h1 = HashFunction::create(req.arg(0));
  296|       |      auto h2 = HashFunction::create(req.arg(1));
  297|       |
  298|       |      if(h1 && h2) {
  299|       |         return std::make_unique<Comb4P>(std::move(h1), std::move(h2));
  300|       |      }
  301|       |   }
  302|       |#endif
  303|       |
  304|      0|   return nullptr;
  305|      0|}

_ZN5Botan3MD510compress_nERNSt3__16vectorIjNS_16secure_allocatorIjEEEENS1_4spanIKhLm18446744073709551615EEEm:
   62|  6.14k|void MD5::compress_n(MD5::digest_type& digest, std::span<const uint8_t> input, size_t blocks) {
   63|  6.14k|   uint32_t A = digest[0];
   64|  6.14k|   uint32_t B = digest[1];
   65|  6.14k|   uint32_t C = digest[2];
   66|  6.14k|   uint32_t D = digest[3];
   67|  6.14k|   std::array<uint32_t, 16> M{};
   68|       |
   69|  6.14k|   BufferSlicer in(input);
   70|       |
   71|  13.3k|   for(size_t i = 0; i != blocks; ++i) {
  ------------------
  |  Branch (71:22): [True: 7.22k, False: 6.14k]
  ------------------
   72|  7.22k|      load_le(M, in.take<block_bytes>());
   73|       |
   74|       |      // clang-format off
   75|       |
   76|  7.22k|      FF< 7>(A, B, C, D, M[ 0] + 0xD76AA478);
   77|  7.22k|      FF<12>(D, A, B, C, M[ 1] + 0xE8C7B756);
   78|  7.22k|      FF<17>(C, D, A, B, M[ 2] + 0x242070DB);
   79|  7.22k|      FF<22>(B, C, D, A, M[ 3] + 0xC1BDCEEE);
   80|  7.22k|      FF< 7>(A, B, C, D, M[ 4] + 0xF57C0FAF);
   81|  7.22k|      FF<12>(D, A, B, C, M[ 5] + 0x4787C62A);
   82|  7.22k|      FF<17>(C, D, A, B, M[ 6] + 0xA8304613);
   83|  7.22k|      FF<22>(B, C, D, A, M[ 7] + 0xFD469501);
   84|  7.22k|      FF< 7>(A, B, C, D, M[ 8] + 0x698098D8);
   85|  7.22k|      FF<12>(D, A, B, C, M[ 9] + 0x8B44F7AF);
   86|  7.22k|      FF<17>(C, D, A, B, M[10] + 0xFFFF5BB1);
   87|  7.22k|      FF<22>(B, C, D, A, M[11] + 0x895CD7BE);
   88|  7.22k|      FF< 7>(A, B, C, D, M[12] + 0x6B901122);
   89|  7.22k|      FF<12>(D, A, B, C, M[13] + 0xFD987193);
   90|  7.22k|      FF<17>(C, D, A, B, M[14] + 0xA679438E);
   91|  7.22k|      FF<22>(B, C, D, A, M[15] + 0x49B40821);
   92|       |
   93|  7.22k|      GG< 5>(A, B, C, D, M[ 1] + 0xF61E2562);
   94|  7.22k|      GG< 9>(D, A, B, C, M[ 6] + 0xC040B340);
   95|  7.22k|      GG<14>(C, D, A, B, M[11] + 0x265E5A51);
   96|  7.22k|      GG<20>(B, C, D, A, M[ 0] + 0xE9B6C7AA);
   97|  7.22k|      GG< 5>(A, B, C, D, M[ 5] + 0xD62F105D);
   98|  7.22k|      GG< 9>(D, A, B, C, M[10] + 0x02441453);
   99|  7.22k|      GG<14>(C, D, A, B, M[15] + 0xD8A1E681);
  100|  7.22k|      GG<20>(B, C, D, A, M[ 4] + 0xE7D3FBC8);
  101|  7.22k|      GG< 5>(A, B, C, D, M[ 9] + 0x21E1CDE6);
  102|  7.22k|      GG< 9>(D, A, B, C, M[14] + 0xC33707D6);
  103|  7.22k|      GG<14>(C, D, A, B, M[ 3] + 0xF4D50D87);
  104|  7.22k|      GG<20>(B, C, D, A, M[ 8] + 0x455A14ED);
  105|  7.22k|      GG< 5>(A, B, C, D, M[13] + 0xA9E3E905);
  106|  7.22k|      GG< 9>(D, A, B, C, M[ 2] + 0xFCEFA3F8);
  107|  7.22k|      GG<14>(C, D, A, B, M[ 7] + 0x676F02D9);
  108|  7.22k|      GG<20>(B, C, D, A, M[12] + 0x8D2A4C8A);
  109|       |
  110|  7.22k|      HH< 4>(A, B, C, D, M[ 5] + 0xFFFA3942);
  111|  7.22k|      HH<11>(D, A, B, C, M[ 8] + 0x8771F681);
  112|  7.22k|      HH<16>(C, D, A, B, M[11] + 0x6D9D6122);
  113|  7.22k|      HH<23>(B, C, D, A, M[14] + 0xFDE5380C);
  114|  7.22k|      HH< 4>(A, B, C, D, M[ 1] + 0xA4BEEA44);
  115|  7.22k|      HH<11>(D, A, B, C, M[ 4] + 0x4BDECFA9);
  116|  7.22k|      HH<16>(C, D, A, B, M[ 7] + 0xF6BB4B60);
  117|  7.22k|      HH<23>(B, C, D, A, M[10] + 0xBEBFBC70);
  118|  7.22k|      HH< 4>(A, B, C, D, M[13] + 0x289B7EC6);
  119|  7.22k|      HH<11>(D, A, B, C, M[ 0] + 0xEAA127FA);
  120|  7.22k|      HH<16>(C, D, A, B, M[ 3] + 0xD4EF3085);
  121|  7.22k|      HH<23>(B, C, D, A, M[ 6] + 0x04881D05);
  122|  7.22k|      HH< 4>(A, B, C, D, M[ 9] + 0xD9D4D039);
  123|  7.22k|      HH<11>(D, A, B, C, M[12] + 0xE6DB99E5);
  124|  7.22k|      HH<16>(C, D, A, B, M[15] + 0x1FA27CF8);
  125|  7.22k|      HH<23>(B, C, D, A, M[ 2] + 0xC4AC5665);
  126|       |
  127|  7.22k|      II< 6>(A, B, C, D, M[ 0] + 0xF4292244);
  128|  7.22k|      II<10>(D, A, B, C, M[ 7] + 0x432AFF97);
  129|  7.22k|      II<15>(C, D, A, B, M[14] + 0xAB9423A7);
  130|  7.22k|      II<21>(B, C, D, A, M[ 5] + 0xFC93A039);
  131|  7.22k|      II< 6>(A, B, C, D, M[12] + 0x655B59C3);
  132|  7.22k|      II<10>(D, A, B, C, M[ 3] + 0x8F0CCC92);
  133|  7.22k|      II<15>(C, D, A, B, M[10] + 0xFFEFF47D);
  134|  7.22k|      II<21>(B, C, D, A, M[ 1] + 0x85845DD1);
  135|  7.22k|      II< 6>(A, B, C, D, M[ 8] + 0x6FA87E4F);
  136|  7.22k|      II<10>(D, A, B, C, M[15] + 0xFE2CE6E0);
  137|  7.22k|      II<15>(C, D, A, B, M[ 6] + 0xA3014314);
  138|  7.22k|      II<21>(B, C, D, A, M[13] + 0x4E0811A1);
  139|  7.22k|      II< 6>(A, B, C, D, M[ 4] + 0xF7537E82);
  140|  7.22k|      II<10>(D, A, B, C, M[11] + 0xBD3AF235);
  141|  7.22k|      II<15>(C, D, A, B, M[ 2] + 0x2AD7D2BB);
  142|  7.22k|      II<21>(B, C, D, A, M[ 9] + 0xEB86D391);
  143|       |
  144|       |      // clang-format off
  145|       |
  146|  7.22k|      A = (digest[0] += A);
  147|  7.22k|      B = (digest[1] += B);
  148|  7.22k|      C = (digest[2] += C);
  149|  7.22k|      D = (digest[3] += D);
  150|  7.22k|   }
  151|  6.14k|}
_ZN5Botan3MD54initERNSt3__16vectorIjNS_16secure_allocatorIjEEEE:
  153|  7.47k|void MD5::init(digest_type& digest) {
  154|  7.47k|   digest.assign({0x67452301, 0xEFCDAB89, 0x98BADCFE, 0x10325476});
  155|  7.47k|}
_ZN5Botan3MD58add_dataENSt3__14spanIKhLm18446744073709551615EEE:
  165|  19.1k|void MD5::add_data(std::span<const uint8_t> input) {
  166|  19.1k|   m_md.update(input);
  167|  19.1k|}
_ZN5Botan3MD512final_resultENSt3__14spanIhLm18446744073709551615EEE:
  169|  3.73k|void MD5::final_result(std::span<uint8_t> output) {
  170|  3.73k|   m_md.final(output);
  171|  3.73k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12FFILm7EEEvRjjjjj:
   24|  28.9k|inline void FF(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   25|  28.9k|   A += choose(B, C, D) + M;
   26|  28.9k|   A = rotl<S>(A) + B;
   27|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12FFILm12EEEvRjjjjj:
   24|  28.9k|inline void FF(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   25|  28.9k|   A += choose(B, C, D) + M;
   26|  28.9k|   A = rotl<S>(A) + B;
   27|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12FFILm17EEEvRjjjjj:
   24|  28.9k|inline void FF(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   25|  28.9k|   A += choose(B, C, D) + M;
   26|  28.9k|   A = rotl<S>(A) + B;
   27|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12FFILm22EEEvRjjjjj:
   24|  28.9k|inline void FF(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   25|  28.9k|   A += choose(B, C, D) + M;
   26|  28.9k|   A = rotl<S>(A) + B;
   27|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12GGILm5EEEvRjjjjj:
   33|  28.9k|inline void GG(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   34|  28.9k|   A += choose(D, B, C) + M;
   35|  28.9k|   A = rotl<S>(A) + B;
   36|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12GGILm9EEEvRjjjjj:
   33|  28.9k|inline void GG(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   34|  28.9k|   A += choose(D, B, C) + M;
   35|  28.9k|   A = rotl<S>(A) + B;
   36|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12GGILm14EEEvRjjjjj:
   33|  28.9k|inline void GG(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   34|  28.9k|   A += choose(D, B, C) + M;
   35|  28.9k|   A = rotl<S>(A) + B;
   36|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12GGILm20EEEvRjjjjj:
   33|  28.9k|inline void GG(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   34|  28.9k|   A += choose(D, B, C) + M;
   35|  28.9k|   A = rotl<S>(A) + B;
   36|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12HHILm4EEEvRjjjjj:
   42|  28.9k|inline void HH(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   43|  28.9k|   A += (B ^ C ^ D) + M;
   44|  28.9k|   A = rotl<S>(A) + B;
   45|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12HHILm11EEEvRjjjjj:
   42|  28.9k|inline void HH(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   43|  28.9k|   A += (B ^ C ^ D) + M;
   44|  28.9k|   A = rotl<S>(A) + B;
   45|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12HHILm16EEEvRjjjjj:
   42|  28.9k|inline void HH(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   43|  28.9k|   A += (B ^ C ^ D) + M;
   44|  28.9k|   A = rotl<S>(A) + B;
   45|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12HHILm23EEEvRjjjjj:
   42|  28.9k|inline void HH(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   43|  28.9k|   A += (B ^ C ^ D) + M;
   44|  28.9k|   A = rotl<S>(A) + B;
   45|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12IIILm6EEEvRjjjjj:
   51|  28.9k|inline void II(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   52|       |   // This expr is choose(D, B ^ C, ~C), but that is slower
   53|  28.9k|   A += (C ^ (B | ~D)) + M;
   54|  28.9k|   A = rotl<S>(A) + B;
   55|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12IIILm10EEEvRjjjjj:
   51|  28.9k|inline void II(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   52|       |   // This expr is choose(D, B ^ C, ~C), but that is slower
   53|  28.9k|   A += (C ^ (B | ~D)) + M;
   54|  28.9k|   A = rotl<S>(A) + B;
   55|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12IIILm15EEEvRjjjjj:
   51|  28.9k|inline void II(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   52|       |   // This expr is choose(D, B ^ C, ~C), but that is slower
   53|  28.9k|   A += (C ^ (B | ~D)) + M;
   54|  28.9k|   A = rotl<S>(A) + B;
   55|  28.9k|}
md5.cpp:_ZN5Botan12_GLOBAL__N_12IIILm21EEEvRjjjjj:
   51|  28.9k|inline void II(uint32_t& A, uint32_t B, uint32_t C, uint32_t D, uint32_t M) {
   52|       |   // This expr is choose(D, B ^ C, ~C), but that is slower
   53|  28.9k|   A += (C ^ (B | ~D)) + M;
   54|  28.9k|   A = rotl<S>(A) + B;
   55|  28.9k|}

_ZN5Botan7SHA_25615compress_digestERNSt3__16vectorIjNS_16secure_allocatorIjEEEENS1_4spanIKhLm18446744073709551615EEEm:
   59|  20.1k|                                                             size_t blocks) {
   60|       |#if defined(BOTAN_HAS_SHA2_32_X86)
   61|       |   if(CPUID::has(CPUID::Feature::SHA)) {
   62|       |      return SHA_256::compress_digest_x86(digest, input, blocks);
   63|       |   }
   64|       |#endif
   65|       |
   66|       |#if defined(BOTAN_HAS_SHA2_32_ARMV8)
   67|       |   if(CPUID::has(CPUID::Feature::SHA2)) {
   68|       |      return SHA_256::compress_digest_armv8(digest, input, blocks);
   69|       |   }
   70|       |#endif
   71|       |
   72|       |#if defined(BOTAN_HAS_SHA2_32_X86_AVX2)
   73|       |   if(CPUID::has(CPUID::Feature::AVX2, CPUID::Feature::BMI)) {
   74|       |      return SHA_256::compress_digest_x86_avx2(digest, input, blocks);
   75|       |   }
   76|       |#endif
   77|       |
   78|       |#if defined(BOTAN_HAS_SHA2_32_SIMD)
   79|       |   if(CPUID::has(CPUID::Feature::SIMD_4X32)) {
   80|       |      return SHA_256::compress_digest_x86_simd(digest, input, blocks);
   81|       |   }
   82|       |#endif
   83|       |
   84|  20.1k|   uint32_t A = digest[0];
   85|  20.1k|   uint32_t B = digest[1];
   86|  20.1k|   uint32_t C = digest[2];
   87|  20.1k|   uint32_t D = digest[3];
   88|  20.1k|   uint32_t E = digest[4];
   89|  20.1k|   uint32_t F = digest[5];
   90|  20.1k|   uint32_t G = digest[6];
   91|  20.1k|   uint32_t H = digest[7];
   92|       |
   93|  20.1k|   std::array<uint32_t, 16> W{};
   94|       |
   95|  20.1k|   BufferSlicer in(input);
   96|       |
   97|   149k|   for(size_t i = 0; i != blocks; ++i) {
  ------------------
  |  Branch (97:22): [True: 129k, False: 20.1k]
  ------------------
   98|   129k|      load_be(W, in.take<block_bytes>());
   99|       |
  100|       |      // clang-format off
  101|       |
  102|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 0], W[14], W[ 9], W[ 1], 0x428A2F98);
  103|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 1], W[15], W[10], W[ 2], 0x71374491);
  104|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[ 2], W[ 0], W[11], W[ 3], 0xB5C0FBCF);
  105|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[ 3], W[ 1], W[12], W[ 4], 0xE9B5DBA5);
  106|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[ 4], W[ 2], W[13], W[ 5], 0x3956C25B);
  107|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[ 5], W[ 3], W[14], W[ 6], 0x59F111F1);
  108|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[ 6], W[ 4], W[15], W[ 7], 0x923F82A4);
  109|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[ 7], W[ 5], W[ 0], W[ 8], 0xAB1C5ED5);
  110|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 8], W[ 6], W[ 1], W[ 9], 0xD807AA98);
  111|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 9], W[ 7], W[ 2], W[10], 0x12835B01);
  112|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[10], W[ 8], W[ 3], W[11], 0x243185BE);
  113|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[11], W[ 9], W[ 4], W[12], 0x550C7DC3);
  114|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[12], W[10], W[ 5], W[13], 0x72BE5D74);
  115|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[13], W[11], W[ 6], W[14], 0x80DEB1FE);
  116|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[14], W[12], W[ 7], W[15], 0x9BDC06A7);
  117|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[15], W[13], W[ 8], W[ 0], 0xC19BF174);
  118|       |
  119|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 0], W[14], W[ 9], W[ 1], 0xE49B69C1);
  120|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 1], W[15], W[10], W[ 2], 0xEFBE4786);
  121|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[ 2], W[ 0], W[11], W[ 3], 0x0FC19DC6);
  122|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[ 3], W[ 1], W[12], W[ 4], 0x240CA1CC);
  123|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[ 4], W[ 2], W[13], W[ 5], 0x2DE92C6F);
  124|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[ 5], W[ 3], W[14], W[ 6], 0x4A7484AA);
  125|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[ 6], W[ 4], W[15], W[ 7], 0x5CB0A9DC);
  126|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[ 7], W[ 5], W[ 0], W[ 8], 0x76F988DA);
  127|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 8], W[ 6], W[ 1], W[ 9], 0x983E5152);
  128|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 9], W[ 7], W[ 2], W[10], 0xA831C66D);
  129|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[10], W[ 8], W[ 3], W[11], 0xB00327C8);
  130|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[11], W[ 9], W[ 4], W[12], 0xBF597FC7);
  131|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[12], W[10], W[ 5], W[13], 0xC6E00BF3);
  132|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[13], W[11], W[ 6], W[14], 0xD5A79147);
  133|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[14], W[12], W[ 7], W[15], 0x06CA6351);
  134|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[15], W[13], W[ 8], W[ 0], 0x14292967);
  135|       |
  136|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 0], W[14], W[ 9], W[ 1], 0x27B70A85);
  137|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 1], W[15], W[10], W[ 2], 0x2E1B2138);
  138|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[ 2], W[ 0], W[11], W[ 3], 0x4D2C6DFC);
  139|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[ 3], W[ 1], W[12], W[ 4], 0x53380D13);
  140|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[ 4], W[ 2], W[13], W[ 5], 0x650A7354);
  141|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[ 5], W[ 3], W[14], W[ 6], 0x766A0ABB);
  142|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[ 6], W[ 4], W[15], W[ 7], 0x81C2C92E);
  143|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[ 7], W[ 5], W[ 0], W[ 8], 0x92722C85);
  144|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 8], W[ 6], W[ 1], W[ 9], 0xA2BFE8A1);
  145|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 9], W[ 7], W[ 2], W[10], 0xA81A664B);
  146|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[10], W[ 8], W[ 3], W[11], 0xC24B8B70);
  147|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[11], W[ 9], W[ 4], W[12], 0xC76C51A3);
  148|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[12], W[10], W[ 5], W[13], 0xD192E819);
  149|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[13], W[11], W[ 6], W[14], 0xD6990624);
  150|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[14], W[12], W[ 7], W[15], 0xF40E3585);
  151|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[15], W[13], W[ 8], W[ 0], 0x106AA070);
  152|       |
  153|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 0], W[14], W[ 9], W[ 1], 0x19A4C116);
  154|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 1], W[15], W[10], W[ 2], 0x1E376C08);
  155|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[ 2], W[ 0], W[11], W[ 3], 0x2748774C);
  156|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[ 3], W[ 1], W[12], W[ 4], 0x34B0BCB5);
  157|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[ 4], W[ 2], W[13], W[ 5], 0x391C0CB3);
  158|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[ 5], W[ 3], W[14], W[ 6], 0x4ED8AA4A);
  159|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[ 6], W[ 4], W[15], W[ 7], 0x5B9CCA4F);
  160|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[ 7], W[ 5], W[ 0], W[ 8], 0x682E6FF3);
  161|   129k|      SHA2_32_F(A, B, C, D, E, F, G, H, W[ 8], W[ 6], W[ 1], W[ 9], 0x748F82EE);
  162|   129k|      SHA2_32_F(H, A, B, C, D, E, F, G, W[ 9], W[ 7], W[ 2], W[10], 0x78A5636F);
  163|   129k|      SHA2_32_F(G, H, A, B, C, D, E, F, W[10], W[ 8], W[ 3], W[11], 0x84C87814);
  164|   129k|      SHA2_32_F(F, G, H, A, B, C, D, E, W[11], W[ 9], W[ 4], W[12], 0x8CC70208);
  165|   129k|      SHA2_32_F(E, F, G, H, A, B, C, D, W[12], W[10], W[ 5], W[13], 0x90BEFFFA);
  166|   129k|      SHA2_32_F(D, E, F, G, H, A, B, C, W[13], W[11], W[ 6], W[14], 0xA4506CEB);
  167|   129k|      SHA2_32_F(C, D, E, F, G, H, A, B, W[14], W[12], W[ 7], W[15], 0xBEF9A3F7);
  168|   129k|      SHA2_32_F(B, C, D, E, F, G, H, A, W[15], W[13], W[ 8], W[ 0], 0xC67178F2);
  169|       |
  170|       |      // clang-format on
  171|       |
  172|   129k|      A = (digest[0] += A);
  173|   129k|      B = (digest[1] += B);
  174|   129k|      C = (digest[2] += C);
  175|   129k|      D = (digest[3] += D);
  176|   129k|      E = (digest[4] += E);
  177|   129k|      F = (digest[5] += F);
  178|   129k|      G = (digest[6] += G);
  179|   129k|      H = (digest[7] += H);
  180|   129k|   }
  181|  20.1k|}
_ZN5Botan7SHA_25610compress_nERNSt3__16vectorIjNS_16secure_allocatorIjEEEENS1_4spanIKhLm18446744073709551615EEEm:
  215|  20.1k|void SHA_256::compress_n(digest_type& digest, std::span<const uint8_t> input, size_t blocks) {
  216|  20.1k|   SHA_256::compress_digest(digest, input, blocks);
  217|  20.1k|}
_ZN5Botan7SHA_2564initERNSt3__16vectorIjNS_16secure_allocatorIjEEEE:
  219|  18.1k|void SHA_256::init(digest_type& digest) {
  220|  18.1k|   digest.assign({0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19});
  221|  18.1k|}
_ZN5Botan7SHA_2568add_dataENSt3__14spanIKhLm18446744073709551615EEE:
  231|  18.1k|void SHA_256::add_data(std::span<const uint8_t> input) {
  232|  18.1k|   m_md.update(input);
  233|  18.1k|}
_ZN5Botan7SHA_25612final_resultENSt3__14spanIhLm18446744073709551615EEE:
  235|  9.05k|void SHA_256::final_result(std::span<uint8_t> output) {
  236|  9.05k|   m_md.final(output);
  237|  9.05k|}

_ZN5Botan15allocate_memoryEmm:
   21|  12.7k|BOTAN_MALLOC_FN void* allocate_memory(size_t elems, size_t elem_size) {
   22|  12.7k|   if(elems == 0 || elem_size == 0) {
  ------------------
  |  Branch (22:7): [True: 0, False: 12.7k]
  |  Branch (22:21): [True: 0, False: 12.7k]
  ------------------
   23|      0|      return nullptr;
   24|      0|   }
   25|       |
   26|       |   // Some calloc implementations do not check for overflow (?!?)
   27|  12.7k|   if(!checked_mul(elems, elem_size).has_value()) {
  ------------------
  |  Branch (27:7): [True: 0, False: 12.7k]
  ------------------
   28|      0|      throw std::bad_alloc();
   29|      0|   }
   30|       |
   31|       |#if defined(BOTAN_HAS_LOCKING_ALLOCATOR)
   32|       |   // NOLINTNEXTLINE(*-const-correctness) bug in clang-tidy
   33|       |   if(void* p = mlock_allocator::instance().allocate(elems, elem_size)) {
   34|       |      return p;
   35|       |   }
   36|       |#endif
   37|       |
   38|       |#if defined(BOTAN_TARGET_OS_HAS_ALLOC_CONCEAL)
   39|       |   void* ptr = ::calloc_conceal(elems, elem_size);
   40|       |#else
   41|       |   // NOLINTNEXTLINE(*-const-correctness) bug in clang-tidy
   42|  12.7k|   void* ptr = std::calloc(elems, elem_size);  // NOLINT(*-no-malloc,*-owning-memory)
   43|  12.7k|#endif
   44|  12.7k|   if(ptr == nullptr) {
  ------------------
  |  Branch (44:7): [True: 0, False: 12.7k]
  ------------------
   45|      0|      [[unlikely]] throw std::bad_alloc();
   46|      0|   }
   47|  12.7k|   return ptr;
   48|  12.7k|}
_ZN5Botan17deallocate_memoryEPvmm:
   50|  12.7k|void deallocate_memory(void* p, size_t elems, size_t elem_size) {
   51|  12.7k|   if(p == nullptr) {
  ------------------
  |  Branch (51:7): [True: 0, False: 12.7k]
  ------------------
   52|      0|      [[unlikely]] return;
   53|      0|   }
   54|       |
   55|  12.7k|   secure_scrub_memory(p, elems * elem_size);
   56|       |
   57|       |#if defined(BOTAN_HAS_LOCKING_ALLOCATOR)
   58|       |   if(mlock_allocator::instance().deallocate(p, elems, elem_size)) {
   59|       |      return;
   60|       |   }
   61|       |#endif
   62|       |
   63|  12.7k|   std::free(p);  // NOLINT(*-no-malloc,*-owning-memory)
   64|  12.7k|}

_ZN5Botan19secure_scrub_memoryEPvm:
   25|  4.35M|void secure_scrub_memory(void* ptr, size_t n) {
   26|  4.35M|   return secure_zeroize_buffer(ptr, n);
   27|  4.35M|}
_ZN5Botan21secure_zeroize_bufferEPvm:
   29|  4.36M|void secure_zeroize_buffer(void* ptr, size_t n) {
   30|  4.36M|   if(n == 0) {
  ------------------
  |  Branch (30:7): [True: 194k, False: 4.17M]
  ------------------
   31|   194k|      return;
   32|   194k|   }
   33|       |
   34|       |#if defined(BOTAN_TARGET_OS_HAS_RTLSECUREZEROMEMORY)
   35|       |   ::RtlSecureZeroMemory(ptr, n);
   36|       |
   37|       |#elif defined(BOTAN_TARGET_OS_HAS_EXPLICIT_BZERO)
   38|  4.17M|   ::explicit_bzero(ptr, n);
   39|       |
   40|       |#elif defined(BOTAN_TARGET_OS_HAS_EXPLICIT_MEMSET)
   41|       |   (void)::explicit_memset(ptr, 0, n);
   42|       |
   43|       |#else
   44|       |   /*
   45|       |   * Call memset through a static volatile pointer, which the compiler should
   46|       |   * not elide. This construct should be safe in conforming compilers, but who
   47|       |   * knows. This has been checked to generate the expected code, which saves the
   48|       |   * memset address in the data segment and unconditionally loads and jumps to
   49|       |   * that address, with the following targets:
   50|       |   *
   51|       |   * x86-64: Clang 19, GCC 6, 11, 13, 14
   52|       |   * riscv64: GCC 14
   53|       |   * aarch64: GCC 14
   54|       |   * armv7: GCC 14
   55|       |   *
   56|       |   * Actually all of them generated the expected jump even without marking the
   57|       |   * function pointer as volatile. However this seems worth including as an
   58|       |   * additional precaution.
   59|       |   */
   60|       |   static void* (*const volatile memset_ptr)(void*, int, size_t) = std::memset;
   61|       |   (memset_ptr)(ptr, 0, n);
   62|       |#endif
   63|  4.17M|}

_ZN3rnp13is_blank_lineEPKcm:
   71|  36.1k|{
   72|  40.1k|    for (size_t i = 0; i < len && line[i]; i++) {
  ------------------
  |  Branch (72:24): [True: 40.1k, False: 0]
  |  Branch (72:35): [True: 40.1k, False: 0]
  ------------------
   73|  40.1k|        if (line[i] != ' ' && line[i] != '\t' && line[i] != '\r') {
  ------------------
  |  Branch (73:13): [True: 38.8k, False: 1.28k]
  |  Branch (73:31): [True: 37.9k, False: 927]
  |  Branch (73:50): [True: 36.1k, False: 1.80k]
  ------------------
   74|  36.1k|            return false;
   75|  36.1k|        }
   76|  40.1k|    }
   77|      0|    return true;
   78|  36.1k|}

_Z17rnp_y2k38_warningl:
   41|  26.2k|{
   42|  26.2k|    return (sizeof(t) == 4 && (t < 0 || t == INT32_MAX));
  ------------------
  |  Branch (42:13): [Folded, False: 26.2k]
  |  Branch (42:32): [True: 0, False: 0]
  |  Branch (42:41): [True: 0, False: 0]
  ------------------
   43|  26.2k|}
_Z9rnp_ctimel:
   75|  26.2k|{
   76|  26.2k|    char   time_buf[26];
   77|  26.2k|    time_t adjusted = adjust_time32(t);
   78|  26.2k|#ifndef _WIN32
   79|  26.2k|    (void) ctime_r(&adjusted, time_buf);
   80|       |#else
   81|       |    (void) ctime_s(time_buf, sizeof(time_buf), &adjusted);
   82|       |#endif
   83|  26.2k|    return std::string(time_buf);
   84|  26.2k|}
time-utils.cpp:_ZL13adjust_time32l:
   35|  26.2k|{
   36|  26.2k|    return (sizeof(t) == 4 && t < 0) ? INT32_MAX : t;
  ------------------
  |  Branch (36:13): [Folded, False: 26.2k]
  |  Branch (36:31): [True: 0, False: 0]
  ------------------
   37|  26.2k|}

LLVMFuzzerTestOneInput:
   37|  9.14k|{
   38|  9.14k|    rnp_input_t input = NULL;
   39|  9.14k|    (void) rnp_input_from_memory(&input, data, size, false);
   40|  9.14k|    rnp_output_t output = NULL;
   41|  9.14k|    (void) rnp_output_to_null(&output);
   42|       |
   43|  9.14k|    (void) rnp_dump_packets_to_output(input, output, RNP_DUMP_RAW);
  ------------------
  |  |   74|  9.14k|#define RNP_DUMP_RAW (1U << 1)
  ------------------
   44|  9.14k|    rnp_output_destroy(output);
   45|  9.14k|    rnp_input_destroy(input);
   46|       |
   47|  9.14k|    rnp_input_t input2 = NULL;
   48|  9.14k|    (void) rnp_input_from_memory(&input2, data, size, false);
   49|  9.14k|    char *json = NULL;
   50|  9.14k|    (void) rnp_dump_packets_to_json(input2, RNP_DUMP_RAW, &json);
  ------------------
  |  |   74|  9.14k|#define RNP_DUMP_RAW (1U << 1)
  ------------------
   51|  9.14k|    rnp_buffer_destroy(json);
   52|  9.14k|    rnp_input_destroy(input2);
   53|       |
   54|  9.14k|    return 0;
   55|  9.14k|}

_ZNK26pgp_dilithium_public_key_t11get_encodedEv:
   95|  1.82k|    {
   96|  1.82k|        return key_encoded_;
   97|  1.82k|    };
_ZN26pgp_dilithium_public_key_tC2Ev:
   77|  5.96k|    pgp_dilithium_public_key_t() = default;

_ZN26pgp_dilithium_public_key_tC2EPKhm21dilithium_parameter_e:
   35|  2.09k|    : key_encoded_(key_encoded, key_encoded + key_encoded_len), dilithium_param_(param),
   36|  2.09k|      is_initialized_(true)
   37|  2.09k|{
   38|  2.09k|}
_Z21dilithium_pubkey_size21dilithium_parameter_e:
   69|  4.88k|{
   70|  4.88k|    switch (parameter) {
   71|  3.49k|    case dilithium_L3:
  ------------------
  |  Branch (71:5): [True: 3.49k, False: 1.38k]
  ------------------
   72|  3.49k|        return 1952;
   73|  1.38k|    case dilithium_L5:
  ------------------
  |  Branch (73:5): [True: 1.38k, False: 3.49k]
  ------------------
   74|  1.38k|        return 2592;
   75|      0|    default:
  ------------------
  |  Branch (75:5): [True: 0, False: 4.88k]
  ------------------
   76|      0|        RNP_LOG("invalid parameter given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   77|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
   78|  4.88k|    }
   79|  4.88k|}
_Z24dilithium_signature_size21dilithium_parameter_e:
   83|  1.69k|{
   84|  1.69k|    switch (parameter) {
   85|    884|    case dilithium_L3:
  ------------------
  |  Branch (85:5): [True: 884, False: 808]
  ------------------
   86|    884|        return 3309;
   87|    808|    case dilithium_L5:
  ------------------
  |  Branch (87:5): [True: 808, False: 884]
  ------------------
   88|    808|        return 4627;
   89|      0|    default:
  ------------------
  |  Branch (89:5): [True: 0, False: 1.69k]
  ------------------
   90|      0|        RNP_LOG("invalid parameter given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   91|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
   92|  1.69k|    }
   93|  1.69k|}

_ZN35pgp_dilithium_exdsa_composite_key_tD2Ev:
   32|  9.84k|{
   33|  9.84k|}
_ZNK35pgp_dilithium_exdsa_composite_key_t20initialized_or_throwEv:
   37|  1.82k|{
   38|  1.82k|    if (!is_initialized()) {
  ------------------
  |  Branch (38:9): [True: 0, False: 1.82k]
  ------------------
   39|      0|        RNP_LOG("Trying to use uninitialized mldsa-ecdsa/eddsa key");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_STATE);
   41|      0|    }
   42|  1.82k|}
_ZN35pgp_dilithium_exdsa_composite_key_t23exdsa_curve_pubkey_sizeE11pgp_curve_t:
   95|  6.97k|{
   96|  6.97k|    switch (curve) {
   97|    611|    case PGP_CURVE_ED25519:
  ------------------
  |  Branch (97:5): [True: 611, False: 6.36k]
  ------------------
   98|    611|        return 32;
   99|    621|    case PGP_CURVE_ED448:
  ------------------
  |  Branch (99:5): [True: 621, False: 6.35k]
  ------------------
  100|    621|        return 57;
  101|  2.82k|    case PGP_CURVE_NIST_P_384:
  ------------------
  |  Branch (101:5): [True: 2.82k, False: 4.15k]
  ------------------
  102|  2.82k|        return 97;
  103|    662|    case PGP_CURVE_NIST_P_521:
  ------------------
  |  Branch (103:5): [True: 662, False: 6.31k]
  ------------------
  104|    662|        return 133;
  105|  1.64k|    case PGP_CURVE_BP384:
  ------------------
  |  Branch (105:5): [True: 1.64k, False: 5.33k]
  ------------------
  106|  1.64k|        return 97;
  107|    611|    case PGP_CURVE_BP512:
  ------------------
  |  Branch (107:5): [True: 611, False: 6.36k]
  ------------------
  108|    611|        return 129;
  109|      0|    default:
  ------------------
  |  Branch (109:5): [True: 0, False: 6.97k]
  ------------------
  110|      0|        RNP_LOG("invalid curve given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  112|  6.97k|    }
  113|  6.97k|}
_ZN35pgp_dilithium_exdsa_composite_key_t26exdsa_curve_signature_sizeE11pgp_curve_t:
  117|  1.69k|{
  118|  1.69k|    switch (curve) {
  119|    360|    case PGP_CURVE_ED25519:
  ------------------
  |  Branch (119:5): [True: 360, False: 1.33k]
  ------------------
  120|    360|        return 64;
  121|    322|    case PGP_CURVE_ED448:
  ------------------
  |  Branch (121:5): [True: 322, False: 1.37k]
  ------------------
  122|    322|        return 114;
  123|    286|    case PGP_CURVE_NIST_P_384:
  ------------------
  |  Branch (123:5): [True: 286, False: 1.40k]
  ------------------
  124|    286|        return 96;
  125|    240|    case PGP_CURVE_NIST_P_521:
  ------------------
  |  Branch (125:5): [True: 240, False: 1.45k]
  ------------------
  126|    240|        return 132;
  127|    238|    case PGP_CURVE_BP384:
  ------------------
  |  Branch (127:5): [True: 238, False: 1.45k]
  ------------------
  128|    238|        return 96;
  129|    246|    case PGP_CURVE_BP512:
  ------------------
  |  Branch (129:5): [True: 246, False: 1.44k]
  ------------------
  130|    246|        return 128;
  131|      0|    default:
  ------------------
  |  Branch (131:5): [True: 0, False: 1.69k]
  ------------------
  132|      0|        RNP_LOG("invalid curve given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  134|  1.69k|    }
  135|  1.69k|}
_ZN35pgp_dilithium_exdsa_composite_key_t22pk_alg_to_dilithium_idE16pgp_pubkey_alg_t:
  139|  8.67k|{
  140|  8.67k|    switch (pk_alg) {
  141|    971|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (141:5): [True: 971, False: 7.69k]
  ------------------
  142|    971|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    971|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  143|  4.08k|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (143:5): [True: 3.11k, False: 5.55k]
  ------------------
  144|  4.08k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  4.08k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  145|  5.96k|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (145:5): [True: 1.88k, False: 6.78k]
  ------------------
  146|  5.96k|        return dilithium_L3;
  147|    857|    case PGP_PKA_DILITHIUM5_BP512:
  ------------------
  |  Branch (147:5): [True: 857, False: 7.81k]
  ------------------
  148|    857|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    857|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  149|  1.75k|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (149:5): [True: 902, False: 7.76k]
  ------------------
  150|  1.75k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.75k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  151|  2.70k|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (151:5): [True: 943, False: 7.72k]
  ------------------
  152|  2.70k|        return dilithium_L5;
  153|      0|    default:
  ------------------
  |  Branch (153:5): [True: 0, False: 8.67k]
  ------------------
  154|      0|        RNP_LOG("invalid PK alg given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  156|  8.67k|    }
  157|  8.67k|}
_ZN35pgp_dilithium_exdsa_composite_key_t18pk_alg_to_curve_idE16pgp_pubkey_alg_t:
  161|  10.7k|{
  162|  10.7k|    switch (pk_alg) {
  163|  1.14k|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (163:5): [True: 1.14k, False: 9.61k]
  ------------------
  164|  1.14k|        return PGP_CURVE_ED25519;
  165|  4.03k|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (165:5): [True: 4.03k, False: 6.73k]
  ------------------
  166|  4.03k|        return PGP_CURVE_NIST_P_384;
  167|  2.37k|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (167:5): [True: 2.37k, False: 8.38k]
  ------------------
  168|  2.37k|        return PGP_CURVE_BP384;
  169|  1.02k|    case PGP_PKA_DILITHIUM5_BP512:
  ------------------
  |  Branch (169:5): [True: 1.02k, False: 9.73k]
  ------------------
  170|  1.02k|        return PGP_CURVE_BP512;
  171|  1.04k|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (171:5): [True: 1.04k, False: 9.71k]
  ------------------
  172|  1.04k|        return PGP_CURVE_NIST_P_521;
  173|  1.13k|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (173:5): [True: 1.13k, False: 9.62k]
  ------------------
  174|  1.13k|        return PGP_CURVE_ED448;
  175|      0|    default:
  ------------------
  |  Branch (175:5): [True: 0, False: 10.7k]
  ------------------
  176|      0|        RNP_LOG("invalid PK alg given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  178|  10.7k|    }
  179|  10.7k|}
_ZN42pgp_dilithium_exdsa_composite_public_key_tC2ERKNSt3__16vectorIhNS0_9allocatorIhEEEE16pgp_pubkey_alg_t:
  190|  2.09k|    : pk_alg_(pk_alg)
  191|  2.09k|{
  192|  2.09k|    parse_component_keys(key_encoded);
  193|  2.09k|}
_ZN42pgp_dilithium_exdsa_composite_public_key_t12encoded_sizeE16pgp_pubkey_alg_t:
  356|  4.88k|{
  357|  4.88k|    dilithium_parameter_e dilithium_param = pk_alg_to_dilithium_id(pk_alg);
  358|  4.88k|    pgp_curve_t           curve = pk_alg_to_curve_id(pk_alg);
  359|  4.88k|    return exdsa_curve_pubkey_size(curve) + dilithium_pubkey_size(dilithium_param);
  360|  4.88k|}
_ZN42pgp_dilithium_exdsa_composite_public_key_t20parse_component_keysENSt3__16vectorIhNS0_9allocatorIhEEEE:
  365|  2.09k|{
  366|  2.09k|    if (key_encoded.size() != encoded_size(pk_alg_)) {
  ------------------
  |  Branch (366:9): [True: 0, False: 2.09k]
  ------------------
  367|      0|        RNP_LOG("ML-DSA composite key format invalid: length mismatch");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  369|      0|    }
  370|       |
  371|  2.09k|    dilithium_parameter_e dilithium_param = pk_alg_to_dilithium_id(pk_alg_);
  372|  2.09k|    pgp_curve_t           curve = pk_alg_to_curve_id(pk_alg_);
  373|  2.09k|    size_t                split_at = exdsa_curve_pubkey_size(pk_alg_to_curve_id(pk_alg_));
  374|       |
  375|  2.09k|    dilithium_key_ = pgp_dilithium_public_key_t(
  376|  2.09k|      key_encoded.data() + split_at, key_encoded.size() - split_at, dilithium_param);
  377|  2.09k|    exdsa_key_ = exdsa_public_key_t(key_encoded.data(), split_at, curve);
  378|       |
  379|  2.09k|    is_initialized_ = true;
  380|  2.09k|}
_ZNK42pgp_dilithium_exdsa_composite_public_key_t11get_encodedEv:
  384|  1.82k|{
  385|  1.82k|    initialized_or_throw();
  386|  1.82k|    std::vector<uint8_t> result;
  387|  1.82k|    std::vector<uint8_t> exdsa_key_encoded = exdsa_key_.get_encoded();
  388|  1.82k|    std::vector<uint8_t> dilithium_key_encoded = dilithium_key_.get_encoded();
  389|       |
  390|  1.82k|    result.insert(result.end(), std::begin(exdsa_key_encoded), std::end(exdsa_key_encoded));
  391|  1.82k|    result.insert(
  392|  1.82k|      result.end(), std::begin(dilithium_key_encoded), std::end(dilithium_key_encoded));
  393|  1.82k|    return result;
  394|  1.82k|};

_ZNK35pgp_dilithium_exdsa_composite_key_t14is_initializedEv:
   58|  1.82k|    {
   59|  1.82k|        return is_initialized_;
   60|  1.82k|    }
_ZN31pgp_dilithium_exdsa_signature_t24composite_signature_sizeE16pgp_pubkey_alg_t:
   72|  1.69k|    {
   73|  1.69k|        return dilithium_signature_size(
   74|  1.69k|                 pgp_dilithium_exdsa_composite_key_t::pk_alg_to_dilithium_id(pk_alg)) +
   75|  1.69k|               pgp_dilithium_exdsa_composite_key_t::exdsa_curve_signature_size(
   76|  1.69k|                 pgp_dilithium_exdsa_composite_key_t::pk_alg_to_curve_id(pk_alg));
   77|  1.69k|    }
_ZN43pgp_dilithium_exdsa_composite_private_key_tC2Ev:
   96|  3.87k|    pgp_dilithium_exdsa_composite_private_key_t() = default;
_ZN42pgp_dilithium_exdsa_composite_public_key_tC2Ev:
  140|  3.87k|    pgp_dilithium_exdsa_composite_public_key_t() = default;

_ZN3pgp3dsa3Key12clear_secretEv:
   56|  1.95k|    {
   57|  1.95k|        x.forget();
   58|  1.95k|    }
_ZN3pgp3dsa3KeyD2Ev:
   61|  1.95k|    {
   62|  1.95k|        clear_secret();
   63|  1.95k|    }

_ZNK3pgp2ec5Curve5bytesEv:
  102|  6.57k|    {
  103|       |        return BITS_TO_BYTES(bitlen);
  ------------------
  |  |   56|  6.57k|#define BITS_TO_BYTES(b) (((b) + (CHAR_BIT - 1)) / CHAR_BIT)
  ------------------
  104|  6.57k|    }
_ZN3pgp2ec3Key12clear_secretEv:
  125|  14.6k|    {
  126|  14.6k|        x.forget();
  127|  14.6k|    }
_ZN3pgp2ec3KeyD2Ev:
  130|  14.6k|    {
  131|  14.6k|        clear_secret();
  132|  14.6k|    }
_ZN17pgp_ed25519_key_t12clear_secretEv:
  189|  3.60k|    {
  190|  3.60k|        secure_clear(priv.data(), priv.size());
  191|  3.60k|        priv.resize(0);
  192|  3.60k|    }
_ZN17pgp_ed25519_key_tD2Ev:
  195|  3.60k|    {
  196|  3.60k|        clear_secret();
  197|  3.60k|    }
_ZN16pgp_x25519_key_t12clear_secretEv:
  213|  3.47k|    {
  214|  3.47k|        secure_clear(priv.data(), priv.size());
  215|  3.47k|        priv.resize(0);
  216|  3.47k|    }
_ZN16pgp_x25519_key_tD2Ev:
  219|  3.47k|    {
  220|  3.47k|        clear_secret();
  221|  3.47k|    }

_ZN3pgp2ec5Curve6by_OIDERKNSt3__16vectorIhNS2_9allocatorIhEEEE:
  299|  12.6k|{
  300|  77.5k|    for (size_t i = 0; i < PGP_CURVE_MAX; i++) {
  ------------------
  |  Branch (300:24): [True: 74.3k, False: 3.20k]
  ------------------
  301|  74.3k|        if (oid == ec_curves[i].OID) {
  ------------------
  |  Branch (301:13): [True: 9.45k, False: 64.9k]
  ------------------
  302|  9.45k|            return static_cast<pgp_curve_t>(i);
  303|  9.45k|        }
  304|  74.3k|    }
  305|  3.20k|    return PGP_CURVE_MAX;
  306|  12.6k|}
_ZN3pgp2ec5Curve3getE11pgp_curve_t:
  322|  15.2k|{
  323|  15.2k|    return (curve_id < PGP_CURVE_MAX && curve_id > 0) ? &ec_curves[curve_id] : NULL;
  ------------------
  |  Branch (323:13): [True: 15.2k, False: 0]
  |  Branch (323:41): [True: 12.6k, False: 2.59k]
  ------------------
  324|  15.2k|}

_ZN3pgp2eg3Key12clear_secretEv:
   62|  3.94k|    {
   63|  3.94k|        x.forget();
   64|  3.94k|    }
_ZN3pgp2eg3KeyD2Ev:
   67|  3.94k|    {
   68|  3.94k|        clear_secret();
   69|  3.94k|    }

_ZN8ec_key_tD2Ev:
  117|  17.6k|{
  118|  17.6k|}
_ZN8ec_key_tC2E11pgp_curve_t:
  120|  4.73k|ec_key_t::ec_key_t(pgp_curve_t curve) : curve_(curve)
  121|  4.73k|{
  122|  4.73k|}
_ZN21ecdh_kem_public_key_tC2EPhm11pgp_curve_t:
  127|  2.64k|    : ec_key_t(curve), key_(std::vector<uint8_t>(key_buf, key_buf + key_buf_len))
  128|  2.64k|{
  129|  2.64k|}
_ZN18exdsa_public_key_tC2EPhm11pgp_curve_t:
  290|  2.09k|    : ec_key_t(curve), key_(key_buf, key_buf + key_buf_len)
  291|  2.09k|{
  292|  2.09k|}

_ZNK21ecdh_kem_public_key_t11get_encodedEv:
   85|  2.56k|    {
   86|  2.56k|        return key_;
   87|  2.56k|    }
_ZNK18exdsa_public_key_t11get_encodedEv:
  142|  1.82k|    {
  143|  1.82k|        return key_;
  144|  1.82k|    }
_ZN8ec_key_tC2Ev:
   48|  12.9k|    ec_key_t() = default;
_ZN21ecdh_kem_public_key_tC2Ev:
   73|  6.97k|    ecdh_kem_public_key_t() = default;
_ZN18exdsa_public_key_tC2Ev:
  130|  5.96k|    exdsa_public_key_t() = default;

_ZN3rnp10Hash_BotanC2E14pgp_hash_alg_t:
   49|  12.7k|Hash_Botan::Hash_Botan(pgp_hash_alg_t alg) : Hash(alg)
   50|  12.7k|{
   51|  12.7k|    auto name = Hash_Botan::name_backend(alg);
   52|  12.7k|    if (!name) {
  ------------------
  |  Branch (52:9): [True: 0, False: 12.7k]
  ------------------
   53|      0|        throw rnp_exception(RNP_ERROR_BAD_PARAMETERS);
   54|      0|    }
   55|       |
   56|  12.7k|    if (botan_hash_init(&fn_, name, 0)) {
  ------------------
  |  Branch (56:9): [True: 0, False: 12.7k]
  ------------------
   57|      0|        RNP_LOG("Error creating hash object for '%s'", name);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   58|      0|        fn_ = nullptr;
   59|      0|        throw rnp_exception(RNP_ERROR_BAD_PARAMETERS);
   60|      0|    }
   61|       |
   62|  12.7k|    size_t outlen = 0;
   63|  12.7k|    botan_hash_output_length(fn_, &outlen);
   64|       |    assert(size_ == outlen);
   65|  12.7k|}
_ZN3rnp10Hash_BotanD2Ev:
   78|  12.7k|{
   79|  12.7k|    if (fn_) {
  ------------------
  |  Branch (79:9): [True: 0, False: 12.7k]
  ------------------
   80|      0|        botan_hash_destroy(fn_);
   81|      0|    }
   82|  12.7k|}
_ZN3rnp10Hash_Botan6createE14pgp_hash_alg_t:
   86|  12.7k|{
   87|  12.7k|    return std::unique_ptr<Hash_Botan>(new Hash_Botan(alg));
   88|  12.7k|}
_ZN3rnp10Hash_Botan3addEPKvm:
   98|  37.2k|{
   99|  37.2k|    if (!fn_) {
  ------------------
  |  Branch (99:9): [True: 0, False: 37.2k]
  ------------------
  100|      0|        throw rnp_exception(RNP_ERROR_NULL_POINTER);
  101|      0|    }
  102|  37.2k|    if (botan_hash_update(fn_, static_cast<const uint8_t *>(buf), len)) {
  ------------------
  |  Branch (102:9): [True: 0, False: 37.2k]
  ------------------
  103|      0|        throw rnp_exception(RNP_ERROR_GENERIC);
  104|      0|    }
  105|  37.2k|}
_ZN3rnp10Hash_Botan6finishEPh:
  109|  12.7k|{
  110|  12.7k|    assert(fn_);
  111|  12.7k|    if (!fn_) {
  ------------------
  |  Branch (111:9): [True: 0, False: 12.7k]
  ------------------
  112|      0|        return;
  113|      0|    }
  114|  12.7k|    if (digest) {
  ------------------
  |  Branch (114:9): [True: 12.7k, False: 0]
  ------------------
  115|  12.7k|        botan_hash_final(fn_, digest);
  116|  12.7k|    }
  117|  12.7k|    botan_hash_destroy(fn_);
  118|  12.7k|    fn_ = nullptr;
  119|  12.7k|    size_ = 0;
  120|  12.7k|}
_ZN3rnp10Hash_Botan12name_backendE14pgp_hash_alg_t:
  124|  12.7k|{
  125|  12.7k|    return id_str_pair::lookup(botan_alg_map, alg);
  126|  12.7k|}
_ZN3rnp11CRC24_BotanC2Ev:
  129|  32.0k|{
  130|  32.0k|    if (botan_hash_init(&fn_, "CRC24", 0)) {
  ------------------
  |  Branch (130:9): [True: 0, False: 32.0k]
  ------------------
  131|      0|        RNP_LOG("Error creating CRC24 object");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|      0|        fn_ = nullptr;
  133|      0|        throw rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  134|      0|    }
  135|  32.0k|    size_t outlen = 0;
  136|  32.0k|    botan_hash_output_length(fn_, &outlen);
  137|       |    assert(3 == outlen);
  138|  32.0k|}
_ZN3rnp11CRC24_BotanD2Ev:
  141|  32.0k|{
  142|  32.0k|    if (fn_) {
  ------------------
  |  Branch (142:9): [True: 1.97k, False: 30.0k]
  ------------------
  143|  1.97k|        botan_hash_destroy(fn_);
  144|  1.97k|    }
  145|  32.0k|}
_ZN3rnp11CRC24_Botan6createEv:
  149|  32.0k|{
  150|  32.0k|    return std::unique_ptr<CRC24_Botan>(new CRC24_Botan());
  151|  32.0k|}
_ZN3rnp11CRC24_Botan3addEPKvm:
  155|  61.4k|{
  156|  61.4k|    if (!fn_) {
  ------------------
  |  Branch (156:9): [True: 0, False: 61.4k]
  ------------------
  157|      0|        throw rnp_exception(RNP_ERROR_NULL_POINTER);
  158|      0|    }
  159|  61.4k|    if (botan_hash_update(fn_, static_cast<const uint8_t *>(buf), len)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 61.4k]
  ------------------
  160|      0|        throw rnp_exception(RNP_ERROR_GENERIC);
  161|      0|    }
  162|  61.4k|}
_ZN3rnp11CRC24_Botan6finishEv:
  166|  30.0k|{
  167|  30.0k|    if (!fn_) {
  ------------------
  |  Branch (167:9): [True: 0, False: 30.0k]
  ------------------
  168|      0|        throw rnp_exception(RNP_ERROR_NULL_POINTER);
  169|      0|    }
  170|  30.0k|    std::array<uint8_t, 3> crc{};
  171|  30.0k|    botan_hash_final(fn_, crc.data());
  172|  30.0k|    botan_hash_destroy(fn_);
  173|  30.0k|    fn_ = nullptr;
  174|  30.0k|    return crc;
  175|  30.0k|}

_ZN3rnp4HashC2E14pgp_hash_alg_t:
   48|  43.1k|    Hash(pgp_hash_alg_t alg) : alg_(alg)
   49|  43.1k|    {
   50|  43.1k|        size_ = Hash::size(alg);
   51|  43.1k|    };
_ZN3rnp5CRC24C2Ev:
   81|  32.0k|    CRC24(){};
_ZN3rnp5CRC24D2Ev:
   89|  32.0k|    virtual ~CRC24(){};

_ZN3rnp4Hash6createE14pgp_hash_alg_t:
   74|  43.1k|{
   75|  43.1k|    if (alg == PGP_HASH_SHA1) {
  ------------------
  |  Branch (75:9): [True: 30.3k, False: 12.7k]
  ------------------
   76|  30.3k|        return Hash_SHA1CD::create();
   77|  30.3k|    }
   78|       |#if !defined(ENABLE_SM2)
   79|       |    if (alg == PGP_HASH_SM3) {
   80|       |        RNP_LOG("SM3 hash is not available.");
   81|       |        throw rnp_exception(RNP_ERROR_BAD_PARAMETERS);
   82|       |    }
   83|       |#endif
   84|       |#if defined(CRYPTO_BACKEND_OPENSSL)
   85|       |    return Hash_OpenSSL::create(alg);
   86|       |#elif defined(CRYPTO_BACKEND_BOTAN)
   87|  12.7k|    return Hash_Botan::create(alg);
   88|       |#else
   89|       |#error "Crypto backend not specified"
   90|       |#endif
   91|  43.1k|}
_ZN3rnp5CRC246createEv:
   95|  32.0k|{
   96|       |#if defined(CRYPTO_BACKEND_OPENSSL)
   97|       |    return CRC24_RNP::create();
   98|       |#elif defined(CRYPTO_BACKEND_BOTAN)
   99|       |    return CRC24_Botan::create();
  100|       |#else
  101|       |#error "Crypto backend not specified"
  102|       |#endif
  103|  32.0k|}
_ZN3rnp4Hash3addERKNSt3__16vectorIhNS1_9allocatorIhEEEE:
  107|  39.4k|{
  108|  39.4k|    add(val.data(), val.size());
  109|  39.4k|}
_ZN3rnp4Hash3addEj:
  113|  7.47k|{
  114|  7.47k|    uint8_t ibuf[4];
  115|  7.47k|    write_uint32(ibuf, val);
  116|  7.47k|    add(ibuf, sizeof(ibuf));
  117|  7.47k|}
_ZN3rnp4Hash3addERKN3pgp3mpiE:
  121|  7.47k|{
  122|  7.47k|    size_t len = val.size();
  123|  7.47k|    size_t idx = 0;
  124|  8.32k|    while ((idx < len) && (!val[idx])) {
  ------------------
  |  Branch (124:12): [True: 8.11k, False: 209]
  |  Branch (124:27): [True: 853, False: 7.26k]
  ------------------
  125|    853|        idx++;
  126|    853|    }
  127|       |
  128|  7.47k|    if (idx >= len) {
  ------------------
  |  Branch (128:9): [True: 209, False: 7.26k]
  ------------------
  129|    209|        add(0);
  130|    209|        return;
  131|    209|    }
  132|       |
  133|  7.26k|    add(len - idx);
  134|  7.26k|    if (val[idx] & 0x80) {
  ------------------
  |  Branch (134:9): [True: 4.40k, False: 2.86k]
  ------------------
  135|  4.40k|        uint8_t padbyte = 0;
  136|  4.40k|        add(&padbyte, 1);
  137|  4.40k|    }
  138|  7.26k|    add(val.data() + idx, len - idx);
  139|  7.26k|}
_ZN3rnp4Hash6finishEv:
  143|  43.1k|{
  144|  43.1k|    std::vector<uint8_t> res(size_, 0);
  145|  43.1k|    finish(res.data());
  146|  43.1k|    return res;
  147|  43.1k|}
_ZN3rnp4HashD2Ev:
  158|  43.1k|{
  159|  43.1k|}
_ZN3rnp4Hash4sizeE14pgp_hash_alg_t:
  185|  43.1k|{
  186|  43.1k|    size_t val = 0;
  187|  43.1k|    ARRAY_LOOKUP_BY_ID(hash_alg_map, type, len, alg, val);
  ------------------
  |  |   45|  43.1k|    do {                                                                  \
  |  |   46|   100k|        for (size_t i__ = 0; i__ < ARRAY_SIZE(array); i__++) {            \
  |  |  ------------------
  |  |  |  |   34|   100k|#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
  |  |  ------------------
  |  |  |  Branch (46:30): [True: 100k, False: 0]
  |  |  ------------------
  |  |   47|   100k|            if ((array)[i__].id_field == (lookup_value)) {                \
  |  |  ------------------
  |  |  |  Branch (47:17): [True: 43.1k, False: 57.5k]
  |  |  ------------------
  |  |   48|  43.1k|                (ret) = (array)[i__].ret_field;                           \
  |  |   49|  43.1k|                break;                                                    \
  |  |   50|  43.1k|            }                                                             \
  |  |   51|   100k|        }                                                                 \
  |  |   52|  43.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 43.1k]
  |  |  ------------------
  ------------------
  188|  43.1k|    return val;
  189|  43.1k|}

_ZN3rnp11Hash_SHA1CDC2Ev:
   35|  30.3k|Hash_SHA1CD::Hash_SHA1CD() : Hash(PGP_HASH_SHA1)
   36|  30.3k|{
   37|       |    assert(size_ == 20);
   38|  30.3k|    SHA1DCInit(&ctx_);
   39|  30.3k|}
_ZN3rnp11Hash_SHA1CDD2Ev:
   47|  30.3k|{
   48|  30.3k|}
_ZN3rnp11Hash_SHA1CD6createEv:
   52|  30.3k|{
   53|  30.3k|    return std::unique_ptr<Hash_SHA1CD>(new Hash_SHA1CD());
   54|  30.3k|}
_ZN3rnp11Hash_SHA1CD3addEPKvm:
   69|  60.6k|{
   70|  60.6k|    SHA1DCUpdate(&ctx_, (const char *) buf, len);
   71|  60.6k|}
_ZN3rnp11Hash_SHA1CD6finishEPh:
   78|  30.3k|{
   79|  30.3k|    unsigned char fixed_digest[20];
   80|  30.3k|    int           res = SHA1DCFinal(fixed_digest, &ctx_);
   81|  30.3k|    if (res && digest) {
  ------------------
  |  Branch (81:9): [True: 0, False: 30.3k]
  |  Branch (81:16): [True: 0, False: 0]
  ------------------
   82|       |        /* Show warning only if digest is non-null */
   83|      0|        RNP_LOG("Warning! SHA1 collision detected and mitigated.");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|      0|    }
   85|       |    /* On collision fixed_digest holds the safe (mitigated) hash, never leave digest unset */
   86|  30.3k|    if (digest) {
  ------------------
  |  Branch (86:9): [True: 30.3k, False: 0]
  ------------------
   87|  30.3k|        memcpy(digest, fixed_digest, 20);
   88|  30.3k|    }
   89|  30.3k|}

_ZNK22pgp_kyber_public_key_t11get_encodedEv:
   95|  2.56k|    {
   96|  2.56k|        return key_encoded_;
   97|  2.56k|    };
_ZN22pgp_kyber_public_key_tC2Ev:
   82|  6.97k|    pgp_kyber_public_key_t() = default;

_Z17kyber_pubkey_size17kyber_parameter_e:
   41|  6.05k|{
   42|  6.05k|    switch (parameter) {
   43|  3.68k|    case kyber_768:
  ------------------
  |  Branch (43:5): [True: 3.68k, False: 2.37k]
  ------------------
   44|  3.68k|        return 1184;
   45|  2.37k|    case kyber_1024:
  ------------------
  |  Branch (45:5): [True: 2.37k, False: 3.68k]
  ------------------
   46|  2.37k|        return 1568;
   47|      0|    default:
  ------------------
  |  Branch (47:5): [True: 0, False: 6.05k]
  ------------------
   48|      0|        RNP_LOG("invalid parameter given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   49|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
   50|  6.05k|    }
   51|  6.05k|}
_Z21kyber_ciphertext_size17kyber_parameter_e:
   55|  1.68k|{
   56|  1.68k|    switch (parameter) {
   57|    725|    case kyber_768:
  ------------------
  |  Branch (57:5): [True: 725, False: 959]
  ------------------
   58|    725|        return 1088;
   59|    959|    case kyber_1024:
  ------------------
  |  Branch (59:5): [True: 959, False: 725]
  ------------------
   60|    959|        return 1568;
   61|      0|    default:
  ------------------
  |  Branch (61:5): [True: 0, False: 1.68k]
  ------------------
   62|      0|        RNP_LOG("invalid parameter given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
   64|  1.68k|    }
   65|  1.68k|}
_ZN22pgp_kyber_public_key_tC2EPKhm17kyber_parameter_e:
   70|  2.64k|    : key_encoded_(key_encoded, key_encoded + key_encoded_len), kyber_mode_(mode),
   71|  2.64k|      is_initialized_(true)
   72|  2.64k|{
   73|  2.64k|}

_ZN30pgp_kyber_ecdh_composite_key_tD2Ev:
   47|  11.2k|{
   48|  11.2k|}
_ZNK30pgp_kyber_ecdh_composite_key_t20initialized_or_throwEv:
   52|  2.56k|{
   53|  2.56k|    if (!is_initialized()) {
  ------------------
  |  Branch (53:9): [True: 0, False: 2.56k]
  ------------------
   54|      0|        RNP_LOG("Trying to use uninitialized kyber-ecdh key");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      0|        throw rnp::rnp_exception(RNP_ERROR_GENERIC); /* TODO better return error */
   56|      0|    }
   57|  2.56k|}
_ZN30pgp_kyber_ecdh_composite_key_t22ecdh_curve_pubkey_sizeE11pgp_curve_t:
  112|  8.70k|{
  113|  8.70k|    switch (curve) {
  114|    602|    case PGP_CURVE_25519:
  ------------------
  |  Branch (114:5): [True: 602, False: 8.10k]
  ------------------
  115|    602|        return 32;
  116|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  117|    894|    case PGP_CURVE_448:
  ------------------
  |  Branch (117:5): [True: 894, False: 7.80k]
  ------------------
  118|    894|        return 56;
  119|      0|#endif
  120|  1.48k|    case PGP_CURVE_NIST_P_384:
  ------------------
  |  Branch (120:5): [True: 1.48k, False: 7.21k]
  ------------------
  121|  1.48k|        return 97;
  122|    273|    case PGP_CURVE_NIST_P_521:
  ------------------
  |  Branch (122:5): [True: 273, False: 8.43k]
  ------------------
  123|    273|        return 133;
  124|  3.22k|    case PGP_CURVE_BP384:
  ------------------
  |  Branch (124:5): [True: 3.22k, False: 5.47k]
  ------------------
  125|  3.22k|        return 97;
  126|  2.21k|    case PGP_CURVE_BP512:
  ------------------
  |  Branch (126:5): [True: 2.21k, False: 6.48k]
  ------------------
  127|  2.21k|        return 129;
  128|      0|    default:
  ------------------
  |  Branch (128:5): [True: 0, False: 8.70k]
  ------------------
  129|      0|        RNP_LOG("invalid curve given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  130|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  131|  8.70k|    }
  132|  8.70k|}
_ZN30pgp_kyber_ecdh_composite_key_t25ecdh_curve_ephemeral_sizeE11pgp_curve_t:
  136|  1.68k|{
  137|  1.68k|    switch (curve) {
  138|    275|    case PGP_CURVE_25519:
  ------------------
  |  Branch (138:5): [True: 275, False: 1.40k]
  ------------------
  139|    275|        return 32;
  140|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  141|    266|    case PGP_CURVE_448:
  ------------------
  |  Branch (141:5): [True: 266, False: 1.41k]
  ------------------
  142|    266|        return 56;
  143|      0|#endif
  144|    227|    case PGP_CURVE_NIST_P_384:
  ------------------
  |  Branch (144:5): [True: 227, False: 1.45k]
  ------------------
  145|    227|        return 97;
  146|    211|    case PGP_CURVE_NIST_P_521:
  ------------------
  |  Branch (146:5): [True: 211, False: 1.47k]
  ------------------
  147|    211|        return 133;
  148|    223|    case PGP_CURVE_BP384:
  ------------------
  |  Branch (148:5): [True: 223, False: 1.46k]
  ------------------
  149|    223|        return 97;
  150|    482|    case PGP_CURVE_BP512:
  ------------------
  |  Branch (150:5): [True: 482, False: 1.20k]
  ------------------
  151|    482|        return 129;
  152|      0|    default:
  ------------------
  |  Branch (152:5): [True: 0, False: 1.68k]
  ------------------
  153|      0|        RNP_LOG("invalid curve given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  155|  1.68k|    }
  156|  1.68k|}
_ZN30pgp_kyber_ecdh_composite_key_t18pk_alg_to_kyber_idE16pgp_pubkey_alg_t:
  184|  10.3k|{
  185|  10.3k|    switch (pk_alg) {
  186|    877|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (186:5): [True: 877, False: 9.51k]
  ------------------
  187|    877|#if defined(ENABLE_CRYPTO_REFRESH)
  188|    877|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    877|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  189|  2.59k|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (189:5): [True: 1.71k, False: 8.67k]
  ------------------
  190|  2.59k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  2.59k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  191|  6.04k|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (191:5): [True: 3.45k, False: 6.93k]
  ------------------
  192|  6.04k|#endif
  193|  6.04k|        return kyber_768;
  194|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  195|  1.16k|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (195:5): [True: 1.16k, False: 9.22k]
  ------------------
  196|  1.16k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.16k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  197|  3.85k|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (197:5): [True: 2.69k, False: 7.68k]
  ------------------
  198|  3.85k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  3.85k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  199|  4.34k|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (199:5): [True: 484, False: 9.90k]
  ------------------
  200|  4.34k|        return kyber_1024;
  201|      0|#endif
  202|      0|    default:
  ------------------
  |  Branch (202:5): [True: 0, False: 10.3k]
  ------------------
  203|      0|        RNP_LOG("invalid PK alg given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  204|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  205|  10.3k|    }
  206|  10.3k|}
_ZN30pgp_kyber_ecdh_composite_key_t18pk_alg_to_curve_idE16pgp_pubkey_alg_t:
  210|  13.0k|{
  211|  13.0k|    switch (pk_alg) {
  212|    965|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (212:5): [True: 965, False: 12.0k]
  ------------------
  213|    965|        return PGP_CURVE_25519;
  214|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  215|  2.19k|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (215:5): [True: 2.19k, False: 10.8k]
  ------------------
  216|  2.19k|        return PGP_CURVE_NIST_P_384;
  217|  4.52k|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (217:5): [True: 4.52k, False: 8.51k]
  ------------------
  218|  4.52k|        return PGP_CURVE_BP384;
  219|  1.43k|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (219:5): [True: 1.43k, False: 11.6k]
  ------------------
  220|  1.43k|        return PGP_CURVE_448;
  221|  3.37k|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (221:5): [True: 3.37k, False: 9.66k]
  ------------------
  222|  3.37k|        return PGP_CURVE_BP512;
  223|    547|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (223:5): [True: 547, False: 12.4k]
  ------------------
  224|    547|        return PGP_CURVE_NIST_P_521;
  225|      0|#endif
  226|      0|    default:
  ------------------
  |  Branch (226:5): [True: 0, False: 13.0k]
  ------------------
  227|      0|        RNP_LOG("invalid PK alg given");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  228|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  229|  13.0k|    }
  230|  13.0k|}
_ZN37pgp_kyber_ecdh_composite_public_key_tC2ERKNSt3__16vectorIhNS0_9allocatorIhEEEE16pgp_pubkey_alg_t:
  474|  2.64k|    : pk_alg_(pk_alg)
  475|  2.64k|{
  476|  2.64k|    parse_component_keys(key_encoded);
  477|  2.64k|}
_ZN37pgp_kyber_ecdh_composite_public_key_t12encoded_sizeE16pgp_pubkey_alg_t:
  496|  6.05k|{
  497|  6.05k|    kyber_parameter_e kyber_param = pk_alg_to_kyber_id(pk_alg);
  498|  6.05k|    pgp_curve_t       curve = pk_alg_to_curve_id(pk_alg);
  499|  6.05k|    return ecdh_curve_pubkey_size(curve) + kyber_pubkey_size(kyber_param);
  500|  6.05k|}
_ZN37pgp_kyber_ecdh_composite_public_key_t20parse_component_keysENSt3__16vectorIhNS0_9allocatorIhEEEE:
  504|  2.64k|{
  505|  2.64k|    if (key_encoded.size() != encoded_size(pk_alg_)) {
  ------------------
  |  Branch (505:9): [True: 0, False: 2.64k]
  ------------------
  506|      0|        RNP_LOG("ML-KEM composite key format invalid: length mismatch");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
  508|      0|    }
  509|       |
  510|  2.64k|    kyber_parameter_e kyber_param = pk_alg_to_kyber_id(pk_alg_);
  511|  2.64k|    pgp_curve_t       ecdh_curve = pk_alg_to_curve_id(pk_alg_);
  512|  2.64k|    size_t            split_at = ecdh_curve_pubkey_size(pk_alg_to_curve_id(pk_alg_));
  513|       |
  514|  2.64k|    kyber_key_ = pgp_kyber_public_key_t(
  515|  2.64k|      key_encoded.data() + split_at, key_encoded.size() - split_at, kyber_param);
  516|  2.64k|    ecdh_key_ = ecdh_kem_public_key_t(key_encoded.data(), split_at, ecdh_curve);
  517|       |
  518|  2.64k|    is_initialized_ = true;
  519|  2.64k|}
_ZNK37pgp_kyber_ecdh_composite_public_key_t11get_encodedEv:
  612|  2.56k|{
  613|  2.56k|    initialized_or_throw();
  614|  2.56k|    std::vector<uint8_t> result;
  615|  2.56k|    std::vector<uint8_t> ecdh_key_encoded = ecdh_key_.get_encoded();
  616|  2.56k|    std::vector<uint8_t> kyber_key_encoded = kyber_key_.get_encoded();
  617|       |
  618|  2.56k|    result.insert(result.end(), std::begin(ecdh_key_encoded), std::end(ecdh_key_encoded));
  619|  2.56k|    result.insert(result.end(), std::begin(kyber_key_encoded), std::end(kyber_key_encoded));
  620|  2.56k|    return result;
  621|  2.56k|};

_ZNK30pgp_kyber_ecdh_composite_key_t14is_initializedEv:
   61|  2.56k|    {
   62|  2.56k|        return is_initialized_;
   63|  2.56k|    }
_ZN38pgp_kyber_ecdh_composite_private_key_tC2Ev:
   98|  4.32k|    pgp_kyber_ecdh_composite_private_key_t() = default;
_ZN37pgp_kyber_ecdh_composite_public_key_tC2Ev:
  142|  4.32k|    pgp_kyber_ecdh_composite_public_key_t() = default;

_Z12secure_clearPvm:
   35|   216k|{
   36|   216k|    botan_scrub_mem(vp, size);
   37|   216k|}
_ZN3rnp10hex_encodeEPKhmPcmNS_9HexFormatE:
   43|  2.30M|{
   44|  2.30M|    uint32_t flags = format == HexFormat::Lowercase ? BOTAN_FFI_HEX_LOWER_CASE : 0;
  ------------------
  |  Branch (44:22): [True: 2.30M, False: 0]
  ------------------
   45|       |
   46|  2.30M|    if (hex_len < (buf_len * 2 + 1)) {
  ------------------
  |  Branch (46:9): [True: 0, False: 2.30M]
  ------------------
   47|      0|        return false;
   48|      0|    }
   49|  2.30M|    hex[buf_len * 2] = '\0';
   50|  2.30M|    return botan_hex_encode(buf, buf_len, hex, flags) == 0;
   51|  2.30M|}

_ZN3rnp10bin_to_hexEPKhmNS_9HexFormatE:
  222|  2.30M|{
  223|  2.30M|    std::string res(len * 2 + 1, '\0');
  224|  2.30M|    (void) hex_encode(data, len, &res.front(), res.size(), format);
  225|  2.30M|    res.resize(len * 2);
  226|  2.30M|    return res;
  227|  2.30M|}
_ZN3rnp16secure_allocatorIhE8allocateEm:
   67|  4.12M|    {
   68|  4.12M|        if (!n) {
  ------------------
  |  Branch (68:13): [True: 0, False: 4.12M]
  ------------------
   69|      0|            return nullptr;
   70|      0|        }
   71|  4.12M|        T *ptr = static_cast<T *>(std::calloc(n, sizeof(T)));
   72|  4.12M|        if (!ptr)
  ------------------
  |  Branch (72:13): [True: 0, False: 4.12M]
  ------------------
   73|      0|            throw std::bad_alloc();
   74|  4.12M|        return ptr;
   75|  4.12M|    }
_ZN3rnp16secure_allocatorIhE10deallocateEPhm:
   79|  4.12M|    {
   80|  4.12M|        if (!p) {
  ------------------
  |  Branch (80:13): [True: 0, False: 4.12M]
  ------------------
   81|      0|            return;
   82|      0|        }
   83|  4.12M|        botan_scrub_mem(p, n * sizeof(T));
   84|  4.12M|        std::free(p);
   85|  4.12M|    }

_ZNK3pgp3mpi4bitsEv:
   37|  3.23M|{
   38|  3.23M|    size_t  bits = 0;
   39|  3.23M|    size_t  idx = 0;
   40|  3.23M|    uint8_t bt;
   41|       |
   42|  3.96M|    for (idx = 0; (idx < size()) && !data_[idx]; idx++)
  ------------------
  |  Branch (42:19): [True: 3.26M, False: 705k]
  |  Branch (42:37): [True: 729k, False: 2.53M]
  ------------------
   43|   729k|        ;
   44|       |
   45|  3.23M|    if (idx < size()) {
  ------------------
  |  Branch (45:9): [True: 2.53M, False: 705k]
  ------------------
   46|  22.2M|        for (bits = (size() - idx - 1) << 3, bt = data_[idx]; bt; bits++, bt = bt >> 1)
  ------------------
  |  Branch (46:63): [True: 19.6M, False: 2.53M]
  ------------------
   47|  19.6M|            ;
   48|  2.53M|    }
   49|       |
   50|  3.23M|    return bits;
   51|  3.23M|}
_ZNK3pgp3mpi4sizeEv:
   55|  9.75M|{
   56|  9.75M|    return data_.size();
   57|  9.75M|}
_ZN3pgp3mpi4dataEv:
   61|  2.14M|{
   62|  2.14M|    return data_.data();
   63|  2.14M|}
_ZNK3pgp3mpi4dataEv:
   67|  11.0k|{
   68|  11.0k|    return data_.data();
   69|  11.0k|}
_ZNK3pgp3mpiixEm:
  101|  15.3k|{
  102|  15.3k|    return data_.at(idx);
  103|  15.3k|}
_ZN3pgp3mpi6resizeEmh:
  119|  2.14M|{
  120|  2.14M|    data_.resize(size, fill);
  121|  2.14M|}
_ZN3pgp3mpi6forgetEv:
  125|   132k|{
  126|   132k|    secure_clear(data_.data(), data_.size());
  127|   132k|    data_.resize(0);
  128|   132k|}

_ZN3pgp3rsa3Key12clear_secretEv:
   61|  27.9k|    {
   62|  27.9k|        d.forget();
   63|  27.9k|        p.forget();
   64|  27.9k|        q.forget();
   65|  27.9k|        u.forget();
   66|  27.9k|    }
_ZN3pgp3rsa3KeyD2Ev:
   69|  27.9k|    {
   70|  27.9k|        clear_secret();
   71|  27.9k|    }

_Z25pgp_s2k_decode_iterationsh:
  175|    766|{
  176|       |    // See RFC 4880 section 3.7.1.3
  177|    766|    return (16 + (c & 0x0F)) << ((c >> 4) + 6);
  178|    766|}
_ZN9pgp_s2k_t9salt_sizeE19pgp_s2k_specifier_t:
  271|  5.14k|{
  272|  5.14k|#if defined(ENABLE_CRYPTO_REFRESH)
  273|  5.14k|    return (specifier == PGP_S2KS_ARGON2 ? PGP_MAX_S2K_SALT_SIZE : PGP_SALT_SIZE);
  ------------------
  |  |   96|  2.19k|#define PGP_MAX_S2K_SALT_SIZE 16
  ------------------
                  return (specifier == PGP_S2KS_ARGON2 ? PGP_MAX_S2K_SALT_SIZE : PGP_SALT_SIZE);
  ------------------
  |  |   92|  2.95k|#define PGP_SALT_SIZE 8
  ------------------
  |  Branch (273:13): [True: 2.19k, False: 2.95k]
  ------------------
  274|       |#else
  275|       |    (void) specifier;
  276|       |    return PGP_SALT_SIZE;
  277|       |#endif
  278|  5.14k|}

_ZN3rnp11secure_wipeEPvm:
   33|  2.24k|{
   34|  2.24k|    volatile auto *p = static_cast<volatile uint8_t *>(ptr);
   35|  2.24k|    while (len--) {
  ------------------
  |  Branch (35:12): [True: 0, False: 2.24k]
  ------------------
   36|      0|        *p++ = 0;
   37|      0|    }
   38|  2.24k|}

_ZN3rnp11SecureBytesD2Ev:
   63|  2.24k|    {
   64|  2.24k|        secure_wipe(data_.data(), data_.size());
   65|  2.24k|    }
_ZN3rnp11SecureBytesC2Ev:
   46|  2.24k|    SecureBytes() = default;

sha1_compression_states:
  465|  35.9k|{
  466|  35.9k|    uint32_t a = ihv[0], b = ihv[1], c = ihv[2], d = ihv[3], e = ihv[4];
  467|  35.9k|    uint32_t temp;
  468|       |
  469|       |#ifdef DOSTORESTATE00
  470|       |    SHA1_STORE_STATE(0)
  471|       |#endif
  472|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 0, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  473|       |
  474|       |#ifdef DOSTORESTATE01
  475|       |    SHA1_STORE_STATE(1)
  476|       |#endif
  477|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(e, a, b, c, d, m, W, 1, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  478|       |
  479|       |#ifdef DOSTORESTATE02
  480|       |    SHA1_STORE_STATE(2)
  481|       |#endif
  482|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(d, e, a, b, c, m, W, 2, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  483|       |
  484|       |#ifdef DOSTORESTATE03
  485|       |    SHA1_STORE_STATE(3)
  486|       |#endif
  487|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(c, d, e, a, b, m, W, 3, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  488|       |
  489|       |#ifdef DOSTORESTATE04
  490|       |    SHA1_STORE_STATE(4)
  491|       |#endif
  492|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(b, c, d, e, a, m, W, 4, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  493|       |
  494|       |#ifdef DOSTORESTATE05
  495|       |    SHA1_STORE_STATE(5)
  496|       |#endif
  497|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 5, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  498|       |
  499|       |#ifdef DOSTORESTATE06
  500|       |    SHA1_STORE_STATE(6)
  501|       |#endif
  502|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(e, a, b, c, d, m, W, 6, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  503|       |
  504|       |#ifdef DOSTORESTATE07
  505|       |    SHA1_STORE_STATE(7)
  506|       |#endif
  507|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(d, e, a, b, c, m, W, 7, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  508|       |
  509|       |#ifdef DOSTORESTATE08
  510|       |    SHA1_STORE_STATE(8)
  511|       |#endif
  512|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(c, d, e, a, b, m, W, 8, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  513|       |
  514|       |#ifdef DOSTORESTATE09
  515|       |    SHA1_STORE_STATE(9)
  516|       |#endif
  517|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(b, c, d, e, a, m, W, 9, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  518|       |
  519|       |#ifdef DOSTORESTATE10
  520|       |    SHA1_STORE_STATE(10)
  521|       |#endif
  522|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 10, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  523|       |
  524|       |#ifdef DOSTORESTATE11
  525|       |    SHA1_STORE_STATE(11)
  526|       |#endif
  527|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(e, a, b, c, d, m, W, 11, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  528|       |
  529|       |#ifdef DOSTORESTATE12
  530|       |    SHA1_STORE_STATE(12)
  531|       |#endif
  532|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(d, e, a, b, c, m, W, 12, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  533|       |
  534|       |#ifdef DOSTORESTATE13
  535|       |    SHA1_STORE_STATE(13)
  536|       |#endif
  537|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(c, d, e, a, b, m, W, 13, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  538|       |
  539|       |#ifdef DOSTORESTATE14
  540|       |    SHA1_STORE_STATE(14)
  541|       |#endif
  542|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(b, c, d, e, a, m, W, 14, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  543|       |
  544|       |#ifdef DOSTORESTATE15
  545|       |    SHA1_STORE_STATE(15)
  546|       |#endif
  547|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_LOAD(a, b, c, d, e, m, W, 15, temp);
  ------------------
  |  |  208|  35.9k|    {                                                                    \
  |  |  209|  35.9k|        sha1_load(m, t, temp);                                           \
  |  |  ------------------
  |  |  |  |  152|  35.9k|    {                         \
  |  |  |  |  153|  35.9k|        temp = m[t];          \
  |  |  |  |  154|  35.9k|        sha1_bswap32(temp);   \
  |  |  |  |  ------------------
  |  |  |  |  |  |  138|  35.9k|    {                                                        \
  |  |  |  |  |  |  139|  35.9k|        x = ((x << 8) & 0xFF00FF00) | ((x >> 8) & 0xFF00FF); \
  |  |  |  |  |  |  140|  35.9k|        x = (x << 16) | (x >> 16);                           \
  |  |  |  |  |  |  141|  35.9k|    }
  |  |  |  |  ------------------
  |  |  |  |  155|  35.9k|    }
  |  |  ------------------
  |  |  210|  35.9k|        sha1_store(W, t, temp);                                          \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  211|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;   \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  212|  35.9k|        b = rotate_left(b, 30);                                          \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  213|  35.9k|    }
  ------------------
  548|       |
  549|       |#ifdef DOSTORESTATE16
  550|       |    SHA1_STORE_STATE(16)
  551|       |#endif
  552|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(e, a, b, c, d, W, 16, temp);
  ------------------
  |  |  216|  35.9k|    {                                                                   \
  |  |  217|  35.9k|        temp = sha1_mix(W, t);                                          \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  218|  35.9k|        sha1_store(W, t, temp);                                         \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  219|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  220|  35.9k|        b = rotate_left(b, 30);                                         \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  221|  35.9k|    }
  ------------------
  553|       |
  554|       |#ifdef DOSTORESTATE17
  555|       |    SHA1_STORE_STATE(17)
  556|       |#endif
  557|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(d, e, a, b, c, W, 17, temp);
  ------------------
  |  |  216|  35.9k|    {                                                                   \
  |  |  217|  35.9k|        temp = sha1_mix(W, t);                                          \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  218|  35.9k|        sha1_store(W, t, temp);                                         \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  219|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  220|  35.9k|        b = rotate_left(b, 30);                                         \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  221|  35.9k|    }
  ------------------
  558|       |
  559|       |#ifdef DOSTORESTATE18
  560|       |    SHA1_STORE_STATE(18)
  561|       |#endif
  562|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(c, d, e, a, b, W, 18, temp);
  ------------------
  |  |  216|  35.9k|    {                                                                   \
  |  |  217|  35.9k|        temp = sha1_mix(W, t);                                          \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  218|  35.9k|        sha1_store(W, t, temp);                                         \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  219|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  220|  35.9k|        b = rotate_left(b, 30);                                         \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  221|  35.9k|    }
  ------------------
  563|       |
  564|       |#ifdef DOSTORESTATE19
  565|       |    SHA1_STORE_STATE(19)
  566|       |#endif
  567|  35.9k|    SHA1COMPRESS_FULL_ROUND1_STEP_EXPAND(b, c, d, e, a, W, 19, temp);
  ------------------
  |  |  216|  35.9k|    {                                                                   \
  |  |  217|  35.9k|        temp = sha1_mix(W, t);                                          \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  218|  35.9k|        sha1_store(W, t, temp);                                         \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  219|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999;  \
  |  |  ------------------
  |  |  |  |  160|  35.9k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  220|  35.9k|        b = rotate_left(b, 30);                                         \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  221|  35.9k|    }
  ------------------
  568|       |
  569|       |#ifdef DOSTORESTATE20
  570|       |    SHA1_STORE_STATE(20)
  571|       |#endif
  572|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 20, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  573|       |
  574|       |#ifdef DOSTORESTATE21
  575|       |    SHA1_STORE_STATE(21)
  576|       |#endif
  577|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 21, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  578|       |
  579|       |#ifdef DOSTORESTATE22
  580|       |    SHA1_STORE_STATE(22)
  581|       |#endif
  582|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 22, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  583|       |
  584|       |#ifdef DOSTORESTATE23
  585|       |    SHA1_STORE_STATE(23)
  586|       |#endif
  587|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 23, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  588|       |
  589|       |#ifdef DOSTORESTATE24
  590|       |    SHA1_STORE_STATE(24)
  591|       |#endif
  592|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 24, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  593|       |
  594|       |#ifdef DOSTORESTATE25
  595|       |    SHA1_STORE_STATE(25)
  596|       |#endif
  597|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 25, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  598|       |
  599|       |#ifdef DOSTORESTATE26
  600|       |    SHA1_STORE_STATE(26)
  601|       |#endif
  602|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 26, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  603|       |
  604|       |#ifdef DOSTORESTATE27
  605|       |    SHA1_STORE_STATE(27)
  606|       |#endif
  607|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 27, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  608|       |
  609|       |#ifdef DOSTORESTATE28
  610|       |    SHA1_STORE_STATE(28)
  611|       |#endif
  612|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 28, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  613|       |
  614|       |#ifdef DOSTORESTATE29
  615|       |    SHA1_STORE_STATE(29)
  616|       |#endif
  617|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 29, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  618|       |
  619|       |#ifdef DOSTORESTATE30
  620|       |    SHA1_STORE_STATE(30)
  621|       |#endif
  622|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 30, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  623|       |
  624|       |#ifdef DOSTORESTATE31
  625|       |    SHA1_STORE_STATE(31)
  626|       |#endif
  627|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 31, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  628|       |
  629|       |#ifdef DOSTORESTATE32
  630|       |    SHA1_STORE_STATE(32)
  631|       |#endif
  632|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 32, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  633|       |
  634|       |#ifdef DOSTORESTATE33
  635|       |    SHA1_STORE_STATE(33)
  636|       |#endif
  637|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 33, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  638|       |
  639|       |#ifdef DOSTORESTATE34
  640|       |    SHA1_STORE_STATE(34)
  641|       |#endif
  642|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 34, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  643|       |
  644|       |#ifdef DOSTORESTATE35
  645|       |    SHA1_STORE_STATE(35)
  646|       |#endif
  647|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(a, b, c, d, e, W, 35, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  648|       |
  649|       |#ifdef DOSTORESTATE36
  650|       |    SHA1_STORE_STATE(36)
  651|       |#endif
  652|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(e, a, b, c, d, W, 36, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  653|       |
  654|       |#ifdef DOSTORESTATE37
  655|       |    SHA1_STORE_STATE(37)
  656|       |#endif
  657|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(d, e, a, b, c, W, 37, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  658|       |
  659|       |#ifdef DOSTORESTATE38
  660|       |    SHA1_STORE_STATE(38)
  661|       |#endif
  662|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(c, d, e, a, b, W, 38, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  663|       |
  664|       |#ifdef DOSTORESTATE39
  665|       |    SHA1_STORE_STATE(39)
  666|       |#endif
  667|  35.9k|    SHA1COMPRESS_FULL_ROUND2_STEP(b, c, d, e, a, W, 39, temp);
  ------------------
  |  |  224|  35.9k|    {                                                                  \
  |  |  225|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  226|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  227|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1; \
  |  |  ------------------
  |  |  |  |  161|  35.9k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  228|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  229|  35.9k|    }
  ------------------
  668|       |
  669|       |#ifdef DOSTORESTATE40
  670|       |    SHA1_STORE_STATE(40)
  671|       |#endif
  672|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 40, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  673|       |
  674|       |#ifdef DOSTORESTATE41
  675|       |    SHA1_STORE_STATE(41)
  676|       |#endif
  677|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 41, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  678|       |
  679|       |#ifdef DOSTORESTATE42
  680|       |    SHA1_STORE_STATE(42)
  681|       |#endif
  682|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 42, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  683|       |
  684|       |#ifdef DOSTORESTATE43
  685|       |    SHA1_STORE_STATE(43)
  686|       |#endif
  687|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 43, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  688|       |
  689|       |#ifdef DOSTORESTATE44
  690|       |    SHA1_STORE_STATE(44)
  691|       |#endif
  692|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 44, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  693|       |
  694|       |#ifdef DOSTORESTATE45
  695|       |    SHA1_STORE_STATE(45)
  696|       |#endif
  697|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 45, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  698|       |
  699|       |#ifdef DOSTORESTATE46
  700|       |    SHA1_STORE_STATE(46)
  701|       |#endif
  702|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 46, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  703|       |
  704|       |#ifdef DOSTORESTATE47
  705|       |    SHA1_STORE_STATE(47)
  706|       |#endif
  707|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 47, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  708|       |
  709|       |#ifdef DOSTORESTATE48
  710|       |    SHA1_STORE_STATE(48)
  711|       |#endif
  712|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 48, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  713|       |
  714|       |#ifdef DOSTORESTATE49
  715|       |    SHA1_STORE_STATE(49)
  716|       |#endif
  717|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 49, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  718|       |
  719|       |#ifdef DOSTORESTATE50
  720|       |    SHA1_STORE_STATE(50)
  721|       |#endif
  722|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 50, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  723|       |
  724|       |#ifdef DOSTORESTATE51
  725|       |    SHA1_STORE_STATE(51)
  726|       |#endif
  727|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 51, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  728|       |
  729|       |#ifdef DOSTORESTATE52
  730|       |    SHA1_STORE_STATE(52)
  731|       |#endif
  732|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 52, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  733|       |
  734|       |#ifdef DOSTORESTATE53
  735|       |    SHA1_STORE_STATE(53)
  736|       |#endif
  737|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 53, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  738|       |
  739|       |#ifdef DOSTORESTATE54
  740|       |    SHA1_STORE_STATE(54)
  741|       |#endif
  742|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 54, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  743|       |
  744|       |#ifdef DOSTORESTATE55
  745|       |    SHA1_STORE_STATE(55)
  746|       |#endif
  747|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(a, b, c, d, e, W, 55, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  748|       |
  749|       |#ifdef DOSTORESTATE56
  750|       |    SHA1_STORE_STATE(56)
  751|       |#endif
  752|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(e, a, b, c, d, W, 56, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  753|       |
  754|       |#ifdef DOSTORESTATE57
  755|       |    SHA1_STORE_STATE(57)
  756|       |#endif
  757|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(d, e, a, b, c, W, 57, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  758|       |
  759|  35.9k|#ifdef DOSTORESTATE58
  760|  35.9k|    SHA1_STORE_STATE(58)
  ------------------
  |  |  248|  35.9k|    states[i][0] = a;       \
  |  |  249|  35.9k|    states[i][1] = b;       \
  |  |  250|  35.9k|    states[i][2] = c;       \
  |  |  251|  35.9k|    states[i][3] = d;       \
  |  |  252|  35.9k|    states[i][4] = e;
  ------------------
  761|  35.9k|#endif
  762|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(c, d, e, a, b, W, 58, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  763|       |
  764|       |#ifdef DOSTORESTATE59
  765|       |    SHA1_STORE_STATE(59)
  766|       |#endif
  767|  35.9k|    SHA1COMPRESS_FULL_ROUND3_STEP(b, c, d, e, a, W, 59, temp);
  ------------------
  |  |  232|  35.9k|    {                                                                  \
  |  |  233|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  234|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  235|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC; \
  |  |  ------------------
  |  |  |  |  162|  35.9k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  236|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  237|  35.9k|    }
  ------------------
  768|       |
  769|       |#ifdef DOSTORESTATE60
  770|       |    SHA1_STORE_STATE(60)
  771|       |#endif
  772|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 60, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  773|       |
  774|       |#ifdef DOSTORESTATE61
  775|       |    SHA1_STORE_STATE(61)
  776|       |#endif
  777|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 61, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  778|       |
  779|       |#ifdef DOSTORESTATE62
  780|       |    SHA1_STORE_STATE(62)
  781|       |#endif
  782|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 62, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  783|       |
  784|       |#ifdef DOSTORESTATE63
  785|       |    SHA1_STORE_STATE(63)
  786|       |#endif
  787|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 63, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  788|       |
  789|       |#ifdef DOSTORESTATE64
  790|       |    SHA1_STORE_STATE(64)
  791|       |#endif
  792|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 64, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  793|       |
  794|  35.9k|#ifdef DOSTORESTATE65
  795|  35.9k|    SHA1_STORE_STATE(65)
  ------------------
  |  |  248|  35.9k|    states[i][0] = a;       \
  |  |  249|  35.9k|    states[i][1] = b;       \
  |  |  250|  35.9k|    states[i][2] = c;       \
  |  |  251|  35.9k|    states[i][3] = d;       \
  |  |  252|  35.9k|    states[i][4] = e;
  ------------------
  796|  35.9k|#endif
  797|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 65, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  798|       |
  799|       |#ifdef DOSTORESTATE66
  800|       |    SHA1_STORE_STATE(66)
  801|       |#endif
  802|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 66, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  803|       |
  804|       |#ifdef DOSTORESTATE67
  805|       |    SHA1_STORE_STATE(67)
  806|       |#endif
  807|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 67, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  808|       |
  809|       |#ifdef DOSTORESTATE68
  810|       |    SHA1_STORE_STATE(68)
  811|       |#endif
  812|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 68, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  813|       |
  814|       |#ifdef DOSTORESTATE69
  815|       |    SHA1_STORE_STATE(69)
  816|       |#endif
  817|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 69, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  818|       |
  819|       |#ifdef DOSTORESTATE70
  820|       |    SHA1_STORE_STATE(70)
  821|       |#endif
  822|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 70, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  823|       |
  824|       |#ifdef DOSTORESTATE71
  825|       |    SHA1_STORE_STATE(71)
  826|       |#endif
  827|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 71, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  828|       |
  829|       |#ifdef DOSTORESTATE72
  830|       |    SHA1_STORE_STATE(72)
  831|       |#endif
  832|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 72, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  833|       |
  834|       |#ifdef DOSTORESTATE73
  835|       |    SHA1_STORE_STATE(73)
  836|       |#endif
  837|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 73, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  838|       |
  839|       |#ifdef DOSTORESTATE74
  840|       |    SHA1_STORE_STATE(74)
  841|       |#endif
  842|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 74, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  843|       |
  844|       |#ifdef DOSTORESTATE75
  845|       |    SHA1_STORE_STATE(75)
  846|       |#endif
  847|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(a, b, c, d, e, W, 75, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  848|       |
  849|       |#ifdef DOSTORESTATE76
  850|       |    SHA1_STORE_STATE(76)
  851|       |#endif
  852|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(e, a, b, c, d, W, 76, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  853|       |
  854|       |#ifdef DOSTORESTATE77
  855|       |    SHA1_STORE_STATE(77)
  856|       |#endif
  857|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(d, e, a, b, c, W, 77, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  858|       |
  859|       |#ifdef DOSTORESTATE78
  860|       |    SHA1_STORE_STATE(78)
  861|       |#endif
  862|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(c, d, e, a, b, W, 78, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  863|       |
  864|       |#ifdef DOSTORESTATE79
  865|       |    SHA1_STORE_STATE(79)
  866|       |#endif
  867|  35.9k|    SHA1COMPRESS_FULL_ROUND4_STEP(b, c, d, e, a, W, 79, temp);
  ------------------
  |  |  240|  35.9k|    {                                                                  \
  |  |  241|  35.9k|        temp = sha1_mix(W, t);                                         \
  |  |  ------------------
  |  |  |  |  143|  35.9k|#define sha1_mix(W, t) (rotate_left(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  242|  35.9k|        sha1_store(W, t, temp);                                        \
  |  |  ------------------
  |  |  |  |  158|  35.9k|#define sha1_store(W, t, x) *(volatile uint32_t *) &W[t] = x
  |  |  ------------------
  |  |  243|  35.9k|        e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += temp + rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6; \
  |  |  ------------------
  |  |  |  |  163|  35.9k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  244|  35.9k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  35.9k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  245|  35.9k|    }
  ------------------
  868|       |
  869|  35.9k|    ihv[0] += a;
  870|  35.9k|    ihv[1] += b;
  871|  35.9k|    ihv[2] += c;
  872|  35.9k|    ihv[3] += d;
  873|  35.9k|    ihv[4] += e;
  874|  35.9k|}
SHA1DCInit:
 2019|  30.3k|{
 2020|  30.3k|    ctx->total = 0;
 2021|  30.3k|    ctx->ihv[0] = 0x67452301;
 2022|  30.3k|    ctx->ihv[1] = 0xEFCDAB89;
 2023|  30.3k|    ctx->ihv[2] = 0x98BADCFE;
 2024|  30.3k|    ctx->ihv[3] = 0x10325476;
 2025|  30.3k|    ctx->ihv[4] = 0xC3D2E1F0;
 2026|  30.3k|    ctx->found_collision = 0;
 2027|  30.3k|    ctx->safe_hash = SHA1DC_INIT_SAFE_HASH_DEFAULT;
  ------------------
  |  |   23|  30.3k|#define SHA1DC_INIT_SAFE_HASH_DEFAULT 1
  ------------------
 2028|  30.3k|    ctx->ubc_check = 1;
 2029|  30.3k|    ctx->detect_coll = 1;
 2030|  30.3k|    ctx->reduced_round_coll = 0;
 2031|       |    ctx->callback = NULL;
 2032|  30.3k|}
SHA1DCUpdate:
 2078|  91.0k|{
 2079|  91.0k|    unsigned left, fill;
 2080|       |
 2081|  91.0k|    if (len == 0)
  ------------------
  |  Branch (2081:9): [True: 0, False: 91.0k]
  ------------------
 2082|      0|        return;
 2083|       |
 2084|  91.0k|    left = ctx->total & 63;
 2085|  91.0k|    fill = 64 - left;
 2086|       |
 2087|  91.0k|    if (left && len >= fill) {
  ------------------
  |  Branch (2087:9): [True: 60.4k, False: 30.5k]
  |  Branch (2087:17): [True: 3.05k, False: 57.4k]
  ------------------
 2088|  3.05k|        ctx->total += fill;
 2089|  3.05k|        memcpy(ctx->buffer + left, buf, fill);
 2090|  3.05k|        sha1_process(ctx, (uint32_t *) (ctx->buffer));
 2091|  3.05k|        buf += fill;
 2092|  3.05k|        len -= fill;
 2093|  3.05k|        left = 0;
 2094|  3.05k|    }
 2095|  93.6k|    while (len >= 64) {
  ------------------
  |  Branch (2095:12): [True: 2.58k, False: 91.0k]
  ------------------
 2096|  2.58k|        ctx->total += 64;
 2097|       |
 2098|  2.58k|#if defined(SHA1DC_ALLOW_UNALIGNED_ACCESS)
 2099|  2.58k|        sha1_process(ctx, (uint32_t *) (buf));
 2100|       |#else
 2101|       |        memcpy(ctx->buffer, buf, 64);
 2102|       |        sha1_process(ctx, (uint32_t *) (ctx->buffer));
 2103|       |#endif /* defined(SHA1DC_ALLOW_UNALIGNED_ACCESS) */
 2104|  2.58k|        buf += 64;
 2105|  2.58k|        len -= 64;
 2106|  2.58k|    }
 2107|  91.0k|    if (len > 0) {
  ------------------
  |  Branch (2107:9): [True: 90.8k, False: 238]
  ------------------
 2108|  90.8k|        ctx->total += len;
 2109|  90.8k|        memcpy(ctx->buffer + left, buf, len);
 2110|  90.8k|    }
 2111|  91.0k|}
SHA1DCFinal:
 2120|  30.3k|{
 2121|  30.3k|    uint32_t last = ctx->total & 63;
 2122|  30.3k|    uint32_t padn = (last < 56) ? (56 - last) : (120 - last);
  ------------------
  |  Branch (2122:21): [True: 29.7k, False: 626]
  ------------------
 2123|  30.3k|    uint64_t total;
 2124|  30.3k|    SHA1DCUpdate(ctx, (const char *) (sha1_padding), padn);
 2125|       |
 2126|  30.3k|    total = ctx->total - padn;
 2127|  30.3k|    total <<= 3;
 2128|  30.3k|    ctx->buffer[56] = (unsigned char) (total >> 56);
 2129|  30.3k|    ctx->buffer[57] = (unsigned char) (total >> 48);
 2130|  30.3k|    ctx->buffer[58] = (unsigned char) (total >> 40);
 2131|  30.3k|    ctx->buffer[59] = (unsigned char) (total >> 32);
 2132|  30.3k|    ctx->buffer[60] = (unsigned char) (total >> 24);
 2133|  30.3k|    ctx->buffer[61] = (unsigned char) (total >> 16);
 2134|  30.3k|    ctx->buffer[62] = (unsigned char) (total >> 8);
 2135|  30.3k|    ctx->buffer[63] = (unsigned char) (total);
 2136|  30.3k|    sha1_process(ctx, (uint32_t *) (ctx->buffer));
 2137|  30.3k|    output[0] = (unsigned char) (ctx->ihv[0] >> 24);
 2138|  30.3k|    output[1] = (unsigned char) (ctx->ihv[0] >> 16);
 2139|  30.3k|    output[2] = (unsigned char) (ctx->ihv[0] >> 8);
 2140|  30.3k|    output[3] = (unsigned char) (ctx->ihv[0]);
 2141|  30.3k|    output[4] = (unsigned char) (ctx->ihv[1] >> 24);
 2142|  30.3k|    output[5] = (unsigned char) (ctx->ihv[1] >> 16);
 2143|  30.3k|    output[6] = (unsigned char) (ctx->ihv[1] >> 8);
 2144|  30.3k|    output[7] = (unsigned char) (ctx->ihv[1]);
 2145|  30.3k|    output[8] = (unsigned char) (ctx->ihv[2] >> 24);
 2146|  30.3k|    output[9] = (unsigned char) (ctx->ihv[2] >> 16);
 2147|  30.3k|    output[10] = (unsigned char) (ctx->ihv[2] >> 8);
 2148|  30.3k|    output[11] = (unsigned char) (ctx->ihv[2]);
 2149|  30.3k|    output[12] = (unsigned char) (ctx->ihv[3] >> 24);
 2150|  30.3k|    output[13] = (unsigned char) (ctx->ihv[3] >> 16);
 2151|  30.3k|    output[14] = (unsigned char) (ctx->ihv[3] >> 8);
 2152|  30.3k|    output[15] = (unsigned char) (ctx->ihv[3]);
 2153|  30.3k|    output[16] = (unsigned char) (ctx->ihv[4] >> 24);
 2154|  30.3k|    output[17] = (unsigned char) (ctx->ihv[4] >> 16);
 2155|  30.3k|    output[18] = (unsigned char) (ctx->ihv[4] >> 8);
 2156|  30.3k|    output[19] = (unsigned char) (ctx->ihv[4]);
 2157|  30.3k|    return ctx->found_collision;
 2158|  30.3k|}
sha1.c:sha1_process:
 1963|  35.9k|{
 1964|  35.9k|    unsigned i, j;
 1965|  35.9k|    uint32_t ubc_dv_mask[DVMASKSIZE] = {0xFFFFFFFF};
 1966|  35.9k|    uint32_t ihvtmp[5];
 1967|       |
 1968|  35.9k|    ctx->ihv1[0] = ctx->ihv[0];
 1969|  35.9k|    ctx->ihv1[1] = ctx->ihv[1];
 1970|  35.9k|    ctx->ihv1[2] = ctx->ihv[2];
 1971|  35.9k|    ctx->ihv1[3] = ctx->ihv[3];
 1972|  35.9k|    ctx->ihv1[4] = ctx->ihv[4];
 1973|       |
 1974|  35.9k|    sha1_compression_states(ctx->ihv, block, ctx->m1, ctx->states);
 1975|       |
 1976|  35.9k|    if (ctx->detect_coll) {
  ------------------
  |  Branch (1976:9): [True: 35.9k, False: 0]
  ------------------
 1977|  35.9k|        if (ctx->ubc_check) {
  ------------------
  |  Branch (1977:13): [True: 35.9k, False: 0]
  ------------------
 1978|  35.9k|            ubc_check(ctx->m1, ubc_dv_mask);
 1979|  35.9k|        }
 1980|       |
 1981|  35.9k|        if (ubc_dv_mask[0] != 0) {
  ------------------
  |  Branch (1981:13): [True: 7.73k, False: 28.2k]
  ------------------
 1982|   255k|            for (i = 0; sha1_dvs[i].dvType != 0; ++i) {
  ------------------
  |  Branch (1982:25): [True: 247k, False: 7.73k]
  ------------------
 1983|   247k|                if (ubc_dv_mask[0] & ((uint32_t)(1) << sha1_dvs[i].maskb)) {
  ------------------
  |  Branch (1983:21): [True: 9.23k, False: 238k]
  ------------------
 1984|   747k|                    for (j = 0; j < 80; ++j)
  ------------------
  |  Branch (1984:33): [True: 738k, False: 9.23k]
  ------------------
 1985|   738k|                        ctx->m2[j] = ctx->m1[j] ^ sha1_dvs[i].dm[j];
 1986|       |
 1987|  9.23k|                    sha1_recompression_step(sha1_dvs[i].testt,
 1988|  9.23k|                                            ctx->ihv2,
 1989|  9.23k|                                            ihvtmp,
 1990|  9.23k|                                            ctx->m2,
 1991|  9.23k|                                            ctx->states[sha1_dvs[i].testt]);
 1992|       |
 1993|       |                    /* to verify SHA-1 collision detection code with collisions for
 1994|       |                     * reduced-step SHA-1 */
 1995|  9.23k|                    if ((0 == ((ihvtmp[0] ^ ctx->ihv[0]) | (ihvtmp[1] ^ ctx->ihv[1]) |
  ------------------
  |  Branch (1995:25): [True: 0, False: 9.23k]
  ------------------
 1996|  9.23k|                               (ihvtmp[2] ^ ctx->ihv[2]) | (ihvtmp[3] ^ ctx->ihv[3]) |
 1997|  9.23k|                               (ihvtmp[4] ^ ctx->ihv[4]))) ||
 1998|  9.23k|                        (ctx->reduced_round_coll &&
  ------------------
  |  Branch (1998:26): [True: 0, False: 9.23k]
  ------------------
 1999|      0|                         0 == ((ctx->ihv1[0] ^ ctx->ihv2[0]) | (ctx->ihv1[1] ^ ctx->ihv2[1]) |
  ------------------
  |  Branch (1999:26): [True: 0, False: 0]
  ------------------
 2000|      0|                               (ctx->ihv1[2] ^ ctx->ihv2[2]) | (ctx->ihv1[3] ^ ctx->ihv2[3]) |
 2001|      0|                               (ctx->ihv1[4] ^ ctx->ihv2[4])))) {
 2002|      0|                        ctx->found_collision = 1;
 2003|       |
 2004|      0|                        if (ctx->safe_hash) {
  ------------------
  |  Branch (2004:29): [True: 0, False: 0]
  ------------------
 2005|      0|                            sha1_compression_W(ctx->ihv, ctx->m1);
 2006|      0|                            sha1_compression_W(ctx->ihv, ctx->m1);
 2007|      0|                        }
 2008|       |
 2009|      0|                        break;
 2010|      0|                    }
 2011|  9.23k|                }
 2012|   247k|            }
 2013|  7.73k|        }
 2014|  35.9k|    }
 2015|  35.9k|}
sha1.c:sha1_recompression_step:
 1554|  9.23k|{
 1555|  9.23k|    switch (step) {
 1556|       |#ifdef DOSTORESTATE0
 1557|       |    case 0:
 1558|       |        sha1recompress_fast_0(ihvin, ihvout, me2, state);
 1559|       |        break;
 1560|       |#endif
 1561|       |#ifdef DOSTORESTATE1
 1562|       |    case 1:
 1563|       |        sha1recompress_fast_1(ihvin, ihvout, me2, state);
 1564|       |        break;
 1565|       |#endif
 1566|       |#ifdef DOSTORESTATE2
 1567|       |    case 2:
 1568|       |        sha1recompress_fast_2(ihvin, ihvout, me2, state);
 1569|       |        break;
 1570|       |#endif
 1571|       |#ifdef DOSTORESTATE3
 1572|       |    case 3:
 1573|       |        sha1recompress_fast_3(ihvin, ihvout, me2, state);
 1574|       |        break;
 1575|       |#endif
 1576|       |#ifdef DOSTORESTATE4
 1577|       |    case 4:
 1578|       |        sha1recompress_fast_4(ihvin, ihvout, me2, state);
 1579|       |        break;
 1580|       |#endif
 1581|       |#ifdef DOSTORESTATE5
 1582|       |    case 5:
 1583|       |        sha1recompress_fast_5(ihvin, ihvout, me2, state);
 1584|       |        break;
 1585|       |#endif
 1586|       |#ifdef DOSTORESTATE6
 1587|       |    case 6:
 1588|       |        sha1recompress_fast_6(ihvin, ihvout, me2, state);
 1589|       |        break;
 1590|       |#endif
 1591|       |#ifdef DOSTORESTATE7
 1592|       |    case 7:
 1593|       |        sha1recompress_fast_7(ihvin, ihvout, me2, state);
 1594|       |        break;
 1595|       |#endif
 1596|       |#ifdef DOSTORESTATE8
 1597|       |    case 8:
 1598|       |        sha1recompress_fast_8(ihvin, ihvout, me2, state);
 1599|       |        break;
 1600|       |#endif
 1601|       |#ifdef DOSTORESTATE9
 1602|       |    case 9:
 1603|       |        sha1recompress_fast_9(ihvin, ihvout, me2, state);
 1604|       |        break;
 1605|       |#endif
 1606|       |#ifdef DOSTORESTATE10
 1607|       |    case 10:
 1608|       |        sha1recompress_fast_10(ihvin, ihvout, me2, state);
 1609|       |        break;
 1610|       |#endif
 1611|       |#ifdef DOSTORESTATE11
 1612|       |    case 11:
 1613|       |        sha1recompress_fast_11(ihvin, ihvout, me2, state);
 1614|       |        break;
 1615|       |#endif
 1616|       |#ifdef DOSTORESTATE12
 1617|       |    case 12:
 1618|       |        sha1recompress_fast_12(ihvin, ihvout, me2, state);
 1619|       |        break;
 1620|       |#endif
 1621|       |#ifdef DOSTORESTATE13
 1622|       |    case 13:
 1623|       |        sha1recompress_fast_13(ihvin, ihvout, me2, state);
 1624|       |        break;
 1625|       |#endif
 1626|       |#ifdef DOSTORESTATE14
 1627|       |    case 14:
 1628|       |        sha1recompress_fast_14(ihvin, ihvout, me2, state);
 1629|       |        break;
 1630|       |#endif
 1631|       |#ifdef DOSTORESTATE15
 1632|       |    case 15:
 1633|       |        sha1recompress_fast_15(ihvin, ihvout, me2, state);
 1634|       |        break;
 1635|       |#endif
 1636|       |#ifdef DOSTORESTATE16
 1637|       |    case 16:
 1638|       |        sha1recompress_fast_16(ihvin, ihvout, me2, state);
 1639|       |        break;
 1640|       |#endif
 1641|       |#ifdef DOSTORESTATE17
 1642|       |    case 17:
 1643|       |        sha1recompress_fast_17(ihvin, ihvout, me2, state);
 1644|       |        break;
 1645|       |#endif
 1646|       |#ifdef DOSTORESTATE18
 1647|       |    case 18:
 1648|       |        sha1recompress_fast_18(ihvin, ihvout, me2, state);
 1649|       |        break;
 1650|       |#endif
 1651|       |#ifdef DOSTORESTATE19
 1652|       |    case 19:
 1653|       |        sha1recompress_fast_19(ihvin, ihvout, me2, state);
 1654|       |        break;
 1655|       |#endif
 1656|       |#ifdef DOSTORESTATE20
 1657|       |    case 20:
 1658|       |        sha1recompress_fast_20(ihvin, ihvout, me2, state);
 1659|       |        break;
 1660|       |#endif
 1661|       |#ifdef DOSTORESTATE21
 1662|       |    case 21:
 1663|       |        sha1recompress_fast_21(ihvin, ihvout, me2, state);
 1664|       |        break;
 1665|       |#endif
 1666|       |#ifdef DOSTORESTATE22
 1667|       |    case 22:
 1668|       |        sha1recompress_fast_22(ihvin, ihvout, me2, state);
 1669|       |        break;
 1670|       |#endif
 1671|       |#ifdef DOSTORESTATE23
 1672|       |    case 23:
 1673|       |        sha1recompress_fast_23(ihvin, ihvout, me2, state);
 1674|       |        break;
 1675|       |#endif
 1676|       |#ifdef DOSTORESTATE24
 1677|       |    case 24:
 1678|       |        sha1recompress_fast_24(ihvin, ihvout, me2, state);
 1679|       |        break;
 1680|       |#endif
 1681|       |#ifdef DOSTORESTATE25
 1682|       |    case 25:
 1683|       |        sha1recompress_fast_25(ihvin, ihvout, me2, state);
 1684|       |        break;
 1685|       |#endif
 1686|       |#ifdef DOSTORESTATE26
 1687|       |    case 26:
 1688|       |        sha1recompress_fast_26(ihvin, ihvout, me2, state);
 1689|       |        break;
 1690|       |#endif
 1691|       |#ifdef DOSTORESTATE27
 1692|       |    case 27:
 1693|       |        sha1recompress_fast_27(ihvin, ihvout, me2, state);
 1694|       |        break;
 1695|       |#endif
 1696|       |#ifdef DOSTORESTATE28
 1697|       |    case 28:
 1698|       |        sha1recompress_fast_28(ihvin, ihvout, me2, state);
 1699|       |        break;
 1700|       |#endif
 1701|       |#ifdef DOSTORESTATE29
 1702|       |    case 29:
 1703|       |        sha1recompress_fast_29(ihvin, ihvout, me2, state);
 1704|       |        break;
 1705|       |#endif
 1706|       |#ifdef DOSTORESTATE30
 1707|       |    case 30:
 1708|       |        sha1recompress_fast_30(ihvin, ihvout, me2, state);
 1709|       |        break;
 1710|       |#endif
 1711|       |#ifdef DOSTORESTATE31
 1712|       |    case 31:
 1713|       |        sha1recompress_fast_31(ihvin, ihvout, me2, state);
 1714|       |        break;
 1715|       |#endif
 1716|       |#ifdef DOSTORESTATE32
 1717|       |    case 32:
 1718|       |        sha1recompress_fast_32(ihvin, ihvout, me2, state);
 1719|       |        break;
 1720|       |#endif
 1721|       |#ifdef DOSTORESTATE33
 1722|       |    case 33:
 1723|       |        sha1recompress_fast_33(ihvin, ihvout, me2, state);
 1724|       |        break;
 1725|       |#endif
 1726|       |#ifdef DOSTORESTATE34
 1727|       |    case 34:
 1728|       |        sha1recompress_fast_34(ihvin, ihvout, me2, state);
 1729|       |        break;
 1730|       |#endif
 1731|       |#ifdef DOSTORESTATE35
 1732|       |    case 35:
 1733|       |        sha1recompress_fast_35(ihvin, ihvout, me2, state);
 1734|       |        break;
 1735|       |#endif
 1736|       |#ifdef DOSTORESTATE36
 1737|       |    case 36:
 1738|       |        sha1recompress_fast_36(ihvin, ihvout, me2, state);
 1739|       |        break;
 1740|       |#endif
 1741|       |#ifdef DOSTORESTATE37
 1742|       |    case 37:
 1743|       |        sha1recompress_fast_37(ihvin, ihvout, me2, state);
 1744|       |        break;
 1745|       |#endif
 1746|       |#ifdef DOSTORESTATE38
 1747|       |    case 38:
 1748|       |        sha1recompress_fast_38(ihvin, ihvout, me2, state);
 1749|       |        break;
 1750|       |#endif
 1751|       |#ifdef DOSTORESTATE39
 1752|       |    case 39:
 1753|       |        sha1recompress_fast_39(ihvin, ihvout, me2, state);
 1754|       |        break;
 1755|       |#endif
 1756|       |#ifdef DOSTORESTATE40
 1757|       |    case 40:
 1758|       |        sha1recompress_fast_40(ihvin, ihvout, me2, state);
 1759|       |        break;
 1760|       |#endif
 1761|       |#ifdef DOSTORESTATE41
 1762|       |    case 41:
 1763|       |        sha1recompress_fast_41(ihvin, ihvout, me2, state);
 1764|       |        break;
 1765|       |#endif
 1766|       |#ifdef DOSTORESTATE42
 1767|       |    case 42:
 1768|       |        sha1recompress_fast_42(ihvin, ihvout, me2, state);
 1769|       |        break;
 1770|       |#endif
 1771|       |#ifdef DOSTORESTATE43
 1772|       |    case 43:
 1773|       |        sha1recompress_fast_43(ihvin, ihvout, me2, state);
 1774|       |        break;
 1775|       |#endif
 1776|       |#ifdef DOSTORESTATE44
 1777|       |    case 44:
 1778|       |        sha1recompress_fast_44(ihvin, ihvout, me2, state);
 1779|       |        break;
 1780|       |#endif
 1781|       |#ifdef DOSTORESTATE45
 1782|       |    case 45:
 1783|       |        sha1recompress_fast_45(ihvin, ihvout, me2, state);
 1784|       |        break;
 1785|       |#endif
 1786|       |#ifdef DOSTORESTATE46
 1787|       |    case 46:
 1788|       |        sha1recompress_fast_46(ihvin, ihvout, me2, state);
 1789|       |        break;
 1790|       |#endif
 1791|       |#ifdef DOSTORESTATE47
 1792|       |    case 47:
 1793|       |        sha1recompress_fast_47(ihvin, ihvout, me2, state);
 1794|       |        break;
 1795|       |#endif
 1796|       |#ifdef DOSTORESTATE48
 1797|       |    case 48:
 1798|       |        sha1recompress_fast_48(ihvin, ihvout, me2, state);
 1799|       |        break;
 1800|       |#endif
 1801|       |#ifdef DOSTORESTATE49
 1802|       |    case 49:
 1803|       |        sha1recompress_fast_49(ihvin, ihvout, me2, state);
 1804|       |        break;
 1805|       |#endif
 1806|       |#ifdef DOSTORESTATE50
 1807|       |    case 50:
 1808|       |        sha1recompress_fast_50(ihvin, ihvout, me2, state);
 1809|       |        break;
 1810|       |#endif
 1811|       |#ifdef DOSTORESTATE51
 1812|       |    case 51:
 1813|       |        sha1recompress_fast_51(ihvin, ihvout, me2, state);
 1814|       |        break;
 1815|       |#endif
 1816|       |#ifdef DOSTORESTATE52
 1817|       |    case 52:
 1818|       |        sha1recompress_fast_52(ihvin, ihvout, me2, state);
 1819|       |        break;
 1820|       |#endif
 1821|       |#ifdef DOSTORESTATE53
 1822|       |    case 53:
 1823|       |        sha1recompress_fast_53(ihvin, ihvout, me2, state);
 1824|       |        break;
 1825|       |#endif
 1826|       |#ifdef DOSTORESTATE54
 1827|       |    case 54:
 1828|       |        sha1recompress_fast_54(ihvin, ihvout, me2, state);
 1829|       |        break;
 1830|       |#endif
 1831|       |#ifdef DOSTORESTATE55
 1832|       |    case 55:
 1833|       |        sha1recompress_fast_55(ihvin, ihvout, me2, state);
 1834|       |        break;
 1835|       |#endif
 1836|       |#ifdef DOSTORESTATE56
 1837|       |    case 56:
 1838|       |        sha1recompress_fast_56(ihvin, ihvout, me2, state);
 1839|       |        break;
 1840|       |#endif
 1841|       |#ifdef DOSTORESTATE57
 1842|       |    case 57:
 1843|       |        sha1recompress_fast_57(ihvin, ihvout, me2, state);
 1844|       |        break;
 1845|       |#endif
 1846|      0|#ifdef DOSTORESTATE58
 1847|  5.66k|    case 58:
  ------------------
  |  Branch (1847:5): [True: 5.66k, False: 3.56k]
  ------------------
 1848|  5.66k|        sha1recompress_fast_58(ihvin, ihvout, me2, state);
 1849|  5.66k|        break;
 1850|      0|#endif
 1851|       |#ifdef DOSTORESTATE59
 1852|       |    case 59:
 1853|       |        sha1recompress_fast_59(ihvin, ihvout, me2, state);
 1854|       |        break;
 1855|       |#endif
 1856|       |#ifdef DOSTORESTATE60
 1857|       |    case 60:
 1858|       |        sha1recompress_fast_60(ihvin, ihvout, me2, state);
 1859|       |        break;
 1860|       |#endif
 1861|       |#ifdef DOSTORESTATE61
 1862|       |    case 61:
 1863|       |        sha1recompress_fast_61(ihvin, ihvout, me2, state);
 1864|       |        break;
 1865|       |#endif
 1866|       |#ifdef DOSTORESTATE62
 1867|       |    case 62:
 1868|       |        sha1recompress_fast_62(ihvin, ihvout, me2, state);
 1869|       |        break;
 1870|       |#endif
 1871|       |#ifdef DOSTORESTATE63
 1872|       |    case 63:
 1873|       |        sha1recompress_fast_63(ihvin, ihvout, me2, state);
 1874|       |        break;
 1875|       |#endif
 1876|       |#ifdef DOSTORESTATE64
 1877|       |    case 64:
 1878|       |        sha1recompress_fast_64(ihvin, ihvout, me2, state);
 1879|       |        break;
 1880|       |#endif
 1881|      0|#ifdef DOSTORESTATE65
 1882|  3.56k|    case 65:
  ------------------
  |  Branch (1882:5): [True: 3.56k, False: 5.66k]
  ------------------
 1883|  3.56k|        sha1recompress_fast_65(ihvin, ihvout, me2, state);
 1884|  3.56k|        break;
 1885|      0|#endif
 1886|       |#ifdef DOSTORESTATE66
 1887|       |    case 66:
 1888|       |        sha1recompress_fast_66(ihvin, ihvout, me2, state);
 1889|       |        break;
 1890|       |#endif
 1891|       |#ifdef DOSTORESTATE67
 1892|       |    case 67:
 1893|       |        sha1recompress_fast_67(ihvin, ihvout, me2, state);
 1894|       |        break;
 1895|       |#endif
 1896|       |#ifdef DOSTORESTATE68
 1897|       |    case 68:
 1898|       |        sha1recompress_fast_68(ihvin, ihvout, me2, state);
 1899|       |        break;
 1900|       |#endif
 1901|       |#ifdef DOSTORESTATE69
 1902|       |    case 69:
 1903|       |        sha1recompress_fast_69(ihvin, ihvout, me2, state);
 1904|       |        break;
 1905|       |#endif
 1906|       |#ifdef DOSTORESTATE70
 1907|       |    case 70:
 1908|       |        sha1recompress_fast_70(ihvin, ihvout, me2, state);
 1909|       |        break;
 1910|       |#endif
 1911|       |#ifdef DOSTORESTATE71
 1912|       |    case 71:
 1913|       |        sha1recompress_fast_71(ihvin, ihvout, me2, state);
 1914|       |        break;
 1915|       |#endif
 1916|       |#ifdef DOSTORESTATE72
 1917|       |    case 72:
 1918|       |        sha1recompress_fast_72(ihvin, ihvout, me2, state);
 1919|       |        break;
 1920|       |#endif
 1921|       |#ifdef DOSTORESTATE73
 1922|       |    case 73:
 1923|       |        sha1recompress_fast_73(ihvin, ihvout, me2, state);
 1924|       |        break;
 1925|       |#endif
 1926|       |#ifdef DOSTORESTATE74
 1927|       |    case 74:
 1928|       |        sha1recompress_fast_74(ihvin, ihvout, me2, state);
 1929|       |        break;
 1930|       |#endif
 1931|       |#ifdef DOSTORESTATE75
 1932|       |    case 75:
 1933|       |        sha1recompress_fast_75(ihvin, ihvout, me2, state);
 1934|       |        break;
 1935|       |#endif
 1936|       |#ifdef DOSTORESTATE76
 1937|       |    case 76:
 1938|       |        sha1recompress_fast_76(ihvin, ihvout, me2, state);
 1939|       |        break;
 1940|       |#endif
 1941|       |#ifdef DOSTORESTATE77
 1942|       |    case 77:
 1943|       |        sha1recompress_fast_77(ihvin, ihvout, me2, state);
 1944|       |        break;
 1945|       |#endif
 1946|       |#ifdef DOSTORESTATE78
 1947|       |    case 78:
 1948|       |        sha1recompress_fast_78(ihvin, ihvout, me2, state);
 1949|       |        break;
 1950|       |#endif
 1951|       |#ifdef DOSTORESTATE79
 1952|       |    case 79:
 1953|       |        sha1recompress_fast_79(ihvin, ihvout, me2, state);
 1954|       |        break;
 1955|       |#endif
 1956|      0|    default:
  ------------------
  |  Branch (1956:5): [True: 0, False: 9.23k]
  ------------------
 1957|      0|        abort();
 1958|  9.23k|    }
 1959|  9.23k|}
sha1.c:sha1recompress_fast_58:
  879|  5.66k|    {                                                                                         \
  880|  5.66k|        uint32_t a = state[0], b = state[1], c = state[2], d = state[3], e = state[4];        \
  881|  5.66k|        if (t > 79)                                                                           \
  ------------------
  |  Branch (881:13): [Folded, False: 5.66k]
  ------------------
  882|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 79);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  883|  5.66k|        if (t > 78)                                                                           \
  ------------------
  |  Branch (883:13): [Folded, False: 5.66k]
  ------------------
  884|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 78);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  885|  5.66k|        if (t > 77)                                                                           \
  ------------------
  |  Branch (885:13): [Folded, False: 5.66k]
  ------------------
  886|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 77);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  887|  5.66k|        if (t > 76)                                                                           \
  ------------------
  |  Branch (887:13): [Folded, False: 5.66k]
  ------------------
  888|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 76);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  889|  5.66k|        if (t > 75)                                                                           \
  ------------------
  |  Branch (889:13): [Folded, False: 5.66k]
  ------------------
  890|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 75);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  891|  5.66k|        if (t > 74)                                                                           \
  ------------------
  |  Branch (891:13): [Folded, False: 5.66k]
  ------------------
  892|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 74);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  893|  5.66k|        if (t > 73)                                                                           \
  ------------------
  |  Branch (893:13): [Folded, False: 5.66k]
  ------------------
  894|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 73);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  895|  5.66k|        if (t > 72)                                                                           \
  ------------------
  |  Branch (895:13): [Folded, False: 5.66k]
  ------------------
  896|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 72);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  897|  5.66k|        if (t > 71)                                                                           \
  ------------------
  |  Branch (897:13): [Folded, False: 5.66k]
  ------------------
  898|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 71);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  899|  5.66k|        if (t > 70)                                                                           \
  ------------------
  |  Branch (899:13): [Folded, False: 5.66k]
  ------------------
  900|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 70);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  901|  5.66k|        if (t > 69)                                                                           \
  ------------------
  |  Branch (901:13): [Folded, False: 5.66k]
  ------------------
  902|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 69);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  903|  5.66k|        if (t > 68)                                                                           \
  ------------------
  |  Branch (903:13): [Folded, False: 5.66k]
  ------------------
  904|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 68);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  905|  5.66k|        if (t > 67)                                                                           \
  ------------------
  |  Branch (905:13): [Folded, False: 5.66k]
  ------------------
  906|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 67);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  907|  5.66k|        if (t > 66)                                                                           \
  ------------------
  |  Branch (907:13): [Folded, False: 5.66k]
  ------------------
  908|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 66);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  909|  5.66k|        if (t > 65)                                                                           \
  ------------------
  |  Branch (909:13): [Folded, False: 5.66k]
  ------------------
  910|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 65);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  911|  5.66k|        if (t > 64)                                                                           \
  ------------------
  |  Branch (911:13): [Folded, False: 5.66k]
  ------------------
  912|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 64);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  913|  5.66k|        if (t > 63)                                                                           \
  ------------------
  |  Branch (913:13): [Folded, False: 5.66k]
  ------------------
  914|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 63);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  915|  5.66k|        if (t > 62)                                                                           \
  ------------------
  |  Branch (915:13): [Folded, False: 5.66k]
  ------------------
  916|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 62);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  917|  5.66k|        if (t > 61)                                                                           \
  ------------------
  |  Branch (917:13): [Folded, False: 5.66k]
  ------------------
  918|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 61);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  919|  5.66k|        if (t > 60)                                                                           \
  ------------------
  |  Branch (919:13): [Folded, False: 5.66k]
  ------------------
  920|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 60);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  921|  5.66k|        if (t > 59)                                                                           \
  ------------------
  |  Branch (921:13): [Folded, False: 5.66k]
  ------------------
  922|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 59);                    \
  ------------------
  |  |  197|      0|    {                                                                  \
  |  |  198|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|      0|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|      0|    }
  ------------------
  923|  5.66k|        if (t > 58)                                                                           \
  ------------------
  |  Branch (923:13): [Folded, False: 5.66k]
  ------------------
  924|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 58);                    \
  ------------------
  |  |  197|      0|    {                                                                  \
  |  |  198|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|      0|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|      0|    }
  ------------------
  925|  5.66k|        if (t > 57)                                                                           \
  ------------------
  |  Branch (925:13): [True: 5.66k, Folded]
  ------------------
  926|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 57);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  927|  5.66k|        if (t > 56)                                                                           \
  ------------------
  |  Branch (927:13): [True: 5.66k, Folded]
  ------------------
  928|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 56);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  929|  5.66k|        if (t > 55)                                                                           \
  ------------------
  |  Branch (929:13): [True: 5.66k, Folded]
  ------------------
  930|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 55);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  931|  5.66k|        if (t > 54)                                                                           \
  ------------------
  |  Branch (931:13): [True: 5.66k, Folded]
  ------------------
  932|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 54);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  933|  5.66k|        if (t > 53)                                                                           \
  ------------------
  |  Branch (933:13): [True: 5.66k, Folded]
  ------------------
  934|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 53);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  935|  5.66k|        if (t > 52)                                                                           \
  ------------------
  |  Branch (935:13): [True: 5.66k, Folded]
  ------------------
  936|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 52);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  937|  5.66k|        if (t > 51)                                                                           \
  ------------------
  |  Branch (937:13): [True: 5.66k, Folded]
  ------------------
  938|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 51);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  939|  5.66k|        if (t > 50)                                                                           \
  ------------------
  |  Branch (939:13): [True: 5.66k, Folded]
  ------------------
  940|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 50);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  941|  5.66k|        if (t > 49)                                                                           \
  ------------------
  |  Branch (941:13): [True: 5.66k, Folded]
  ------------------
  942|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 49);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  943|  5.66k|        if (t > 48)                                                                           \
  ------------------
  |  Branch (943:13): [True: 5.66k, Folded]
  ------------------
  944|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 48);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  945|  5.66k|        if (t > 47)                                                                           \
  ------------------
  |  Branch (945:13): [True: 5.66k, Folded]
  ------------------
  946|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 47);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  947|  5.66k|        if (t > 46)                                                                           \
  ------------------
  |  Branch (947:13): [True: 5.66k, Folded]
  ------------------
  948|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 46);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  949|  5.66k|        if (t > 45)                                                                           \
  ------------------
  |  Branch (949:13): [True: 5.66k, Folded]
  ------------------
  950|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 45);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  951|  5.66k|        if (t > 44)                                                                           \
  ------------------
  |  Branch (951:13): [True: 5.66k, Folded]
  ------------------
  952|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 44);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  953|  5.66k|        if (t > 43)                                                                           \
  ------------------
  |  Branch (953:13): [True: 5.66k, Folded]
  ------------------
  954|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 43);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  955|  5.66k|        if (t > 42)                                                                           \
  ------------------
  |  Branch (955:13): [True: 5.66k, Folded]
  ------------------
  956|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 42);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  957|  5.66k|        if (t > 41)                                                                           \
  ------------------
  |  Branch (957:13): [True: 5.66k, Folded]
  ------------------
  958|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 41);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  959|  5.66k|        if (t > 40)                                                                           \
  ------------------
  |  Branch (959:13): [True: 5.66k, Folded]
  ------------------
  960|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 40);                    \
  ------------------
  |  |  197|  5.66k|    {                                                                  \
  |  |  198|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  5.66k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  5.66k|    }
  ------------------
  961|  5.66k|        if (t > 39)                                                                           \
  ------------------
  |  Branch (961:13): [True: 5.66k, Folded]
  ------------------
  962|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 39);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  963|  5.66k|        if (t > 38)                                                                           \
  ------------------
  |  Branch (963:13): [True: 5.66k, Folded]
  ------------------
  964|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 38);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  965|  5.66k|        if (t > 37)                                                                           \
  ------------------
  |  Branch (965:13): [True: 5.66k, Folded]
  ------------------
  966|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 37);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  967|  5.66k|        if (t > 36)                                                                           \
  ------------------
  |  Branch (967:13): [True: 5.66k, Folded]
  ------------------
  968|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 36);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  969|  5.66k|        if (t > 35)                                                                           \
  ------------------
  |  Branch (969:13): [True: 5.66k, Folded]
  ------------------
  970|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 35);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  971|  5.66k|        if (t > 34)                                                                           \
  ------------------
  |  Branch (971:13): [True: 5.66k, Folded]
  ------------------
  972|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 34);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  973|  5.66k|        if (t > 33)                                                                           \
  ------------------
  |  Branch (973:13): [True: 5.66k, Folded]
  ------------------
  974|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 33);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  975|  5.66k|        if (t > 32)                                                                           \
  ------------------
  |  Branch (975:13): [True: 5.66k, Folded]
  ------------------
  976|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 32);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  977|  5.66k|        if (t > 31)                                                                           \
  ------------------
  |  Branch (977:13): [True: 5.66k, Folded]
  ------------------
  978|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 31);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  979|  5.66k|        if (t > 30)                                                                           \
  ------------------
  |  Branch (979:13): [True: 5.66k, Folded]
  ------------------
  980|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 30);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  981|  5.66k|        if (t > 29)                                                                           \
  ------------------
  |  Branch (981:13): [True: 5.66k, Folded]
  ------------------
  982|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 29);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  983|  5.66k|        if (t > 28)                                                                           \
  ------------------
  |  Branch (983:13): [True: 5.66k, Folded]
  ------------------
  984|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 28);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  985|  5.66k|        if (t > 27)                                                                           \
  ------------------
  |  Branch (985:13): [True: 5.66k, Folded]
  ------------------
  986|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 27);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  987|  5.66k|        if (t > 26)                                                                           \
  ------------------
  |  Branch (987:13): [True: 5.66k, Folded]
  ------------------
  988|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 26);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  989|  5.66k|        if (t > 25)                                                                           \
  ------------------
  |  Branch (989:13): [True: 5.66k, Folded]
  ------------------
  990|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 25);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  991|  5.66k|        if (t > 24)                                                                           \
  ------------------
  |  Branch (991:13): [True: 5.66k, Folded]
  ------------------
  992|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 24);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  993|  5.66k|        if (t > 23)                                                                           \
  ------------------
  |  Branch (993:13): [True: 5.66k, Folded]
  ------------------
  994|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 23);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  995|  5.66k|        if (t > 22)                                                                           \
  ------------------
  |  Branch (995:13): [True: 5.66k, Folded]
  ------------------
  996|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 22);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  997|  5.66k|        if (t > 21)                                                                           \
  ------------------
  |  Branch (997:13): [True: 5.66k, Folded]
  ------------------
  998|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 21);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
  999|  5.66k|        if (t > 20)                                                                           \
  ------------------
  |  Branch (999:13): [True: 5.66k, Folded]
  ------------------
 1000|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 20);                    \
  ------------------
  |  |  192|  5.66k|    {                                                                  \
  |  |  193|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  5.66k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  5.66k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  5.66k|    }
  ------------------
 1001|  5.66k|        if (t > 19)                                                                           \
  ------------------
  |  Branch (1001:13): [True: 5.66k, Folded]
  ------------------
 1002|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 19);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1003|  5.66k|        if (t > 18)                                                                           \
  ------------------
  |  Branch (1003:13): [True: 5.66k, Folded]
  ------------------
 1004|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 18);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1005|  5.66k|        if (t > 17)                                                                           \
  ------------------
  |  Branch (1005:13): [True: 5.66k, Folded]
  ------------------
 1006|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 17);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1007|  5.66k|        if (t > 16)                                                                           \
  ------------------
  |  Branch (1007:13): [True: 5.66k, Folded]
  ------------------
 1008|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 16);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1009|  5.66k|        if (t > 15)                                                                           \
  ------------------
  |  Branch (1009:13): [True: 5.66k, Folded]
  ------------------
 1010|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 15);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1011|  5.66k|        if (t > 14)                                                                           \
  ------------------
  |  Branch (1011:13): [True: 5.66k, Folded]
  ------------------
 1012|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 14);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1013|  5.66k|        if (t > 13)                                                                           \
  ------------------
  |  Branch (1013:13): [True: 5.66k, Folded]
  ------------------
 1014|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 13);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1015|  5.66k|        if (t > 12)                                                                           \
  ------------------
  |  Branch (1015:13): [True: 5.66k, Folded]
  ------------------
 1016|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 12);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1017|  5.66k|        if (t > 11)                                                                           \
  ------------------
  |  Branch (1017:13): [True: 5.66k, Folded]
  ------------------
 1018|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 11);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1019|  5.66k|        if (t > 10)                                                                           \
  ------------------
  |  Branch (1019:13): [True: 5.66k, Folded]
  ------------------
 1020|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 10);                    \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1021|  5.66k|        if (t > 9)                                                                            \
  ------------------
  |  Branch (1021:13): [True: 5.66k, Folded]
  ------------------
 1022|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 9);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1023|  5.66k|        if (t > 8)                                                                            \
  ------------------
  |  Branch (1023:13): [True: 5.66k, Folded]
  ------------------
 1024|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 8);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1025|  5.66k|        if (t > 7)                                                                            \
  ------------------
  |  Branch (1025:13): [True: 5.66k, Folded]
  ------------------
 1026|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 7);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1027|  5.66k|        if (t > 6)                                                                            \
  ------------------
  |  Branch (1027:13): [True: 5.66k, Folded]
  ------------------
 1028|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 6);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1029|  5.66k|        if (t > 5)                                                                            \
  ------------------
  |  Branch (1029:13): [True: 5.66k, Folded]
  ------------------
 1030|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 5);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1031|  5.66k|        if (t > 4)                                                                            \
  ------------------
  |  Branch (1031:13): [True: 5.66k, Folded]
  ------------------
 1032|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 4);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1033|  5.66k|        if (t > 3)                                                                            \
  ------------------
  |  Branch (1033:13): [True: 5.66k, Folded]
  ------------------
 1034|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 3);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1035|  5.66k|        if (t > 2)                                                                            \
  ------------------
  |  Branch (1035:13): [True: 5.66k, Folded]
  ------------------
 1036|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 2);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1037|  5.66k|        if (t > 1)                                                                            \
  ------------------
  |  Branch (1037:13): [True: 5.66k, Folded]
  ------------------
 1038|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 1);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1039|  5.66k|        if (t > 0)                                                                            \
  ------------------
  |  Branch (1039:13): [True: 5.66k, Folded]
  ------------------
 1040|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 0);                     \
  ------------------
  |  |  187|  5.66k|    {                                                                  \
  |  |  188|  5.66k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  5.66k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  5.66k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  5.66k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  5.66k|    }
  ------------------
 1041|  5.66k|        ihvin[0] = a;                                                                         \
 1042|  5.66k|        ihvin[1] = b;                                                                         \
 1043|  5.66k|        ihvin[2] = c;                                                                         \
 1044|  5.66k|        ihvin[3] = d;                                                                         \
 1045|  5.66k|        ihvin[4] = e;                                                                         \
 1046|  5.66k|        a = state[0];                                                                         \
 1047|  5.66k|        b = state[1];                                                                         \
 1048|  5.66k|        c = state[2];                                                                         \
 1049|  5.66k|        d = state[3];                                                                         \
 1050|  5.66k|        e = state[4];                                                                         \
 1051|  5.66k|        if (t <= 0)                                                                           \
  ------------------
  |  Branch (1051:13): [Folded, False: 5.66k]
  ------------------
 1052|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 0);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1053|  5.66k|        if (t <= 1)                                                                           \
  ------------------
  |  Branch (1053:13): [Folded, False: 5.66k]
  ------------------
 1054|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 1);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1055|  5.66k|        if (t <= 2)                                                                           \
  ------------------
  |  Branch (1055:13): [Folded, False: 5.66k]
  ------------------
 1056|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 2);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1057|  5.66k|        if (t <= 3)                                                                           \
  ------------------
  |  Branch (1057:13): [Folded, False: 5.66k]
  ------------------
 1058|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 3);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1059|  5.66k|        if (t <= 4)                                                                           \
  ------------------
  |  Branch (1059:13): [Folded, False: 5.66k]
  ------------------
 1060|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 4);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1061|  5.66k|        if (t <= 5)                                                                           \
  ------------------
  |  Branch (1061:13): [Folded, False: 5.66k]
  ------------------
 1062|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 5);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1063|  5.66k|        if (t <= 6)                                                                           \
  ------------------
  |  Branch (1063:13): [Folded, False: 5.66k]
  ------------------
 1064|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 6);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1065|  5.66k|        if (t <= 7)                                                                           \
  ------------------
  |  Branch (1065:13): [Folded, False: 5.66k]
  ------------------
 1066|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 7);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1067|  5.66k|        if (t <= 8)                                                                           \
  ------------------
  |  Branch (1067:13): [Folded, False: 5.66k]
  ------------------
 1068|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 8);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1069|  5.66k|        if (t <= 9)                                                                           \
  ------------------
  |  Branch (1069:13): [Folded, False: 5.66k]
  ------------------
 1070|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 9);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1071|  5.66k|        if (t <= 10)                                                                          \
  ------------------
  |  Branch (1071:13): [Folded, False: 5.66k]
  ------------------
 1072|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 10);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1073|  5.66k|        if (t <= 11)                                                                          \
  ------------------
  |  Branch (1073:13): [Folded, False: 5.66k]
  ------------------
 1074|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 11);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1075|  5.66k|        if (t <= 12)                                                                          \
  ------------------
  |  Branch (1075:13): [Folded, False: 5.66k]
  ------------------
 1076|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 12);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1077|  5.66k|        if (t <= 13)                                                                          \
  ------------------
  |  Branch (1077:13): [Folded, False: 5.66k]
  ------------------
 1078|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 13);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1079|  5.66k|        if (t <= 14)                                                                          \
  ------------------
  |  Branch (1079:13): [Folded, False: 5.66k]
  ------------------
 1080|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 14);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1081|  5.66k|        if (t <= 15)                                                                          \
  ------------------
  |  Branch (1081:13): [Folded, False: 5.66k]
  ------------------
 1082|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 15);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1083|  5.66k|        if (t <= 16)                                                                          \
  ------------------
  |  Branch (1083:13): [Folded, False: 5.66k]
  ------------------
 1084|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 16);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1085|  5.66k|        if (t <= 17)                                                                          \
  ------------------
  |  Branch (1085:13): [Folded, False: 5.66k]
  ------------------
 1086|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 17);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1087|  5.66k|        if (t <= 18)                                                                          \
  ------------------
  |  Branch (1087:13): [Folded, False: 5.66k]
  ------------------
 1088|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 18);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1089|  5.66k|        if (t <= 19)                                                                          \
  ------------------
  |  Branch (1089:13): [Folded, False: 5.66k]
  ------------------
 1090|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 19);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1091|  5.66k|        if (t <= 20)                                                                          \
  ------------------
  |  Branch (1091:13): [Folded, False: 5.66k]
  ------------------
 1092|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 20);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1093|  5.66k|        if (t <= 21)                                                                          \
  ------------------
  |  Branch (1093:13): [Folded, False: 5.66k]
  ------------------
 1094|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 21);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1095|  5.66k|        if (t <= 22)                                                                          \
  ------------------
  |  Branch (1095:13): [Folded, False: 5.66k]
  ------------------
 1096|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 22);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1097|  5.66k|        if (t <= 23)                                                                          \
  ------------------
  |  Branch (1097:13): [Folded, False: 5.66k]
  ------------------
 1098|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 23);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1099|  5.66k|        if (t <= 24)                                                                          \
  ------------------
  |  Branch (1099:13): [Folded, False: 5.66k]
  ------------------
 1100|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 24);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1101|  5.66k|        if (t <= 25)                                                                          \
  ------------------
  |  Branch (1101:13): [Folded, False: 5.66k]
  ------------------
 1102|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 25);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1103|  5.66k|        if (t <= 26)                                                                          \
  ------------------
  |  Branch (1103:13): [Folded, False: 5.66k]
  ------------------
 1104|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 26);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1105|  5.66k|        if (t <= 27)                                                                          \
  ------------------
  |  Branch (1105:13): [Folded, False: 5.66k]
  ------------------
 1106|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 27);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1107|  5.66k|        if (t <= 28)                                                                          \
  ------------------
  |  Branch (1107:13): [Folded, False: 5.66k]
  ------------------
 1108|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 28);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1109|  5.66k|        if (t <= 29)                                                                          \
  ------------------
  |  Branch (1109:13): [Folded, False: 5.66k]
  ------------------
 1110|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 29);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1111|  5.66k|        if (t <= 30)                                                                          \
  ------------------
  |  Branch (1111:13): [Folded, False: 5.66k]
  ------------------
 1112|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 30);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1113|  5.66k|        if (t <= 31)                                                                          \
  ------------------
  |  Branch (1113:13): [Folded, False: 5.66k]
  ------------------
 1114|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 31);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1115|  5.66k|        if (t <= 32)                                                                          \
  ------------------
  |  Branch (1115:13): [Folded, False: 5.66k]
  ------------------
 1116|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 32);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1117|  5.66k|        if (t <= 33)                                                                          \
  ------------------
  |  Branch (1117:13): [Folded, False: 5.66k]
  ------------------
 1118|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 33);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1119|  5.66k|        if (t <= 34)                                                                          \
  ------------------
  |  Branch (1119:13): [Folded, False: 5.66k]
  ------------------
 1120|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 34);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1121|  5.66k|        if (t <= 35)                                                                          \
  ------------------
  |  Branch (1121:13): [Folded, False: 5.66k]
  ------------------
 1122|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 35);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1123|  5.66k|        if (t <= 36)                                                                          \
  ------------------
  |  Branch (1123:13): [Folded, False: 5.66k]
  ------------------
 1124|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 36);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1125|  5.66k|        if (t <= 37)                                                                          \
  ------------------
  |  Branch (1125:13): [Folded, False: 5.66k]
  ------------------
 1126|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 37);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1127|  5.66k|        if (t <= 38)                                                                          \
  ------------------
  |  Branch (1127:13): [Folded, False: 5.66k]
  ------------------
 1128|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 38);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1129|  5.66k|        if (t <= 39)                                                                          \
  ------------------
  |  Branch (1129:13): [Folded, False: 5.66k]
  ------------------
 1130|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 39);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1131|  5.66k|        if (t <= 40)                                                                          \
  ------------------
  |  Branch (1131:13): [Folded, False: 5.66k]
  ------------------
 1132|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 40);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1133|  5.66k|        if (t <= 41)                                                                          \
  ------------------
  |  Branch (1133:13): [Folded, False: 5.66k]
  ------------------
 1134|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 41);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1135|  5.66k|        if (t <= 42)                                                                          \
  ------------------
  |  Branch (1135:13): [Folded, False: 5.66k]
  ------------------
 1136|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 42);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1137|  5.66k|        if (t <= 43)                                                                          \
  ------------------
  |  Branch (1137:13): [Folded, False: 5.66k]
  ------------------
 1138|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 43);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1139|  5.66k|        if (t <= 44)                                                                          \
  ------------------
  |  Branch (1139:13): [Folded, False: 5.66k]
  ------------------
 1140|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 44);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1141|  5.66k|        if (t <= 45)                                                                          \
  ------------------
  |  Branch (1141:13): [Folded, False: 5.66k]
  ------------------
 1142|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 45);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1143|  5.66k|        if (t <= 46)                                                                          \
  ------------------
  |  Branch (1143:13): [Folded, False: 5.66k]
  ------------------
 1144|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 46);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1145|  5.66k|        if (t <= 47)                                                                          \
  ------------------
  |  Branch (1145:13): [Folded, False: 5.66k]
  ------------------
 1146|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 47);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1147|  5.66k|        if (t <= 48)                                                                          \
  ------------------
  |  Branch (1147:13): [Folded, False: 5.66k]
  ------------------
 1148|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 48);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1149|  5.66k|        if (t <= 49)                                                                          \
  ------------------
  |  Branch (1149:13): [Folded, False: 5.66k]
  ------------------
 1150|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 49);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1151|  5.66k|        if (t <= 50)                                                                          \
  ------------------
  |  Branch (1151:13): [Folded, False: 5.66k]
  ------------------
 1152|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 50);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1153|  5.66k|        if (t <= 51)                                                                          \
  ------------------
  |  Branch (1153:13): [Folded, False: 5.66k]
  ------------------
 1154|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 51);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1155|  5.66k|        if (t <= 52)                                                                          \
  ------------------
  |  Branch (1155:13): [Folded, False: 5.66k]
  ------------------
 1156|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 52);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1157|  5.66k|        if (t <= 53)                                                                          \
  ------------------
  |  Branch (1157:13): [Folded, False: 5.66k]
  ------------------
 1158|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 53);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1159|  5.66k|        if (t <= 54)                                                                          \
  ------------------
  |  Branch (1159:13): [Folded, False: 5.66k]
  ------------------
 1160|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 54);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1161|  5.66k|        if (t <= 55)                                                                          \
  ------------------
  |  Branch (1161:13): [Folded, False: 5.66k]
  ------------------
 1162|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 55);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1163|  5.66k|        if (t <= 56)                                                                          \
  ------------------
  |  Branch (1163:13): [Folded, False: 5.66k]
  ------------------
 1164|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 56);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1165|  5.66k|        if (t <= 57)                                                                          \
  ------------------
  |  Branch (1165:13): [Folded, False: 5.66k]
  ------------------
 1166|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 57);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1167|  5.66k|        if (t <= 58)                                                                          \
  ------------------
  |  Branch (1167:13): [True: 5.66k, Folded]
  ------------------
 1168|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 58);                       \
  ------------------
  |  |  176|  5.66k|    {                                                                  \
  |  |  177|  5.66k|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|  5.66k|    }
  ------------------
 1169|  5.66k|        if (t <= 59)                                                                          \
  ------------------
  |  Branch (1169:13): [True: 5.66k, Folded]
  ------------------
 1170|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 59);                       \
  ------------------
  |  |  176|  5.66k|    {                                                                  \
  |  |  177|  5.66k|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  5.66k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|  5.66k|    }
  ------------------
 1171|  5.66k|        if (t <= 60)                                                                          \
  ------------------
  |  Branch (1171:13): [True: 5.66k, Folded]
  ------------------
 1172|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 60);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1173|  5.66k|        if (t <= 61)                                                                          \
  ------------------
  |  Branch (1173:13): [True: 5.66k, Folded]
  ------------------
 1174|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 61);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1175|  5.66k|        if (t <= 62)                                                                          \
  ------------------
  |  Branch (1175:13): [True: 5.66k, Folded]
  ------------------
 1176|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 62);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1177|  5.66k|        if (t <= 63)                                                                          \
  ------------------
  |  Branch (1177:13): [True: 5.66k, Folded]
  ------------------
 1178|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 63);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1179|  5.66k|        if (t <= 64)                                                                          \
  ------------------
  |  Branch (1179:13): [True: 5.66k, Folded]
  ------------------
 1180|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 64);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1181|  5.66k|        if (t <= 65)                                                                          \
  ------------------
  |  Branch (1181:13): [True: 5.66k, Folded]
  ------------------
 1182|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 65);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1183|  5.66k|        if (t <= 66)                                                                          \
  ------------------
  |  Branch (1183:13): [True: 5.66k, Folded]
  ------------------
 1184|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 66);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1185|  5.66k|        if (t <= 67)                                                                          \
  ------------------
  |  Branch (1185:13): [True: 5.66k, Folded]
  ------------------
 1186|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 67);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1187|  5.66k|        if (t <= 68)                                                                          \
  ------------------
  |  Branch (1187:13): [True: 5.66k, Folded]
  ------------------
 1188|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 68);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1189|  5.66k|        if (t <= 69)                                                                          \
  ------------------
  |  Branch (1189:13): [True: 5.66k, Folded]
  ------------------
 1190|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 69);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1191|  5.66k|        if (t <= 70)                                                                          \
  ------------------
  |  Branch (1191:13): [True: 5.66k, Folded]
  ------------------
 1192|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 70);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1193|  5.66k|        if (t <= 71)                                                                          \
  ------------------
  |  Branch (1193:13): [True: 5.66k, Folded]
  ------------------
 1194|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 71);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1195|  5.66k|        if (t <= 72)                                                                          \
  ------------------
  |  Branch (1195:13): [True: 5.66k, Folded]
  ------------------
 1196|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 72);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1197|  5.66k|        if (t <= 73)                                                                          \
  ------------------
  |  Branch (1197:13): [True: 5.66k, Folded]
  ------------------
 1198|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 73);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1199|  5.66k|        if (t <= 74)                                                                          \
  ------------------
  |  Branch (1199:13): [True: 5.66k, Folded]
  ------------------
 1200|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 74);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1201|  5.66k|        if (t <= 75)                                                                          \
  ------------------
  |  Branch (1201:13): [True: 5.66k, Folded]
  ------------------
 1202|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 75);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1203|  5.66k|        if (t <= 76)                                                                          \
  ------------------
  |  Branch (1203:13): [True: 5.66k, Folded]
  ------------------
 1204|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 76);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1205|  5.66k|        if (t <= 77)                                                                          \
  ------------------
  |  Branch (1205:13): [True: 5.66k, Folded]
  ------------------
 1206|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 77);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1207|  5.66k|        if (t <= 78)                                                                          \
  ------------------
  |  Branch (1207:13): [True: 5.66k, Folded]
  ------------------
 1208|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 78);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1209|  5.66k|        if (t <= 79)                                                                          \
  ------------------
  |  Branch (1209:13): [True: 5.66k, Folded]
  ------------------
 1210|  5.66k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 79);                       \
  ------------------
  |  |  181|  5.66k|    {                                                                  \
  |  |  182|  5.66k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  5.66k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  5.66k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  5.66k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  5.66k|    }
  ------------------
 1211|  5.66k|        ihvout[0] = ihvin[0] + a;                                                             \
 1212|  5.66k|        ihvout[1] = ihvin[1] + b;                                                             \
 1213|  5.66k|        ihvout[2] = ihvin[2] + c;                                                             \
 1214|  5.66k|        ihvout[3] = ihvin[3] + d;                                                             \
 1215|  5.66k|        ihvout[4] = ihvin[4] + e;                                                             \
 1216|  5.66k|    }
sha1.c:sha1recompress_fast_65:
  879|  3.56k|    {                                                                                         \
  880|  3.56k|        uint32_t a = state[0], b = state[1], c = state[2], d = state[3], e = state[4];        \
  881|  3.56k|        if (t > 79)                                                                           \
  ------------------
  |  Branch (881:13): [Folded, False: 3.56k]
  ------------------
  882|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 79);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  883|  3.56k|        if (t > 78)                                                                           \
  ------------------
  |  Branch (883:13): [Folded, False: 3.56k]
  ------------------
  884|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 78);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  885|  3.56k|        if (t > 77)                                                                           \
  ------------------
  |  Branch (885:13): [Folded, False: 3.56k]
  ------------------
  886|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 77);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  887|  3.56k|        if (t > 76)                                                                           \
  ------------------
  |  Branch (887:13): [Folded, False: 3.56k]
  ------------------
  888|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 76);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  889|  3.56k|        if (t > 75)                                                                           \
  ------------------
  |  Branch (889:13): [Folded, False: 3.56k]
  ------------------
  890|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 75);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  891|  3.56k|        if (t > 74)                                                                           \
  ------------------
  |  Branch (891:13): [Folded, False: 3.56k]
  ------------------
  892|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 74);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  893|  3.56k|        if (t > 73)                                                                           \
  ------------------
  |  Branch (893:13): [Folded, False: 3.56k]
  ------------------
  894|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 73);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  895|  3.56k|        if (t > 72)                                                                           \
  ------------------
  |  Branch (895:13): [Folded, False: 3.56k]
  ------------------
  896|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 72);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  897|  3.56k|        if (t > 71)                                                                           \
  ------------------
  |  Branch (897:13): [Folded, False: 3.56k]
  ------------------
  898|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 71);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  899|  3.56k|        if (t > 70)                                                                           \
  ------------------
  |  Branch (899:13): [Folded, False: 3.56k]
  ------------------
  900|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 70);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  901|  3.56k|        if (t > 69)                                                                           \
  ------------------
  |  Branch (901:13): [Folded, False: 3.56k]
  ------------------
  902|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 69);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  903|  3.56k|        if (t > 68)                                                                           \
  ------------------
  |  Branch (903:13): [Folded, False: 3.56k]
  ------------------
  904|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 68);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  905|  3.56k|        if (t > 67)                                                                           \
  ------------------
  |  Branch (905:13): [Folded, False: 3.56k]
  ------------------
  906|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 67);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  907|  3.56k|        if (t > 66)                                                                           \
  ------------------
  |  Branch (907:13): [Folded, False: 3.56k]
  ------------------
  908|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 66);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  909|  3.56k|        if (t > 65)                                                                           \
  ------------------
  |  Branch (909:13): [Folded, False: 3.56k]
  ------------------
  910|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 65);                    \
  ------------------
  |  |  202|      0|    {                                                                  \
  |  |  203|      0|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|      0|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|      0|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|      0|    }
  ------------------
  911|  3.56k|        if (t > 64)                                                                           \
  ------------------
  |  Branch (911:13): [True: 3.56k, Folded]
  ------------------
  912|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(b, c, d, e, a, me2, 64);                    \
  ------------------
  |  |  202|  3.56k|    {                                                                  \
  |  |  203|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|  3.56k|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|  3.56k|    }
  ------------------
  913|  3.56k|        if (t > 63)                                                                           \
  ------------------
  |  Branch (913:13): [True: 3.56k, Folded]
  ------------------
  914|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(c, d, e, a, b, me2, 63);                    \
  ------------------
  |  |  202|  3.56k|    {                                                                  \
  |  |  203|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|  3.56k|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|  3.56k|    }
  ------------------
  915|  3.56k|        if (t > 62)                                                                           \
  ------------------
  |  Branch (915:13): [True: 3.56k, Folded]
  ------------------
  916|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(d, e, a, b, c, me2, 62);                    \
  ------------------
  |  |  202|  3.56k|    {                                                                  \
  |  |  203|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|  3.56k|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|  3.56k|    }
  ------------------
  917|  3.56k|        if (t > 61)                                                                           \
  ------------------
  |  Branch (917:13): [True: 3.56k, Folded]
  ------------------
  918|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(e, a, b, c, d, me2, 61);                    \
  ------------------
  |  |  202|  3.56k|    {                                                                  \
  |  |  203|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|  3.56k|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|  3.56k|    }
  ------------------
  919|  3.56k|        if (t > 60)                                                                           \
  ------------------
  |  Branch (919:13): [True: 3.56k, Folded]
  ------------------
  920|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP_BW(a, b, c, d, e, me2, 60);                    \
  ------------------
  |  |  202|  3.56k|    {                                                                  \
  |  |  203|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  204|  3.56k|        e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  205|  3.56k|    }
  ------------------
  921|  3.56k|        if (t > 59)                                                                           \
  ------------------
  |  Branch (921:13): [True: 3.56k, Folded]
  ------------------
  922|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 59);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  923|  3.56k|        if (t > 58)                                                                           \
  ------------------
  |  Branch (923:13): [True: 3.56k, Folded]
  ------------------
  924|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 58);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  925|  3.56k|        if (t > 57)                                                                           \
  ------------------
  |  Branch (925:13): [True: 3.56k, Folded]
  ------------------
  926|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 57);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  927|  3.56k|        if (t > 56)                                                                           \
  ------------------
  |  Branch (927:13): [True: 3.56k, Folded]
  ------------------
  928|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 56);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  929|  3.56k|        if (t > 55)                                                                           \
  ------------------
  |  Branch (929:13): [True: 3.56k, Folded]
  ------------------
  930|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 55);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  931|  3.56k|        if (t > 54)                                                                           \
  ------------------
  |  Branch (931:13): [True: 3.56k, Folded]
  ------------------
  932|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 54);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  933|  3.56k|        if (t > 53)                                                                           \
  ------------------
  |  Branch (933:13): [True: 3.56k, Folded]
  ------------------
  934|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 53);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  935|  3.56k|        if (t > 52)                                                                           \
  ------------------
  |  Branch (935:13): [True: 3.56k, Folded]
  ------------------
  936|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 52);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  937|  3.56k|        if (t > 51)                                                                           \
  ------------------
  |  Branch (937:13): [True: 3.56k, Folded]
  ------------------
  938|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 51);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  939|  3.56k|        if (t > 50)                                                                           \
  ------------------
  |  Branch (939:13): [True: 3.56k, Folded]
  ------------------
  940|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 50);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  941|  3.56k|        if (t > 49)                                                                           \
  ------------------
  |  Branch (941:13): [True: 3.56k, Folded]
  ------------------
  942|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 49);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  943|  3.56k|        if (t > 48)                                                                           \
  ------------------
  |  Branch (943:13): [True: 3.56k, Folded]
  ------------------
  944|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 48);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  945|  3.56k|        if (t > 47)                                                                           \
  ------------------
  |  Branch (945:13): [True: 3.56k, Folded]
  ------------------
  946|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 47);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  947|  3.56k|        if (t > 46)                                                                           \
  ------------------
  |  Branch (947:13): [True: 3.56k, Folded]
  ------------------
  948|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 46);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  949|  3.56k|        if (t > 45)                                                                           \
  ------------------
  |  Branch (949:13): [True: 3.56k, Folded]
  ------------------
  950|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 45);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  951|  3.56k|        if (t > 44)                                                                           \
  ------------------
  |  Branch (951:13): [True: 3.56k, Folded]
  ------------------
  952|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(b, c, d, e, a, me2, 44);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  953|  3.56k|        if (t > 43)                                                                           \
  ------------------
  |  Branch (953:13): [True: 3.56k, Folded]
  ------------------
  954|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(c, d, e, a, b, me2, 43);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  955|  3.56k|        if (t > 42)                                                                           \
  ------------------
  |  Branch (955:13): [True: 3.56k, Folded]
  ------------------
  956|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(d, e, a, b, c, me2, 42);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  957|  3.56k|        if (t > 41)                                                                           \
  ------------------
  |  Branch (957:13): [True: 3.56k, Folded]
  ------------------
  958|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(e, a, b, c, d, me2, 41);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  959|  3.56k|        if (t > 40)                                                                           \
  ------------------
  |  Branch (959:13): [True: 3.56k, Folded]
  ------------------
  960|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP_BW(a, b, c, d, e, me2, 40);                    \
  ------------------
  |  |  197|  3.56k|    {                                                                  \
  |  |  198|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  199|  3.56k|        e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|  3.56k|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  200|  3.56k|    }
  ------------------
  961|  3.56k|        if (t > 39)                                                                           \
  ------------------
  |  Branch (961:13): [True: 3.56k, Folded]
  ------------------
  962|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 39);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  963|  3.56k|        if (t > 38)                                                                           \
  ------------------
  |  Branch (963:13): [True: 3.56k, Folded]
  ------------------
  964|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 38);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  965|  3.56k|        if (t > 37)                                                                           \
  ------------------
  |  Branch (965:13): [True: 3.56k, Folded]
  ------------------
  966|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 37);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  967|  3.56k|        if (t > 36)                                                                           \
  ------------------
  |  Branch (967:13): [True: 3.56k, Folded]
  ------------------
  968|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 36);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  969|  3.56k|        if (t > 35)                                                                           \
  ------------------
  |  Branch (969:13): [True: 3.56k, Folded]
  ------------------
  970|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 35);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  971|  3.56k|        if (t > 34)                                                                           \
  ------------------
  |  Branch (971:13): [True: 3.56k, Folded]
  ------------------
  972|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 34);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  973|  3.56k|        if (t > 33)                                                                           \
  ------------------
  |  Branch (973:13): [True: 3.56k, Folded]
  ------------------
  974|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 33);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  975|  3.56k|        if (t > 32)                                                                           \
  ------------------
  |  Branch (975:13): [True: 3.56k, Folded]
  ------------------
  976|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 32);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  977|  3.56k|        if (t > 31)                                                                           \
  ------------------
  |  Branch (977:13): [True: 3.56k, Folded]
  ------------------
  978|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 31);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  979|  3.56k|        if (t > 30)                                                                           \
  ------------------
  |  Branch (979:13): [True: 3.56k, Folded]
  ------------------
  980|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 30);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  981|  3.56k|        if (t > 29)                                                                           \
  ------------------
  |  Branch (981:13): [True: 3.56k, Folded]
  ------------------
  982|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 29);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  983|  3.56k|        if (t > 28)                                                                           \
  ------------------
  |  Branch (983:13): [True: 3.56k, Folded]
  ------------------
  984|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 28);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  985|  3.56k|        if (t > 27)                                                                           \
  ------------------
  |  Branch (985:13): [True: 3.56k, Folded]
  ------------------
  986|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 27);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  987|  3.56k|        if (t > 26)                                                                           \
  ------------------
  |  Branch (987:13): [True: 3.56k, Folded]
  ------------------
  988|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 26);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  989|  3.56k|        if (t > 25)                                                                           \
  ------------------
  |  Branch (989:13): [True: 3.56k, Folded]
  ------------------
  990|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 25);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  991|  3.56k|        if (t > 24)                                                                           \
  ------------------
  |  Branch (991:13): [True: 3.56k, Folded]
  ------------------
  992|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(b, c, d, e, a, me2, 24);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  993|  3.56k|        if (t > 23)                                                                           \
  ------------------
  |  Branch (993:13): [True: 3.56k, Folded]
  ------------------
  994|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(c, d, e, a, b, me2, 23);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  995|  3.56k|        if (t > 22)                                                                           \
  ------------------
  |  Branch (995:13): [True: 3.56k, Folded]
  ------------------
  996|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(d, e, a, b, c, me2, 22);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  997|  3.56k|        if (t > 21)                                                                           \
  ------------------
  |  Branch (997:13): [True: 3.56k, Folded]
  ------------------
  998|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(e, a, b, c, d, me2, 21);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
  999|  3.56k|        if (t > 20)                                                                           \
  ------------------
  |  Branch (999:13): [True: 3.56k, Folded]
  ------------------
 1000|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP_BW(a, b, c, d, e, me2, 20);                    \
  ------------------
  |  |  192|  3.56k|    {                                                                  \
  |  |  193|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  194|  3.56k|        e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|  3.56k|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  195|  3.56k|    }
  ------------------
 1001|  3.56k|        if (t > 19)                                                                           \
  ------------------
  |  Branch (1001:13): [True: 3.56k, Folded]
  ------------------
 1002|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 19);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1003|  3.56k|        if (t > 18)                                                                           \
  ------------------
  |  Branch (1003:13): [True: 3.56k, Folded]
  ------------------
 1004|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 18);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1005|  3.56k|        if (t > 17)                                                                           \
  ------------------
  |  Branch (1005:13): [True: 3.56k, Folded]
  ------------------
 1006|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 17);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1007|  3.56k|        if (t > 16)                                                                           \
  ------------------
  |  Branch (1007:13): [True: 3.56k, Folded]
  ------------------
 1008|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 16);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1009|  3.56k|        if (t > 15)                                                                           \
  ------------------
  |  Branch (1009:13): [True: 3.56k, Folded]
  ------------------
 1010|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 15);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1011|  3.56k|        if (t > 14)                                                                           \
  ------------------
  |  Branch (1011:13): [True: 3.56k, Folded]
  ------------------
 1012|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 14);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1013|  3.56k|        if (t > 13)                                                                           \
  ------------------
  |  Branch (1013:13): [True: 3.56k, Folded]
  ------------------
 1014|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 13);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1015|  3.56k|        if (t > 12)                                                                           \
  ------------------
  |  Branch (1015:13): [True: 3.56k, Folded]
  ------------------
 1016|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 12);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1017|  3.56k|        if (t > 11)                                                                           \
  ------------------
  |  Branch (1017:13): [True: 3.56k, Folded]
  ------------------
 1018|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 11);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1019|  3.56k|        if (t > 10)                                                                           \
  ------------------
  |  Branch (1019:13): [True: 3.56k, Folded]
  ------------------
 1020|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 10);                    \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1021|  3.56k|        if (t > 9)                                                                            \
  ------------------
  |  Branch (1021:13): [True: 3.56k, Folded]
  ------------------
 1022|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 9);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1023|  3.56k|        if (t > 8)                                                                            \
  ------------------
  |  Branch (1023:13): [True: 3.56k, Folded]
  ------------------
 1024|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 8);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1025|  3.56k|        if (t > 7)                                                                            \
  ------------------
  |  Branch (1025:13): [True: 3.56k, Folded]
  ------------------
 1026|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 7);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1027|  3.56k|        if (t > 6)                                                                            \
  ------------------
  |  Branch (1027:13): [True: 3.56k, Folded]
  ------------------
 1028|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 6);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1029|  3.56k|        if (t > 5)                                                                            \
  ------------------
  |  Branch (1029:13): [True: 3.56k, Folded]
  ------------------
 1030|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 5);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1031|  3.56k|        if (t > 4)                                                                            \
  ------------------
  |  Branch (1031:13): [True: 3.56k, Folded]
  ------------------
 1032|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(b, c, d, e, a, me2, 4);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1033|  3.56k|        if (t > 3)                                                                            \
  ------------------
  |  Branch (1033:13): [True: 3.56k, Folded]
  ------------------
 1034|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(c, d, e, a, b, me2, 3);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1035|  3.56k|        if (t > 2)                                                                            \
  ------------------
  |  Branch (1035:13): [True: 3.56k, Folded]
  ------------------
 1036|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(d, e, a, b, c, me2, 2);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1037|  3.56k|        if (t > 1)                                                                            \
  ------------------
  |  Branch (1037:13): [True: 3.56k, Folded]
  ------------------
 1038|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(e, a, b, c, d, me2, 1);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1039|  3.56k|        if (t > 0)                                                                            \
  ------------------
  |  Branch (1039:13): [True: 3.56k, Folded]
  ------------------
 1040|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP_BW(a, b, c, d, e, me2, 0);                     \
  ------------------
  |  |  187|  3.56k|    {                                                                  \
  |  |  188|  3.56k|        b = rotate_right(b, 30);                                       \
  |  |  ------------------
  |  |  |  |  134|  3.56k|#define rotate_right(x, n) (((x) >> (n)) | ((x) << (32 - (n))))
  |  |  ------------------
  |  |  189|  3.56k|        e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e -= rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|  3.56k|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  190|  3.56k|    }
  ------------------
 1041|  3.56k|        ihvin[0] = a;                                                                         \
 1042|  3.56k|        ihvin[1] = b;                                                                         \
 1043|  3.56k|        ihvin[2] = c;                                                                         \
 1044|  3.56k|        ihvin[3] = d;                                                                         \
 1045|  3.56k|        ihvin[4] = e;                                                                         \
 1046|  3.56k|        a = state[0];                                                                         \
 1047|  3.56k|        b = state[1];                                                                         \
 1048|  3.56k|        c = state[2];                                                                         \
 1049|  3.56k|        d = state[3];                                                                         \
 1050|  3.56k|        e = state[4];                                                                         \
 1051|  3.56k|        if (t <= 0)                                                                           \
  ------------------
  |  Branch (1051:13): [Folded, False: 3.56k]
  ------------------
 1052|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 0);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1053|  3.56k|        if (t <= 1)                                                                           \
  ------------------
  |  Branch (1053:13): [Folded, False: 3.56k]
  ------------------
 1054|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 1);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1055|  3.56k|        if (t <= 2)                                                                           \
  ------------------
  |  Branch (1055:13): [Folded, False: 3.56k]
  ------------------
 1056|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 2);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1057|  3.56k|        if (t <= 3)                                                                           \
  ------------------
  |  Branch (1057:13): [Folded, False: 3.56k]
  ------------------
 1058|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 3);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1059|  3.56k|        if (t <= 4)                                                                           \
  ------------------
  |  Branch (1059:13): [Folded, False: 3.56k]
  ------------------
 1060|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 4);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1061|  3.56k|        if (t <= 5)                                                                           \
  ------------------
  |  Branch (1061:13): [Folded, False: 3.56k]
  ------------------
 1062|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 5);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1063|  3.56k|        if (t <= 6)                                                                           \
  ------------------
  |  Branch (1063:13): [Folded, False: 3.56k]
  ------------------
 1064|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 6);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1065|  3.56k|        if (t <= 7)                                                                           \
  ------------------
  |  Branch (1065:13): [Folded, False: 3.56k]
  ------------------
 1066|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 7);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1067|  3.56k|        if (t <= 8)                                                                           \
  ------------------
  |  Branch (1067:13): [Folded, False: 3.56k]
  ------------------
 1068|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 8);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1069|  3.56k|        if (t <= 9)                                                                           \
  ------------------
  |  Branch (1069:13): [Folded, False: 3.56k]
  ------------------
 1070|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 9);                        \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1071|  3.56k|        if (t <= 10)                                                                          \
  ------------------
  |  Branch (1071:13): [Folded, False: 3.56k]
  ------------------
 1072|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 10);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1073|  3.56k|        if (t <= 11)                                                                          \
  ------------------
  |  Branch (1073:13): [Folded, False: 3.56k]
  ------------------
 1074|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 11);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1075|  3.56k|        if (t <= 12)                                                                          \
  ------------------
  |  Branch (1075:13): [Folded, False: 3.56k]
  ------------------
 1076|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 12);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1077|  3.56k|        if (t <= 13)                                                                          \
  ------------------
  |  Branch (1077:13): [Folded, False: 3.56k]
  ------------------
 1078|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 13);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1079|  3.56k|        if (t <= 14)                                                                          \
  ------------------
  |  Branch (1079:13): [Folded, False: 3.56k]
  ------------------
 1080|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 14);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1081|  3.56k|        if (t <= 15)                                                                          \
  ------------------
  |  Branch (1081:13): [Folded, False: 3.56k]
  ------------------
 1082|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(a, b, c, d, e, me2, 15);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1083|  3.56k|        if (t <= 16)                                                                          \
  ------------------
  |  Branch (1083:13): [Folded, False: 3.56k]
  ------------------
 1084|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(e, a, b, c, d, me2, 16);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1085|  3.56k|        if (t <= 17)                                                                          \
  ------------------
  |  Branch (1085:13): [Folded, False: 3.56k]
  ------------------
 1086|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(d, e, a, b, c, me2, 17);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1087|  3.56k|        if (t <= 18)                                                                          \
  ------------------
  |  Branch (1087:13): [Folded, False: 3.56k]
  ------------------
 1088|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(c, d, e, a, b, me2, 18);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1089|  3.56k|        if (t <= 19)                                                                          \
  ------------------
  |  Branch (1089:13): [Folded, False: 3.56k]
  ------------------
 1090|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND1_STEP(b, c, d, e, a, me2, 19);                       \
  ------------------
  |  |  166|      0|    {                                                                  \
  |  |  167|      0|        e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f1(b, c, d) + 0x5A827999 + m[t]; \
  |  |  ------------------
  |  |  |  |  160|      0|#define sha1_f1(b, c, d) ((d) ^ ((b) & ((c) ^ (d))))
  |  |  ------------------
  |  |  168|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  169|      0|    }
  ------------------
 1091|  3.56k|        if (t <= 20)                                                                          \
  ------------------
  |  Branch (1091:13): [Folded, False: 3.56k]
  ------------------
 1092|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 20);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1093|  3.56k|        if (t <= 21)                                                                          \
  ------------------
  |  Branch (1093:13): [Folded, False: 3.56k]
  ------------------
 1094|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 21);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1095|  3.56k|        if (t <= 22)                                                                          \
  ------------------
  |  Branch (1095:13): [Folded, False: 3.56k]
  ------------------
 1096|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 22);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1097|  3.56k|        if (t <= 23)                                                                          \
  ------------------
  |  Branch (1097:13): [Folded, False: 3.56k]
  ------------------
 1098|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 23);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1099|  3.56k|        if (t <= 24)                                                                          \
  ------------------
  |  Branch (1099:13): [Folded, False: 3.56k]
  ------------------
 1100|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 24);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1101|  3.56k|        if (t <= 25)                                                                          \
  ------------------
  |  Branch (1101:13): [Folded, False: 3.56k]
  ------------------
 1102|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 25);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1103|  3.56k|        if (t <= 26)                                                                          \
  ------------------
  |  Branch (1103:13): [Folded, False: 3.56k]
  ------------------
 1104|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 26);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1105|  3.56k|        if (t <= 27)                                                                          \
  ------------------
  |  Branch (1105:13): [Folded, False: 3.56k]
  ------------------
 1106|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 27);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1107|  3.56k|        if (t <= 28)                                                                          \
  ------------------
  |  Branch (1107:13): [Folded, False: 3.56k]
  ------------------
 1108|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 28);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1109|  3.56k|        if (t <= 29)                                                                          \
  ------------------
  |  Branch (1109:13): [Folded, False: 3.56k]
  ------------------
 1110|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 29);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1111|  3.56k|        if (t <= 30)                                                                          \
  ------------------
  |  Branch (1111:13): [Folded, False: 3.56k]
  ------------------
 1112|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 30);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1113|  3.56k|        if (t <= 31)                                                                          \
  ------------------
  |  Branch (1113:13): [Folded, False: 3.56k]
  ------------------
 1114|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 31);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1115|  3.56k|        if (t <= 32)                                                                          \
  ------------------
  |  Branch (1115:13): [Folded, False: 3.56k]
  ------------------
 1116|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 32);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1117|  3.56k|        if (t <= 33)                                                                          \
  ------------------
  |  Branch (1117:13): [Folded, False: 3.56k]
  ------------------
 1118|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 33);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1119|  3.56k|        if (t <= 34)                                                                          \
  ------------------
  |  Branch (1119:13): [Folded, False: 3.56k]
  ------------------
 1120|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 34);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1121|  3.56k|        if (t <= 35)                                                                          \
  ------------------
  |  Branch (1121:13): [Folded, False: 3.56k]
  ------------------
 1122|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(a, b, c, d, e, me2, 35);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1123|  3.56k|        if (t <= 36)                                                                          \
  ------------------
  |  Branch (1123:13): [Folded, False: 3.56k]
  ------------------
 1124|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(e, a, b, c, d, me2, 36);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1125|  3.56k|        if (t <= 37)                                                                          \
  ------------------
  |  Branch (1125:13): [Folded, False: 3.56k]
  ------------------
 1126|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(d, e, a, b, c, me2, 37);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1127|  3.56k|        if (t <= 38)                                                                          \
  ------------------
  |  Branch (1127:13): [Folded, False: 3.56k]
  ------------------
 1128|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(c, d, e, a, b, me2, 38);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1129|  3.56k|        if (t <= 39)                                                                          \
  ------------------
  |  Branch (1129:13): [Folded, False: 3.56k]
  ------------------
 1130|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND2_STEP(b, c, d, e, a, me2, 39);                       \
  ------------------
  |  |  171|      0|    {                                                                  \
  |  |  172|      0|        e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f2(b, c, d) + 0x6ED9EBA1 + m[t]; \
  |  |  ------------------
  |  |  |  |  161|      0|#define sha1_f2(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  173|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  174|      0|    }
  ------------------
 1131|  3.56k|        if (t <= 40)                                                                          \
  ------------------
  |  Branch (1131:13): [Folded, False: 3.56k]
  ------------------
 1132|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 40);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1133|  3.56k|        if (t <= 41)                                                                          \
  ------------------
  |  Branch (1133:13): [Folded, False: 3.56k]
  ------------------
 1134|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 41);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1135|  3.56k|        if (t <= 42)                                                                          \
  ------------------
  |  Branch (1135:13): [Folded, False: 3.56k]
  ------------------
 1136|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 42);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1137|  3.56k|        if (t <= 43)                                                                          \
  ------------------
  |  Branch (1137:13): [Folded, False: 3.56k]
  ------------------
 1138|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 43);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1139|  3.56k|        if (t <= 44)                                                                          \
  ------------------
  |  Branch (1139:13): [Folded, False: 3.56k]
  ------------------
 1140|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 44);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1141|  3.56k|        if (t <= 45)                                                                          \
  ------------------
  |  Branch (1141:13): [Folded, False: 3.56k]
  ------------------
 1142|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 45);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1143|  3.56k|        if (t <= 46)                                                                          \
  ------------------
  |  Branch (1143:13): [Folded, False: 3.56k]
  ------------------
 1144|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 46);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1145|  3.56k|        if (t <= 47)                                                                          \
  ------------------
  |  Branch (1145:13): [Folded, False: 3.56k]
  ------------------
 1146|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 47);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1147|  3.56k|        if (t <= 48)                                                                          \
  ------------------
  |  Branch (1147:13): [Folded, False: 3.56k]
  ------------------
 1148|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 48);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1149|  3.56k|        if (t <= 49)                                                                          \
  ------------------
  |  Branch (1149:13): [Folded, False: 3.56k]
  ------------------
 1150|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 49);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1151|  3.56k|        if (t <= 50)                                                                          \
  ------------------
  |  Branch (1151:13): [Folded, False: 3.56k]
  ------------------
 1152|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 50);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1153|  3.56k|        if (t <= 51)                                                                          \
  ------------------
  |  Branch (1153:13): [Folded, False: 3.56k]
  ------------------
 1154|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 51);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1155|  3.56k|        if (t <= 52)                                                                          \
  ------------------
  |  Branch (1155:13): [Folded, False: 3.56k]
  ------------------
 1156|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 52);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1157|  3.56k|        if (t <= 53)                                                                          \
  ------------------
  |  Branch (1157:13): [Folded, False: 3.56k]
  ------------------
 1158|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 53);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1159|  3.56k|        if (t <= 54)                                                                          \
  ------------------
  |  Branch (1159:13): [Folded, False: 3.56k]
  ------------------
 1160|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 54);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1161|  3.56k|        if (t <= 55)                                                                          \
  ------------------
  |  Branch (1161:13): [Folded, False: 3.56k]
  ------------------
 1162|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(a, b, c, d, e, me2, 55);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1163|  3.56k|        if (t <= 56)                                                                          \
  ------------------
  |  Branch (1163:13): [Folded, False: 3.56k]
  ------------------
 1164|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(e, a, b, c, d, me2, 56);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1165|  3.56k|        if (t <= 57)                                                                          \
  ------------------
  |  Branch (1165:13): [Folded, False: 3.56k]
  ------------------
 1166|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(d, e, a, b, c, me2, 57);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1167|  3.56k|        if (t <= 58)                                                                          \
  ------------------
  |  Branch (1167:13): [Folded, False: 3.56k]
  ------------------
 1168|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(c, d, e, a, b, me2, 58);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1169|  3.56k|        if (t <= 59)                                                                          \
  ------------------
  |  Branch (1169:13): [Folded, False: 3.56k]
  ------------------
 1170|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND3_STEP(b, c, d, e, a, me2, 59);                       \
  ------------------
  |  |  176|      0|    {                                                                  \
  |  |  177|      0|        e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f3(b, c, d) + 0x8F1BBCDC + m[t]; \
  |  |  ------------------
  |  |  |  |  162|      0|#define sha1_f3(b, c, d) (((b) & (c)) + ((d) & ((b) ^ (c))))
  |  |  ------------------
  |  |  178|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  179|      0|    }
  ------------------
 1171|  3.56k|        if (t <= 60)                                                                          \
  ------------------
  |  Branch (1171:13): [Folded, False: 3.56k]
  ------------------
 1172|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 60);                       \
  ------------------
  |  |  181|      0|    {                                                                  \
  |  |  182|      0|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|      0|    }
  ------------------
 1173|  3.56k|        if (t <= 61)                                                                          \
  ------------------
  |  Branch (1173:13): [Folded, False: 3.56k]
  ------------------
 1174|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 61);                       \
  ------------------
  |  |  181|      0|    {                                                                  \
  |  |  182|      0|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|      0|    }
  ------------------
 1175|  3.56k|        if (t <= 62)                                                                          \
  ------------------
  |  Branch (1175:13): [Folded, False: 3.56k]
  ------------------
 1176|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 62);                       \
  ------------------
  |  |  181|      0|    {                                                                  \
  |  |  182|      0|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|      0|    }
  ------------------
 1177|  3.56k|        if (t <= 63)                                                                          \
  ------------------
  |  Branch (1177:13): [Folded, False: 3.56k]
  ------------------
 1178|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 63);                       \
  ------------------
  |  |  181|      0|    {                                                                  \
  |  |  182|      0|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|      0|    }
  ------------------
 1179|  3.56k|        if (t <= 64)                                                                          \
  ------------------
  |  Branch (1179:13): [Folded, False: 3.56k]
  ------------------
 1180|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 64);                       \
  ------------------
  |  |  181|      0|    {                                                                  \
  |  |  182|      0|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|      0|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|      0|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|      0|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|      0|    }
  ------------------
 1181|  3.56k|        if (t <= 65)                                                                          \
  ------------------
  |  Branch (1181:13): [True: 3.56k, Folded]
  ------------------
 1182|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 65);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1183|  3.56k|        if (t <= 66)                                                                          \
  ------------------
  |  Branch (1183:13): [True: 3.56k, Folded]
  ------------------
 1184|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 66);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1185|  3.56k|        if (t <= 67)                                                                          \
  ------------------
  |  Branch (1185:13): [True: 3.56k, Folded]
  ------------------
 1186|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 67);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1187|  3.56k|        if (t <= 68)                                                                          \
  ------------------
  |  Branch (1187:13): [True: 3.56k, Folded]
  ------------------
 1188|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 68);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1189|  3.56k|        if (t <= 69)                                                                          \
  ------------------
  |  Branch (1189:13): [True: 3.56k, Folded]
  ------------------
 1190|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 69);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1191|  3.56k|        if (t <= 70)                                                                          \
  ------------------
  |  Branch (1191:13): [True: 3.56k, Folded]
  ------------------
 1192|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 70);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1193|  3.56k|        if (t <= 71)                                                                          \
  ------------------
  |  Branch (1193:13): [True: 3.56k, Folded]
  ------------------
 1194|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 71);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1195|  3.56k|        if (t <= 72)                                                                          \
  ------------------
  |  Branch (1195:13): [True: 3.56k, Folded]
  ------------------
 1196|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 72);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1197|  3.56k|        if (t <= 73)                                                                          \
  ------------------
  |  Branch (1197:13): [True: 3.56k, Folded]
  ------------------
 1198|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 73);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1199|  3.56k|        if (t <= 74)                                                                          \
  ------------------
  |  Branch (1199:13): [True: 3.56k, Folded]
  ------------------
 1200|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 74);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1201|  3.56k|        if (t <= 75)                                                                          \
  ------------------
  |  Branch (1201:13): [True: 3.56k, Folded]
  ------------------
 1202|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(a, b, c, d, e, me2, 75);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1203|  3.56k|        if (t <= 76)                                                                          \
  ------------------
  |  Branch (1203:13): [True: 3.56k, Folded]
  ------------------
 1204|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(e, a, b, c, d, me2, 76);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1205|  3.56k|        if (t <= 77)                                                                          \
  ------------------
  |  Branch (1205:13): [True: 3.56k, Folded]
  ------------------
 1206|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(d, e, a, b, c, me2, 77);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1207|  3.56k|        if (t <= 78)                                                                          \
  ------------------
  |  Branch (1207:13): [True: 3.56k, Folded]
  ------------------
 1208|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(c, d, e, a, b, me2, 78);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1209|  3.56k|        if (t <= 79)                                                                          \
  ------------------
  |  Branch (1209:13): [True: 3.56k, Folded]
  ------------------
 1210|  3.56k|            HASHCLASH_SHA1COMPRESS_ROUND4_STEP(b, c, d, e, a, me2, 79);                       \
  ------------------
  |  |  181|  3.56k|    {                                                                  \
  |  |  182|  3.56k|        e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |                       e += rotate_left(a, 5) + sha1_f4(b, c, d) + 0xCA62C1D6 + m[t]; \
  |  |  ------------------
  |  |  |  |  163|  3.56k|#define sha1_f4(b, c, d) ((b) ^ (c) ^ (d))
  |  |  ------------------
  |  |  183|  3.56k|        b = rotate_left(b, 30);                                        \
  |  |  ------------------
  |  |  |  |  135|  3.56k|#define rotate_left(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
  |  |  ------------------
  |  |  184|  3.56k|    }
  ------------------
 1211|  3.56k|        ihvout[0] = ihvin[0] + a;                                                             \
 1212|  3.56k|        ihvout[1] = ihvin[1] + b;                                                             \
 1213|  3.56k|        ihvout[2] = ihvin[2] + c;                                                             \
 1214|  3.56k|        ihvout[3] = ihvin[3] + d;                                                             \
 1215|  3.56k|        ihvout[4] = ihvin[4] + e;                                                             \
 1216|  3.56k|    }

ubc_check:
  571|  35.9k|{
  572|  35.9k|    uint32_t mask = ~((uint32_t)(0));
  573|  35.9k|    mask &= (((((W[44] ^ W[45]) >> 29) & 1) - 1) |
  574|  35.9k|             ~(DV_I_48_0_bit | DV_I_51_0_bit | DV_I_52_0_bit | DV_II_45_0_bit |
  575|  35.9k|               DV_II_46_0_bit | DV_II_50_0_bit | DV_II_51_0_bit));
  576|  35.9k|    mask &= (((((W[49] ^ W[50]) >> 29) & 1) - 1) |
  577|  35.9k|             ~(DV_I_46_0_bit | DV_II_45_0_bit | DV_II_50_0_bit | DV_II_51_0_bit |
  578|  35.9k|               DV_II_55_0_bit | DV_II_56_0_bit));
  579|  35.9k|    mask &= (((((W[48] ^ W[49]) >> 29) & 1) - 1) |
  580|  35.9k|             ~(DV_I_45_0_bit | DV_I_52_0_bit | DV_II_49_0_bit | DV_II_50_0_bit |
  581|  35.9k|               DV_II_54_0_bit | DV_II_55_0_bit));
  582|  35.9k|    mask &= ((((W[47] ^ (W[50] >> 25)) & (1 << 4)) - (1 << 4)) |
  583|  35.9k|             ~(DV_I_47_0_bit | DV_I_49_0_bit | DV_I_51_0_bit | DV_II_45_0_bit |
  584|  35.9k|               DV_II_51_0_bit | DV_II_56_0_bit));
  585|  35.9k|    mask &= (((((W[47] ^ W[48]) >> 29) & 1) - 1) |
  586|  35.9k|             ~(DV_I_44_0_bit | DV_I_51_0_bit | DV_II_48_0_bit | DV_II_49_0_bit |
  587|  35.9k|               DV_II_53_0_bit | DV_II_54_0_bit));
  588|  35.9k|    mask &= (((((W[46] >> 4) ^ (W[49] >> 29)) & 1) - 1) |
  589|  35.9k|             ~(DV_I_46_0_bit | DV_I_48_0_bit | DV_I_50_0_bit | DV_I_52_0_bit | DV_II_50_0_bit |
  590|  35.9k|               DV_II_55_0_bit));
  591|  35.9k|    mask &= (((((W[46] ^ W[47]) >> 29) & 1) - 1) |
  592|  35.9k|             ~(DV_I_43_0_bit | DV_I_50_0_bit | DV_II_47_0_bit | DV_II_48_0_bit |
  593|  35.9k|               DV_II_52_0_bit | DV_II_53_0_bit));
  594|  35.9k|    mask &= (((((W[45] >> 4) ^ (W[48] >> 29)) & 1) - 1) |
  595|  35.9k|             ~(DV_I_45_0_bit | DV_I_47_0_bit | DV_I_49_0_bit | DV_I_51_0_bit | DV_II_49_0_bit |
  596|  35.9k|               DV_II_54_0_bit));
  597|  35.9k|    mask &= (((((W[45] ^ W[46]) >> 29) & 1) - 1) |
  598|  35.9k|             ~(DV_I_49_0_bit | DV_I_52_0_bit | DV_II_46_0_bit | DV_II_47_0_bit |
  599|  35.9k|               DV_II_51_0_bit | DV_II_52_0_bit));
  600|  35.9k|    mask &= (((((W[44] >> 4) ^ (W[47] >> 29)) & 1) - 1) |
  601|  35.9k|             ~(DV_I_44_0_bit | DV_I_46_0_bit | DV_I_48_0_bit | DV_I_50_0_bit | DV_II_48_0_bit |
  602|  35.9k|               DV_II_53_0_bit));
  603|  35.9k|    mask &= (((((W[43] >> 4) ^ (W[46] >> 29)) & 1) - 1) |
  604|  35.9k|             ~(DV_I_43_0_bit | DV_I_45_0_bit | DV_I_47_0_bit | DV_I_49_0_bit | DV_II_47_0_bit |
  605|  35.9k|               DV_II_52_0_bit));
  606|  35.9k|    mask &= (((((W[43] ^ W[44]) >> 29) & 1) - 1) |
  607|  35.9k|             ~(DV_I_47_0_bit | DV_I_50_0_bit | DV_I_51_0_bit | DV_II_45_0_bit |
  608|  35.9k|               DV_II_49_0_bit | DV_II_50_0_bit));
  609|  35.9k|    mask &= (((((W[42] >> 4) ^ (W[45] >> 29)) & 1) - 1) |
  610|  35.9k|             ~(DV_I_44_0_bit | DV_I_46_0_bit | DV_I_48_0_bit | DV_I_52_0_bit | DV_II_46_0_bit |
  611|  35.9k|               DV_II_51_0_bit));
  612|  35.9k|    mask &= (((((W[41] >> 4) ^ (W[44] >> 29)) & 1) - 1) |
  613|  35.9k|             ~(DV_I_43_0_bit | DV_I_45_0_bit | DV_I_47_0_bit | DV_I_51_0_bit | DV_II_45_0_bit |
  614|  35.9k|               DV_II_50_0_bit));
  615|  35.9k|    mask &= (((((W[40] ^ W[41]) >> 29) & 1) - 1) |
  616|  35.9k|             ~(DV_I_44_0_bit | DV_I_47_0_bit | DV_I_48_0_bit | DV_II_46_0_bit |
  617|  35.9k|               DV_II_47_0_bit | DV_II_56_0_bit));
  618|  35.9k|    mask &=
  619|  35.9k|      (((((W[54] ^ W[55]) >> 29) & 1) - 1) |
  620|  35.9k|       ~(DV_I_51_0_bit | DV_II_47_0_bit | DV_II_50_0_bit | DV_II_55_0_bit | DV_II_56_0_bit));
  621|  35.9k|    mask &=
  622|  35.9k|      (((((W[53] ^ W[54]) >> 29) & 1) - 1) |
  623|  35.9k|       ~(DV_I_50_0_bit | DV_II_46_0_bit | DV_II_49_0_bit | DV_II_54_0_bit | DV_II_55_0_bit));
  624|  35.9k|    mask &=
  625|  35.9k|      (((((W[52] ^ W[53]) >> 29) & 1) - 1) |
  626|  35.9k|       ~(DV_I_49_0_bit | DV_II_45_0_bit | DV_II_48_0_bit | DV_II_53_0_bit | DV_II_54_0_bit));
  627|  35.9k|    mask &=
  628|  35.9k|      ((((W[50] ^ (W[53] >> 25)) & (1 << 4)) - (1 << 4)) |
  629|  35.9k|       ~(DV_I_50_0_bit | DV_I_52_0_bit | DV_II_46_0_bit | DV_II_48_0_bit | DV_II_54_0_bit));
  630|  35.9k|    mask &=
  631|  35.9k|      (((((W[50] ^ W[51]) >> 29) & 1) - 1) |
  632|  35.9k|       ~(DV_I_47_0_bit | DV_II_46_0_bit | DV_II_51_0_bit | DV_II_52_0_bit | DV_II_56_0_bit));
  633|  35.9k|    mask &=
  634|  35.9k|      ((((W[49] ^ (W[52] >> 25)) & (1 << 4)) - (1 << 4)) |
  635|  35.9k|       ~(DV_I_49_0_bit | DV_I_51_0_bit | DV_II_45_0_bit | DV_II_47_0_bit | DV_II_53_0_bit));
  636|  35.9k|    mask &=
  637|  35.9k|      ((((W[48] ^ (W[51] >> 25)) & (1 << 4)) - (1 << 4)) |
  638|  35.9k|       ~(DV_I_48_0_bit | DV_I_50_0_bit | DV_I_52_0_bit | DV_II_46_0_bit | DV_II_52_0_bit));
  639|  35.9k|    mask &=
  640|  35.9k|      (((((W[42] ^ W[43]) >> 29) & 1) - 1) |
  641|  35.9k|       ~(DV_I_46_0_bit | DV_I_49_0_bit | DV_I_50_0_bit | DV_II_48_0_bit | DV_II_49_0_bit));
  642|  35.9k|    mask &=
  643|  35.9k|      (((((W[41] ^ W[42]) >> 29) & 1) - 1) |
  644|  35.9k|       ~(DV_I_45_0_bit | DV_I_48_0_bit | DV_I_49_0_bit | DV_II_47_0_bit | DV_II_48_0_bit));
  645|  35.9k|    mask &=
  646|  35.9k|      (((((W[40] >> 4) ^ (W[43] >> 29)) & 1) - 1) |
  647|  35.9k|       ~(DV_I_44_0_bit | DV_I_46_0_bit | DV_I_50_0_bit | DV_II_49_0_bit | DV_II_56_0_bit));
  648|  35.9k|    mask &=
  649|  35.9k|      (((((W[39] >> 4) ^ (W[42] >> 29)) & 1) - 1) |
  650|  35.9k|       ~(DV_I_43_0_bit | DV_I_45_0_bit | DV_I_49_0_bit | DV_II_48_0_bit | DV_II_55_0_bit));
  651|  35.9k|    if (mask &
  ------------------
  |  Branch (651:9): [True: 10.7k, False: 25.2k]
  ------------------
  652|  35.9k|        (DV_I_44_0_bit | DV_I_48_0_bit | DV_II_47_0_bit | DV_II_54_0_bit | DV_II_56_0_bit))
  653|  10.7k|        mask &= (((((W[38] >> 4) ^ (W[41] >> 29)) & 1) - 1) |
  654|  10.7k|                 ~(DV_I_44_0_bit | DV_I_48_0_bit | DV_II_47_0_bit | DV_II_54_0_bit |
  655|  10.7k|                   DV_II_56_0_bit));
  656|  35.9k|    mask &=
  657|  35.9k|      (((((W[37] >> 4) ^ (W[40] >> 29)) & 1) - 1) |
  658|  35.9k|       ~(DV_I_43_0_bit | DV_I_47_0_bit | DV_II_46_0_bit | DV_II_53_0_bit | DV_II_55_0_bit));
  659|  35.9k|    if (mask & (DV_I_52_0_bit | DV_II_48_0_bit | DV_II_51_0_bit | DV_II_56_0_bit))
  ------------------
  |  Branch (659:9): [True: 6.39k, False: 29.5k]
  ------------------
  660|  6.39k|        mask &= (((((W[55] ^ W[56]) >> 29) & 1) - 1) |
  661|  6.39k|                 ~(DV_I_52_0_bit | DV_II_48_0_bit | DV_II_51_0_bit | DV_II_56_0_bit));
  662|  35.9k|    if (mask & (DV_I_52_0_bit | DV_II_48_0_bit | DV_II_50_0_bit | DV_II_56_0_bit))
  ------------------
  |  Branch (662:9): [True: 5.43k, False: 30.5k]
  ------------------
  663|  5.43k|        mask &= ((((W[52] ^ (W[55] >> 25)) & (1 << 4)) - (1 << 4)) |
  664|  5.43k|                 ~(DV_I_52_0_bit | DV_II_48_0_bit | DV_II_50_0_bit | DV_II_56_0_bit));
  665|  35.9k|    if (mask & (DV_I_51_0_bit | DV_II_47_0_bit | DV_II_49_0_bit | DV_II_55_0_bit))
  ------------------
  |  Branch (665:9): [True: 5.03k, False: 30.9k]
  ------------------
  666|  5.03k|        mask &= ((((W[51] ^ (W[54] >> 25)) & (1 << 4)) - (1 << 4)) |
  667|  5.03k|                 ~(DV_I_51_0_bit | DV_II_47_0_bit | DV_II_49_0_bit | DV_II_55_0_bit));
  668|  35.9k|    if (mask & (DV_I_48_0_bit | DV_II_47_0_bit | DV_II_52_0_bit | DV_II_53_0_bit))
  ------------------
  |  Branch (668:9): [True: 6.76k, False: 29.2k]
  ------------------
  669|  6.76k|        mask &= (((((W[51] ^ W[52]) >> 29) & 1) - 1) |
  670|  6.76k|                 ~(DV_I_48_0_bit | DV_II_47_0_bit | DV_II_52_0_bit | DV_II_53_0_bit));
  671|  35.9k|    if (mask & (DV_I_46_0_bit | DV_I_49_0_bit | DV_II_45_0_bit | DV_II_48_0_bit))
  ------------------
  |  Branch (671:9): [True: 4.53k, False: 31.4k]
  ------------------
  672|  4.53k|        mask &= (((((W[36] >> 4) ^ (W[40] >> 29)) & 1) - 1) |
  673|  4.53k|                 ~(DV_I_46_0_bit | DV_I_49_0_bit | DV_II_45_0_bit | DV_II_48_0_bit));
  674|  35.9k|    if (mask & (DV_I_52_0_bit | DV_II_48_0_bit | DV_II_49_0_bit))
  ------------------
  |  Branch (674:9): [True: 3.48k, False: 32.5k]
  ------------------
  675|  3.48k|        mask &= ((0 - (((W[53] ^ W[56]) >> 29) & 1)) |
  676|  3.48k|                 ~(DV_I_52_0_bit | DV_II_48_0_bit | DV_II_49_0_bit));
  677|  35.9k|    if (mask & (DV_I_50_0_bit | DV_II_46_0_bit | DV_II_47_0_bit))
  ------------------
  |  Branch (677:9): [True: 2.24k, False: 33.7k]
  ------------------
  678|  2.24k|        mask &= ((0 - (((W[51] ^ W[54]) >> 29) & 1)) |
  679|  2.24k|                 ~(DV_I_50_0_bit | DV_II_46_0_bit | DV_II_47_0_bit));
  680|  35.9k|    if (mask & (DV_I_49_0_bit | DV_I_51_0_bit | DV_II_45_0_bit))
  ------------------
  |  Branch (680:9): [True: 2.46k, False: 33.5k]
  ------------------
  681|  2.46k|        mask &= ((0 - (((W[50] ^ W[52]) >> 29) & 1)) |
  682|  2.46k|                 ~(DV_I_49_0_bit | DV_I_51_0_bit | DV_II_45_0_bit));
  683|  35.9k|    if (mask & (DV_I_48_0_bit | DV_I_50_0_bit | DV_I_52_0_bit))
  ------------------
  |  Branch (683:9): [True: 1.28k, False: 34.7k]
  ------------------
  684|  1.28k|        mask &= ((0 - (((W[49] ^ W[51]) >> 29) & 1)) |
  685|  1.28k|                 ~(DV_I_48_0_bit | DV_I_50_0_bit | DV_I_52_0_bit));
  686|  35.9k|    if (mask & (DV_I_47_0_bit | DV_I_49_0_bit | DV_I_51_0_bit))
  ------------------
  |  Branch (686:9): [True: 1.74k, False: 34.2k]
  ------------------
  687|  1.74k|        mask &= ((0 - (((W[48] ^ W[50]) >> 29) & 1)) |
  688|  1.74k|                 ~(DV_I_47_0_bit | DV_I_49_0_bit | DV_I_51_0_bit));
  689|  35.9k|    if (mask & (DV_I_46_0_bit | DV_I_48_0_bit | DV_I_50_0_bit))
  ------------------
  |  Branch (689:9): [True: 2.25k, False: 33.7k]
  ------------------
  690|  2.25k|        mask &= ((0 - (((W[47] ^ W[49]) >> 29) & 1)) |
  691|  2.25k|                 ~(DV_I_46_0_bit | DV_I_48_0_bit | DV_I_50_0_bit));
  692|  35.9k|    if (mask & (DV_I_45_0_bit | DV_I_47_0_bit | DV_I_49_0_bit))
  ------------------
  |  Branch (692:9): [True: 1.75k, False: 34.2k]
  ------------------
  693|  1.75k|        mask &= ((0 - (((W[46] ^ W[48]) >> 29) & 1)) |
  694|  1.75k|                 ~(DV_I_45_0_bit | DV_I_47_0_bit | DV_I_49_0_bit));
  695|  35.9k|    mask &= ((((W[45] ^ W[47]) & (1 << 6)) - (1 << 6)) |
  696|  35.9k|             ~(DV_I_47_2_bit | DV_I_49_2_bit | DV_I_51_2_bit));
  697|  35.9k|    if (mask & (DV_I_44_0_bit | DV_I_46_0_bit | DV_I_48_0_bit))
  ------------------
  |  Branch (697:9): [True: 3.94k, False: 32.0k]
  ------------------
  698|  3.94k|        mask &= ((0 - (((W[45] ^ W[47]) >> 29) & 1)) |
  699|  3.94k|                 ~(DV_I_44_0_bit | DV_I_46_0_bit | DV_I_48_0_bit));
  700|  35.9k|    mask &=
  701|  35.9k|      (((((W[44] ^ W[46]) >> 6) & 1) - 1) | ~(DV_I_46_2_bit | DV_I_48_2_bit | DV_I_50_2_bit));
  702|  35.9k|    if (mask & (DV_I_43_0_bit | DV_I_45_0_bit | DV_I_47_0_bit))
  ------------------
  |  Branch (702:9): [True: 3.22k, False: 32.7k]
  ------------------
  703|  3.22k|        mask &= ((0 - (((W[44] ^ W[46]) >> 29) & 1)) |
  704|  3.22k|                 ~(DV_I_43_0_bit | DV_I_45_0_bit | DV_I_47_0_bit));
  705|  35.9k|    mask &= ((0 - ((W[41] ^ (W[42] >> 5)) & (1 << 1))) |
  706|  35.9k|             ~(DV_I_48_2_bit | DV_II_46_2_bit | DV_II_51_2_bit));
  707|  35.9k|    mask &= ((0 - ((W[40] ^ (W[41] >> 5)) & (1 << 1))) |
  708|  35.9k|             ~(DV_I_47_2_bit | DV_I_51_2_bit | DV_II_50_2_bit));
  709|  35.9k|    if (mask & (DV_I_44_0_bit | DV_I_46_0_bit | DV_II_56_0_bit))
  ------------------
  |  Branch (709:9): [True: 3.47k, False: 32.5k]
  ------------------
  710|  3.47k|        mask &= ((0 - (((W[40] ^ W[42]) >> 4) & 1)) |
  711|  3.47k|                 ~(DV_I_44_0_bit | DV_I_46_0_bit | DV_II_56_0_bit));
  712|  35.9k|    mask &= ((0 - ((W[39] ^ (W[40] >> 5)) & (1 << 1))) |
  713|  35.9k|             ~(DV_I_46_2_bit | DV_I_50_2_bit | DV_II_49_2_bit));
  714|  35.9k|    if (mask & (DV_I_43_0_bit | DV_I_45_0_bit | DV_II_55_0_bit))
  ------------------
  |  Branch (714:9): [True: 4.08k, False: 31.9k]
  ------------------
  715|  4.08k|        mask &= ((0 - (((W[39] ^ W[41]) >> 4) & 1)) |
  716|  4.08k|                 ~(DV_I_43_0_bit | DV_I_45_0_bit | DV_II_55_0_bit));
  717|  35.9k|    if (mask & (DV_I_44_0_bit | DV_II_54_0_bit | DV_II_56_0_bit))
  ------------------
  |  Branch (717:9): [True: 4.31k, False: 31.6k]
  ------------------
  718|  4.31k|        mask &= ((0 - (((W[38] ^ W[40]) >> 4) & 1)) |
  719|  4.31k|                 ~(DV_I_44_0_bit | DV_II_54_0_bit | DV_II_56_0_bit));
  720|  35.9k|    if (mask & (DV_I_43_0_bit | DV_II_53_0_bit | DV_II_55_0_bit))
  ------------------
  |  Branch (720:9): [True: 4.82k, False: 31.1k]
  ------------------
  721|  4.82k|        mask &= ((0 - (((W[37] ^ W[39]) >> 4) & 1)) |
  722|  4.82k|                 ~(DV_I_43_0_bit | DV_II_53_0_bit | DV_II_55_0_bit));
  723|  35.9k|    mask &= ((0 - ((W[36] ^ (W[37] >> 5)) & (1 << 1))) |
  724|  35.9k|             ~(DV_I_47_2_bit | DV_I_50_2_bit | DV_II_46_2_bit));
  725|  35.9k|    if (mask & (DV_I_45_0_bit | DV_I_48_0_bit | DV_II_47_0_bit))
  ------------------
  |  Branch (725:9): [True: 788, False: 35.2k]
  ------------------
  726|    788|        mask &= (((((W[35] >> 4) ^ (W[39] >> 29)) & 1) - 1) |
  727|    788|                 ~(DV_I_45_0_bit | DV_I_48_0_bit | DV_II_47_0_bit));
  728|  35.9k|    if (mask & (DV_I_48_0_bit | DV_II_48_0_bit))
  ------------------
  |  Branch (728:9): [True: 926, False: 35.0k]
  ------------------
  729|    926|        mask &=
  730|    926|          ((0 - ((W[63] ^ (W[64] >> 5)) & (1 << 0))) | ~(DV_I_48_0_bit | DV_II_48_0_bit));
  731|  35.9k|    if (mask & (DV_I_45_0_bit | DV_II_45_0_bit))
  ------------------
  |  Branch (731:9): [True: 756, False: 35.2k]
  ------------------
  732|    756|        mask &=
  733|    756|          ((0 - ((W[63] ^ (W[64] >> 5)) & (1 << 1))) | ~(DV_I_45_0_bit | DV_II_45_0_bit));
  734|  35.9k|    if (mask & (DV_I_47_0_bit | DV_II_47_0_bit))
  ------------------
  |  Branch (734:9): [True: 839, False: 35.1k]
  ------------------
  735|    839|        mask &=
  736|    839|          ((0 - ((W[62] ^ (W[63] >> 5)) & (1 << 0))) | ~(DV_I_47_0_bit | DV_II_47_0_bit));
  737|  35.9k|    if (mask & (DV_I_46_0_bit | DV_II_46_0_bit))
  ------------------
  |  Branch (737:9): [True: 492, False: 35.4k]
  ------------------
  738|    492|        mask &=
  739|    492|          ((0 - ((W[61] ^ (W[62] >> 5)) & (1 << 0))) | ~(DV_I_46_0_bit | DV_II_46_0_bit));
  740|  35.9k|    mask &= ((0 - ((W[61] ^ (W[62] >> 5)) & (1 << 2))) | ~(DV_I_46_2_bit | DV_II_46_2_bit));
  741|  35.9k|    if (mask & (DV_I_45_0_bit | DV_II_45_0_bit))
  ------------------
  |  Branch (741:9): [True: 431, False: 35.5k]
  ------------------
  742|    431|        mask &=
  743|    431|          ((0 - ((W[60] ^ (W[61] >> 5)) & (1 << 0))) | ~(DV_I_45_0_bit | DV_II_45_0_bit));
  744|  35.9k|    if (mask & (DV_II_51_0_bit | DV_II_54_0_bit))
  ------------------
  |  Branch (744:9): [True: 3.81k, False: 32.1k]
  ------------------
  745|  3.81k|        mask &= (((((W[58] ^ W[59]) >> 29) & 1) - 1) | ~(DV_II_51_0_bit | DV_II_54_0_bit));
  746|  35.9k|    if (mask & (DV_II_50_0_bit | DV_II_53_0_bit))
  ------------------
  |  Branch (746:9): [True: 4.23k, False: 31.7k]
  ------------------
  747|  4.23k|        mask &= (((((W[57] ^ W[58]) >> 29) & 1) - 1) | ~(DV_II_50_0_bit | DV_II_53_0_bit));
  748|  35.9k|    if (mask & (DV_II_52_0_bit | DV_II_54_0_bit))
  ------------------
  |  Branch (748:9): [True: 3.35k, False: 32.6k]
  ------------------
  749|  3.35k|        mask &= ((((W[56] ^ (W[59] >> 25)) & (1 << 4)) - (1 << 4)) |
  750|  3.35k|                 ~(DV_II_52_0_bit | DV_II_54_0_bit));
  751|  35.9k|    if (mask & (DV_II_51_0_bit | DV_II_52_0_bit))
  ------------------
  |  Branch (751:9): [True: 3.44k, False: 32.5k]
  ------------------
  752|  3.44k|        mask &= ((0 - (((W[56] ^ W[59]) >> 29) & 1)) | ~(DV_II_51_0_bit | DV_II_52_0_bit));
  753|  35.9k|    if (mask & (DV_II_49_0_bit | DV_II_52_0_bit))
  ------------------
  |  Branch (753:9): [True: 2.61k, False: 33.3k]
  ------------------
  754|  2.61k|        mask &= (((((W[56] ^ W[57]) >> 29) & 1) - 1) | ~(DV_II_49_0_bit | DV_II_52_0_bit));
  755|  35.9k|    if (mask & (DV_II_51_0_bit | DV_II_53_0_bit))
  ------------------
  |  Branch (755:9): [True: 2.55k, False: 33.4k]
  ------------------
  756|  2.55k|        mask &= ((((W[55] ^ (W[58] >> 25)) & (1 << 4)) - (1 << 4)) |
  757|  2.55k|                 ~(DV_II_51_0_bit | DV_II_53_0_bit));
  758|  35.9k|    if (mask & (DV_II_50_0_bit | DV_II_52_0_bit))
  ------------------
  |  Branch (758:9): [True: 3.57k, False: 32.4k]
  ------------------
  759|  3.57k|        mask &= ((((W[54] ^ (W[57] >> 25)) & (1 << 4)) - (1 << 4)) |
  760|  3.57k|                 ~(DV_II_50_0_bit | DV_II_52_0_bit));
  761|  35.9k|    if (mask & (DV_II_49_0_bit | DV_II_51_0_bit))
  ------------------
  |  Branch (761:9): [True: 1.74k, False: 34.2k]
  ------------------
  762|  1.74k|        mask &= ((((W[53] ^ (W[56] >> 25)) & (1 << 4)) - (1 << 4)) |
  763|  1.74k|                 ~(DV_II_49_0_bit | DV_II_51_0_bit));
  764|  35.9k|    mask &=
  765|  35.9k|      ((((W[51] ^ (W[50] >> 5)) & (1 << 1)) - (1 << 1)) | ~(DV_I_50_2_bit | DV_II_46_2_bit));
  766|  35.9k|    mask &= ((((W[48] ^ W[50]) & (1 << 6)) - (1 << 6)) | ~(DV_I_50_2_bit | DV_II_46_2_bit));
  767|  35.9k|    if (mask & (DV_I_51_0_bit | DV_I_52_0_bit))
  ------------------
  |  Branch (767:9): [True: 543, False: 35.4k]
  ------------------
  768|    543|        mask &= ((0 - (((W[48] ^ W[55]) >> 29) & 1)) | ~(DV_I_51_0_bit | DV_I_52_0_bit));
  769|  35.9k|    mask &= ((((W[47] ^ W[49]) & (1 << 6)) - (1 << 6)) | ~(DV_I_49_2_bit | DV_I_51_2_bit));
  770|  35.9k|    mask &=
  771|  35.9k|      ((((W[48] ^ (W[47] >> 5)) & (1 << 1)) - (1 << 1)) | ~(DV_I_47_2_bit | DV_II_51_2_bit));
  772|  35.9k|    mask &= ((((W[46] ^ W[48]) & (1 << 6)) - (1 << 6)) | ~(DV_I_48_2_bit | DV_I_50_2_bit));
  773|  35.9k|    mask &=
  774|  35.9k|      ((((W[47] ^ (W[46] >> 5)) & (1 << 1)) - (1 << 1)) | ~(DV_I_46_2_bit | DV_II_50_2_bit));
  775|  35.9k|    mask &= ((0 - ((W[44] ^ (W[45] >> 5)) & (1 << 1))) | ~(DV_I_51_2_bit | DV_II_49_2_bit));
  776|  35.9k|    mask &= ((((W[43] ^ W[45]) & (1 << 6)) - (1 << 6)) | ~(DV_I_47_2_bit | DV_I_49_2_bit));
  777|  35.9k|    mask &= (((((W[42] ^ W[44]) >> 6) & 1) - 1) | ~(DV_I_46_2_bit | DV_I_48_2_bit));
  778|  35.9k|    mask &=
  779|  35.9k|      ((((W[43] ^ (W[42] >> 5)) & (1 << 1)) - (1 << 1)) | ~(DV_II_46_2_bit | DV_II_51_2_bit));
  780|  35.9k|    mask &=
  781|  35.9k|      ((((W[42] ^ (W[41] >> 5)) & (1 << 1)) - (1 << 1)) | ~(DV_I_51_2_bit | DV_II_50_2_bit));
  782|  35.9k|    mask &=
  783|  35.9k|      ((((W[41] ^ (W[40] >> 5)) & (1 << 1)) - (1 << 1)) | ~(DV_I_50_2_bit | DV_II_49_2_bit));
  784|  35.9k|    if (mask & (DV_I_52_0_bit | DV_II_51_0_bit))
  ------------------
  |  Branch (784:9): [True: 900, False: 35.0k]
  ------------------
  785|    900|        mask &= ((((W[39] ^ (W[43] >> 25)) & (1 << 4)) - (1 << 4)) |
  786|    900|                 ~(DV_I_52_0_bit | DV_II_51_0_bit));
  787|  35.9k|    if (mask & (DV_I_51_0_bit | DV_II_50_0_bit))
  ------------------
  |  Branch (787:9): [True: 2.41k, False: 33.5k]
  ------------------
  788|  2.41k|        mask &= ((((W[38] ^ (W[42] >> 25)) & (1 << 4)) - (1 << 4)) |
  789|  2.41k|                 ~(DV_I_51_0_bit | DV_II_50_0_bit));
  790|  35.9k|    if (mask & (DV_I_48_2_bit | DV_I_51_2_bit))
  ------------------
  |  Branch (790:9): [True: 6.10k, False: 29.8k]
  ------------------
  791|  6.10k|        mask &= ((0 - ((W[37] ^ (W[38] >> 5)) & (1 << 1))) | ~(DV_I_48_2_bit | DV_I_51_2_bit));
  792|  35.9k|    if (mask & (DV_I_50_0_bit | DV_II_49_0_bit))
  ------------------
  |  Branch (792:9): [True: 1.12k, False: 34.8k]
  ------------------
  793|  1.12k|        mask &= ((((W[37] ^ (W[41] >> 25)) & (1 << 4)) - (1 << 4)) |
  794|  1.12k|                 ~(DV_I_50_0_bit | DV_II_49_0_bit));
  795|  35.9k|    if (mask & (DV_II_52_0_bit | DV_II_54_0_bit))
  ------------------
  |  Branch (795:9): [True: 2.24k, False: 33.7k]
  ------------------
  796|  2.24k|        mask &= ((0 - ((W[36] ^ W[38]) & (1 << 4))) | ~(DV_II_52_0_bit | DV_II_54_0_bit));
  797|  35.9k|    mask &= ((0 - ((W[35] ^ (W[36] >> 5)) & (1 << 1))) | ~(DV_I_46_2_bit | DV_I_49_2_bit));
  798|  35.9k|    if (mask & (DV_I_51_0_bit | DV_II_47_0_bit))
  ------------------
  |  Branch (798:9): [True: 560, False: 35.4k]
  ------------------
  799|    560|        mask &= ((((W[35] ^ (W[39] >> 25)) & (1 << 3)) - (1 << 3)) |
  800|    560|                 ~(DV_I_51_0_bit | DV_II_47_0_bit));
  801|  35.9k|    if (mask) {
  ------------------
  |  Branch (801:9): [True: 26.4k, False: 9.54k]
  ------------------
  802|  26.4k|        if (mask & DV_I_43_0_bit)
  ------------------
  |  Branch (802:13): [True: 1.09k, False: 25.3k]
  ------------------
  803|  1.09k|            if (!((W[61] ^ (W[62] >> 5)) & (1 << 1)) ||
  ------------------
  |  Branch (803:17): [True: 274, False: 825]
  ------------------
  804|    825|                !(!((W[59] ^ (W[63] >> 25)) & (1 << 5))) ||
  ------------------
  |  Branch (804:17): [True: 242, False: 583]
  ------------------
  805|    583|                !((W[58] ^ (W[63] >> 30)) & (1 << 0)))
  ------------------
  |  Branch (805:17): [True: 351, False: 232]
  ------------------
  806|    867|                mask &= ~DV_I_43_0_bit;
  807|  26.4k|        if (mask & DV_I_44_0_bit)
  ------------------
  |  Branch (807:13): [True: 1.37k, False: 25.0k]
  ------------------
  808|  1.37k|            if (!((W[62] ^ (W[63] >> 5)) & (1 << 1)) ||
  ------------------
  |  Branch (808:17): [True: 354, False: 1.01k]
  ------------------
  809|  1.01k|                !(!((W[60] ^ (W[64] >> 25)) & (1 << 5))) ||
  ------------------
  |  Branch (809:17): [True: 292, False: 724]
  ------------------
  810|    724|                !((W[59] ^ (W[64] >> 30)) & (1 << 0)))
  ------------------
  |  Branch (810:17): [True: 482, False: 242]
  ------------------
  811|  1.12k|                mask &= ~DV_I_44_0_bit;
  812|  26.4k|        if (mask & DV_I_46_2_bit)
  ------------------
  |  Branch (812:13): [True: 1.93k, False: 24.5k]
  ------------------
  813|  1.93k|            mask &= ((~((W[40] ^ W[42]) >> 2)) | ~DV_I_46_2_bit);
  814|  26.4k|        if (mask & DV_I_47_2_bit)
  ------------------
  |  Branch (814:13): [True: 2.55k, False: 23.8k]
  ------------------
  815|  2.55k|            if (!((W[62] ^ (W[63] >> 5)) & (1 << 2)) || !(!((W[41] ^ W[43]) & (1 << 6))))
  ------------------
  |  Branch (815:17): [True: 777, False: 1.77k]
  |  Branch (815:57): [True: 735, False: 1.04k]
  ------------------
  816|  1.51k|                mask &= ~DV_I_47_2_bit;
  817|  26.4k|        if (mask & DV_I_48_2_bit)
  ------------------
  |  Branch (817:13): [True: 2.05k, False: 24.3k]
  ------------------
  818|  2.05k|            if (!((W[63] ^ (W[64] >> 5)) & (1 << 2)) ||
  ------------------
  |  Branch (818:17): [True: 552, False: 1.50k]
  ------------------
  819|  1.50k|                !(!((W[48] ^ (W[49] << 5)) & (1 << 6))))
  ------------------
  |  Branch (819:17): [True: 933, False: 572]
  ------------------
  820|  1.48k|                mask &= ~DV_I_48_2_bit;
  821|  26.4k|        if (mask & DV_I_49_2_bit)
  ------------------
  |  Branch (821:13): [True: 4.49k, False: 21.9k]
  ------------------
  822|  4.49k|            if (!(!((W[49] ^ (W[50] << 5)) & (1 << 6))) || !((W[42] ^ W[50]) & (1 << 1)) ||
  ------------------
  |  Branch (822:17): [True: 1.47k, False: 3.01k]
  |  Branch (822:60): [True: 1.47k, False: 1.54k]
  ------------------
  823|  1.54k|                !(!((W[39] ^ (W[40] << 5)) & (1 << 6))) || !((W[38] ^ W[40]) & (1 << 1)))
  ------------------
  |  Branch (823:17): [True: 430, False: 1.11k]
  |  Branch (823:60): [True: 401, False: 712]
  ------------------
  824|  3.77k|                mask &= ~DV_I_49_2_bit;
  825|  26.4k|        if (mask & DV_I_50_0_bit)
  ------------------
  |  Branch (825:13): [True: 226, False: 26.2k]
  ------------------
  826|    226|            mask &= ((((W[36] ^ W[37]) << 7)) | ~DV_I_50_0_bit);
  827|  26.4k|        if (mask & DV_I_50_2_bit)
  ------------------
  |  Branch (827:13): [True: 1.03k, False: 25.4k]
  ------------------
  828|  1.03k|            mask &= ((((W[43] ^ W[51]) << 11)) | ~DV_I_50_2_bit);
  829|  26.4k|        if (mask & DV_I_51_0_bit)
  ------------------
  |  Branch (829:13): [True: 226, False: 26.2k]
  ------------------
  830|    226|            mask &= ((((W[37] ^ W[38]) << 9)) | ~DV_I_51_0_bit);
  831|  26.4k|        if (mask & DV_I_51_2_bit)
  ------------------
  |  Branch (831:13): [True: 1.84k, False: 24.5k]
  ------------------
  832|  1.84k|            if (!(!((W[51] ^ (W[52] << 5)) & (1 << 6))) || !(!((W[49] ^ W[51]) & (1 << 6))) ||
  ------------------
  |  Branch (832:17): [True: 573, False: 1.27k]
  |  Branch (832:60): [True: 411, False: 865]
  ------------------
  833|    865|                !(!((W[37] ^ (W[37] >> 5)) & (1 << 1))) ||
  ------------------
  |  Branch (833:17): [True: 346, False: 519]
  ------------------
  834|    519|                !(!((W[35] ^ (W[39] >> 25)) & (1 << 5))))
  ------------------
  |  Branch (834:17): [True: 274, False: 245]
  ------------------
  835|  1.60k|                mask &= ~DV_I_51_2_bit;
  836|  26.4k|        if (mask & DV_I_52_0_bit)
  ------------------
  |  Branch (836:13): [True: 222, False: 26.2k]
  ------------------
  837|    222|            mask &= ((((W[38] ^ W[39]) << 11)) | ~DV_I_52_0_bit);
  838|  26.4k|        if (mask & DV_II_46_2_bit)
  ------------------
  |  Branch (838:13): [True: 1.20k, False: 25.2k]
  ------------------
  839|  1.20k|            mask &= ((((W[47] ^ W[51]) << 17)) | ~DV_II_46_2_bit);
  840|  26.4k|        if (mask & DV_II_48_0_bit)
  ------------------
  |  Branch (840:13): [True: 718, False: 25.7k]
  ------------------
  841|    718|            if (!(!((W[36] ^ (W[40] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (841:17): [True: 276, False: 442]
  ------------------
  842|    442|                !((W[35] ^ (W[40] << 2)) & (1 << 30)))
  ------------------
  |  Branch (842:17): [True: 222, False: 220]
  ------------------
  843|    498|                mask &= ~DV_II_48_0_bit;
  844|  26.4k|        if (mask & DV_II_49_0_bit)
  ------------------
  |  Branch (844:13): [True: 764, False: 25.6k]
  ------------------
  845|    764|            if (!(!((W[37] ^ (W[41] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (845:17): [True: 324, False: 440]
  ------------------
  846|    440|                !((W[36] ^ (W[41] << 2)) & (1 << 30)))
  ------------------
  |  Branch (846:17): [True: 216, False: 224]
  ------------------
  847|    540|                mask &= ~DV_II_49_0_bit;
  848|  26.4k|        if (mask & DV_II_49_2_bit)
  ------------------
  |  Branch (848:13): [True: 7.63k, False: 18.8k]
  ------------------
  849|  7.63k|            if (!(!((W[53] ^ (W[54] << 5)) & (1 << 6))) || !(!((W[51] ^ W[53]) & (1 << 6))) ||
  ------------------
  |  Branch (849:17): [True: 4.08k, False: 3.55k]
  |  Branch (849:60): [True: 1.20k, False: 2.35k]
  ------------------
  850|  2.35k|                !((W[50] ^ W[54]) & (1 << 1)) || !(!((W[45] ^ (W[46] << 5)) & (1 << 6))) ||
  ------------------
  |  Branch (850:17): [True: 579, False: 1.77k]
  |  Branch (850:50): [True: 629, False: 1.14k]
  ------------------
  851|  1.14k|                !(!((W[37] ^ (W[41] >> 25)) & (1 << 5))) ||
  ------------------
  |  Branch (851:17): [True: 454, False: 693]
  ------------------
  852|    693|                !((W[36] ^ (W[41] >> 30)) & (1 << 0)))
  ------------------
  |  Branch (852:17): [True: 288, False: 405]
  ------------------
  853|  7.23k|                mask &= ~DV_II_49_2_bit;
  854|  26.4k|        if (mask & DV_II_50_0_bit)
  ------------------
  |  Branch (854:13): [True: 2.01k, False: 24.4k]
  ------------------
  855|  2.01k|            if (!((W[55] ^ W[58]) & (1 << 29)) || !(!((W[38] ^ (W[42] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (855:17): [True: 1.03k, False: 980]
  |  Branch (855:51): [True: 458, False: 522]
  ------------------
  856|    522|                !((W[37] ^ (W[42] << 2)) & (1 << 30)))
  ------------------
  |  Branch (856:17): [True: 216, False: 306]
  ------------------
  857|  1.71k|                mask &= ~DV_II_50_0_bit;
  858|  26.4k|        if (mask & DV_II_50_2_bit)
  ------------------
  |  Branch (858:13): [True: 6.14k, False: 20.2k]
  ------------------
  859|  6.14k|            if (!(!((W[54] ^ (W[55] << 5)) & (1 << 6))) || !(!((W[52] ^ W[54]) & (1 << 6))) ||
  ------------------
  |  Branch (859:17): [True: 2.25k, False: 3.89k]
  |  Branch (859:60): [True: 1.95k, False: 1.94k]
  ------------------
  860|  1.94k|                !((W[51] ^ W[55]) & (1 << 1)) || !((W[45] ^ W[47]) & (1 << 1)) ||
  ------------------
  |  Branch (860:17): [True: 445, False: 1.49k]
  |  Branch (860:50): [True: 446, False: 1.05k]
  ------------------
  861|  1.05k|                !(!((W[38] ^ (W[42] >> 25)) & (1 << 5))) ||
  ------------------
  |  Branch (861:17): [True: 330, False: 723]
  ------------------
  862|    723|                !((W[37] ^ (W[42] >> 30)) & (1 << 0)))
  ------------------
  |  Branch (862:17): [True: 368, False: 355]
  ------------------
  863|  5.79k|                mask &= ~DV_II_50_2_bit;
  864|  26.4k|        if (mask & DV_II_51_0_bit)
  ------------------
  |  Branch (864:13): [True: 676, False: 25.7k]
  ------------------
  865|    676|            if (!(!((W[39] ^ (W[43] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (865:17): [True: 220, False: 456]
  ------------------
  866|    456|                !((W[38] ^ (W[43] << 2)) & (1 << 30)))
  ------------------
  |  Branch (866:17): [True: 244, False: 212]
  ------------------
  867|    464|                mask &= ~DV_II_51_0_bit;
  868|  26.4k|        if (mask & DV_II_51_2_bit)
  ------------------
  |  Branch (868:13): [True: 5.78k, False: 20.6k]
  ------------------
  869|  5.78k|            if (!(!((W[55] ^ (W[56] << 5)) & (1 << 6))) || !(!((W[53] ^ W[55]) & (1 << 6))) ||
  ------------------
  |  Branch (869:17): [True: 2.19k, False: 3.58k]
  |  Branch (869:60): [True: 1.34k, False: 2.23k]
  ------------------
  870|  2.23k|                !((W[52] ^ W[56]) & (1 << 1)) || !((W[46] ^ W[48]) & (1 << 1)) ||
  ------------------
  |  Branch (870:17): [True: 605, False: 1.63k]
  |  Branch (870:50): [True: 640, False: 994]
  ------------------
  871|    994|                !(!((W[39] ^ (W[43] >> 25)) & (1 << 5))) ||
  ------------------
  |  Branch (871:17): [True: 343, False: 651]
  ------------------
  872|    651|                !((W[38] ^ (W[43] >> 30)) & (1 << 0)))
  ------------------
  |  Branch (872:17): [True: 230, False: 421]
  ------------------
  873|  5.36k|                mask &= ~DV_II_51_2_bit;
  874|  26.4k|        if (mask & DV_II_52_0_bit)
  ------------------
  |  Branch (874:13): [True: 1.33k, False: 25.1k]
  ------------------
  875|  1.33k|            if (!(!((W[59] ^ W[60]) & (1 << 29))) ||
  ------------------
  |  Branch (875:17): [True: 456, False: 876]
  ------------------
  876|    876|                !(!((W[40] ^ (W[44] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (876:17): [True: 220, False: 656]
  ------------------
  877|    656|                !(!((W[40] ^ (W[44] >> 25)) & (1 << 4))) ||
  ------------------
  |  Branch (877:17): [True: 216, False: 440]
  ------------------
  878|    440|                !((W[39] ^ (W[44] << 2)) & (1 << 30)))
  ------------------
  |  Branch (878:17): [True: 226, False: 214]
  ------------------
  879|  1.11k|                mask &= ~DV_II_52_0_bit;
  880|  26.4k|        if (mask & DV_II_53_0_bit)
  ------------------
  |  Branch (880:13): [True: 1.63k, False: 24.8k]
  ------------------
  881|  1.63k|            if (!((W[58] ^ W[61]) & (1 << 29)) || !(!((W[57] ^ (W[61] >> 25)) & (1 << 4))) ||
  ------------------
  |  Branch (881:17): [True: 220, False: 1.41k]
  |  Branch (881:51): [True: 397, False: 1.01k]
  ------------------
  882|  1.01k|                !(!((W[41] ^ (W[45] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (882:17): [True: 224, False: 794]
  ------------------
  883|    794|                !(!((W[41] ^ (W[45] >> 25)) & (1 << 4))))
  ------------------
  |  Branch (883:17): [True: 476, False: 318]
  ------------------
  884|  1.31k|                mask &= ~DV_II_53_0_bit;
  885|  26.4k|        if (mask & DV_II_54_0_bit)
  ------------------
  |  Branch (885:13): [True: 812, False: 25.6k]
  ------------------
  886|    812|            if (!(!((W[58] ^ (W[62] >> 25)) & (1 << 4))) ||
  ------------------
  |  Branch (886:17): [True: 230, False: 582]
  ------------------
  887|    582|                !(!((W[42] ^ (W[46] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (887:17): [True: 232, False: 350]
  ------------------
  888|    350|                !(!((W[42] ^ (W[46] >> 25)) & (1 << 4))))
  ------------------
  |  Branch (888:17): [True: 80, False: 270]
  ------------------
  889|    542|                mask &= ~DV_II_54_0_bit;
  890|  26.4k|        if (mask & DV_II_55_0_bit)
  ------------------
  |  Branch (890:13): [True: 1.42k, False: 25.0k]
  ------------------
  891|  1.42k|            if (!(!((W[59] ^ (W[63] >> 25)) & (1 << 4))) ||
  ------------------
  |  Branch (891:17): [True: 308, False: 1.11k]
  ------------------
  892|  1.11k|                !(!((W[57] ^ (W[59] >> 25)) & (1 << 4))) ||
  ------------------
  |  Branch (892:17): [True: 276, False: 842]
  ------------------
  893|    842|                !(!((W[43] ^ (W[47] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (893:17): [True: 275, False: 567]
  ------------------
  894|    567|                !(!((W[43] ^ (W[47] >> 25)) & (1 << 4))))
  ------------------
  |  Branch (894:17): [True: 222, False: 345]
  ------------------
  895|  1.08k|                mask &= ~DV_II_55_0_bit;
  896|  26.4k|        if (mask & DV_II_56_0_bit)
  ------------------
  |  Branch (896:13): [True: 960, False: 25.4k]
  ------------------
  897|    960|            if (!(!((W[60] ^ (W[64] >> 25)) & (1 << 4))) ||
  ------------------
  |  Branch (897:17): [True: 298, False: 662]
  ------------------
  898|    662|                !(!((W[44] ^ (W[48] >> 25)) & (1 << 3))) ||
  ------------------
  |  Branch (898:17): [True: 220, False: 442]
  ------------------
  899|    442|                !(!((W[44] ^ (W[48] >> 25)) & (1 << 4))))
  ------------------
  |  Branch (899:17): [True: 218, False: 224]
  ------------------
  900|    736|                mask &= ~DV_II_56_0_bit;
  901|  26.4k|    }
  902|       |
  903|  35.9k|    dvmask[0] = mask;
  904|  35.9k|}

_ZN28pgp_sphincsplus_public_key_tC2ERKNSt3__16vectorIhNS0_9allocatorIhEEEE16pgp_pubkey_alg_t:
   66|  1.42k|    : key_encoded_(key_encoded), pk_alg_(alg), is_initialized_(true)
   67|  1.42k|{
   68|  1.42k|}
_Z23sphincsplus_pubkey_size16pgp_pubkey_alg_t:
  243|  1.76k|{
  244|  1.76k|    switch (alg) {
  245|    496|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (245:5): [True: 496, False: 1.26k]
  ------------------
  246|    496|        return 32;
  247|    891|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (247:5): [True: 891, False: 874]
  ------------------
  248|    891|        return 32;
  249|    378|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s:
  ------------------
  |  Branch (249:5): [True: 378, False: 1.38k]
  ------------------
  250|    378|        return 64;
  251|      0|    default:
  ------------------
  |  Branch (251:5): [True: 0, False: 1.76k]
  ------------------
  252|      0|        RNP_LOG("invalid SLH-DSA algorithm identifier");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  253|      0|        return 0;
  254|  1.76k|    }
  255|  1.76k|}
_Z26sphincsplus_signature_size16pgp_pubkey_alg_t:
  259|    724|{
  260|    724|    switch (alg) {
  261|    240|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (261:5): [True: 240, False: 484]
  ------------------
  262|    240|        return 17088;
  263|    244|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (263:5): [True: 244, False: 480]
  ------------------
  264|    244|        return 7856;
  265|    240|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s:
  ------------------
  |  Branch (265:5): [True: 240, False: 484]
  ------------------
  266|    240|        return 29792;
  267|      0|    default:
  ------------------
  |  Branch (267:5): [True: 0, False: 724]
  ------------------
  268|      0|        RNP_LOG("invalid SLH-DSA algorithm identifier");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|      0|        return 0;
  270|    724|    }
  271|    724|}

_ZNK28pgp_sphincsplus_public_key_t11get_encodedEv:
  113|  1.35k|    {
  114|  1.35k|        return key_encoded_;
  115|  1.35k|    };
_ZN28pgp_sphincsplus_public_key_tC2Ev:
   91|  2.24k|    pgp_sphincsplus_public_key_t() = default;
_ZN29pgp_sphincsplus_private_key_tC2Ev:
   52|  2.24k|    pgp_sphincsplus_private_key_t() = default;

_Z14pgp_block_size14pgp_symm_alg_t:
  210|  24.2k|{
  211|  24.2k|    switch (alg) {
  212|  7.61k|    case PGP_SA_IDEA:
  ------------------
  |  Branch (212:5): [True: 7.61k, False: 16.6k]
  ------------------
  213|  10.6k|    case PGP_SA_TRIPLEDES:
  ------------------
  |  Branch (213:5): [True: 3.07k, False: 21.2k]
  ------------------
  214|  12.6k|    case PGP_SA_CAST5:
  ------------------
  |  Branch (214:5): [True: 1.90k, False: 22.3k]
  ------------------
  215|  13.6k|    case PGP_SA_BLOWFISH:
  ------------------
  |  Branch (215:5): [True: 1.09k, False: 23.1k]
  ------------------
  216|  13.6k|        return 8;
  217|    517|    case PGP_SA_AES_128:
  ------------------
  |  Branch (217:5): [True: 517, False: 23.7k]
  ------------------
  218|  1.18k|    case PGP_SA_AES_192:
  ------------------
  |  Branch (218:5): [True: 667, False: 23.6k]
  ------------------
  219|  1.52k|    case PGP_SA_AES_256:
  ------------------
  |  Branch (219:5): [True: 340, False: 23.9k]
  ------------------
  220|  5.36k|    case PGP_SA_TWOFISH:
  ------------------
  |  Branch (220:5): [True: 3.83k, False: 20.4k]
  ------------------
  221|  6.18k|    case PGP_SA_CAMELLIA_128:
  ------------------
  |  Branch (221:5): [True: 825, False: 23.4k]
  ------------------
  222|  7.61k|    case PGP_SA_CAMELLIA_192:
  ------------------
  |  Branch (222:5): [True: 1.42k, False: 22.8k]
  ------------------
  223|  8.03k|    case PGP_SA_CAMELLIA_256:
  ------------------
  |  Branch (223:5): [True: 422, False: 23.8k]
  ------------------
  224|  8.72k|    case PGP_SA_SM4:
  ------------------
  |  Branch (224:5): [True: 686, False: 23.6k]
  ------------------
  225|  8.72k|        return 16;
  226|  1.87k|    default:
  ------------------
  |  Branch (226:5): [True: 1.87k, False: 22.4k]
  ------------------
  227|  1.87k|        return 0;
  228|  24.2k|    }
  229|  24.2k|}
_Z25pgp_cipher_aead_nonce_len14pgp_aead_alg_t:
  327|  3.86k|{
  328|  3.86k|    switch (aalg) {
  329|  1.72k|    case PGP_AEAD_EAX:
  ------------------
  |  Branch (329:5): [True: 1.72k, False: 2.14k]
  ------------------
  330|  1.72k|        return PGP_AEAD_EAX_NONCE_LEN;
  ------------------
  |  |   64|  1.72k|#define PGP_AEAD_EAX_NONCE_LEN 16
  ------------------
  331|  1.27k|    case PGP_AEAD_OCB:
  ------------------
  |  Branch (331:5): [True: 1.27k, False: 2.59k]
  ------------------
  332|  1.27k|        return PGP_AEAD_OCB_NONCE_LEN;
  ------------------
  |  |   67|  1.27k|#define PGP_AEAD_OCB_NONCE_LEN 15
  ------------------
  333|    260|    case PGP_AEAD_GCM:
  ------------------
  |  Branch (333:5): [True: 260, False: 3.60k]
  ------------------
  334|    260|        return PGP_AEAD_GCM_NONCE_LEN;
  ------------------
  |  |   68|    260|#define PGP_AEAD_GCM_NONCE_LEN 12
  ------------------
  335|    615|    default:
  ------------------
  |  Branch (335:5): [True: 615, False: 3.25k]
  ------------------
  336|    615|        return 0;
  337|  3.86k|    }
  338|  3.86k|}
_Z23pgp_cipher_aead_tag_len14pgp_aead_alg_t:
  342|  2.67k|{
  343|  2.67k|    switch (aalg) {
  344|  1.29k|    case PGP_AEAD_EAX:
  ------------------
  |  Branch (344:5): [True: 1.29k, False: 1.38k]
  ------------------
  345|  2.44k|    case PGP_AEAD_OCB:
  ------------------
  |  Branch (345:5): [True: 1.15k, False: 1.51k]
  ------------------
  346|  2.67k|    case PGP_AEAD_GCM:
  ------------------
  |  Branch (346:5): [True: 226, False: 2.44k]
  ------------------
  347|  2.67k|        return PGP_AEAD_EAX_OCB_TAG_LEN;
  ------------------
  |  |   80|  2.67k|#define PGP_AEAD_EAX_OCB_TAG_LEN 16
  ------------------
  348|      0|    default:
  ------------------
  |  Branch (348:5): [True: 0, False: 2.67k]
  ------------------
  349|      0|        return 0;
  350|  2.67k|    }
  351|  2.67k|}

_ZN3pgp11EncMaterial6createE16pgp_pubkey_alg_t:
   35|  1.99M|{
   36|  1.99M|    switch (alg) {
   37|  1.98M|    case PGP_PKA_RSA:
  ------------------
  |  Branch (37:5): [True: 1.98M, False: 12.9k]
  ------------------
   38|  1.98M|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (38:5): [True: 879, False: 1.99M]
  ------------------
   39|  1.98M|        return std::unique_ptr<EncMaterial>(new RSAEncMaterial());
   40|  1.61k|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (40:5): [True: 1.61k, False: 1.99M]
  ------------------
   41|  2.88k|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN:
  ------------------
  |  Branch (41:5): [True: 1.27k, False: 1.99M]
  ------------------
   42|  2.88k|        return std::unique_ptr<EncMaterial>(new EGEncMaterial());
   43|    911|    case PGP_PKA_SM2:
  ------------------
  |  Branch (43:5): [True: 911, False: 1.99M]
  ------------------
   44|    911|        return std::unique_ptr<EncMaterial>(new SM2EncMaterial());
   45|  2.45k|    case PGP_PKA_ECDH:
  ------------------
  |  Branch (45:5): [True: 2.45k, False: 1.99M]
  ------------------
   46|  2.45k|        return std::unique_ptr<EncMaterial>(new ECDHEncMaterial());
   47|      0|#if defined(ENABLE_CRYPTO_REFRESH)
   48|  3.59k|    case PGP_PKA_X25519:
  ------------------
  |  Branch (48:5): [True: 3.59k, False: 1.99M]
  ------------------
   49|  3.59k|        return std::unique_ptr<EncMaterial>(new X25519EncMaterial());
   50|      0|#endif
   51|      0|#if defined(ENABLE_PQC)
   52|    275|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (52:5): [True: 275, False: 1.99M]
  ------------------
   53|    275|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
   54|    275|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    275|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   55|    541|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (55:5): [True: 266, False: 1.99M]
  ------------------
   56|    541|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    541|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   57|    768|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (57:5): [True: 227, False: 1.99M]
  ------------------
   58|    768|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    768|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   59|    979|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (59:5): [True: 211, False: 1.99M]
  ------------------
   60|    979|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    979|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   61|  1.20k|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (61:5): [True: 223, False: 1.99M]
  ------------------
   62|  1.20k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.20k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   63|  1.68k|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (63:5): [True: 482, False: 1.99M]
  ------------------
   64|  1.68k|#endif
   65|  1.68k|        return std::unique_ptr<EncMaterial>(new MlkemEcdhEncMaterial(alg));
   66|      0|#endif
   67|    518|    default:
  ------------------
  |  Branch (67:5): [True: 518, False: 1.99M]
  ------------------
   68|    518|        RNP_LOG("unknown pk alg %d", alg);
  ------------------
  |  |   84|    518|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    518|    do {                                                                                 \
  |  |  |  |   77|    518|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 518, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    518|            break;                                                                       \
  |  |  |  |   79|    518|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|    518|        return nullptr;
   70|  1.99M|    }
   71|  1.99M|}
_ZN3pgp14RSAEncMaterial5parseER17pgp_packet_body_t:
   75|  1.98M|{
   76|  1.98M|    return pkt.get(enc.m);
   77|  1.98M|}
_ZN3pgp13EGEncMaterial5parseER17pgp_packet_body_t:
   87|  2.88k|{
   88|  2.88k|    return pkt.get(enc.g) && pkt.get(enc.m);
  ------------------
  |  Branch (88:12): [True: 2.56k, False: 329]
  |  Branch (88:30): [True: 2.44k, False: 116]
  ------------------
   89|  2.88k|}
_ZN3pgp14SM2EncMaterial5parseER17pgp_packet_body_t:
  100|    911|{
  101|    911|    return pkt.get(enc.m);
  102|    911|}
_ZN3pgp15ECDHEncMaterial5parseER17pgp_packet_body_t:
  112|  2.45k|{
  113|  2.45k|    uint8_t sz = 0;
  114|       |    /* ECDH ephemeral point and m size */
  115|  2.45k|    if (!pkt.get(enc.p) || !pkt.get(sz)) {
  ------------------
  |  Branch (115:9): [True: 294, False: 2.16k]
  |  Branch (115:28): [True: 197, False: 1.96k]
  ------------------
  116|    491|        return false;
  117|    491|    }
  118|       |    /* ECDH m */
  119|  1.96k|    if (sz > ECDH_WRAPPED_KEY_SIZE) {
  ------------------
  |  |   38|  1.96k|#define ECDH_WRAPPED_KEY_SIZE 48
  ------------------
  |  Branch (119:9): [True: 206, False: 1.75k]
  ------------------
  120|    206|        RNP_LOG("wrong ecdh m len");
  ------------------
  |  |   84|    206|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    206|    do {                                                                                 \
  |  |  |  |   77|    206|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 206, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    206|            break;                                                                       \
  |  |  |  |   79|    206|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|    206|        return false;
  122|    206|    }
  123|  1.75k|    enc.m.resize(sz);
  124|  1.75k|    if (!pkt.get(enc.m.data(), sz)) {
  ------------------
  |  Branch (124:9): [True: 214, False: 1.54k]
  ------------------
  125|    214|        return false;
  126|    214|    }
  127|  1.54k|    return true;
  128|  1.75k|}
_ZN3pgp17X25519EncMaterial5parseER17pgp_packet_body_t:
  141|  3.59k|{
  142|  3.59k|    enc.eph_key.resize(32);
  143|  3.59k|    if (!pkt.get(enc.eph_key.data(), enc.eph_key.size())) {
  ------------------
  |  Branch (143:9): [True: 317, False: 3.27k]
  ------------------
  144|    317|        RNP_LOG("failed to parse X25519 PKESK (eph. pubkey)");
  ------------------
  |  |   84|    317|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    317|    do {                                                                                 \
  |  |  |  |   77|    317|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 317, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    317|            break;                                                                       \
  |  |  |  |   79|    317|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|    317|        return false;
  146|    317|    }
  147|  3.27k|    uint8_t sess_len = 0;
  148|  3.27k|    if (!pkt.get(sess_len) || !sess_len) {
  ------------------
  |  Branch (148:9): [True: 203, False: 3.07k]
  |  Branch (148:31): [True: 196, False: 2.87k]
  ------------------
  149|    399|        RNP_LOG("failed to parse X25519 PKESK (enc sesskey length)");
  ------------------
  |  |   84|    399|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    399|    do {                                                                                 \
  |  |  |  |   77|    399|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 399, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    399|            break;                                                                       \
  |  |  |  |   79|    399|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|    399|        return false;
  151|    399|    }
  152|       |    /* get plaintext salg if PKESKv3 */
  153|  2.87k|    if (version == PGP_PKSK_V3) {
  ------------------
  |  Branch (153:9): [True: 1.72k, False: 1.15k]
  ------------------
  154|  1.72k|        uint8_t bt = 0;
  155|  1.72k|        if (!pkt.get(bt)) {
  ------------------
  |  Branch (155:13): [True: 65, False: 1.65k]
  ------------------
  156|     65|            RNP_LOG("failed to get salg");
  ------------------
  |  |   84|     65|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     65|    do {                                                                                 \
  |  |  |  |   77|     65|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 65, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     65|            break;                                                                       \
  |  |  |  |   79|     65|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|     65|            return false;
  158|     65|        }
  159|  1.65k|        sess_len--;
  160|  1.65k|        salg = (pgp_symm_alg_t) bt;
  161|  1.65k|    }
  162|  2.81k|    enc.enc_sess_key.resize(sess_len);
  163|  2.81k|    if (!pkt.get(enc.enc_sess_key.data(), sess_len)) {
  ------------------
  |  Branch (163:9): [True: 243, False: 2.57k]
  ------------------
  164|    243|        RNP_LOG("failed to parse X25519 PKESK (enc sesskey)");
  ------------------
  |  |   84|    243|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    243|    do {                                                                                 \
  |  |  |  |   77|    243|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 243, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    243|            break;                                                                       \
  |  |  |  |   79|    243|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    243|        return false;
  166|    243|    }
  167|  2.57k|    return true;
  168|  2.81k|}
_ZN3pgp20MlkemEcdhEncMaterial5parseER17pgp_packet_body_t:
  231|  1.68k|{
  232|       |    /* Calculate ciphertext size */
  233|  1.68k|    auto csize =
  234|  1.68k|      kyber_ciphertext_size(pgp_kyber_ecdh_composite_key_t::pk_alg_to_kyber_id(alg_)) +
  235|  1.68k|      pgp_kyber_ecdh_composite_key_t::ecdh_curve_ephemeral_size(
  236|  1.68k|        pgp_kyber_ecdh_composite_key_t::pk_alg_to_curve_id(alg_));
  237|  1.68k|    enc.composite_ciphertext.resize(csize);
  238|       |    /* Read composite ciphertext */
  239|  1.68k|    if (!pkt.get(enc.composite_ciphertext.data(), enc.composite_ciphertext.size())) {
  ------------------
  |  Branch (239:9): [True: 1.32k, False: 361]
  ------------------
  240|  1.32k|        RNP_LOG("failed to get kyber-ecdh ciphertext");
  ------------------
  |  |   84|  1.32k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.32k|    do {                                                                                 \
  |  |  |  |   77|  1.32k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.32k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.32k|            break;                                                                       \
  |  |  |  |   79|  1.32k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|  1.32k|        return false;
  242|  1.32k|    }
  243|    361|    uint8_t wrapped_key_len = 0;
  244|    361|    if (!pkt.get(wrapped_key_len) || !wrapped_key_len) {
  ------------------
  |  Branch (244:9): [True: 6, False: 355]
  |  Branch (244:38): [True: 15, False: 340]
  ------------------
  245|     21|        RNP_LOG("failed to get kyber-ecdh wrapped session key length");
  ------------------
  |  |   84|     21|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     21|    do {                                                                                 \
  |  |  |  |   77|     21|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     21|            break;                                                                       \
  |  |  |  |   79|     21|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|     21|        return false;
  247|     21|    }
  248|       |    /* get plaintext salg if PKESKv3 */
  249|    340|    if (version == PGP_PKSK_V3) {
  ------------------
  |  Branch (249:9): [True: 269, False: 71]
  ------------------
  250|    269|        uint8_t balg = 0;
  251|    269|        if (!pkt.get(balg)) {
  ------------------
  |  Branch (251:13): [True: 0, False: 269]
  ------------------
  252|      0|            RNP_LOG("failed to get salg");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  253|      0|            return false;
  254|      0|        }
  255|    269|        salg = (pgp_symm_alg_t) balg;
  256|    269|        wrapped_key_len--;
  257|    269|    }
  258|    340|    enc.wrapped_sesskey.resize(wrapped_key_len);
  259|    340|    if (!pkt.get(enc.wrapped_sesskey.data(), enc.wrapped_sesskey.size())) {
  ------------------
  |  Branch (259:9): [True: 31, False: 309]
  ------------------
  260|     31|        RNP_LOG("failed to get kyber-ecdh session key");
  ------------------
  |  |   84|     31|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     31|    do {                                                                                 \
  |  |  |  |   77|     31|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     31|            break;                                                                       \
  |  |  |  |   79|     31|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|     31|        return false;
  262|     31|    }
  263|    309|    return true;
  264|    340|}

_ZN3pgp11EncMaterialD2Ev:
   43|  1.99M|    virtual ~EncMaterial(){};
_ZN3pgp20MlkemEcdhEncMaterialC2E16pgp_pubkey_alg_t:
  108|  1.68k|    MlkemEcdhEncMaterial(pgp_pubkey_alg_t alg) : alg_(alg)
  109|  1.68k|    {
  110|  1.68k|    }

_ZN3pgp11FingerprintC2Ev:
   38|  1.11M|Fingerprint::Fingerprint() : keyid_({})
   39|  1.11M|{
   40|  1.11M|}
_ZN3pgp11FingerprintC2EPKhm:
   42|  16.6k|Fingerprint::Fingerprint(const uint8_t *data, size_t size) : Fingerprint()
   43|  16.6k|{
   44|  16.6k|    fp_.assign(data, data + size);
   45|  16.6k|}
_ZN3pgp11FingerprintC2ERK13pgp_key_pkt_t:
   48|  43.1k|{
   49|  43.1k|    switch (key.version) {
   50|  1.84k|    case PGP_V2:
  ------------------
  |  Branch (50:5): [True: 1.84k, False: 41.3k]
  ------------------
   51|  3.73k|    case PGP_V3: {
  ------------------
  |  Branch (51:5): [True: 1.89k, False: 41.2k]
  ------------------
   52|       |        /* v2/3 fingerprint is calculated from RSA public numbers */
   53|  3.73k|        if (!is_rsa_key_alg(key.alg)) {
  ------------------
  |  Branch (53:13): [True: 0, False: 3.73k]
  ------------------
   54|      0|            RNP_LOG("bad algorithm");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|      0|            throw rnp::rnp_exception(RNP_ERROR_NOT_SUPPORTED);
   56|      0|        }
   57|  3.73k|        auto &rsa = dynamic_cast<const pgp::RSAKeyMaterial &>(*key.material);
   58|  3.73k|        auto  hash = rnp::Hash::create(PGP_HASH_MD5);
   59|  3.73k|        hash->add(rsa.n());
   60|  3.73k|        hash->add(rsa.e());
   61|  3.73k|        fp_ = hash->finish();
   62|       |        /* keyid just low bytes of RSA n */
   63|  3.73k|        size_t n = rsa.n().size();
   64|  3.73k|        size_t sz = std::min(rsa.n().size(), keyid_.size());
   65|  3.73k|        std::memcpy(keyid_.data(), rsa.n().data() + n - sz, sz);
   66|  3.73k|        return;
   67|  3.73k|    }
   68|  30.3k|    case PGP_V4:
  ------------------
  |  Branch (68:5): [True: 30.3k, False: 12.7k]
  ------------------
   69|  31.6k|    case PGP_V5:
  ------------------
  |  Branch (69:5): [True: 1.32k, False: 41.8k]
  ------------------
   70|  31.6k|#if defined(ENABLE_CRYPTO_REFRESH)
   71|  39.4k|    case PGP_V6:
  ------------------
  |  Branch (71:5): [True: 7.73k, False: 35.4k]
  ------------------
   72|  39.4k|#endif
   73|  39.4k|    {
   74|  39.4k|        auto halg = key.version == PGP_V4 ? PGP_HASH_SHA1 : PGP_HASH_SHA256;
  ------------------
  |  Branch (74:21): [True: 30.3k, False: 9.05k]
  ------------------
   75|  39.4k|        auto hash = rnp::Hash::create(halg);
   76|  39.4k|        signature_hash_key(key, *hash, key.version);
   77|  39.4k|        fp_ = hash->finish();
   78|       |        /* keyid */
   79|  39.4k|        if (key.version == PGP_V4) {
  ------------------
  |  Branch (79:13): [True: 30.3k, False: 9.05k]
  ------------------
   80|  30.3k|            assert(fp_.size() == PGP_FINGERPRINT_V4_SIZE);
   81|  30.3k|            const size_t inc = PGP_FINGERPRINT_V4_SIZE - PGP_KEY_ID_SIZE;
  ------------------
  |  |   43|  30.3k|#define PGP_FINGERPRINT_V4_SIZE 20
  ------------------
                          const size_t inc = PGP_FINGERPRINT_V4_SIZE - PGP_KEY_ID_SIZE;
  ------------------
  |  |   39|  30.3k|#define PGP_KEY_ID_SIZE 8
  ------------------
   82|  30.3k|            memcpy(keyid_.data(), fp_.data() + inc, keyid_.size());
   83|  30.3k|        } else {
   84|  9.05k|            memcpy(keyid_.data(), fp_.data(), keyid_.size());
   85|  9.05k|        }
   86|  39.4k|        return;
   87|  31.6k|    }
   88|      0|    default:
  ------------------
  |  Branch (88:5): [True: 0, False: 43.1k]
  ------------------
   89|      0|        RNP_LOG("unsupported key version");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|      0|        throw rnp::rnp_exception(RNP_ERROR_NOT_SUPPORTED);
   91|  43.1k|    }
   92|  43.1k|}
_ZNK3pgp11Fingerprint5keyidEv:
  119|  43.1k|{
  120|  43.1k|    return keyid_;
  121|  43.1k|}
_ZNK3pgp11Fingerprint4dataEv:
  131|  12.5k|{
  132|  12.5k|    return fp_.data();
  133|  12.5k|}
_ZNK3pgp11Fingerprint4sizeEv:
  137|  12.5k|{
  138|  12.5k|    return fp_.size();
  139|  12.5k|}

_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcSJ_:
   53|  1.50M|{
   54|  1.50M|    obj[name] = value;
   55|  1.50M|    return true;
   56|  1.50M|}
_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcSJ_m:
   60|  92.5k|{
   61|  92.5k|    obj[name] = std::string(value, len);
   62|  92.5k|    return true;
   63|  92.5k|}
_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcRKSC_:
   67|  8.81k|{
   68|  8.81k|    obj[name] = value;
   69|  8.81k|    return true;
   70|  8.81k|}
_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcb:
   74|  1.79M|{
   75|  1.79M|    obj[name] = value;
   76|  1.79M|    return true;
   77|  1.79M|}
_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKci:
   81|  2.67M|{
   82|  2.67M|    obj[name] = value;
   83|  2.67M|    return true;
   84|  2.67M|}
_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcm:
   88|  1.68M|{
   89|  1.68M|    obj[name] = value;
   90|  1.68M|    return true;
   91|  1.68M|}
_ZN3rnp4json7add_hexERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcPKhm:
   95|  2.30M|{
   96|  2.30M|    if (val_len > 1024 * 1024) {
  ------------------
  |  Branch (96:9): [True: 0, False: 2.30M]
  ------------------
   97|      0|        RNP_LOG("too large json hex field: %zu", val_len);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|      0|        val_len = 1024 * 1024;
   99|      0|    }
  100|  2.30M|    obj[name] = bin_to_hex(val, val_len, rnp::HexFormat::Lowercase);
  101|  2.30M|    return true;
  102|  2.30M|}
_ZN3rnp4json7add_hexERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcRKSF_:
  106|  53.4k|{
  107|  53.4k|    return add_hex(obj, name, vec.data(), vec.size());
  108|  53.4k|}
_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcRKNS5_5arrayIhLm8EEE:
  112|   521k|{
  113|   521k|    return add_hex(obj, name, keyid.data(), keyid.size());
  114|   521k|}
_ZN3rnp4json3addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcRKN3pgp11FingerprintE:
  118|  5.46k|{
  119|  5.46k|    return add_hex(obj, name, fp.data(), fp.size());
  120|  5.46k|}
_ZN3rnp4json9array_addERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEEPKc:
  124|  54.2k|{
  125|  54.2k|    arr.push_back(val);
  126|  54.2k|    return true;
  127|  54.2k|}
_ZN3rnp4json11dump_prettyERKN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
  213|  6.33k|{
  214|       |    /* nlohmann::ordered_json::dump(2) produces 2-space indent but with `": ` after
  215|       |     * keys. json-c uses `":` (no space). Walk the dumped string and remove
  216|       |     * the space after structural colons (colons that follow an unescaped
  217|       |     * closing quote of a key). Inside-string `":` is part of a value and
  218|       |     * is left untouched because the preceding quote is escaped (`\"`). */
  219|  6.33k|    std::string raw = jso.dump(2);
  220|  6.33k|    std::string out;
  221|  6.33k|    out.reserve(raw.size());
  222|  6.33k|    bool   in_string = false;
  223|  6.33k|    bool   escaped = false;
  224|  6.33k|    size_t i = 0;
  225|   245M|    while (i < raw.size()) {
  ------------------
  |  Branch (225:12): [True: 245M, False: 6.33k]
  ------------------
  226|   245M|        char c = raw[i];
  227|   245M|        if (escaped) {
  ------------------
  |  Branch (227:13): [True: 149k, False: 245M]
  ------------------
  228|   149k|            out.push_back(c);
  229|   149k|            escaped = false;
  230|   149k|            i++;
  231|   149k|            continue;
  232|   149k|        }
  233|   245M|        if (in_string) {
  ------------------
  |  Branch (233:13): [True: 113M, False: 132M]
  ------------------
  234|   113M|            if (c == '\\') {
  ------------------
  |  Branch (234:17): [True: 149k, False: 112M]
  ------------------
  235|   149k|                escaped = true;
  236|   149k|                out.push_back(c);
  237|   149k|                i++;
  238|   149k|                continue;
  239|   149k|            }
  240|   112M|            if (c == '"') {
  ------------------
  |  Branch (240:17): [True: 8.12M, False: 104M]
  ------------------
  241|  8.12M|                in_string = false;
  242|  8.12M|            }
  243|   112M|            out.push_back(c);
  244|   112M|            i++;
  245|   112M|            continue;
  246|   113M|        }
  247|   132M|        if (c == '"') {
  ------------------
  |  Branch (247:13): [True: 8.12M, False: 123M]
  ------------------
  248|  8.12M|            in_string = true;
  249|  8.12M|            out.push_back(c);
  250|  8.12M|            i++;
  251|  8.12M|            continue;
  252|  8.12M|        }
  253|       |        /* structural colon followed by space → drop the space */
  254|   123M|        if (c == ':' && i + 1 < raw.size() && raw[i + 1] == ' ') {
  ------------------
  |  Branch (254:13): [True: 6.08M, False: 117M]
  |  Branch (254:25): [True: 6.08M, False: 0]
  |  Branch (254:47): [True: 6.08M, False: 0]
  ------------------
  255|  6.08M|            out.push_back(':');
  256|  6.08M|            i += 2; /* skip the colon and its trailing space */
  257|  6.08M|            continue;
  258|  6.08M|        }
  259|   117M|        out.push_back(c);
  260|   117M|        i++;
  261|   117M|    }
  262|  6.33k|    return out;
  263|  6.33k|}

_ZN3rnp3Key10is_pqc_algE16pgp_pubkey_alg_t:
  938|  63.8k|{
  939|  63.8k|    switch (alg) {
  940|    426|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (940:5): [True: 426, False: 63.4k]
  ------------------
  941|    426|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
  942|    426|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    426|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  943|    915|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (943:5): [True: 489, False: 63.3k]
  ------------------
  944|    915|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    915|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  945|  1.45k|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (945:5): [True: 543, False: 63.3k]
  ------------------
  946|  1.45k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.45k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  947|  1.60k|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (947:5): [True: 148, False: 63.7k]
  ------------------
  948|  1.60k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.60k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  949|  2.69k|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (949:5): [True: 1.09k, False: 62.7k]
  ------------------
  950|  2.69k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  2.69k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  951|  3.79k|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (951:5): [True: 1.10k, False: 62.7k]
  ------------------
  952|  3.79k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  3.79k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  953|  4.20k|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (953:5): [True: 404, False: 63.4k]
  ------------------
  954|  4.20k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  4.20k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  955|  4.69k|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (955:5): [True: 490, False: 63.3k]
  ------------------
  956|  4.69k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  4.69k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  957|  5.82k|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (957:5): [True: 1.13k, False: 62.7k]
  ------------------
  958|  5.82k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  5.82k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  959|  6.20k|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (959:5): [True: 377, False: 63.4k]
  ------------------
  960|  6.20k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  6.20k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  961|  7.02k|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (961:5): [True: 826, False: 63.0k]
  ------------------
  962|  7.02k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  7.02k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  963|  7.43k|    case PGP_PKA_DILITHIUM5_BP512:
  ------------------
  |  Branch (963:5): [True: 405, False: 63.4k]
  ------------------
  964|  7.43k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  7.43k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  965|  7.93k|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (965:5): [True: 498, False: 63.3k]
  ------------------
  966|  7.93k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  7.93k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  967|  8.98k|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (967:5): [True: 1.05k, False: 62.8k]
  ------------------
  968|  8.98k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  8.98k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  969|  9.39k|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s:
  ------------------
  |  Branch (969:5): [True: 409, False: 63.4k]
  ------------------
  970|  9.39k|#endif
  971|  9.39k|        return true;
  972|  54.4k|    default:
  ------------------
  |  Branch (972:5): [True: 54.4k, False: 9.39k]
  ------------------
  973|  54.4k|        return false;
  974|  63.8k|    }
  975|  63.8k|}

_ZN3pgp11KeyMaterialD2Ev:
  252|  66.0k|{
  253|  66.0k|}
_ZNK3pgp11KeyMaterial3algEv:
  257|  60.6k|{
  258|  60.6k|    return alg_;
  259|  60.6k|}
_ZN3pgp11KeyMaterial6createE16pgp_pubkey_alg_t:
  390|  66.7k|{
  391|  66.7k|    switch (alg) {
  392|  9.24k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (392:5): [True: 9.24k, False: 57.5k]
  ------------------
  393|  18.0k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (393:5): [True: 8.82k, False: 57.9k]
  ------------------
  394|  27.9k|    case PGP_PKA_RSA_SIGN_ONLY:
  ------------------
  |  Branch (394:5): [True: 9.91k, False: 56.8k]
  ------------------
  395|  27.9k|        return std::unique_ptr<KeyMaterial>(new RSAKeyMaterial(alg));
  396|  2.82k|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (396:5): [True: 2.82k, False: 63.9k]
  ------------------
  397|  3.94k|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN:
  ------------------
  |  Branch (397:5): [True: 1.11k, False: 65.6k]
  ------------------
  398|  3.94k|        return std::unique_ptr<KeyMaterial>(new EGKeyMaterial(alg));
  399|  1.95k|    case PGP_PKA_DSA:
  ------------------
  |  Branch (399:5): [True: 1.95k, False: 64.8k]
  ------------------
  400|  1.95k|        return std::unique_ptr<KeyMaterial>(new DSAKeyMaterial());
  401|  4.36k|    case PGP_PKA_ECDH:
  ------------------
  |  Branch (401:5): [True: 4.36k, False: 62.4k]
  ------------------
  402|  4.36k|        return std::unique_ptr<KeyMaterial>(new ECDHKeyMaterial());
  403|  3.33k|    case PGP_PKA_ECDSA:
  ------------------
  |  Branch (403:5): [True: 3.33k, False: 63.4k]
  ------------------
  404|  3.33k|        return std::unique_ptr<KeyMaterial>(new ECDSAKeyMaterial());
  405|  5.41k|    case PGP_PKA_EDDSA:
  ------------------
  |  Branch (405:5): [True: 5.41k, False: 61.3k]
  ------------------
  406|  5.41k|        return std::unique_ptr<KeyMaterial>(new EDDSAKeyMaterial());
  407|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  408|  2.66k|    case PGP_PKA_ED25519:
  ------------------
  |  Branch (408:5): [True: 2.66k, False: 64.1k]
  ------------------
  409|  2.66k|        return std::unique_ptr<KeyMaterial>(new Ed25519KeyMaterial());
  410|  2.51k|    case PGP_PKA_X25519:
  ------------------
  |  Branch (410:5): [True: 2.51k, False: 64.2k]
  ------------------
  411|  2.51k|        return std::unique_ptr<KeyMaterial>(new X25519KeyMaterial());
  412|    942|    case PGP_PKA_ED448:
  ------------------
  |  Branch (412:5): [True: 942, False: 65.8k]
  ------------------
  413|    942|        return std::unique_ptr<KeyMaterial>(new Ed448KeyMaterial());
  414|    956|    case PGP_PKA_X448:
  ------------------
  |  Branch (414:5): [True: 956, False: 65.8k]
  ------------------
  415|    956|        return std::unique_ptr<KeyMaterial>(new X448KeyMaterial());
  416|      0|#endif
  417|  1.51k|    case PGP_PKA_SM2:
  ------------------
  |  Branch (417:5): [True: 1.51k, False: 65.2k]
  ------------------
  418|  1.51k|        return std::unique_ptr<KeyMaterial>(new SM2KeyMaterial());
  419|      0|#if defined(ENABLE_PQC)
  420|    463|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (420:5): [True: 463, False: 66.3k]
  ------------------
  421|    463|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
  422|    463|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    463|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  423|    953|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (423:5): [True: 490, False: 66.3k]
  ------------------
  424|    953|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    953|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  425|  1.64k|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (425:5): [True: 691, False: 66.1k]
  ------------------
  426|  1.64k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.64k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  427|  1.93k|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (427:5): [True: 292, False: 66.5k]
  ------------------
  428|  1.93k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.93k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  429|  3.21k|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (429:5): [True: 1.27k, False: 65.5k]
  ------------------
  430|  3.21k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  3.21k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  431|  4.32k|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (431:5): [True: 1.10k, False: 65.6k]
  ------------------
  432|  4.32k|#endif
  433|  4.32k|        return std::unique_ptr<KeyMaterial>(new MlkemEcdhKeyMaterial(alg));
  434|      0|#endif
  435|      0|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
  436|    404|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (436:5): [True: 404, False: 66.3k]
  ------------------
  437|    404|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    404|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  438|    905|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (438:5): [True: 501, False: 66.2k]
  ------------------
  439|    905|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    905|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  440|  2.04k|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (440:5): [True: 1.13k, False: 65.6k]
  ------------------
  441|  2.04k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  2.04k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  442|  2.56k|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (442:5): [True: 519, False: 66.2k]
  ------------------
  443|  2.56k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  2.56k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  444|  3.47k|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (444:5): [True: 912, False: 65.8k]
  ------------------
  445|  3.47k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  3.47k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  446|  3.87k|    case PGP_PKA_DILITHIUM5_BP512:
  ------------------
  |  Branch (446:5): [True: 406, False: 66.3k]
  ------------------
  447|  3.87k|        return std::unique_ptr<KeyMaterial>(new DilithiumEccKeyMaterial(alg));
  448|    632|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (448:5): [True: 632, False: 66.1k]
  ------------------
  449|    632|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    632|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  450|  1.68k|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (450:5): [True: 1.05k, False: 65.7k]
  ------------------
  451|  1.68k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.68k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  452|  2.24k|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s:
  ------------------
  |  Branch (452:5): [True: 556, False: 66.2k]
  ------------------
  453|  2.24k|        return std::unique_ptr<KeyMaterial>(new SlhdsaKeyMaterial(alg));
  454|      0|#endif
  455|    759|    default:
  ------------------
  |  Branch (455:5): [True: 759, False: 66.0k]
  ------------------
  456|    759|        return nullptr;
  457|  66.7k|    }
  458|  66.7k|}
_ZN3pgp14RSAKeyMaterial5parseER17pgp_packet_body_t:
  523|  27.6k|{
  524|  27.6k|    secret_ = false;
  525|  27.6k|    return pkt.get(key_.n) && pkt.get(key_.e);
  ------------------
  |  Branch (525:12): [True: 26.9k, False: 774]
  |  Branch (525:31): [True: 26.6k, False: 292]
  ------------------
  526|  27.6k|}
_ZNK3pgp14RSAKeyMaterial1nEv:
  640|  38.8k|{
  641|  38.8k|    return key_.n;
  642|  38.8k|}
_ZNK3pgp14RSAKeyMaterial1eEv:
  646|  27.6k|{
  647|  27.6k|    return key_.e;
  648|  27.6k|}
_ZN3pgp14DSAKeyMaterial5parseER17pgp_packet_body_t:
  704|  1.82k|{
  705|  1.82k|    secret_ = false;
  706|  1.82k|    return pkt.get(key_.p) && pkt.get(key_.q) && pkt.get(key_.g) && pkt.get(key_.y);
  ------------------
  |  Branch (706:12): [True: 1.22k, False: 601]
  |  Branch (706:31): [True: 935, False: 288]
  |  Branch (706:50): [True: 713, False: 222]
  |  Branch (706:69): [True: 711, False: 2]
  ------------------
  707|  1.82k|}
_ZNK3pgp14DSAKeyMaterial1pEv:
  801|    707|{
  802|    707|    return key_.p;
  803|    707|}
_ZNK3pgp14DSAKeyMaterial1qEv:
  807|    707|{
  808|    707|    return key_.q;
  809|    707|}
_ZNK3pgp14DSAKeyMaterial1gEv:
  813|    707|{
  814|    707|    return key_.g;
  815|    707|}
_ZNK3pgp14DSAKeyMaterial1yEv:
  819|    707|{
  820|    707|    return key_.y;
  821|    707|}
_ZN3pgp13EGKeyMaterial5parseER17pgp_packet_body_t:
  858|  3.60k|{
  859|  3.60k|    secret_ = false;
  860|  3.60k|    return pkt.get(key_.p) && pkt.get(key_.g) && pkt.get(key_.y);
  ------------------
  |  Branch (860:12): [True: 2.94k, False: 658]
  |  Branch (860:31): [True: 2.72k, False: 218]
  |  Branch (860:50): [True: 2.59k, False: 128]
  ------------------
  861|  3.60k|}
_ZNK3pgp13EGKeyMaterial1pEv:
  951|  2.13k|{
  952|  2.13k|    return key_.p;
  953|  2.13k|}
_ZNK3pgp13EGKeyMaterial1gEv:
  957|  2.13k|{
  958|  2.13k|    return key_.g;
  959|  2.13k|}
_ZNK3pgp13EGKeyMaterial1yEv:
  963|  2.13k|{
  964|  2.13k|    return key_.y;
  965|  2.13k|}
_ZN3pgp13ECKeyMaterial5parseER17pgp_packet_body_t:
 1008|  14.3k|{
 1009|  14.3k|    secret_ = false;
 1010|  14.3k|    if (!pkt.get(key_.curve) || !pkt.get(key_.p)) {
  ------------------
  |  Branch (1010:9): [True: 4.87k, False: 9.45k]
  |  Branch (1010:33): [True: 1.33k, False: 8.12k]
  ------------------
 1011|  6.20k|        return false;
 1012|  6.20k|    }
 1013|  8.12k|    return true;
 1014|  14.3k|}
_ZNK3pgp13ECKeyMaterial5curveEv:
 1072|  6.81k|{
 1073|  6.81k|    return key_.curve;
 1074|  6.81k|}
_ZNK3pgp13ECKeyMaterial1pEv:
 1078|  6.81k|{
 1079|  6.81k|    return key_.p;
 1080|  6.81k|}
_ZN3pgp15ECDHKeyMaterial5parseER17pgp_packet_body_t:
 1166|  4.29k|{
 1167|  4.29k|    if (!ECKeyMaterial::parse(pkt)) {
  ------------------
  |  Branch (1167:9): [True: 1.66k, False: 2.63k]
  ------------------
 1168|  1.66k|        return false;
 1169|  1.66k|    }
 1170|       |    /* Additional ECDH fields */
 1171|       |    /* Read KDF parameters. At the moment should be 0x03 0x01 halg ealg */
 1172|  2.63k|    uint8_t len = 0, halg = 0, walg = 0;
 1173|  2.63k|    if (!pkt.get(len) || (len != 3)) {
  ------------------
  |  Branch (1173:9): [True: 210, False: 2.42k]
  |  Branch (1173:26): [True: 226, False: 2.19k]
  ------------------
 1174|    436|        return false;
 1175|    436|    }
 1176|  2.19k|    if (!pkt.get(len) || (len != 1)) {
  ------------------
  |  Branch (1176:9): [True: 198, False: 1.99k]
  |  Branch (1176:26): [True: 212, False: 1.78k]
  ------------------
 1177|    410|        return false;
 1178|    410|    }
 1179|  1.78k|    if (!pkt.get(halg) || !pkt.get(walg)) {
  ------------------
  |  Branch (1179:9): [True: 198, False: 1.58k]
  |  Branch (1179:27): [True: 194, False: 1.39k]
  ------------------
 1180|    392|        return false;
 1181|    392|    }
 1182|  1.39k|    key_.kdf_hash_alg = (pgp_hash_alg_t) halg;
 1183|  1.39k|    key_.key_wrap_alg = (pgp_symm_alg_t) walg;
 1184|  1.39k|    return true;
 1185|  1.78k|}
_ZNK3pgp15ECDHKeyMaterial12kdf_hash_algEv:
 1255|  1.39k|{
 1256|  1.39k|    return key_.kdf_hash_alg;
 1257|  1.39k|}
_ZNK3pgp15ECDHKeyMaterial12key_wrap_algEv:
 1261|  1.39k|{
 1262|  1.39k|    return key_.key_wrap_alg;
 1263|  1.39k|}
_ZN3pgp18Ed25519KeyMaterial5parseER17pgp_packet_body_t:
 1456|  2.66k|{
 1457|  2.66k|    secret_ = false;
 1458|  2.66k|    auto                 ec_desc = ec::Curve::get(PGP_CURVE_ED25519);
 1459|  2.66k|    std::vector<uint8_t> buf(ec_desc->bytes());
 1460|  2.66k|    if (!pkt.get(buf.data(), buf.size())) {
  ------------------
  |  Branch (1460:9): [True: 214, False: 2.45k]
  ------------------
 1461|    214|        RNP_LOG("failed to parse Ed25519 public key data");
  ------------------
  |  |   84|    214|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    214|    do {                                                                                 \
  |  |  |  |   77|    214|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 214, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    214|            break;                                                                       \
  |  |  |  |   79|    214|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1462|    214|        return false;
 1463|    214|    }
 1464|  2.45k|    key_.pub = buf;
 1465|  2.45k|    return true;
 1466|  2.66k|}
_ZNK3pgp18Ed25519KeyMaterial3pubEv:
 1556|  1.31k|{
 1557|  1.31k|    return key_.pub;
 1558|  1.31k|}
_ZN3pgp17X25519KeyMaterial5parseER17pgp_packet_body_t:
 1594|  2.46k|{
 1595|  2.46k|    secret_ = false;
 1596|  2.46k|    auto                 ec_desc = ec::Curve::get(PGP_CURVE_25519);
 1597|  2.46k|    std::vector<uint8_t> buf(ec_desc->bytes());
 1598|  2.46k|    if (!pkt.get(buf.data(), buf.size())) {
  ------------------
  |  Branch (1598:9): [True: 206, False: 2.25k]
  ------------------
 1599|    206|        RNP_LOG("failed to parse X25519 public key data");
  ------------------
  |  |   84|    206|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    206|    do {                                                                                 \
  |  |  |  |   77|    206|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 206, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    206|            break;                                                                       \
  |  |  |  |   79|    206|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|    206|        return false;
 1601|    206|    }
 1602|  2.25k|    key_.pub = buf;
 1603|  2.25k|    return true;
 1604|  2.46k|}
_ZNK3pgp17X25519KeyMaterial3pubEv:
 1684|  1.41k|{
 1685|  1.41k|    return key_.pub;
 1686|  1.41k|}
_ZN3pgp16Ed448KeyMaterial5parseER17pgp_packet_body_t:
 1722|    941|{
 1723|    941|    secret_ = false;
 1724|    941|    auto                 ec_desc = ec::Curve::get(PGP_CURVE_ED448);
 1725|    941|    std::vector<uint8_t> buf(BITS_TO_BYTES(ec_desc->bitlen));
  ------------------
  |  |   56|    941|#define BITS_TO_BYTES(b) (((b) + (CHAR_BIT - 1)) / CHAR_BIT)
  ------------------
 1726|    941|    if (!pkt.get(buf.data(), buf.size())) {
  ------------------
  |  Branch (1726:9): [True: 208, False: 733]
  ------------------
 1727|    208|        RNP_LOG("failed to parse Ed448 public key data");
  ------------------
  |  |   84|    208|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    208|    do {                                                                                 \
  |  |  |  |   77|    208|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 208, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    208|            break;                                                                       \
  |  |  |  |   79|    208|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|    208|        return false;
 1729|    208|    }
 1730|    733|    key_.pub = buf;
 1731|    733|    return true;
 1732|    941|}
_ZNK3pgp16Ed448KeyMaterial3pubEv:
 1821|    574|{
 1822|    574|    return key_.pub;
 1823|    574|}
_ZN3pgp15X448KeyMaterial5parseER17pgp_packet_body_t:
 1859|    956|{
 1860|    956|    secret_ = false;
 1861|    956|    auto                 ec_desc = ec::Curve::get(PGP_CURVE_448);
 1862|    956|    std::vector<uint8_t> buf(BITS_TO_BYTES(ec_desc->bitlen));
  ------------------
  |  |   56|    956|#define BITS_TO_BYTES(b) (((b) + (CHAR_BIT - 1)) / CHAR_BIT)
  ------------------
 1863|    956|    if (!pkt.get(buf.data(), buf.size())) {
  ------------------
  |  Branch (1863:9): [True: 242, False: 714]
  ------------------
 1864|    242|        RNP_LOG("failed to parse X448 public key data");
  ------------------
  |  |   84|    242|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    242|    do {                                                                                 \
  |  |  |  |   77|    242|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 242, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    242|            break;                                                                       \
  |  |  |  |   79|    242|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1865|    242|        return false;
 1866|    242|    }
 1867|    714|    key_.pub = buf;
 1868|    714|    return true;
 1869|    956|}
_ZNK3pgp15X448KeyMaterial3pubEv:
 1949|    545|{
 1950|    545|    return key_.pub;
 1951|    545|}
_ZN3pgp20MlkemEcdhKeyMaterial5parseER17pgp_packet_body_t:
 1988|  3.40k|{
 1989|  3.40k|    secret_ = false;
 1990|  3.40k|    std::vector<uint8_t> buf(pgp_kyber_ecdh_composite_public_key_t::encoded_size(alg()));
 1991|  3.40k|    if (!pkt.get(buf.data(), buf.size())) {
  ------------------
  |  Branch (1991:9): [True: 759, False: 2.64k]
  ------------------
 1992|    759|        RNP_LOG("failed to parse mlkem-ecdh public key data");
  ------------------
  |  |   84|    759|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    759|    do {                                                                                 \
  |  |  |  |   77|    759|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 759, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    759|            break;                                                                       \
  |  |  |  |   79|    759|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1993|    759|        return false;
 1994|    759|    }
 1995|  2.64k|    key_.pub = pgp_kyber_ecdh_composite_public_key_t(buf, alg());
 1996|  2.64k|    return true;
 1997|  3.40k|}
_ZNK3pgp20MlkemEcdhKeyMaterial3pubEv:
 2072|  2.56k|{
 2073|  2.56k|    return key_.pub;
 2074|  2.56k|}
_ZN3pgp23DilithiumEccKeyMaterial5parseER17pgp_packet_body_t:
 2111|  2.79k|{
 2112|  2.79k|    secret_ = false;
 2113|  2.79k|    std::vector<uint8_t> buf(pgp_dilithium_exdsa_composite_public_key_t::encoded_size(alg()));
 2114|  2.79k|    if (!pkt.get(buf.data(), buf.size())) {
  ------------------
  |  Branch (2114:9): [True: 705, False: 2.09k]
  ------------------
 2115|    705|        RNP_LOG("failed to parse mldsa-ecdsa/eddsa public key data");
  ------------------
  |  |   84|    705|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    705|    do {                                                                                 \
  |  |  |  |   77|    705|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 705, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    705|            break;                                                                       \
  |  |  |  |   79|    705|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|    705|        return false;
 2117|    705|    }
 2118|  2.09k|    key_.pub = pgp_dilithium_exdsa_composite_public_key_t(buf, alg());
 2119|  2.09k|    return true;
 2120|  2.79k|}
_ZNK3pgp23DilithiumEccKeyMaterial3pubEv:
 2205|  1.82k|{
 2206|  1.82k|    return key_.pub;
 2207|  1.82k|}
_ZN3pgp17SlhdsaKeyMaterial5parseER17pgp_packet_body_t:
 2242|  1.76k|{
 2243|  1.76k|    secret_ = false;
 2244|  1.76k|    auto size = sphincsplus_pubkey_size(alg());
 2245|  1.76k|    if (!size) {
  ------------------
  |  Branch (2245:9): [True: 0, False: 1.76k]
  ------------------
 2246|      0|        RNP_LOG("invalid algorithm");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|      0|        return false;
 2248|      0|    }
 2249|  1.76k|    std::vector<uint8_t> buf(size);
 2250|  1.76k|    if (!pkt.get(buf.data(), buf.size())) {
  ------------------
  |  Branch (2250:9): [True: 340, False: 1.42k]
  ------------------
 2251|    340|        RNP_LOG("failed to parse SLH-DSA public key data");
  ------------------
  |  |   84|    340|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    340|    do {                                                                                 \
  |  |  |  |   77|    340|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 340, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    340|            break;                                                                       \
  |  |  |  |   79|    340|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|    340|        return false;
 2253|    340|    }
 2254|  1.42k|    key_.pub = pgp_sphincsplus_public_key_t(buf, alg());
 2255|  1.42k|    return true;
 2256|  1.76k|}
_ZNK3pgp17SlhdsaKeyMaterial3pubEv:
 2340|  1.35k|{
 2341|  1.35k|    return key_.pub;
 2342|  1.35k|}

_ZN3pgp11KeyMaterialC2E16pgp_pubkey_alg_tb:
  180|  66.0k|        : validity_({}), alg_(kalg), secret_(secret){};
_ZN3pgp14RSAKeyMaterialC2E16pgp_pubkey_alg_t:
  232|  27.9k|    RSAKeyMaterial(pgp_pubkey_alg_t kalg) : KeyMaterial(kalg), key_{} {};
_ZN3pgp14DSAKeyMaterialC2Ev:
  275|  1.95k|    DSAKeyMaterial() : KeyMaterial(PGP_PKA_DSA), key_{} {};
_ZN3pgp13EGKeyMaterialC2E16pgp_pubkey_alg_t:
  312|  3.94k|    EGKeyMaterial(pgp_pubkey_alg_t kalg) : KeyMaterial(kalg), key_{} {};
_ZN3pgp13ECKeyMaterialC2E16pgp_pubkey_alg_t:
  350|  14.6k|    ECKeyMaterial(pgp_pubkey_alg_t kalg) : KeyMaterial(kalg), key_{} {};
_ZN3pgp16ECDSAKeyMaterialC2Ev:
  373|  3.33k|    ECDSAKeyMaterial() : ECKeyMaterial(PGP_PKA_ECDSA){};
_ZN3pgp15ECDHKeyMaterialC2Ev:
  392|  4.36k|    ECDHKeyMaterial() : ECKeyMaterial(PGP_PKA_ECDH){};
_ZN3pgp16EDDSAKeyMaterialC2Ev:
  418|  5.41k|    EDDSAKeyMaterial() : ECKeyMaterial(PGP_PKA_EDDSA){};
_ZN3pgp14SM2KeyMaterialC2Ev:
  437|  1.51k|    SM2KeyMaterial() : ECKeyMaterial(PGP_PKA_SM2){};
_ZN3pgp18Ed25519KeyMaterialC2Ev:
  466|  2.66k|    Ed25519KeyMaterial() : KeyMaterial(PGP_PKA_ED25519), key_{} {};
_ZN3pgp17X25519KeyMaterialC2Ev:
  498|  2.51k|    X25519KeyMaterial() : KeyMaterial(PGP_PKA_X25519), key_{} {};
_ZN3pgp16Ed448KeyMaterialC2Ev:
  528|    942|    Ed448KeyMaterial() : KeyMaterial(PGP_PKA_ED448), key_{} {};
_ZN3pgp15X448KeyMaterialC2Ev:
  561|    956|    X448KeyMaterial() : KeyMaterial(PGP_PKA_X448), key_{} {};
_ZN3pgp20MlkemEcdhKeyMaterialC2E16pgp_pubkey_alg_t:
  593|  4.32k|    MlkemEcdhKeyMaterial(pgp_pubkey_alg_t kalg) : KeyMaterial(kalg), key_{} {};
_ZN3pgp23DilithiumEccKeyMaterialC2E16pgp_pubkey_alg_t:
  624|  3.87k|    DilithiumEccKeyMaterial(pgp_pubkey_alg_t kalg) : KeyMaterial(kalg), key_{} {};
_ZN3pgp17SlhdsaKeyMaterialC2E16pgp_pubkey_alg_t:
  657|  2.24k|    SlhdsaKeyMaterial(pgp_pubkey_alg_t kalg) : KeyMaterial(kalg), key_{} {};

_Z14rnp_log_switchv:
   53|  2.65M|{
   54|  2.65M|    if (_rnp_log_switch < 0) {
  ------------------
  |  Branch (54:9): [True: 1, False: 2.65M]
  ------------------
   55|      1|        const char *var = getenv(RNP_LOG_CONSOLE);
   56|      1|        _rnp_log_switch = (var && strcmp(var, "0")) ? 1 : 0;
  ------------------
  |  Branch (56:28): [True: 0, False: 1]
  |  Branch (56:35): [True: 0, False: 0]
  ------------------
   57|      1|    }
   58|  2.65M|    return !_rnp_log_disable && !!_rnp_log_switch;
  ------------------
  |  Branch (58:12): [True: 2.65M, False: 0]
  |  Branch (58:33): [True: 0, False: 2.65M]
  ------------------
   59|  2.65M|}

_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9push_backEOSE_:
22391|   101k|    {
22392|       |        // push_back only works for null objects or arrays
22393|   101k|        if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_array())))
  ------------------
  |  | 1677|   202k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 101k]
  |  |  |  Branch (1677:94): [True: 0, False: 101k]
  |  |  |  Branch (1677:94): [True: 101k, False: 0]
  |  |  ------------------
  ------------------
22394|      0|        {
22395|      0|            JSON_THROW(type_error::create(308, detail::concat("cannot use push_back() with ", type_name()), this));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
22396|      0|        }
22397|       |
22398|       |        // transform null object into an array
22399|   101k|        if (is_null())
  ------------------
  |  Branch (22399:13): [True: 0, False: 101k]
  ------------------
22400|      0|        {
22401|      0|            m_data.m_type = value_t::array;
22402|      0|            m_data.m_value = value_t::array;
22403|      0|            assert_invariant();
22404|      0|        }
22405|       |
22406|       |        // add element to array (move semantics)
22407|   101k|        const auto old_capacity = m_data.m_value.array->capacity();
22408|   101k|        m_data.m_value.array->push_back(std::move(val));
22409|   101k|        set_parent(m_data.m_value.array->back(), old_capacity);
22410|       |        // if val is moved from, basic_json move constructor marks it null, so we do not call the destructor
22411|   101k|    }
_ZN8nlohmann16json_abi_v3_11_36detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_S9_RKS9_EEET_DpOT0_:
 4350|    191|{
 4351|    191|    OutStringType str;
 4352|    191|    str.reserve(concat_length(args...));
 4353|    191|    concat_into(str, std::forward<Args>(args)...);
 4354|    191|    return str;
 4355|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_S9_EEEmRKT_DpRKT0_:
 4260|    191|{
 4261|    191|    return str.size() + concat_length(rest...);
 4262|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJS9_EEEmRKT_DpRKT0_:
 4260|    191|{
 4261|    191|    return str.size() + concat_length(rest...);
 4262|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJEEEmRKT_DpRKT0_:
 4260|    382|{
 4261|    382|    return str.size() + concat_length(rest...);
 4262|    382|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthEv:
 4235|    573|{
 4236|    573|    return 0;
 4237|    573|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JS9_RKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRKS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSD_OSE_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEvRT_:
 4266|    573|{}
_ZN8nlohmann16json_abi_v3_11_36detail9exception4nameERKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEi:
 4388|    191|    {
 4389|    191|        return concat("[json.exception.", ename, '.', std::to_string(id_), "] ");
 4390|    191|    }
_ZN8nlohmann16json_abi_v3_11_36detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA17_KcRKS9_cS9_RA3_SA_EEET_DpOT0_:
 4350|    191|{
 4351|    191|    OutStringType str;
 4352|    191|    str.reserve(concat_length(args...));
 4353|    191|    concat_into(str, std::forward<Args>(args)...);
 4354|    191|    return str;
 4355|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEcS9_A3_cEEEmPKcDpRKT_:
 4253|    191|{
 4254|       |    // cppcheck-suppress ignoredReturnValue
 4255|    191|    return ::strlen(cstr) + concat_length(rest...);
 4256|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJcS9_A3_cEEEmRKT_DpRKT0_:
 4260|    191|{
 4261|    191|    return str.size() + concat_length(rest...);
 4262|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA3_cEEEmcDpRKT_:
 4247|    191|{
 4248|    191|    return 1 + concat_length(rest...);
 4249|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA3_cEEEmRKT_DpRKT0_:
 4260|    191|{
 4261|    191|    return str.size() + concat_length(rest...);
 4262|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthIJEEEmPKcDpRKT_:
 4253|    191|{
 4254|       |    // cppcheck-suppress ignoredReturnValue
 4255|    191|    return ::strlen(cstr) + concat_length(rest...);
 4256|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA17_KcJRKS9_cS9_RA3_SA_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERKS9_JcS9_RA3_KcETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEcJS9_RA3_KcETnNS3_9enable_ifIXaantsr24detect_string_can_appendIT_T0_EE5valuesr27detect_string_can_append_opISE_SF_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 4322|    191|{
 4323|    191|    out += std::forward<Arg>(arg);
 4324|    191|    concat_into(out, std::forward<Args>(rest)...);
 4325|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRA3_KcETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA3_KcJETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail10type_errorC2EiPKc:
 4552|    191|    type_error(int id_, const char* what_arg) : exception(id_, what_arg) {}
_ZN8nlohmann16json_abi_v3_11_36detail9exceptionC2EiPKc:
 4385|    191|    exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} // NOLINT(bugprone-throw-keyword-missing)
_ZNK8nlohmann16json_abi_v3_11_36detail9exception4whatEv:
 4376|    191|    {
 4377|    191|        return m.what();
 4378|    191|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2ENS0_6detail7value_tE:
19756|  13.8M|        {
19757|  13.8M|            switch (t)
19758|  13.8M|            {
19759|  2.28M|                case value_t::object:
  ------------------
  |  Branch (19759:17): [True: 2.28M, False: 11.5M]
  ------------------
19760|  2.28M|                {
19761|  2.28M|                    object = create<object_t>();
19762|  2.28M|                    break;
19763|      0|                }
19764|       |
19765|      0|                case value_t::array:
  ------------------
  |  Branch (19765:17): [True: 0, False: 13.8M]
  ------------------
19766|      0|                {
19767|      0|                    array = create<array_t>();
19768|      0|                    break;
19769|      0|                }
19770|       |
19771|      0|                case value_t::string:
  ------------------
  |  Branch (19771:17): [True: 0, False: 13.8M]
  ------------------
19772|      0|                {
19773|      0|                    string = create<string_t>("");
19774|      0|                    break;
19775|      0|                }
19776|       |
19777|      0|                case value_t::binary:
  ------------------
  |  Branch (19777:17): [True: 0, False: 13.8M]
  ------------------
19778|      0|                {
19779|      0|                    binary = create<binary_t>();
19780|      0|                    break;
19781|      0|                }
19782|       |
19783|      0|                case value_t::boolean:
  ------------------
  |  Branch (19783:17): [True: 0, False: 13.8M]
  ------------------
19784|      0|                {
19785|      0|                    boolean = static_cast<boolean_t>(false);
19786|      0|                    break;
19787|      0|                }
19788|       |
19789|      0|                case value_t::number_integer:
  ------------------
  |  Branch (19789:17): [True: 0, False: 13.8M]
  ------------------
19790|      0|                {
19791|      0|                    number_integer = static_cast<number_integer_t>(0);
19792|      0|                    break;
19793|      0|                }
19794|       |
19795|      0|                case value_t::number_unsigned:
  ------------------
  |  Branch (19795:17): [True: 0, False: 13.8M]
  ------------------
19796|      0|                {
19797|      0|                    number_unsigned = static_cast<number_unsigned_t>(0);
19798|      0|                    break;
19799|      0|                }
19800|       |
19801|      0|                case value_t::number_float:
  ------------------
  |  Branch (19801:17): [True: 0, False: 13.8M]
  ------------------
19802|      0|                {
19803|      0|                    number_float = static_cast<number_float_t>(0.0);
19804|      0|                    break;
19805|      0|                }
19806|       |
19807|  11.5M|                case value_t::null:
  ------------------
  |  Branch (19807:17): [True: 11.5M, False: 2.28M]
  ------------------
19808|  11.5M|                {
19809|  11.5M|                    object = nullptr;  // silence warning, see #821
19810|  11.5M|                    break;
19811|      0|                }
19812|       |
19813|      0|                case value_t::discarded:
  ------------------
  |  Branch (19813:17): [True: 0, False: 13.8M]
  ------------------
19814|      0|                default:
  ------------------
  |  Branch (19814:17): [True: 0, False: 13.8M]
  ------------------
19815|      0|                {
19816|      0|                    object = nullptr;  // silence warning, see #821
19817|      0|                    if (JSON_HEDLEY_UNLIKELY(t == value_t::null))
  ------------------
  |  | 1677|      0|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 0]
  |  |  ------------------
  ------------------
19818|      0|                    {
19819|      0|                        JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.11.3", nullptr)); // LCOV_EXCL_LINE
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
19820|      0|                    }
19821|      0|                    break;
19822|      0|                }
19823|  13.8M|            }
19824|  13.8M|        }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS2_ISA_SE_NS3_4lessIvEENS8_INS3_4pairIKSA_SE_EEEEEEJEEEPT_DpOT0_:
19681|  2.28M|    {
19682|  2.28M|        AllocatorType<T> alloc;
19683|  2.28M|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
19684|       |
19685|  2.28M|        auto deleter = [&](T * obj)
19686|  2.28M|        {
19687|  2.28M|            AllocatorTraits::deallocate(alloc, obj, 1);
19688|  2.28M|        };
19689|  2.28M|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19690|  2.28M|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19691|       |        JSON_ASSERT(obj != nullptr);
  ------------------
  |  | 2552|  2.28M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19692|  2.28M|        return obj.release();
19693|  2.28M|    }
_ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS0_10basic_jsonIS1_NS2_6vectorES8_blmdS6_NS0_14adl_serializerENSA_IhNS6_IhEEEEvEENS2_4lessIvEENS6_INS2_4pairIKS8_SE_EEEEEC2Ev:
19050|  2.28M|    ordered_map() noexcept(noexcept(Container())) : Container{} {}
_ZN8nlohmann16json_abi_v3_11_36detail9exception11diagnosticsEDn:
 4393|    191|    {
 4394|    191|        return "";
 4395|    191|    }
_ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE16assert_invariantEb:
19985|   381M|    {
19986|   381M|        JSON_ASSERT(m_data.m_type != value_t::object || m_data.m_value.object != nullptr);
  ------------------
  |  | 2552|   381M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19987|   381M|        JSON_ASSERT(m_data.m_type != value_t::array || m_data.m_value.array != nullptr);
  ------------------
  |  | 2552|   381M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19988|   381M|        JSON_ASSERT(m_data.m_type != value_t::string || m_data.m_value.string != nullptr);
  ------------------
  |  | 2552|   381M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19989|   381M|        JSON_ASSERT(m_data.m_type != value_t::binary || m_data.m_value.binary != nullptr);
  ------------------
  |  | 2552|   381M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19990|       |
19991|       |#if JSON_DIAGNOSTICS
19992|       |        JSON_TRY
19993|       |        {
19994|       |            // cppcheck-suppress assertWithSideEffect
19995|       |            JSON_ASSERT(!check_parents || !is_structured() || std::all_of(begin(), end(), [this](const basic_json & j)
19996|       |            {
19997|       |                return j.m_parent == this;
19998|       |            }));
19999|       |        }
20000|       |        JSON_CATCH(...) {} // LCOV_EXCL_LINE
20001|       |#endif
20002|   381M|        static_cast<void>(check_parents);
20003|   381M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10set_parentERSE_m:
20056|  12.4M|    {
20057|       |#if JSON_DIAGNOSTICS
20058|       |        if (old_capacity != static_cast<std::size_t>(-1))
20059|       |        {
20060|       |            // see https://github.com/nlohmann/json/issues/2838
20061|       |            JSON_ASSERT(type() == value_t::array);
20062|       |            if (JSON_HEDLEY_UNLIKELY(m_data.m_value.array->capacity() != old_capacity))
20063|       |            {
20064|       |                // capacity has changed: update all parents
20065|       |                set_parents();
20066|       |                return j;
20067|       |            }
20068|       |        }
20069|       |
20070|       |        // ordered_json uses a vector internally, so pointers could have
20071|       |        // been invalidated; see https://github.com/nlohmann/json/issues/2962
20072|       |#ifdef JSON_HEDLEY_MSVC_VERSION
20073|       |#pragma warning(push )
20074|       |#pragma warning(disable : 4127) // ignore warning to replace if with if constexpr
20075|       |#endif
20076|       |        if (detail::is_ordered_map<object_t>::value)
20077|       |        {
20078|       |            set_parents();
20079|       |            return j;
20080|       |        }
20081|       |#ifdef JSON_HEDLEY_MSVC_VERSION
20082|       |#pragma warning( pop )
20083|       |#endif
20084|       |
20085|       |        j.m_parent = this;
20086|       |#else
20087|  12.4M|        static_cast<void>(j);
20088|  12.4M|        static_cast<void>(old_capacity);
20089|  12.4M|#endif
20090|  12.4M|        return j;
20091|  12.4M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IiiTnNS3_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SH_EE5valueEiE4typeELi0EEEOT_:
20140|  47.0k|    {
20141|  47.0k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
20142|  47.0k|        set_parents();
20143|  47.0k|        assert_invariant();
20144|  47.0k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataC2Ev:
23510|  38.5M|        data() noexcept = default;
_ZN8nlohmann16json_abi_v3_11_314adl_serializerIivE7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEEiEEDTcmclL_ZNS0_7to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSH_:
 5860|  47.0k|    {
 5861|  47.0k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 5862|  47.0k|    }
_ZNK8nlohmann16json_abi_v3_11_36detail10to_json_fnclINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEEiEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSI_:
 5804|  47.0k|    {
 5805|  47.0k|        return to_json(j, std::forward<T>(val));
 5806|  47.0k|    }
_ZN8nlohmann16json_abi_v3_11_36detail7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEiTnNS5_9enable_ifIXsr26is_compatible_integer_typeINT_16number_integer_tET0_EE5valueEiE4typeELi0EEEvRSI_SK_:
 5690|  2.72M|{
 5691|  2.72M|    external_constructor<value_t::number_integer>::construct(j, static_cast<typename BasicJsonType::number_integer_t>(val));
 5692|  2.72M|}
_ZN8nlohmann16json_abi_v3_11_36detail20external_constructorILNS1_7value_tE5EE9constructINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_NSK_16number_integer_tE:
 5520|  2.72M|    {
 5521|  2.72M|        j.m_data.m_value.destroy(j.m_data.m_type);
 5522|  2.72M|        j.m_data.m_type = value_t::number_integer;
 5523|  2.72M|        j.m_data.m_value = val;
 5524|  2.72M|        j.assert_invariant();
 5525|  2.72M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_value7destroyENS0_6detail7value_tE:
19857|   130M|        {
19858|   130M|            if (
19859|   130M|                (t == value_t::object && object == nullptr) ||
  ------------------
  |  Branch (19859:18): [True: 4.44M, False: 126M]
  |  Branch (19859:42): [True: 0, False: 4.44M]
  ------------------
19860|   130M|                (t == value_t::array && array == nullptr) ||
  ------------------
  |  Branch (19860:18): [True: 99.2k, False: 130M]
  |  Branch (19860:41): [True: 0, False: 99.2k]
  ------------------
19861|   130M|                (t == value_t::string && string == nullptr) ||
  ------------------
  |  Branch (19861:18): [True: 11.8M, False: 118M]
  |  Branch (19861:42): [True: 0, False: 11.8M]
  ------------------
19862|   130M|                (t == value_t::binary && binary == nullptr)
  ------------------
  |  Branch (19862:18): [True: 0, False: 130M]
  |  Branch (19862:42): [True: 0, False: 0]
  ------------------
19863|   130M|            )
19864|      0|            {
19865|       |                //not initialized (e.g. due to exception in the ctor)
19866|      0|                return;
19867|      0|            }
19868|   130M|            if (t == value_t::array || t == value_t::object)
  ------------------
  |  Branch (19868:17): [True: 99.2k, False: 130M]
  |  Branch (19868:40): [True: 4.44M, False: 125M]
  ------------------
19869|  4.54M|            {
19870|       |                // flatten the current json_value to a heap-allocated stack
19871|  4.54M|                std::vector<basic_json> stack;
19872|       |
19873|       |                // move the top-level items to stack
19874|  4.54M|                if (t == value_t::array)
  ------------------
  |  Branch (19874:21): [True: 99.2k, False: 4.44M]
  ------------------
19875|  99.2k|                {
19876|  99.2k|                    stack.reserve(array->size());
19877|  99.2k|                    std::move(array->begin(), array->end(), std::back_inserter(stack));
19878|  99.2k|                }
19879|  4.44M|                else
19880|  4.44M|                {
19881|  4.44M|                    stack.reserve(object->size());
19882|  4.44M|                    for (auto&& it : *object)
  ------------------
  |  Branch (19882:36): [True: 14.5M, False: 4.44M]
  ------------------
19883|  14.5M|                    {
19884|  14.5M|                        stack.push_back(std::move(it.second));
19885|  14.5M|                    }
19886|  4.44M|                }
19887|       |
19888|  32.0M|                while (!stack.empty())
  ------------------
  |  Branch (19888:24): [True: 27.5M, False: 4.54M]
  ------------------
19889|  27.5M|                {
19890|       |                    // move the last item to local variable to be processed
19891|  27.5M|                    basic_json current_item(std::move(stack.back()));
19892|  27.5M|                    stack.pop_back();
19893|       |
19894|       |                    // if current_item is array/object, move
19895|       |                    // its children to the stack to be processed later
19896|  27.5M|                    if (current_item.is_array())
  ------------------
  |  Branch (19896:25): [True: 59.6k, False: 27.4M]
  ------------------
19897|  59.6k|                    {
19898|  59.6k|                        std::move(current_item.m_data.m_value.array->begin(), current_item.m_data.m_value.array->end(), std::back_inserter(stack));
19899|       |
19900|  59.6k|                        current_item.m_data.m_value.array->clear();
19901|  59.6k|                    }
19902|  27.4M|                    else if (current_item.is_object())
  ------------------
  |  Branch (19902:30): [True: 2.35M, False: 25.1M]
  ------------------
19903|  2.35M|                    {
19904|  2.35M|                        for (auto&& it : *current_item.m_data.m_value.object)
  ------------------
  |  Branch (19904:40): [True: 11.9M, False: 2.35M]
  ------------------
19905|  11.9M|                        {
19906|  11.9M|                            stack.push_back(std::move(it.second));
19907|  11.9M|                        }
19908|       |
19909|  2.35M|                        current_item.m_data.m_value.object->clear();
19910|  2.35M|                    }
19911|       |
19912|       |                    // it's now safe that current_item get destructed
19913|       |                    // since it doesn't have any children
19914|  27.5M|                }
19915|  4.54M|            }
19916|       |
19917|   130M|            switch (t)
19918|   130M|            {
19919|  4.44M|                case value_t::object:
  ------------------
  |  Branch (19919:17): [True: 4.44M, False: 126M]
  ------------------
19920|  4.44M|                {
19921|  4.44M|                    AllocatorType<object_t> alloc;
19922|  4.44M|                    std::allocator_traits<decltype(alloc)>::destroy(alloc, object);
19923|  4.44M|                    std::allocator_traits<decltype(alloc)>::deallocate(alloc, object, 1);
19924|  4.44M|                    break;
19925|      0|                }
19926|       |
19927|  99.2k|                case value_t::array:
  ------------------
  |  Branch (19927:17): [True: 99.2k, False: 130M]
  ------------------
19928|  99.2k|                {
19929|  99.2k|                    AllocatorType<array_t> alloc;
19930|  99.2k|                    std::allocator_traits<decltype(alloc)>::destroy(alloc, array);
19931|  99.2k|                    std::allocator_traits<decltype(alloc)>::deallocate(alloc, array, 1);
19932|  99.2k|                    break;
19933|      0|                }
19934|       |
19935|  11.8M|                case value_t::string:
  ------------------
  |  Branch (19935:17): [True: 11.8M, False: 118M]
  ------------------
19936|  11.8M|                {
19937|  11.8M|                    AllocatorType<string_t> alloc;
19938|  11.8M|                    std::allocator_traits<decltype(alloc)>::destroy(alloc, string);
19939|  11.8M|                    std::allocator_traits<decltype(alloc)>::deallocate(alloc, string, 1);
19940|  11.8M|                    break;
19941|      0|                }
19942|       |
19943|      0|                case value_t::binary:
  ------------------
  |  Branch (19943:17): [True: 0, False: 130M]
  ------------------
19944|      0|                {
19945|      0|                    AllocatorType<binary_t> alloc;
19946|      0|                    std::allocator_traits<decltype(alloc)>::destroy(alloc, binary);
19947|      0|                    std::allocator_traits<decltype(alloc)>::deallocate(alloc, binary, 1);
19948|      0|                    break;
19949|      0|                }
19950|       |
19951|  92.0M|                case value_t::null:
  ------------------
  |  Branch (19951:17): [True: 92.0M, False: 38.5M]
  ------------------
19952|  98.1M|                case value_t::boolean:
  ------------------
  |  Branch (19952:17): [True: 6.10M, False: 124M]
  ------------------
19953|   105M|                case value_t::number_integer:
  ------------------
  |  Branch (19953:17): [True: 7.60M, False: 122M]
  ------------------
19954|   114M|                case value_t::number_unsigned:
  ------------------
  |  Branch (19954:17): [True: 8.37M, False: 122M]
  ------------------
19955|   114M|                case value_t::number_float:
  ------------------
  |  Branch (19955:17): [True: 0, False: 130M]
  ------------------
19956|   114M|                case value_t::discarded:
  ------------------
  |  Branch (19956:17): [True: 0, False: 130M]
  ------------------
19957|   114M|                default:
  ------------------
  |  Branch (19957:17): [True: 0, False: 130M]
  ------------------
19958|   114M|                {
19959|   114M|                    break;
19960|   114M|                }
19961|   130M|            }
19962|   130M|        }
_ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE9is_objectEv:
20660|  38.9M|    {
20661|  38.9M|        return m_data.m_type == value_t::object;
20662|  38.9M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2El:
19749|  7.60M|        json_value(number_integer_t v) noexcept : number_integer(v) {}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE11set_parentsEv:
20006|   120M|    {
20007|       |#if JSON_DIAGNOSTICS
20008|       |        switch (m_data.m_type)
20009|       |        {
20010|       |            case value_t::array:
20011|       |            {
20012|       |                for (auto& element : *m_data.m_value.array)
20013|       |                {
20014|       |                    element.m_parent = this;
20015|       |                }
20016|       |                break;
20017|       |            }
20018|       |
20019|       |            case value_t::object:
20020|       |            {
20021|       |                for (auto& element : *m_data.m_value.object)
20022|       |                {
20023|       |                    element.second.m_parent = this;
20024|       |                }
20025|       |                break;
20026|       |            }
20027|       |
20028|       |            case value_t::null:
20029|       |            case value_t::string:
20030|       |            case value_t::boolean:
20031|       |            case value_t::number_integer:
20032|       |            case value_t::number_unsigned:
20033|       |            case value_t::number_float:
20034|       |            case value_t::binary:
20035|       |            case value_t::discarded:
20036|       |            default:
20037|       |                break;
20038|       |        }
20039|       |#endif
20040|   120M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEixIcEERSE_PT_:
21460|  9.61k|    {
21461|  9.61k|        return operator[](typename object_t::key_type(key));
21462|  9.61k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEixESA_:
21422|  11.4M|    {
21423|       |        // implicitly convert null value to an empty object
21424|  11.4M|        if (is_null())
  ------------------
  |  Branch (21424:13): [True: 0, False: 11.4M]
  ------------------
21425|      0|        {
21426|      0|            m_data.m_type = value_t::object;
21427|      0|            m_data.m_value.object = create<object_t>();
21428|      0|            assert_invariant();
21429|      0|        }
21430|       |
21431|       |        // operator[] only works for objects
21432|  11.4M|        if (JSON_HEDLEY_LIKELY(is_object()))
  ------------------
  |  | 1676|  11.4M|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1676:57): [True: 11.4M, False: 0]
  |  |  ------------------
  ------------------
21433|  11.4M|        {
21434|  11.4M|            auto result = m_data.m_value.object->emplace(std::move(key), nullptr);
21435|  11.4M|            return set_parent(result.first->second);
21436|  11.4M|        }
21437|       |
21438|      0|        JSON_THROW(type_error::create(305, detail::concat("cannot use operator[] with a string argument with ", type_name()), this));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
21439|  11.4M|    }
_ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS0_10basic_jsonIS1_NS2_6vectorES8_blmdS6_NS0_14adl_serializerENSA_IhNS6_IhEEEEvEENS2_4lessIvEENS6_INS2_4pairIKS8_SE_EEEEE7emplaceERSI_OSE_:
19059|  11.4M|    {
19060|  43.1M|        for (auto it = this->begin(); it != this->end(); ++it)
  ------------------
  |  Branch (19060:39): [True: 31.6M, False: 11.4M]
  ------------------
19061|  31.6M|        {
19062|  31.6M|            if (m_compare(it->first, key))
  ------------------
  |  Branch (19062:17): [True: 0, False: 31.6M]
  ------------------
19063|      0|            {
19064|      0|                return {it, false};
19065|      0|            }
19066|  31.6M|        }
19067|  11.4M|        Container::emplace_back(key, std::forward<T>(t));
19068|  11.4M|        return {std::prev(this->end()), true};
19069|  11.4M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ERKSE_:
20448|  25.9M|        : json_base_class_t(other)
20449|  25.9M|    {
20450|  25.9M|        m_data.m_type = other.m_data.m_type;
20451|       |        // check of passed value is valid
20452|  25.9M|        other.assert_invariant();
20453|       |
20454|  25.9M|        switch (m_data.m_type)
20455|  25.9M|        {
20456|  2.15M|            case value_t::object:
  ------------------
  |  Branch (20456:13): [True: 2.15M, False: 23.8M]
  ------------------
20457|  2.15M|            {
20458|  2.15M|                m_data.m_value = *other.m_data.m_value.object;
20459|  2.15M|                break;
20460|      0|            }
20461|       |
20462|  17.9k|            case value_t::array:
  ------------------
  |  Branch (20462:13): [True: 17.9k, False: 25.9M]
  ------------------
20463|  17.9k|            {
20464|  17.9k|                m_data.m_value = *other.m_data.m_value.array;
20465|  17.9k|                break;
20466|      0|            }
20467|       |
20468|  7.91M|            case value_t::string:
  ------------------
  |  Branch (20468:13): [True: 7.91M, False: 18.0M]
  ------------------
20469|  7.91M|            {
20470|  7.91M|                m_data.m_value = *other.m_data.m_value.string;
20471|  7.91M|                break;
20472|      0|            }
20473|       |
20474|  4.31M|            case value_t::boolean:
  ------------------
  |  Branch (20474:13): [True: 4.31M, False: 21.6M]
  ------------------
20475|  4.31M|            {
20476|  4.31M|                m_data.m_value = other.m_data.m_value.boolean;
20477|  4.31M|                break;
20478|      0|            }
20479|       |
20480|  4.87M|            case value_t::number_integer:
  ------------------
  |  Branch (20480:13): [True: 4.87M, False: 21.1M]
  ------------------
20481|  4.87M|            {
20482|  4.87M|                m_data.m_value = other.m_data.m_value.number_integer;
20483|  4.87M|                break;
20484|      0|            }
20485|       |
20486|  6.69M|            case value_t::number_unsigned:
  ------------------
  |  Branch (20486:13): [True: 6.69M, False: 19.2M]
  ------------------
20487|  6.69M|            {
20488|  6.69M|                m_data.m_value = other.m_data.m_value.number_unsigned;
20489|  6.69M|                break;
20490|      0|            }
20491|       |
20492|      0|            case value_t::number_float:
  ------------------
  |  Branch (20492:13): [True: 0, False: 25.9M]
  ------------------
20493|      0|            {
20494|      0|                m_data.m_value = other.m_data.m_value.number_float;
20495|      0|                break;
20496|      0|            }
20497|       |
20498|      0|            case value_t::binary:
  ------------------
  |  Branch (20498:13): [True: 0, False: 25.9M]
  ------------------
20499|      0|            {
20500|      0|                m_data.m_value = *other.m_data.m_value.binary;
20501|      0|                break;
20502|      0|            }
20503|       |
20504|      0|            case value_t::null:
  ------------------
  |  Branch (20504:13): [True: 0, False: 25.9M]
  ------------------
20505|      0|            case value_t::discarded:
  ------------------
  |  Branch (20505:13): [True: 0, False: 25.9M]
  ------------------
20506|      0|            default:
  ------------------
  |  Branch (20506:13): [True: 0, False: 25.9M]
  ------------------
20507|      0|                break;
20508|  25.9M|        }
20509|       |
20510|  25.9M|        set_parents();
20511|  25.9M|        assert_invariant();
20512|  25.9M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2ERKNS2_ISA_SE_NS3_4lessIvEENS8_INS3_4pairIKSA_SE_EEEEEE:
19833|  2.15M|        json_value(const object_t& value) : object(create<object_t>(value)) {}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS2_ISA_SE_NS3_4lessIvEENS8_INS3_4pairIKSA_SE_EEEEEEJRKSM_EEEPT_DpOT0_:
19681|  2.15M|    {
19682|  2.15M|        AllocatorType<T> alloc;
19683|  2.15M|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
19684|       |
19685|  2.15M|        auto deleter = [&](T * obj)
19686|  2.15M|        {
19687|  2.15M|            AllocatorTraits::deallocate(alloc, obj, 1);
19688|  2.15M|        };
19689|  2.15M|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19690|  2.15M|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19691|       |        JSON_ASSERT(obj != nullptr);
  ------------------
  |  | 2552|  2.15M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19692|  2.15M|        return obj.release();
19693|  2.15M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2ERKNS4_ISE_NS8_ISE_EEEE:
19839|  17.9k|        json_value(const array_t& value) : array(create<array_t>(value)) {}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS4_ISE_NS8_ISE_EEEEJRKSH_EEEPT_DpOT0_:
19681|  17.9k|    {
19682|  17.9k|        AllocatorType<T> alloc;
19683|  17.9k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
19684|       |
19685|  17.9k|        auto deleter = [&](T * obj)
19686|  17.9k|        {
19687|  17.9k|            AllocatorTraits::deallocate(alloc, obj, 1);
19688|  17.9k|        };
19689|  17.9k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19690|  17.9k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19691|       |        JSON_ASSERT(obj != nullptr);
  ------------------
  |  | 2552|  17.9k|    #define JSON_ASSERT(x) assert(x)
  ------------------
19692|  17.9k|        return obj.release();
19693|  17.9k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2ERKSA_:
19827|  7.92M|        json_value(const string_t& value) : string(create<string_t>(value)) {}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createISA_JRKSA_EEEPT_DpOT0_:
19681|  7.92M|    {
19682|  7.92M|        AllocatorType<T> alloc;
19683|  7.92M|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
19684|       |
19685|  7.92M|        auto deleter = [&](T * obj)
19686|  7.92M|        {
19687|  7.92M|            AllocatorTraits::deallocate(alloc, obj, 1);
19688|  7.92M|        };
19689|  7.92M|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19690|  7.92M|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19691|       |        JSON_ASSERT(obj != nullptr);
  ------------------
  |  | 2552|  7.92M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19692|  7.92M|        return obj.release();
19693|  7.92M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Eb:
19747|  6.10M|        json_value(boolean_t v) noexcept : boolean(v) {}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2Em:
19751|  8.37M|        json_value(number_unsigned_t v) noexcept : number_unsigned(v) {}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataD2Ev:
23517|   120M|        {
23518|   120M|            m_value.destroy(m_type);
23519|   120M|        }
_ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE7is_nullEv:
20618|  13.5M|    {
20619|  13.5M|        return m_data.m_type == value_t::null;
20620|  13.5M|    }
_ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE8is_arrayEv:
20667|  28.5M|    {
20668|  28.5M|        return m_data.m_type == value_t::array;
20669|  28.5M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEixIKcEERSE_PT_:
21460|  11.4M|    {
21461|  11.4M|        return operator[](typename object_t::key_type(key));
21462|  11.4M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE5arrayESt16initializer_listINS0_6detail8json_refISE_EEE:
20308|  81.2k|    {
20309|  81.2k|        return basic_json(init, false, value_t::array);
20310|  81.2k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ESt16initializer_listINS0_6detail8json_refISE_EEEbNSG_7value_tE:
20207|  2.36M|    {
20208|       |        // check if each element is an array with two elements whose first
20209|       |        // element is a string
20210|  2.36M|        bool is_an_object = std::all_of(init.begin(), init.end(),
20211|  2.36M|                                        [](const detail::json_ref<basic_json>& element_ref)
20212|  2.36M|        {
20213|       |            // The cast is to ensure op[size_type] is called, bearing in mind size_type may not be int;
20214|       |            // (many string types can be constructed from 0 via its null-pointer guise, so we get a
20215|       |            // broken call to op[key_type], the wrong semantics and a 4804 warning on Windows)
20216|  2.36M|            return element_ref->is_array() && element_ref->size() == 2 && (*element_ref)[static_cast<size_type>(0)].is_string();
20217|  2.36M|        });
20218|       |
20219|       |        // adjust type if type deduction is not wanted
20220|  2.36M|        if (!type_deduction)
  ------------------
  |  Branch (20220:13): [True: 2.36M, False: 0]
  ------------------
20221|  2.36M|        {
20222|       |            // if array is wanted, do not create an object though possible
20223|  2.36M|            if (manual_type == value_t::array)
  ------------------
  |  Branch (20223:17): [True: 81.2k, False: 2.28M]
  ------------------
20224|  81.2k|            {
20225|  81.2k|                is_an_object = false;
20226|  81.2k|            }
20227|       |
20228|       |            // if object is wanted but impossible, throw an exception
20229|  2.36M|            if (JSON_HEDLEY_UNLIKELY(manual_type == value_t::object && !is_an_object))
  ------------------
  |  | 1677|  4.65M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 2.36M]
  |  |  |  Branch (1677:94): [True: 2.28M, False: 81.2k]
  |  |  |  Branch (1677:94): [True: 0, False: 2.28M]
  |  |  ------------------
  ------------------
20230|      0|            {
20231|      0|                JSON_THROW(type_error::create(301, "cannot create object from initializer list", nullptr));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
20232|      0|            }
20233|  2.36M|        }
20234|       |
20235|  2.36M|        if (is_an_object)
  ------------------
  |  Branch (20235:13): [True: 2.28M, False: 81.2k]
  ------------------
20236|  2.28M|        {
20237|       |            // the initializer list is a list of pairs -> create object
20238|  2.28M|            m_data.m_type = value_t::object;
20239|  2.28M|            m_data.m_value = value_t::object;
20240|       |
20241|  2.28M|            for (auto& element_ref : init)
  ------------------
  |  Branch (20241:36): [True: 0, False: 2.28M]
  ------------------
20242|      0|            {
20243|      0|                auto element = element_ref.moved_or_copied();
20244|      0|                m_data.m_value.object->emplace(
20245|      0|                    std::move(*((*element.m_data.m_value.array)[0].m_data.m_value.string)),
20246|      0|                    std::move((*element.m_data.m_value.array)[1]));
20247|      0|            }
20248|  2.28M|        }
20249|  81.2k|        else
20250|  81.2k|        {
20251|       |            // the initializer list describes an array -> create array
20252|  81.2k|            m_data.m_type = value_t::array;
20253|  81.2k|            m_data.m_value.array = create<array_t>(init.begin(), init.end());
20254|  81.2k|        }
20255|       |
20256|  2.36M|        set_parents();
20257|  2.36M|        assert_invariant();
20258|  2.36M|    }
_ZN8nlohmann16json_abi_v3_11_36detail10type_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_:
 4545|    191|    {
 4546|    191|        const std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
 4547|    191|        return {id_, w.c_str()};
 4548|    191|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createINS4_ISE_NS8_ISE_EEEEJPKNS0_6detail8json_refISE_EESM_EEEPT_DpOT0_:
19681|  81.2k|    {
19682|  81.2k|        AllocatorType<T> alloc;
19683|  81.2k|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
19684|       |
19685|  81.2k|        auto deleter = [&](T * obj)
19686|  81.2k|        {
19687|  81.2k|            AllocatorTraits::deallocate(alloc, obj, 1);
19688|  81.2k|        };
19689|  81.2k|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19690|  81.2k|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19691|       |        JSON_ASSERT(obj != nullptr);
  ------------------
  |  | 2552|  81.2k|    #define JSON_ASSERT(x) assert(x)
  ------------------
19692|  81.2k|        return obj.release();
19693|  81.2k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2EOSE_:
20517|  70.3M|        : json_base_class_t(std::forward<json_base_class_t>(other)),
20518|  70.3M|          m_data(std::move(other.m_data))
20519|  70.3M|    {
20520|       |        // check that passed value is valid
20521|  70.3M|        other.assert_invariant(false);
20522|       |
20523|       |        // invalidate payload
20524|  70.3M|        other.m_data.m_type = value_t::null;
20525|  70.3M|        other.m_data.m_value = {};
20526|       |
20527|  70.3M|        set_parents();
20528|  70.3M|        assert_invariant();
20529|  70.3M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvED2Ev:
20557|   120M|    {
20558|   120M|        assert_invariant(false);
20559|   120M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEaSESE_:
20540|  11.5M|    {
20541|       |        // check that passed value is valid
20542|  11.5M|        other.assert_invariant();
20543|       |
20544|  11.5M|        using std::swap;
20545|  11.5M|        swap(m_data.m_type, other.m_data.m_type);
20546|  11.5M|        swap(m_data.m_value, other.m_data.m_value);
20547|  11.5M|        json_base_class_t::operator=(std::move(other));
20548|       |
20549|  11.5M|        set_parents();
20550|  11.5M|        assert_invariant();
20551|  11.5M|        return *this;
20552|  11.5M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6objectESt16initializer_listINS0_6detail8json_refISE_EEE:
20316|  2.28M|    {
20317|  2.28M|        return basic_json(init, false, value_t::object);
20318|  2.28M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE12emplace_backIJSE_EEERSE_DpOT_:
22512|   898k|    {
22513|       |        // emplace_back only works for null objects or arrays
22514|   898k|        if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_array())))
  ------------------
  |  | 1677|  1.79M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 898k]
  |  |  |  Branch (1677:94): [True: 0, False: 898k]
  |  |  |  Branch (1677:94): [True: 898k, False: 0]
  |  |  ------------------
  ------------------
22515|      0|        {
22516|      0|            JSON_THROW(type_error::create(311, detail::concat("cannot use emplace_back() with ", type_name()), this));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
22517|      0|        }
22518|       |
22519|       |        // transform null object into an array
22520|   898k|        if (is_null())
  ------------------
  |  Branch (22520:13): [True: 0, False: 898k]
  ------------------
22521|      0|        {
22522|      0|            m_data.m_type = value_t::array;
22523|      0|            m_data.m_value = value_t::array;
22524|      0|            assert_invariant();
22525|      0|        }
22526|       |
22527|       |        // add element to array (perfect forwarding)
22528|   898k|        const auto old_capacity = m_data.m_value.array->capacity();
22529|   898k|        m_data.m_value.array->emplace_back(std::forward<Args>(args)...);
22530|   898k|        return set_parent(m_data.m_value.array->back(), old_capacity);
22531|   898k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2EDn:
20126|  11.5M|        : basic_json(value_t::null)
20127|  11.5M|    {
20128|  11.5M|        assert_invariant();
20129|  11.5M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ENS0_6detail7value_tE:
20118|  11.5M|        : m_data(v)
20119|  11.5M|    {
20120|  11.5M|        assert_invariant();
20121|  11.5M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dataC2ENS0_6detail7value_tE:
23500|  11.5M|            : m_type(v), m_value(v)
23501|  11.5M|        {
23502|  11.5M|        }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE3endEv:
22096|  37.6k|    {
22097|  37.6k|        iterator result(this);
22098|  37.6k|        result.set_end();
22099|  37.6k|        return result;
22100|  37.6k|    }
_ZN8nlohmann16json_abi_v3_11_36detail9iter_implINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEC2EPSG_:
12968|  75.3k|    explicit iter_impl(pointer object) noexcept : m_object(object)
12969|  75.3k|    {
12970|  75.3k|        JSON_ASSERT(m_object != nullptr);
  ------------------
  |  | 2552|  75.3k|    #define JSON_ASSERT(x) assert(x)
  ------------------
12971|       |
12972|  75.3k|        switch (m_object->m_data.m_type)
12973|  75.3k|        {
12974|      0|            case value_t::object:
  ------------------
  |  Branch (12974:13): [True: 0, False: 75.3k]
  ------------------
12975|      0|            {
12976|      0|                m_it.object_iterator = typename object_t::iterator();
12977|      0|                break;
12978|      0|            }
12979|       |
12980|  75.3k|            case value_t::array:
  ------------------
  |  Branch (12980:13): [True: 75.3k, False: 0]
  ------------------
12981|  75.3k|            {
12982|  75.3k|                m_it.array_iterator = typename array_t::iterator();
12983|  75.3k|                break;
12984|      0|            }
12985|       |
12986|      0|            case value_t::null:
  ------------------
  |  Branch (12986:13): [True: 0, False: 75.3k]
  ------------------
12987|      0|            case value_t::string:
  ------------------
  |  Branch (12987:13): [True: 0, False: 75.3k]
  ------------------
12988|      0|            case value_t::boolean:
  ------------------
  |  Branch (12988:13): [True: 0, False: 75.3k]
  ------------------
12989|      0|            case value_t::number_integer:
  ------------------
  |  Branch (12989:13): [True: 0, False: 75.3k]
  ------------------
12990|      0|            case value_t::number_unsigned:
  ------------------
  |  Branch (12990:13): [True: 0, False: 75.3k]
  ------------------
12991|      0|            case value_t::number_float:
  ------------------
  |  Branch (12991:13): [True: 0, False: 75.3k]
  ------------------
12992|      0|            case value_t::binary:
  ------------------
  |  Branch (12992:13): [True: 0, False: 75.3k]
  ------------------
12993|      0|            case value_t::discarded:
  ------------------
  |  Branch (12993:13): [True: 0, False: 75.3k]
  ------------------
12994|      0|            default:
  ------------------
  |  Branch (12994:13): [True: 0, False: 75.3k]
  ------------------
12995|      0|            {
12996|      0|                m_it.primitive_iterator = primitive_iterator_t();
12997|      0|                break;
12998|      0|            }
12999|  75.3k|        }
13000|  75.3k|    }
_ZN8nlohmann16json_abi_v3_11_36detail9iter_implINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE7set_endEv:
13110|  37.6k|    {
13111|  37.6k|        JSON_ASSERT(m_object != nullptr);
  ------------------
  |  | 2552|  37.6k|    #define JSON_ASSERT(x) assert(x)
  ------------------
13112|       |
13113|  37.6k|        switch (m_object->m_data.m_type)
13114|  37.6k|        {
13115|      0|            case value_t::object:
  ------------------
  |  Branch (13115:13): [True: 0, False: 37.6k]
  ------------------
13116|      0|            {
13117|      0|                m_it.object_iterator = m_object->m_data.m_value.object->end();
13118|      0|                break;
13119|      0|            }
13120|       |
13121|  37.6k|            case value_t::array:
  ------------------
  |  Branch (13121:13): [True: 37.6k, False: 0]
  ------------------
13122|  37.6k|            {
13123|  37.6k|                m_it.array_iterator = m_object->m_data.m_value.array->end();
13124|  37.6k|                break;
13125|      0|            }
13126|       |
13127|      0|            case value_t::null:
  ------------------
  |  Branch (13127:13): [True: 0, False: 37.6k]
  ------------------
13128|      0|            case value_t::string:
  ------------------
  |  Branch (13128:13): [True: 0, False: 37.6k]
  ------------------
13129|      0|            case value_t::boolean:
  ------------------
  |  Branch (13129:13): [True: 0, False: 37.6k]
  ------------------
13130|      0|            case value_t::number_integer:
  ------------------
  |  Branch (13130:13): [True: 0, False: 37.6k]
  ------------------
13131|      0|            case value_t::number_unsigned:
  ------------------
  |  Branch (13131:13): [True: 0, False: 37.6k]
  ------------------
13132|      0|            case value_t::number_float:
  ------------------
  |  Branch (13132:13): [True: 0, False: 37.6k]
  ------------------
13133|      0|            case value_t::binary:
  ------------------
  |  Branch (13133:13): [True: 0, False: 37.6k]
  ------------------
13134|      0|            case value_t::discarded:
  ------------------
  |  Branch (13134:13): [True: 0, False: 37.6k]
  ------------------
13135|      0|            default:
  ------------------
  |  Branch (13135:13): [True: 0, False: 37.6k]
  ------------------
13136|      0|            {
13137|      0|                m_it.primitive_iterator.set_end();
13138|      0|                break;
13139|      0|            }
13140|  37.6k|        }
13141|  37.6k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE5beginEv:
22071|  18.8k|    {
22072|  18.8k|        iterator result(this);
22073|  18.8k|        result.set_begin();
22074|  18.8k|        return result;
22075|  18.8k|    }
_ZN8nlohmann16json_abi_v3_11_36detail9iter_implINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9set_beginEv:
13066|  18.8k|    {
13067|  18.8k|        JSON_ASSERT(m_object != nullptr);
  ------------------
  |  | 2552|  18.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
13068|       |
13069|  18.8k|        switch (m_object->m_data.m_type)
13070|  18.8k|        {
13071|      0|            case value_t::object:
  ------------------
  |  Branch (13071:13): [True: 0, False: 18.8k]
  ------------------
13072|      0|            {
13073|      0|                m_it.object_iterator = m_object->m_data.m_value.object->begin();
13074|      0|                break;
13075|      0|            }
13076|       |
13077|  18.8k|            case value_t::array:
  ------------------
  |  Branch (13077:13): [True: 18.8k, False: 0]
  ------------------
13078|  18.8k|            {
13079|  18.8k|                m_it.array_iterator = m_object->m_data.m_value.array->begin();
13080|  18.8k|                break;
13081|      0|            }
13082|       |
13083|      0|            case value_t::null:
  ------------------
  |  Branch (13083:13): [True: 0, False: 18.8k]
  ------------------
13084|      0|            {
13085|       |                // set to end so begin()==end() is true: null is empty
13086|      0|                m_it.primitive_iterator.set_end();
13087|      0|                break;
13088|      0|            }
13089|       |
13090|      0|            case value_t::string:
  ------------------
  |  Branch (13090:13): [True: 0, False: 18.8k]
  ------------------
13091|      0|            case value_t::boolean:
  ------------------
  |  Branch (13091:13): [True: 0, False: 18.8k]
  ------------------
13092|      0|            case value_t::number_integer:
  ------------------
  |  Branch (13092:13): [True: 0, False: 18.8k]
  ------------------
13093|      0|            case value_t::number_unsigned:
  ------------------
  |  Branch (13093:13): [True: 0, False: 18.8k]
  ------------------
13094|      0|            case value_t::number_float:
  ------------------
  |  Branch (13094:13): [True: 0, False: 18.8k]
  ------------------
13095|      0|            case value_t::binary:
  ------------------
  |  Branch (13095:13): [True: 0, False: 18.8k]
  ------------------
13096|      0|            case value_t::discarded:
  ------------------
  |  Branch (13096:13): [True: 0, False: 18.8k]
  ------------------
13097|      0|            default:
  ------------------
  |  Branch (13097:13): [True: 0, False: 18.8k]
  ------------------
13098|      0|            {
13099|      0|                m_it.primitive_iterator.set_begin();
13100|      0|                break;
13101|      0|            }
13102|  18.8k|        }
13103|  18.8k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6insertENS0_6detail9iter_implIKSE_EESI_SI_:
22635|  18.8k|    {
22636|       |        // insert only works for arrays
22637|  18.8k|        if (JSON_HEDLEY_UNLIKELY(!is_array()))
  ------------------
  |  | 1677|  18.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 18.8k]
  |  |  ------------------
  ------------------
22638|      0|        {
22639|      0|            JSON_THROW(type_error::create(309, detail::concat("cannot use insert() with ", type_name()), this));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
22640|      0|        }
22641|       |
22642|       |        // check if iterator pos fits to this JSON value
22643|  18.8k|        if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
  ------------------
  |  | 1677|  18.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 18.8k]
  |  |  ------------------
  ------------------
22644|      0|        {
22645|      0|            JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", this));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
22646|      0|        }
22647|       |
22648|       |        // check if range iterators belong to the same JSON object
22649|  18.8k|        if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
  ------------------
  |  | 1677|  18.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 18.8k]
  |  |  ------------------
  ------------------
22650|      0|        {
22651|      0|            JSON_THROW(invalid_iterator::create(210, "iterators do not fit", this));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
22652|      0|        }
22653|       |
22654|  18.8k|        if (JSON_HEDLEY_UNLIKELY(first.m_object == this))
  ------------------
  |  | 1677|  18.8k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 18.8k]
  |  |  ------------------
  ------------------
22655|      0|        {
22656|      0|            JSON_THROW(invalid_iterator::create(211, "passed iterators may not belong to container", this));
  ------------------
  |  | 2517|      0|    #define JSON_THROW(exception) throw exception
  ------------------
22657|      0|        }
22658|       |
22659|       |        // insert to array and return iterator
22660|  18.8k|        return insert_iterator(pos, first.m_it.array_iterator, last.m_it.array_iterator);
22661|  18.8k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE15insert_iteratorIJRNS3_11__wrap_iterIPSE_EESJ_EEENS0_6detail9iter_implISE_EENSL_IKSE_EEDpOT_:
22569|  18.8k|    {
22570|  18.8k|        iterator result(this);
22571|  18.8k|        JSON_ASSERT(m_data.m_value.array != nullptr);
  ------------------
  |  | 2552|  18.8k|    #define JSON_ASSERT(x) assert(x)
  ------------------
22572|       |
22573|  18.8k|        auto insert_pos = std::distance(m_data.m_value.array->begin(), pos.m_it.array_iterator);
22574|  18.8k|        m_data.m_value.array->insert(pos.m_it.array_iterator, std::forward<Args>(args)...);
22575|  18.8k|        result.m_it.array_iterator = m_data.m_value.array->begin() + insert_pos;
22576|       |
22577|       |        // This could have been written as:
22578|       |        // result.m_it.array_iterator = m_data.m_value.array->insert(pos.m_it.array_iterator, cnt, val);
22579|       |        // but the return value of insert is missing in GCC 4.8, so it is written this way instead.
22580|       |
22581|  18.8k|        set_parents();
22582|  18.8k|        return result;
22583|  18.8k|    }
_ZN8nlohmann16json_abi_v3_11_36detail9iter_implIKNS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEC2ERKSI_:
13019|  18.8k|        : m_object(other.m_object), m_it(other.m_it)
13020|  18.8k|    {}
_ZN8nlohmann16json_abi_v3_11_36detail9iter_implIKNS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEC2ERKNS2_ISG_EE:
13044|  56.5k|        : m_object(other.m_object), m_it(other.m_it)
13045|  56.5k|    {}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEmPKcDpRKT_:
 4253|    191|{
 4254|       |    // cppcheck-suppress ignoredReturnValue
 4255|    191|    return ::strlen(cstr) + concat_length(rest...);
 4256|    191|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSB_OSC_DpOT1_:
 4313|    191|{
 4314|    191|    out.append(std::forward<Arg>(arg));
 4315|    191|    concat_into(out, std::forward<Args>(rest)...);
 4316|    191|}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRPKcSH_TnNS3_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SK_EE5valueEiE4typeELi0EEEOT_:
20140|  1.56M|    {
20141|  1.56M|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
20142|  1.56M|        set_parents();
20143|  1.56M|        assert_invariant();
20144|  1.56M|    }
_ZN8nlohmann16json_abi_v3_11_314adl_serializerIPKcvE7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSD_S1_NS9_IhNSD_IhEEEEvEERS3_EEDTcmclL_ZNS0_7to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSK_:
 5860|  1.56M|    {
 5861|  1.56M|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 5862|  1.56M|    }
_ZNK8nlohmann16json_abi_v3_11_36detail10to_json_fnclINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERPKcEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSL_:
 5804|  1.56M|    {
 5805|  1.56M|        return to_json(j, std::forward<T>(val));
 5806|  1.56M|    }
_ZN8nlohmann16json_abi_v3_11_36detail7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEPKcTnNS5_9enable_ifIXsr3std16is_constructibleINT_8string_tET0_EE5valueEiE4typeELi0EEEvRSK_RKSM_:
 5663|  1.56M|{
 5664|  1.56M|    external_constructor<value_t::string>::construct(j, s);
 5665|  1.56M|}
_ZN8nlohmann16json_abi_v3_11_36detail20external_constructorILNS1_7value_tE3EE9constructINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEPKcTnNS8_9enable_ifIXntsr3std7is_sameIT0_NT_8string_tEEE5valueEiE4typeELi0EEEvRSO_RKSN_:
 5459|  1.56M|    {
 5460|  1.56M|        j.m_data.m_value.destroy(j.m_data.m_type);
 5461|  1.56M|        j.m_data.m_type = value_t::string;
 5462|  1.56M|        j.m_data.m_value.string = j.template create<typename BasicJsonType::string_t>(str);
 5463|  1.56M|        j.assert_invariant();
 5464|  1.56M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createISA_JRKPKcEEEPT_DpOT0_:
19681|  1.56M|    {
19682|  1.56M|        AllocatorType<T> alloc;
19683|  1.56M|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
19684|       |
19685|  1.56M|        auto deleter = [&](T * obj)
19686|  1.56M|        {
19687|  1.56M|            AllocatorTraits::deallocate(alloc, obj, 1);
19688|  1.56M|        };
19689|  1.56M|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19690|  1.56M|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19691|       |        JSON_ASSERT(obj != nullptr);
  ------------------
  |  | 2552|  1.56M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19692|  1.56M|        return obj.release();
19693|  1.56M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ISA_SA_TnNS3_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SH_EE5valueEiE4typeELi0EEEOT_:
20140|  2.40M|    {
20141|  2.40M|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
20142|  2.40M|        set_parents();
20143|  2.40M|        assert_invariant();
20144|  2.40M|    }
_ZN8nlohmann16json_abi_v3_11_314adl_serializerINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE7to_jsonINS0_10basic_jsonINS0_11ordered_mapENS2_6vectorES8_blmdS6_S1_NSD_IhNS6_IhEEEEvEES8_EEDTcmclL_ZNS0_7to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSH_:
 5860|  2.40M|    {
 5861|  2.40M|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 5862|  2.40M|    }
_ZNK8nlohmann16json_abi_v3_11_36detail10to_json_fnclINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEESD_EEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSI_:
 5804|  2.40M|    {
 5805|  2.40M|        return to_json(j, std::forward<T>(val));
 5806|  2.40M|    }
_ZN8nlohmann16json_abi_v3_11_36detail7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEEvRT_ONSH_8string_tE:
 5669|  2.40M|{
 5670|  2.40M|    external_constructor<value_t::string>::construct(j, std::move(s));
 5671|  2.40M|}
_ZN8nlohmann16json_abi_v3_11_36detail20external_constructorILNS1_7value_tE3EE9constructINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_ONSK_8string_tE:
 5448|  2.40M|    {
 5449|  2.40M|        j.m_data.m_value.destroy(j.m_data.m_type);
 5450|  2.40M|        j.m_data.m_type = value_t::string;
 5451|  2.40M|        j.m_data.m_value = std::move(s);
 5452|  2.40M|        j.assert_invariant();
 5453|  2.40M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE10json_valueC2EOSA_:
19830|  2.40M|        json_value(string_t&& value) : string(create<string_t>(std::move(value))) {}
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE6createISA_JSA_EEEPT_DpOT0_:
19681|  2.40M|    {
19682|  2.40M|        AllocatorType<T> alloc;
19683|  2.40M|        using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
19684|       |
19685|  2.40M|        auto deleter = [&](T * obj)
19686|  2.40M|        {
19687|  2.40M|            AllocatorTraits::deallocate(alloc, obj, 1);
19688|  2.40M|        };
19689|  2.40M|        std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
19690|  2.40M|        AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
19691|       |        JSON_ASSERT(obj != nullptr);
  ------------------
  |  | 2552|  2.40M|    #define JSON_ASSERT(x) assert(x)
  ------------------
19692|  2.40M|        return obj.release();
19693|  2.40M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRKSA_SA_TnNS3_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SJ_EE5valueEiE4typeELi0EEEOT_:
20140|  8.81k|    {
20141|  8.81k|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
20142|  8.81k|        set_parents();
20143|  8.81k|        assert_invariant();
20144|  8.81k|    }
_ZN8nlohmann16json_abi_v3_11_314adl_serializerINSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvE7to_jsonINS0_10basic_jsonINS0_11ordered_mapENS2_6vectorES8_blmdS6_S1_NSD_IhNS6_IhEEEEvEERKS8_EEDTcmclL_ZNS0_7to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 5860|  8.81k|    {
 5861|  8.81k|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 5862|  8.81k|    }
_ZNK8nlohmann16json_abi_v3_11_36detail10to_json_fnclINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERKSD_EEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSK_:
 5804|  8.81k|    {
 5805|  8.81k|        return to_json(j, std::forward<T>(val));
 5806|  8.81k|    }
_ZN8nlohmann16json_abi_v3_11_36detail7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEESC_TnNS5_9enable_ifIXsr3std16is_constructibleINT_8string_tET0_EE5valueEiE4typeELi0EEEvRSI_RKSK_:
 5663|  8.81k|{
 5664|  8.81k|    external_constructor<value_t::string>::construct(j, s);
 5665|  8.81k|}
_ZN8nlohmann16json_abi_v3_11_36detail20external_constructorILNS1_7value_tE3EE9constructINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_RKNSK_8string_tE:
 5439|  8.81k|    {
 5440|  8.81k|        j.m_data.m_value.destroy(j.m_data.m_type);
 5441|  8.81k|        j.m_data.m_type = value_t::string;
 5442|  8.81k|        j.m_data.m_value = s;
 5443|  8.81k|        j.assert_invariant();
 5444|  8.81k|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRbbTnNS3_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_:
20140|  1.79M|    {
20141|  1.79M|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
20142|  1.79M|        set_parents();
20143|  1.79M|        assert_invariant();
20144|  1.79M|    }
_ZN8nlohmann16json_abi_v3_11_314adl_serializerIbvE7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEERbEEDTcmclL_ZNS0_7to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSI_:
 5860|  1.79M|    {
 5861|  1.79M|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 5862|  1.79M|    }
_ZNK8nlohmann16json_abi_v3_11_36detail10to_json_fnclINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERbEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 5804|  1.79M|    {
 5805|  1.79M|        return to_json(j, std::forward<T>(val));
 5806|  1.79M|    }
_ZN8nlohmann16json_abi_v3_11_36detail7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEbTnNS5_9enable_ifIXsr3std7is_sameIT0_NT_9boolean_tEEE5valueEiE4typeELi0EEEvRSJ_SI_:
 5643|  1.79M|{
 5644|  1.79M|    external_constructor<value_t::boolean>::construct(j, b);
 5645|  1.79M|}
_ZN8nlohmann16json_abi_v3_11_36detail20external_constructorILNS1_7value_tE4EE9constructINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_NSK_9boolean_tE:
 5426|  1.79M|    {
 5427|  1.79M|        j.m_data.m_value.destroy(j.m_data.m_type);
 5428|  1.79M|        j.m_data.m_type = value_t::boolean;
 5429|  1.79M|        j.m_data.m_value = b;
 5430|  1.79M|        j.assert_invariant();
 5431|  1.79M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRiiTnNS3_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_:
20140|  2.67M|    {
20141|  2.67M|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
20142|  2.67M|        set_parents();
20143|  2.67M|        assert_invariant();
20144|  2.67M|    }
_ZN8nlohmann16json_abi_v3_11_314adl_serializerIivE7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEERiEEDTcmclL_ZNS0_7to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSI_:
 5860|  2.67M|    {
 5861|  2.67M|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 5862|  2.67M|    }
_ZNK8nlohmann16json_abi_v3_11_36detail10to_json_fnclINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERiEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 5804|  2.67M|    {
 5805|  2.67M|        return to_json(j, std::forward<T>(val));
 5806|  2.67M|    }
_ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRmmTnNS3_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_:
20140|  1.68M|    {
20141|  1.68M|        JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
20142|  1.68M|        set_parents();
20143|  1.68M|        assert_invariant();
20144|  1.68M|    }
_ZN8nlohmann16json_abi_v3_11_314adl_serializerImvE7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_S1_NS7_IhNSB_IhEEEEvEERmEEDTcmclL_ZNS0_7to_jsonEEfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSI_:
 5860|  1.68M|    {
 5861|  1.68M|        ::nlohmann::to_json(j, std::forward<TargetType>(val));
 5862|  1.68M|    }
_ZNK8nlohmann16json_abi_v3_11_36detail10to_json_fnclINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS6_12basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEERmEEDTcmcl7to_jsonfp_clsr3stdE7forwardIT0_Efp0_EEcvv_EERT_OSJ_:
 5804|  1.68M|    {
 5805|  1.68M|        return to_json(j, std::forward<T>(val));
 5806|  1.68M|    }
_ZN8nlohmann16json_abi_v3_11_36detail7to_jsonINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEmTnNS5_9enable_ifIXsr26is_compatible_integer_typeINT_17number_unsigned_tET0_EE5valueEiE4typeELi0EEEvRSI_SK_:
 5683|  1.68M|{
 5684|  1.68M|    external_constructor<value_t::number_unsigned>::construct(j, static_cast<typename BasicJsonType::number_unsigned_t>(val));
 5685|  1.68M|}
_ZN8nlohmann16json_abi_v3_11_36detail20external_constructorILNS1_7value_tE6EE9constructINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS8_12basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEEblmdSD_NS0_14adl_serializerENS9_IhNSD_IhEEEEvEEEEvRT_NSK_17number_unsigned_tE:
 5507|  1.68M|    {
 5508|  1.68M|        j.m_data.m_value.destroy(j.m_data.m_type);
 5509|  1.68M|        j.m_data.m_type = value_t::number_unsigned;
 5510|  1.68M|        j.m_data.m_value = val;
 5511|  1.68M|        j.assert_invariant();
 5512|  1.68M|    }
_ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapENSt3__16vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE4dumpEicbNS0_6detail15error_handler_tE:
20578|  6.33k|    {
20579|  6.33k|        string_t result;
20580|  6.33k|        serializer s(detail::output_adapter<char, string_t>(result), indent_char, error_handler);
20581|       |
20582|  6.33k|        if (indent >= 0)
  ------------------
  |  Branch (20582:13): [True: 6.33k, False: 0]
  ------------------
20583|  6.33k|        {
20584|  6.33k|            s.dump(*this, true, ensure_ascii, static_cast<unsigned int>(indent));
20585|  6.33k|        }
20586|      0|        else
20587|      0|        {
20588|      0|            s.dump(*this, false, ensure_ascii, 0);
20589|      0|        }
20590|       |
20591|  6.33k|        return result;
20592|  6.33k|    }
_ZN8nlohmann16json_abi_v3_11_36detail14output_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEC2ERS9_:
15049|  6.33k|        : oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {}
_ZN8nlohmann16json_abi_v3_11_36detail21output_string_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEC2ERS9_:
15017|  6.33k|        : str(s)
15018|  6.33k|    {}
_ZN8nlohmann16json_abi_v3_11_36detail23output_adapter_protocolIcEC2Ev:
14950|  6.33k|    output_adapter_protocol() = default;
_ZN8nlohmann16json_abi_v3_11_36detail23output_adapter_protocolIcED2Ev:
14948|  6.33k|    virtual ~output_adapter_protocol() = default;
_ZN8nlohmann16json_abi_v3_11_36detail21output_string_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEE15write_characterEc:
15021|  12.7M|    {
15022|  12.7M|        str.push_back(c);
15023|  12.7M|    }
_ZN8nlohmann16json_abi_v3_11_36detail21output_string_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEE16write_charactersEPKcm:
15027|  31.7M|    {
15028|  31.7M|        str.append(s, length);
15029|  31.7M|    }
_ZN8nlohmann16json_abi_v3_11_36detail14output_adapterIcNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEcvNS3_10shared_ptrINS1_23output_adapter_protocolIcEEEEEv:
15052|  6.33k|    {
15053|  6.33k|        return oa;
15054|  6.33k|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEC2ENS5_10shared_ptrINS1_23output_adapter_protocolIcEEEEcNS1_15error_handler_tE:
18077|  6.33k|        : o(std::move(s))
18078|  6.33k|        , loc(std::localeconv())
18079|  6.33k|        , thousands_sep(loc->thousands_sep == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->thousands_sep)))
  ------------------
  |  Branch (18079:25): [True: 0, False: 6.33k]
  ------------------
18080|  6.33k|        , decimal_point(loc->decimal_point == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->decimal_point)))
  ------------------
  |  Branch (18080:25): [True: 0, False: 6.33k]
  ------------------
18081|  6.33k|        , indent_char(ichar)
18082|  6.33k|        , indent_string(512, indent_char)
18083|  6.33k|        , error_handler(error_handler_)
18084|  6.33k|    {}
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE4dumpERKSG_bbjj:
18120|  6.56M|    {
18121|  6.56M|        switch (val.m_data.m_type)
18122|  6.56M|        {
18123|  1.20M|            case value_t::object:
  ------------------
  |  Branch (18123:13): [True: 1.20M, False: 5.36M]
  ------------------
18124|  1.20M|            {
18125|  1.20M|                if (val.m_data.m_value.object->empty())
  ------------------
  |  Branch (18125:21): [True: 275, False: 1.20M]
  ------------------
18126|    275|                {
18127|    275|                    o->write_characters("{}", 2);
18128|    275|                    return;
18129|    275|                }
18130|       |
18131|  1.20M|                if (pretty_print)
  ------------------
  |  Branch (18131:21): [True: 1.20M, False: 0]
  ------------------
18132|  1.20M|                {
18133|  1.20M|                    o->write_characters("{\n", 2);
18134|       |
18135|       |                    // variable to hold indentation for recursive calls
18136|  1.20M|                    const auto new_indent = current_indent + indent_step;
18137|  1.20M|                    if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent))
  ------------------
  |  | 1677|  1.20M|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 1.20M]
  |  |  ------------------
  ------------------
18138|      0|                    {
18139|      0|                        indent_string.resize(indent_string.size() * 2, ' ');
18140|      0|                    }
18141|       |
18142|       |                    // first n-1 elements
18143|  1.20M|                    auto i = val.m_data.m_value.object->cbegin();
18144|  6.09M|                    for (std::size_t cnt = 0; cnt < val.m_data.m_value.object->size() - 1; ++cnt, ++i)
  ------------------
  |  Branch (18144:47): [True: 4.89M, False: 1.20M]
  ------------------
18145|  4.89M|                    {
18146|  4.89M|                        o->write_characters(indent_string.c_str(), new_indent);
18147|  4.89M|                        o->write_character('\"');
18148|  4.89M|                        dump_escaped(i->first, ensure_ascii);
18149|  4.89M|                        o->write_characters("\": ", 3);
18150|  4.89M|                        dump(i->second, true, ensure_ascii, indent_step, new_indent);
18151|  4.89M|                        o->write_characters(",\n", 2);
18152|  4.89M|                    }
18153|       |
18154|       |                    // last element
18155|  1.20M|                    JSON_ASSERT(i != val.m_data.m_value.object->cend());
  ------------------
  |  | 2552|  1.20M|    #define JSON_ASSERT(x) assert(x)
  ------------------
18156|  1.20M|                    JSON_ASSERT(std::next(i) == val.m_data.m_value.object->cend());
  ------------------
  |  | 2552|  1.20M|    #define JSON_ASSERT(x) assert(x)
  ------------------
18157|  1.20M|                    o->write_characters(indent_string.c_str(), new_indent);
18158|  1.20M|                    o->write_character('\"');
18159|  1.20M|                    dump_escaped(i->first, ensure_ascii);
18160|  1.20M|                    o->write_characters("\": ", 3);
18161|  1.20M|                    dump(i->second, true, ensure_ascii, indent_step, new_indent);
18162|       |
18163|  1.20M|                    o->write_character('\n');
18164|  1.20M|                    o->write_characters(indent_string.c_str(), current_indent);
18165|  1.20M|                    o->write_character('}');
18166|  1.20M|                }
18167|      0|                else
18168|      0|                {
18169|      0|                    o->write_character('{');
18170|       |
18171|       |                    // first n-1 elements
18172|      0|                    auto i = val.m_data.m_value.object->cbegin();
18173|      0|                    for (std::size_t cnt = 0; cnt < val.m_data.m_value.object->size() - 1; ++cnt, ++i)
  ------------------
  |  Branch (18173:47): [True: 0, False: 0]
  ------------------
18174|      0|                    {
18175|      0|                        o->write_character('\"');
18176|      0|                        dump_escaped(i->first, ensure_ascii);
18177|      0|                        o->write_characters("\":", 2);
18178|      0|                        dump(i->second, false, ensure_ascii, indent_step, current_indent);
18179|      0|                        o->write_character(',');
18180|      0|                    }
18181|       |
18182|       |                    // last element
18183|      0|                    JSON_ASSERT(i != val.m_data.m_value.object->cend());
  ------------------
  |  | 2552|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
18184|      0|                    JSON_ASSERT(std::next(i) == val.m_data.m_value.object->cend());
  ------------------
  |  | 2552|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
18185|      0|                    o->write_character('\"');
18186|      0|                    dump_escaped(i->first, ensure_ascii);
18187|      0|                    o->write_characters("\":", 2);
18188|      0|                    dump(i->second, false, ensure_ascii, indent_step, current_indent);
18189|       |
18190|      0|                    o->write_character('}');
18191|      0|                }
18192|       |
18193|  1.20M|                return;
18194|  1.20M|            }
18195|       |
18196|  22.0k|            case value_t::array:
  ------------------
  |  Branch (18196:13): [True: 22.0k, False: 6.54M]
  ------------------
18197|  22.0k|            {
18198|  22.0k|                if (val.m_data.m_value.array->empty())
  ------------------
  |  Branch (18198:21): [True: 1.64k, False: 20.4k]
  ------------------
18199|  1.64k|                {
18200|  1.64k|                    o->write_characters("[]", 2);
18201|  1.64k|                    return;
18202|  1.64k|                }
18203|       |
18204|  20.4k|                if (pretty_print)
  ------------------
  |  Branch (18204:21): [True: 20.4k, False: 0]
  ------------------
18205|  20.4k|                {
18206|  20.4k|                    o->write_characters("[\n", 2);
18207|       |
18208|       |                    // variable to hold indentation for recursive calls
18209|  20.4k|                    const auto new_indent = current_indent + indent_step;
18210|  20.4k|                    if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent))
  ------------------
  |  | 1677|  20.4k|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 20.4k]
  |  |  ------------------
  ------------------
18211|      0|                    {
18212|      0|                        indent_string.resize(indent_string.size() * 2, ' ');
18213|      0|                    }
18214|       |
18215|       |                    // first n-1 elements
18216|  20.4k|                    for (auto i = val.m_data.m_value.array->cbegin();
18217|   464k|                            i != val.m_data.m_value.array->cend() - 1; ++i)
  ------------------
  |  Branch (18217:29): [True: 443k, False: 20.4k]
  ------------------
18218|   443k|                    {
18219|   443k|                        o->write_characters(indent_string.c_str(), new_indent);
18220|   443k|                        dump(*i, true, ensure_ascii, indent_step, new_indent);
18221|   443k|                        o->write_characters(",\n", 2);
18222|   443k|                    }
18223|       |
18224|       |                    // last element
18225|  20.4k|                    JSON_ASSERT(!val.m_data.m_value.array->empty());
  ------------------
  |  | 2552|  20.4k|    #define JSON_ASSERT(x) assert(x)
  ------------------
18226|  20.4k|                    o->write_characters(indent_string.c_str(), new_indent);
18227|  20.4k|                    dump(val.m_data.m_value.array->back(), true, ensure_ascii, indent_step, new_indent);
18228|       |
18229|  20.4k|                    o->write_character('\n');
18230|  20.4k|                    o->write_characters(indent_string.c_str(), current_indent);
18231|  20.4k|                    o->write_character(']');
18232|  20.4k|                }
18233|      0|                else
18234|      0|                {
18235|      0|                    o->write_character('[');
18236|       |
18237|       |                    // first n-1 elements
18238|      0|                    for (auto i = val.m_data.m_value.array->cbegin();
18239|      0|                            i != val.m_data.m_value.array->cend() - 1; ++i)
  ------------------
  |  Branch (18239:29): [True: 0, False: 0]
  ------------------
18240|      0|                    {
18241|      0|                        dump(*i, false, ensure_ascii, indent_step, current_indent);
18242|      0|                        o->write_character(',');
18243|      0|                    }
18244|       |
18245|       |                    // last element
18246|      0|                    JSON_ASSERT(!val.m_data.m_value.array->empty());
  ------------------
  |  | 2552|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
18247|      0|                    dump(val.m_data.m_value.array->back(), false, ensure_ascii, indent_step, current_indent);
18248|       |
18249|      0|                    o->write_character(']');
18250|      0|                }
18251|       |
18252|  20.4k|                return;
18253|  22.0k|            }
18254|       |
18255|  2.04M|            case value_t::string:
  ------------------
  |  Branch (18255:13): [True: 2.04M, False: 4.51M]
  ------------------
18256|  2.04M|            {
18257|  2.04M|                o->write_character('\"');
18258|  2.04M|                dump_escaped(*val.m_data.m_value.string, ensure_ascii);
18259|  2.04M|                o->write_character('\"');
18260|  2.04M|                return;
18261|  22.0k|            }
18262|       |
18263|      0|            case value_t::binary:
  ------------------
  |  Branch (18263:13): [True: 0, False: 6.56M]
  ------------------
18264|      0|            {
18265|      0|                if (pretty_print)
  ------------------
  |  Branch (18265:21): [True: 0, False: 0]
  ------------------
18266|      0|                {
18267|      0|                    o->write_characters("{\n", 2);
18268|       |
18269|       |                    // variable to hold indentation for recursive calls
18270|      0|                    const auto new_indent = current_indent + indent_step;
18271|      0|                    if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent))
  ------------------
  |  | 1677|      0|#  define JSON_HEDLEY_UNLIKELY(expr)                    __builtin_expect                 (!!(expr),    0                  )
  |  |  ------------------
  |  |  |  Branch (1677:57): [True: 0, False: 0]
  |  |  ------------------
  ------------------
18272|      0|                    {
18273|      0|                        indent_string.resize(indent_string.size() * 2, ' ');
18274|      0|                    }
18275|       |
18276|      0|                    o->write_characters(indent_string.c_str(), new_indent);
18277|       |
18278|      0|                    o->write_characters("\"bytes\": [", 10);
18279|       |
18280|      0|                    if (!val.m_data.m_value.binary->empty())
  ------------------
  |  Branch (18280:25): [True: 0, False: 0]
  ------------------
18281|      0|                    {
18282|      0|                        for (auto i = val.m_data.m_value.binary->cbegin();
18283|      0|                                i != val.m_data.m_value.binary->cend() - 1; ++i)
  ------------------
  |  Branch (18283:33): [True: 0, False: 0]
  ------------------
18284|      0|                        {
18285|      0|                            dump_integer(*i);
18286|      0|                            o->write_characters(", ", 2);
18287|      0|                        }
18288|      0|                        dump_integer(val.m_data.m_value.binary->back());
18289|      0|                    }
18290|       |
18291|      0|                    o->write_characters("],\n", 3);
18292|      0|                    o->write_characters(indent_string.c_str(), new_indent);
18293|       |
18294|      0|                    o->write_characters("\"subtype\": ", 11);
18295|      0|                    if (val.m_data.m_value.binary->has_subtype())
  ------------------
  |  Branch (18295:25): [True: 0, False: 0]
  ------------------
18296|      0|                    {
18297|      0|                        dump_integer(val.m_data.m_value.binary->subtype());
18298|      0|                    }
18299|      0|                    else
18300|      0|                    {
18301|      0|                        o->write_characters("null", 4);
18302|      0|                    }
18303|      0|                    o->write_character('\n');
18304|      0|                    o->write_characters(indent_string.c_str(), current_indent);
18305|      0|                    o->write_character('}');
18306|      0|                }
18307|      0|                else
18308|      0|                {
18309|      0|                    o->write_characters("{\"bytes\":[", 10);
18310|       |
18311|      0|                    if (!val.m_data.m_value.binary->empty())
  ------------------
  |  Branch (18311:25): [True: 0, False: 0]
  ------------------
18312|      0|                    {
18313|      0|                        for (auto i = val.m_data.m_value.binary->cbegin();
18314|      0|                                i != val.m_data.m_value.binary->cend() - 1; ++i)
  ------------------
  |  Branch (18314:33): [True: 0, False: 0]
  ------------------
18315|      0|                        {
18316|      0|                            dump_integer(*i);
18317|      0|                            o->write_character(',');
18318|      0|                        }
18319|      0|                        dump_integer(val.m_data.m_value.binary->back());
18320|      0|                    }
18321|       |
18322|      0|                    o->write_characters("],\"subtype\":", 12);
18323|      0|                    if (val.m_data.m_value.binary->has_subtype())
  ------------------
  |  Branch (18323:25): [True: 0, False: 0]
  ------------------
18324|      0|                    {
18325|      0|                        dump_integer(val.m_data.m_value.binary->subtype());
18326|      0|                        o->write_character('}');
18327|      0|                    }
18328|      0|                    else
18329|      0|                    {
18330|      0|                        o->write_characters("null}", 5);
18331|      0|                    }
18332|      0|                }
18333|      0|                return;
18334|  22.0k|            }
18335|       |
18336|   870k|            case value_t::boolean:
  ------------------
  |  Branch (18336:13): [True: 870k, False: 5.69M]
  ------------------
18337|   870k|            {
18338|   870k|                if (val.m_data.m_value.boolean)
  ------------------
  |  Branch (18338:21): [True: 29.4k, False: 840k]
  ------------------
18339|  29.4k|                {
18340|  29.4k|                    o->write_characters("true", 4);
18341|  29.4k|                }
18342|   840k|                else
18343|   840k|                {
18344|   840k|                    o->write_characters("false", 5);
18345|   840k|                }
18346|   870k|                return;
18347|  22.0k|            }
18348|       |
18349|  1.58M|            case value_t::number_integer:
  ------------------
  |  Branch (18349:13): [True: 1.58M, False: 4.97M]
  ------------------
18350|  1.58M|            {
18351|  1.58M|                dump_integer(val.m_data.m_value.number_integer);
18352|  1.58M|                return;
18353|  22.0k|            }
18354|       |
18355|   833k|            case value_t::number_unsigned:
  ------------------
  |  Branch (18355:13): [True: 833k, False: 5.73M]
  ------------------
18356|   833k|            {
18357|   833k|                dump_integer(val.m_data.m_value.number_unsigned);
18358|   833k|                return;
18359|  22.0k|            }
18360|       |
18361|      0|            case value_t::number_float:
  ------------------
  |  Branch (18361:13): [True: 0, False: 6.56M]
  ------------------
18362|      0|            {
18363|      0|                dump_float(val.m_data.m_value.number_float);
18364|      0|                return;
18365|  22.0k|            }
18366|       |
18367|      0|            case value_t::discarded:
  ------------------
  |  Branch (18367:13): [True: 0, False: 6.56M]
  ------------------
18368|      0|            {
18369|      0|                o->write_characters("<discarded>", 11);
18370|      0|                return;
18371|  22.0k|            }
18372|       |
18373|      1|            case value_t::null:
  ------------------
  |  Branch (18373:13): [True: 1, False: 6.56M]
  ------------------
18374|      1|            {
18375|      1|                o->write_characters("null", 4);
18376|      1|                return;
18377|  22.0k|            }
18378|       |
18379|      0|            default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (18379:13): [True: 0, False: 6.56M]
  ------------------
18380|       |                JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2552|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
18381|  6.56M|        }
18382|  6.56M|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_escapedERKSC_b:
18400|  8.14M|    {
18401|  8.14M|        std::uint32_t codepoint{};
18402|  8.14M|        std::uint8_t state = UTF8_ACCEPT;
18403|  8.14M|        std::size_t bytes = 0;  // number of bytes written to string_buffer
18404|       |
18405|       |        // number of bytes written at the point of the last valid byte
18406|  8.14M|        std::size_t bytes_after_last_accept = 0;
18407|  8.14M|        std::size_t undumped_chars = 0;
18408|       |
18409|   113M|        for (std::size_t i = 0; i < s.size(); ++i)
  ------------------
  |  Branch (18409:33): [True: 105M, False: 8.14M]
  ------------------
18410|   105M|        {
18411|   105M|            const auto byte = static_cast<std::uint8_t>(s[i]);
18412|       |
18413|   105M|            switch (decode(state, codepoint, byte))
18414|   105M|            {
18415|   105M|                case UTF8_ACCEPT:  // decode found a new code point
  ------------------
  |  Branch (18415:17): [True: 105M, False: 7.75k]
  ------------------
18416|   105M|                {
18417|   105M|                    switch (codepoint)
18418|   105M|                    {
18419|    449|                        case 0x08: // backspace
  ------------------
  |  Branch (18419:25): [True: 449, False: 105M]
  ------------------
18420|    449|                        {
18421|    449|                            string_buffer[bytes++] = '\\';
18422|    449|                            string_buffer[bytes++] = 'b';
18423|    449|                            break;
18424|      0|                        }
18425|       |
18426|  1.28k|                        case 0x09: // horizontal tab
  ------------------
  |  Branch (18426:25): [True: 1.28k, False: 105M]
  ------------------
18427|  1.28k|                        {
18428|  1.28k|                            string_buffer[bytes++] = '\\';
18429|  1.28k|                            string_buffer[bytes++] = 't';
18430|  1.28k|                            break;
18431|      0|                        }
18432|       |
18433|    691|                        case 0x0A: // newline
  ------------------
  |  Branch (18433:25): [True: 691, False: 105M]
  ------------------
18434|    691|                        {
18435|    691|                            string_buffer[bytes++] = '\\';
18436|    691|                            string_buffer[bytes++] = 'n';
18437|    691|                            break;
18438|      0|                        }
18439|       |
18440|    331|                        case 0x0C: // formfeed
  ------------------
  |  Branch (18440:25): [True: 331, False: 105M]
  ------------------
18441|    331|                        {
18442|    331|                            string_buffer[bytes++] = '\\';
18443|    331|                            string_buffer[bytes++] = 'f';
18444|    331|                            break;
18445|      0|                        }
18446|       |
18447|    318|                        case 0x0D: // carriage return
  ------------------
  |  Branch (18447:25): [True: 318, False: 105M]
  ------------------
18448|    318|                        {
18449|    318|                            string_buffer[bytes++] = '\\';
18450|    318|                            string_buffer[bytes++] = 'r';
18451|    318|                            break;
18452|      0|                        }
18453|       |
18454|    304|                        case 0x22: // quotation mark
  ------------------
  |  Branch (18454:25): [True: 304, False: 105M]
  ------------------
18455|    304|                        {
18456|    304|                            string_buffer[bytes++] = '\\';
18457|    304|                            string_buffer[bytes++] = '\"';
18458|    304|                            break;
18459|      0|                        }
18460|       |
18461|    353|                        case 0x5C: // reverse solidus
  ------------------
  |  Branch (18461:25): [True: 353, False: 105M]
  ------------------
18462|    353|                        {
18463|    353|                            string_buffer[bytes++] = '\\';
18464|    353|                            string_buffer[bytes++] = '\\';
18465|    353|                            break;
18466|      0|                        }
18467|       |
18468|   105M|                        default:
  ------------------
  |  Branch (18468:25): [True: 105M, False: 3.73k]
  ------------------
18469|   105M|                        {
18470|       |                            // escape control characters (0x00..0x1F) or, if
18471|       |                            // ensure_ascii parameter is used, non-ASCII characters
18472|   105M|                            if ((codepoint <= 0x1F) || (ensure_ascii && (codepoint >= 0x7F)))
  ------------------
  |  Branch (18472:33): [True: 146k, False: 105M]
  |  Branch (18472:57): [True: 0, False: 105M]
  |  Branch (18472:73): [True: 0, False: 0]
  ------------------
18473|   146k|                            {
18474|   146k|                                if (codepoint <= 0xFFFF)
  ------------------
  |  Branch (18474:37): [True: 146k, False: 0]
  ------------------
18475|   146k|                                {
18476|       |                                    // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
18477|   146k|                                    static_cast<void>((std::snprintf)(string_buffer.data() + bytes, 7, "\\u%04x",
18478|   146k|                                                                      static_cast<std::uint16_t>(codepoint)));
18479|   146k|                                    bytes += 6;
18480|   146k|                                }
18481|      0|                                else
18482|      0|                                {
18483|       |                                    // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
18484|      0|                                    static_cast<void>((std::snprintf)(string_buffer.data() + bytes, 13, "\\u%04x\\u%04x",
18485|      0|                                                                      static_cast<std::uint16_t>(0xD7C0u + (codepoint >> 10u)),
18486|      0|                                                                      static_cast<std::uint16_t>(0xDC00u + (codepoint & 0x3FFu))));
18487|      0|                                    bytes += 12;
18488|      0|                                }
18489|   146k|                            }
18490|   105M|                            else
18491|   105M|                            {
18492|       |                                // copy byte to buffer (all previous bytes
18493|       |                                // been copied have in default case above)
18494|   105M|                                string_buffer[bytes++] = s[i];
18495|   105M|                            }
18496|   105M|                            break;
18497|      0|                        }
18498|   105M|                    }
18499|       |
18500|       |                    // write buffer and reset index; there must be 13 bytes
18501|       |                    // left, as this is the maximal number of bytes to be
18502|       |                    // written ("\uxxxx\uxxxx\0") for one code point
18503|   105M|                    if (string_buffer.size() - bytes < 13)
  ------------------
  |  Branch (18503:25): [True: 20.8k, False: 105M]
  ------------------
18504|  20.8k|                    {
18505|  20.8k|                        o->write_characters(string_buffer.data(), bytes);
18506|  20.8k|                        bytes = 0;
18507|  20.8k|                    }
18508|       |
18509|       |                    // remember the byte position of this accept
18510|   105M|                    bytes_after_last_accept = bytes;
18511|   105M|                    undumped_chars = 0;
18512|   105M|                    break;
18513|   105M|                }
18514|       |
18515|    165|                case UTF8_REJECT:  // decode found invalid UTF-8 byte
  ------------------
  |  Branch (18515:17): [True: 165, False: 105M]
  ------------------
18516|    165|                {
18517|    165|                    switch (error_handler)
18518|    165|                    {
18519|    165|                        case error_handler_t::strict:
  ------------------
  |  Branch (18519:25): [True: 165, False: 0]
  ------------------
18520|    165|                        {
18521|    165|                            JSON_THROW(type_error::create(316, concat("invalid UTF-8 byte at index ", std::to_string(i), ": 0x", hex_bytes(byte | 0)), nullptr));
  ------------------
  |  | 2517|    165|    #define JSON_THROW(exception) throw exception
  ------------------
18522|      0|                        }
18523|       |
18524|      0|                        case error_handler_t::ignore:
  ------------------
  |  Branch (18524:25): [True: 0, False: 165]
  ------------------
18525|      0|                        case error_handler_t::replace:
  ------------------
  |  Branch (18525:25): [True: 0, False: 165]
  ------------------
18526|      0|                        {
18527|       |                            // in case we saw this character the first time, we
18528|       |                            // would like to read it again, because the byte
18529|       |                            // may be OK for itself, but just not OK for the
18530|       |                            // previous sequence
18531|      0|                            if (undumped_chars > 0)
  ------------------
  |  Branch (18531:33): [True: 0, False: 0]
  ------------------
18532|      0|                            {
18533|      0|                                --i;
18534|      0|                            }
18535|       |
18536|       |                            // reset length buffer to the last accepted index;
18537|       |                            // thus removing/ignoring the invalid characters
18538|      0|                            bytes = bytes_after_last_accept;
18539|       |
18540|      0|                            if (error_handler == error_handler_t::replace)
  ------------------
  |  Branch (18540:33): [True: 0, False: 0]
  ------------------
18541|      0|                            {
18542|       |                                // add a replacement character
18543|      0|                                if (ensure_ascii)
  ------------------
  |  Branch (18543:37): [True: 0, False: 0]
  ------------------
18544|      0|                                {
18545|      0|                                    string_buffer[bytes++] = '\\';
18546|      0|                                    string_buffer[bytes++] = 'u';
18547|      0|                                    string_buffer[bytes++] = 'f';
18548|      0|                                    string_buffer[bytes++] = 'f';
18549|      0|                                    string_buffer[bytes++] = 'f';
18550|      0|                                    string_buffer[bytes++] = 'd';
18551|      0|                                }
18552|      0|                                else
18553|      0|                                {
18554|      0|                                    string_buffer[bytes++] = detail::binary_writer<BasicJsonType, char>::to_char_type('\xEF');
18555|      0|                                    string_buffer[bytes++] = detail::binary_writer<BasicJsonType, char>::to_char_type('\xBF');
18556|      0|                                    string_buffer[bytes++] = detail::binary_writer<BasicJsonType, char>::to_char_type('\xBD');
18557|      0|                                }
18558|       |
18559|       |                                // write buffer and reset index; there must be 13 bytes
18560|       |                                // left, as this is the maximal number of bytes to be
18561|       |                                // written ("\uxxxx\uxxxx\0") for one code point
18562|      0|                                if (string_buffer.size() - bytes < 13)
  ------------------
  |  Branch (18562:37): [True: 0, False: 0]
  ------------------
18563|      0|                                {
18564|      0|                                    o->write_characters(string_buffer.data(), bytes);
18565|      0|                                    bytes = 0;
18566|      0|                                }
18567|       |
18568|      0|                                bytes_after_last_accept = bytes;
18569|      0|                            }
18570|       |
18571|      0|                            undumped_chars = 0;
18572|       |
18573|       |                            // continue processing the string
18574|      0|                            state = UTF8_ACCEPT;
18575|      0|                            break;
18576|      0|                        }
18577|       |
18578|      0|                        default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (18578:25): [True: 0, False: 165]
  ------------------
18579|      0|                            JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2552|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
18580|    165|                    }
18581|      0|                    break;
18582|    165|                }
18583|       |
18584|  7.58k|                default:  // decode found yet incomplete multi-byte code point
  ------------------
  |  Branch (18584:17): [True: 7.58k, False: 105M]
  ------------------
18585|  7.58k|                {
18586|  7.58k|                    if (!ensure_ascii)
  ------------------
  |  Branch (18586:25): [True: 7.58k, False: 0]
  ------------------
18587|  7.58k|                    {
18588|       |                        // code point will not be escaped - copy byte to buffer
18589|  7.58k|                        string_buffer[bytes++] = s[i];
18590|  7.58k|                    }
18591|  7.58k|                    ++undumped_chars;
18592|  7.58k|                    break;
18593|    165|                }
18594|   105M|            }
18595|   105M|        }
18596|       |
18597|       |        // we finished processing the string
18598|  8.14M|        if (JSON_HEDLEY_LIKELY(state == UTF8_ACCEPT))
  ------------------
  |  | 1676|  8.14M|#  define JSON_HEDLEY_LIKELY(expr)                      __builtin_expect                 (!!(expr),    1                  )
  |  |  ------------------
  |  |  |  Branch (1676:57): [True: 8.14M, False: 26]
  |  |  ------------------
  ------------------
18599|  8.14M|        {
18600|       |            // write buffer
18601|  8.14M|            if (bytes > 0)
  ------------------
  |  Branch (18601:17): [True: 8.13M, False: 5.98k]
  ------------------
18602|  8.13M|            {
18603|  8.13M|                o->write_characters(string_buffer.data(), bytes);
18604|  8.13M|            }
18605|  8.14M|        }
18606|     26|        else
18607|     26|        {
18608|       |            // we finish reading, but do not accept: string was incomplete
18609|     26|            switch (error_handler)
18610|     26|            {
18611|     26|                case error_handler_t::strict:
  ------------------
  |  Branch (18611:17): [True: 26, False: 0]
  ------------------
18612|     26|                {
18613|     26|                    JSON_THROW(type_error::create(316, concat("incomplete UTF-8 string; last byte: 0x", hex_bytes(static_cast<std::uint8_t>(s.back() | 0))), nullptr));
  ------------------
  |  | 2517|     26|    #define JSON_THROW(exception) throw exception
  ------------------
18614|      0|                }
18615|       |
18616|      0|                case error_handler_t::ignore:
  ------------------
  |  Branch (18616:17): [True: 0, False: 26]
  ------------------
18617|      0|                {
18618|       |                    // write all accepted bytes
18619|      0|                    o->write_characters(string_buffer.data(), bytes_after_last_accept);
18620|      0|                    break;
18621|      0|                }
18622|       |
18623|      0|                case error_handler_t::replace:
  ------------------
  |  Branch (18623:17): [True: 0, False: 26]
  ------------------
18624|      0|                {
18625|       |                    // write all accepted bytes
18626|      0|                    o->write_characters(string_buffer.data(), bytes_after_last_accept);
18627|       |                    // add a replacement character
18628|      0|                    if (ensure_ascii)
  ------------------
  |  Branch (18628:25): [True: 0, False: 0]
  ------------------
18629|      0|                    {
18630|      0|                        o->write_characters("\\ufffd", 6);
18631|      0|                    }
18632|      0|                    else
18633|      0|                    {
18634|      0|                        o->write_characters("\xEF\xBF\xBD", 3);
18635|      0|                    }
18636|      0|                    break;
18637|      0|                }
18638|       |
18639|      0|                default:            // LCOV_EXCL_LINE
  ------------------
  |  Branch (18639:17): [True: 0, False: 26]
  ------------------
18640|       |                    JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
  ------------------
  |  | 2552|      0|    #define JSON_ASSERT(x) assert(x)
  ------------------
18641|     26|            }
18642|     26|        }
18643|  8.14M|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE6decodeERhRjh:
18909|   105M|    {
18910|   105M|        static const std::array<std::uint8_t, 400> utf8d =
18911|   105M|        {
18912|   105M|            {
18913|   105M|                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 00..1F
18914|   105M|                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 20..3F
18915|   105M|                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 40..5F
18916|   105M|                0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 60..7F
18917|   105M|                1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, // 80..9F
18918|   105M|                7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // A0..BF
18919|   105M|                8, 8, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // C0..DF
18920|   105M|                0xA, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3, 0x3, // E0..EF
18921|   105M|                0xB, 0x6, 0x6, 0x6, 0x5, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, // F0..FF
18922|   105M|                0x0, 0x1, 0x2, 0x3, 0x5, 0x8, 0x7, 0x1, 0x1, 0x1, 0x4, 0x6, 0x1, 0x1, 0x1, 0x1, // s0..s0
18923|   105M|                1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, // s1..s2
18924|   105M|                1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, // s3..s4
18925|   105M|                1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, // s5..s6
18926|   105M|                1, 3, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 // s7..s8
18927|   105M|            }
18928|   105M|        };
18929|       |
18930|   105M|        JSON_ASSERT(byte < utf8d.size());
  ------------------
  |  | 2552|   105M|    #define JSON_ASSERT(x) assert(x)
  ------------------
18931|   105M|        const std::uint8_t type = utf8d[byte];
18932|       |
18933|   105M|        codep = (state != UTF8_ACCEPT)
  ------------------
  |  Branch (18933:17): [True: 7.55k, False: 105M]
  ------------------
18934|   105M|                ? (byte & 0x3fu) | (codep << 6u)
18935|   105M|                : (0xFFu >> type) & (byte);
18936|       |
18937|   105M|        const std::size_t index = 256u + static_cast<size_t>(state) * 16u + static_cast<size_t>(type);
18938|       |        JSON_ASSERT(index < utf8d.size());
  ------------------
  |  | 2552|   105M|    #define JSON_ASSERT(x) assert(x)
  ------------------
18939|   105M|        state = utf8d[index];
18940|   105M|        return state;
18941|   105M|    }
_ZN8nlohmann16json_abi_v3_11_36detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA29_KcS9_RA5_SA_S9_EEET_DpOT0_:
 4350|    165|{
 4351|    165|    OutStringType str;
 4352|    165|    str.reserve(concat_length(args...));
 4353|    165|    concat_into(str, std::forward<Args>(args)...);
 4354|    165|    return str;
 4355|    165|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthIJNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEA5_cS9_EEEmPKcDpRKT_:
 4253|    165|{
 4254|       |    // cppcheck-suppress ignoredReturnValue
 4255|    165|    return ::strlen(cstr) + concat_length(rest...);
 4256|    165|}
_ZN8nlohmann16json_abi_v3_11_36detail13concat_lengthINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJA5_cS9_EEEmRKT_DpRKT0_:
 4260|    165|{
 4261|    165|    return str.size() + concat_length(rest...);
 4262|    165|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA29_KcJS9_RA5_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_:
 4313|    165|{
 4314|    165|    out.append(std::forward<Arg>(arg));
 4315|    165|    concat_into(out, std::forward<Args>(rest)...);
 4316|    165|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEES9_JRA5_KcS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 4313|    165|{
 4314|    165|    out.append(std::forward<Arg>(arg));
 4315|    165|    concat_into(out, std::forward<Args>(rest)...);
 4316|    165|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA5_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 4313|    165|{
 4314|    165|    out.append(std::forward<Arg>(arg));
 4315|    165|    concat_into(out, std::forward<Args>(rest)...);
 4316|    165|}
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE9hex_bytesEh:
18686|    191|    {
18687|    191|        std::string result = "FF";
18688|    191|        constexpr const char* nibble_to_hex = "0123456789ABCDEF";
18689|    191|        result[0] = nibble_to_hex[byte / 16];
18690|    191|        result[1] = nibble_to_hex[byte % 16];
18691|    191|        return result;
18692|    191|    }
_ZN8nlohmann16json_abi_v3_11_36detail6concatINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEJRA39_KcS9_EEET_DpOT0_:
 4350|     26|{
 4351|     26|    OutStringType str;
 4352|     26|    str.reserve(concat_length(args...));
 4353|     26|    concat_into(str, std::forward<Args>(args)...);
 4354|     26|    return str;
 4355|     26|}
_ZN8nlohmann16json_abi_v3_11_36detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA39_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_:
 4313|     26|{
 4314|     26|    out.append(std::forward<Arg>(arg));
 4315|     26|    concat_into(out, std::forward<Args>(rest)...);
 4316|     26|}
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE11remove_signEl:
18964|    197|    {
18965|       |        JSON_ASSERT(x < 0 && x < (std::numeric_limits<number_integer_t>::max)()); // NOLINT(misc-redundant-expression)
  ------------------
  |  | 2552|    197|    #define JSON_ASSERT(x) assert(x)
  ------------------
18966|    197|        return static_cast<number_unsigned_t>(-(x + 1)) + 1;
18967|    197|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12count_digitsEm:
18655|  2.29M|    {
18656|  2.29M|        unsigned int n_digits = 1;
18657|  2.29M|        for (;;)
18658|  2.67M|        {
18659|  2.67M|            if (x < 10)
  ------------------
  |  Branch (18659:17): [True: 1.42M, False: 1.24M]
  ------------------
18660|  1.42M|            {
18661|  1.42M|                return n_digits;
18662|  1.42M|            }
18663|  1.24M|            if (x < 100)
  ------------------
  |  Branch (18663:17): [True: 732k, False: 516k]
  ------------------
18664|   732k|            {
18665|   732k|                return n_digits + 1;
18666|   732k|            }
18667|   516k|            if (x < 1000)
  ------------------
  |  Branch (18667:17): [True: 114k, False: 402k]
  ------------------
18668|   114k|            {
18669|   114k|                return n_digits + 2;
18670|   114k|            }
18671|   402k|            if (x < 10000)
  ------------------
  |  Branch (18671:17): [True: 22.7k, False: 379k]
  ------------------
18672|  22.7k|            {
18673|  22.7k|                return n_digits + 3;
18674|  22.7k|            }
18675|   379k|            x = x / 10000u;
18676|   379k|            n_digits += 4;
18677|   379k|        }
18678|  2.29M|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_integerImTnNS5_9enable_ifIXoooooosr3std11is_integralIT_EE5valuesr3std7is_sameISK_mEE5valuesr3std7is_sameISK_lEE5valuesr3std7is_sameISK_hEE5valueEiE4typeELi0EEEvSK_:
18723|   833k|    {
18724|   833k|        static constexpr std::array<std::array<char, 2>, 100> digits_to_99
18725|   833k|        {
18726|   833k|            {
18727|   833k|                {{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
18728|   833k|                {{'1', '0'}}, {{'1', '1'}}, {{'1', '2'}}, {{'1', '3'}}, {{'1', '4'}}, {{'1', '5'}}, {{'1', '6'}}, {{'1', '7'}}, {{'1', '8'}}, {{'1', '9'}},
18729|   833k|                {{'2', '0'}}, {{'2', '1'}}, {{'2', '2'}}, {{'2', '3'}}, {{'2', '4'}}, {{'2', '5'}}, {{'2', '6'}}, {{'2', '7'}}, {{'2', '8'}}, {{'2', '9'}},
18730|   833k|                {{'3', '0'}}, {{'3', '1'}}, {{'3', '2'}}, {{'3', '3'}}, {{'3', '4'}}, {{'3', '5'}}, {{'3', '6'}}, {{'3', '7'}}, {{'3', '8'}}, {{'3', '9'}},
18731|   833k|                {{'4', '0'}}, {{'4', '1'}}, {{'4', '2'}}, {{'4', '3'}}, {{'4', '4'}}, {{'4', '5'}}, {{'4', '6'}}, {{'4', '7'}}, {{'4', '8'}}, {{'4', '9'}},
18732|   833k|                {{'5', '0'}}, {{'5', '1'}}, {{'5', '2'}}, {{'5', '3'}}, {{'5', '4'}}, {{'5', '5'}}, {{'5', '6'}}, {{'5', '7'}}, {{'5', '8'}}, {{'5', '9'}},
18733|   833k|                {{'6', '0'}}, {{'6', '1'}}, {{'6', '2'}}, {{'6', '3'}}, {{'6', '4'}}, {{'6', '5'}}, {{'6', '6'}}, {{'6', '7'}}, {{'6', '8'}}, {{'6', '9'}},
18734|   833k|                {{'7', '0'}}, {{'7', '1'}}, {{'7', '2'}}, {{'7', '3'}}, {{'7', '4'}}, {{'7', '5'}}, {{'7', '6'}}, {{'7', '7'}}, {{'7', '8'}}, {{'7', '9'}},
18735|   833k|                {{'8', '0'}}, {{'8', '1'}}, {{'8', '2'}}, {{'8', '3'}}, {{'8', '4'}}, {{'8', '5'}}, {{'8', '6'}}, {{'8', '7'}}, {{'8', '8'}}, {{'8', '9'}},
18736|   833k|                {{'9', '0'}}, {{'9', '1'}}, {{'9', '2'}}, {{'9', '3'}}, {{'9', '4'}}, {{'9', '5'}}, {{'9', '6'}}, {{'9', '7'}}, {{'9', '8'}}, {{'9', '9'}},
18737|   833k|            }
18738|   833k|        };
18739|       |
18740|       |        // special case for "0"
18741|   833k|        if (x == 0)
  ------------------
  |  Branch (18741:13): [True: 15.6k, False: 817k]
  ------------------
18742|  15.6k|        {
18743|  15.6k|            o->write_character('0');
18744|  15.6k|            return;
18745|  15.6k|        }
18746|       |
18747|       |        // use a pointer to fill the buffer
18748|   817k|        auto buffer_ptr = number_buffer.begin(); // NOLINT(llvm-qualified-auto,readability-qualified-auto,cppcoreguidelines-pro-type-vararg,hicpp-vararg)
18749|       |
18750|   817k|        number_unsigned_t abs_value;
18751|       |
18752|   817k|        unsigned int n_chars{};
18753|       |
18754|   817k|        if (is_negative_number(x))
  ------------------
  |  Branch (18754:13): [True: 0, False: 817k]
  ------------------
18755|      0|        {
18756|      0|            *buffer_ptr = '-';
18757|      0|            abs_value = remove_sign(static_cast<number_integer_t>(x));
18758|       |
18759|       |            // account one more byte for the minus sign
18760|      0|            n_chars = 1 + count_digits(abs_value);
18761|      0|        }
18762|   817k|        else
18763|   817k|        {
18764|   817k|            abs_value = static_cast<number_unsigned_t>(x);
18765|   817k|            n_chars = count_digits(abs_value);
18766|   817k|        }
18767|       |
18768|       |        // spare 1 byte for '\0'
18769|   817k|        JSON_ASSERT(n_chars < number_buffer.size() - 1);
  ------------------
  |  | 2552|   817k|    #define JSON_ASSERT(x) assert(x)
  ------------------
18770|       |
18771|       |        // jump to the end to generate the string from backward,
18772|       |        // so we later avoid reversing the result
18773|   817k|        buffer_ptr += n_chars;
18774|       |
18775|       |        // Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
18776|       |        // See: https://www.youtube.com/watch?v=o4-CwDo2zpg
18777|  1.68M|        while (abs_value >= 100)
  ------------------
  |  Branch (18777:16): [True: 870k, False: 817k]
  ------------------
18778|   870k|        {
18779|   870k|            const auto digits_index = static_cast<unsigned>((abs_value % 100));
18780|   870k|            abs_value /= 100;
18781|   870k|            *(--buffer_ptr) = digits_to_99[digits_index][1];
18782|   870k|            *(--buffer_ptr) = digits_to_99[digits_index][0];
18783|   870k|        }
18784|       |
18785|   817k|        if (abs_value >= 10)
  ------------------
  |  Branch (18785:13): [True: 651k, False: 166k]
  ------------------
18786|   651k|        {
18787|   651k|            const auto digits_index = static_cast<unsigned>(abs_value);
18788|   651k|            *(--buffer_ptr) = digits_to_99[digits_index][1];
18789|   651k|            *(--buffer_ptr) = digits_to_99[digits_index][0];
18790|   651k|        }
18791|   166k|        else
18792|   166k|        {
18793|   166k|            *(--buffer_ptr) = static_cast<char>('0' + abs_value);
18794|   166k|        }
18795|       |
18796|   817k|        o->write_characters(number_buffer.data(), n_chars);
18797|   817k|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE18is_negative_numberImTnNS5_9enable_ifIXsr3std11is_unsignedIT_EE5valueEiE4typeELi0EEEbSK_:
18703|   817k|    {
18704|   817k|        return false;
18705|   817k|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_integerIlTnNS5_9enable_ifIXoooooosr3std11is_integralIT_EE5valuesr3std7is_sameISK_mEE5valuesr3std7is_sameISK_lEE5valuesr3std7is_sameISK_hEE5valueEiE4typeELi0EEEvSK_:
18723|  1.58M|    {
18724|  1.58M|        static constexpr std::array<std::array<char, 2>, 100> digits_to_99
18725|  1.58M|        {
18726|  1.58M|            {
18727|  1.58M|                {{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
18728|  1.58M|                {{'1', '0'}}, {{'1', '1'}}, {{'1', '2'}}, {{'1', '3'}}, {{'1', '4'}}, {{'1', '5'}}, {{'1', '6'}}, {{'1', '7'}}, {{'1', '8'}}, {{'1', '9'}},
18729|  1.58M|                {{'2', '0'}}, {{'2', '1'}}, {{'2', '2'}}, {{'2', '3'}}, {{'2', '4'}}, {{'2', '5'}}, {{'2', '6'}}, {{'2', '7'}}, {{'2', '8'}}, {{'2', '9'}},
18730|  1.58M|                {{'3', '0'}}, {{'3', '1'}}, {{'3', '2'}}, {{'3', '3'}}, {{'3', '4'}}, {{'3', '5'}}, {{'3', '6'}}, {{'3', '7'}}, {{'3', '8'}}, {{'3', '9'}},
18731|  1.58M|                {{'4', '0'}}, {{'4', '1'}}, {{'4', '2'}}, {{'4', '3'}}, {{'4', '4'}}, {{'4', '5'}}, {{'4', '6'}}, {{'4', '7'}}, {{'4', '8'}}, {{'4', '9'}},
18732|  1.58M|                {{'5', '0'}}, {{'5', '1'}}, {{'5', '2'}}, {{'5', '3'}}, {{'5', '4'}}, {{'5', '5'}}, {{'5', '6'}}, {{'5', '7'}}, {{'5', '8'}}, {{'5', '9'}},
18733|  1.58M|                {{'6', '0'}}, {{'6', '1'}}, {{'6', '2'}}, {{'6', '3'}}, {{'6', '4'}}, {{'6', '5'}}, {{'6', '6'}}, {{'6', '7'}}, {{'6', '8'}}, {{'6', '9'}},
18734|  1.58M|                {{'7', '0'}}, {{'7', '1'}}, {{'7', '2'}}, {{'7', '3'}}, {{'7', '4'}}, {{'7', '5'}}, {{'7', '6'}}, {{'7', '7'}}, {{'7', '8'}}, {{'7', '9'}},
18735|  1.58M|                {{'8', '0'}}, {{'8', '1'}}, {{'8', '2'}}, {{'8', '3'}}, {{'8', '4'}}, {{'8', '5'}}, {{'8', '6'}}, {{'8', '7'}}, {{'8', '8'}}, {{'8', '9'}},
18736|  1.58M|                {{'9', '0'}}, {{'9', '1'}}, {{'9', '2'}}, {{'9', '3'}}, {{'9', '4'}}, {{'9', '5'}}, {{'9', '6'}}, {{'9', '7'}}, {{'9', '8'}}, {{'9', '9'}},
18737|  1.58M|            }
18738|  1.58M|        };
18739|       |
18740|       |        // special case for "0"
18741|  1.58M|        if (x == 0)
  ------------------
  |  Branch (18741:13): [True: 110k, False: 1.47M]
  ------------------
18742|   110k|        {
18743|   110k|            o->write_character('0');
18744|   110k|            return;
18745|   110k|        }
18746|       |
18747|       |        // use a pointer to fill the buffer
18748|  1.47M|        auto buffer_ptr = number_buffer.begin(); // NOLINT(llvm-qualified-auto,readability-qualified-auto,cppcoreguidelines-pro-type-vararg,hicpp-vararg)
18749|       |
18750|  1.47M|        number_unsigned_t abs_value;
18751|       |
18752|  1.47M|        unsigned int n_chars{};
18753|       |
18754|  1.47M|        if (is_negative_number(x))
  ------------------
  |  Branch (18754:13): [True: 197, False: 1.47M]
  ------------------
18755|    197|        {
18756|    197|            *buffer_ptr = '-';
18757|    197|            abs_value = remove_sign(static_cast<number_integer_t>(x));
18758|       |
18759|       |            // account one more byte for the minus sign
18760|    197|            n_chars = 1 + count_digits(abs_value);
18761|    197|        }
18762|  1.47M|        else
18763|  1.47M|        {
18764|  1.47M|            abs_value = static_cast<number_unsigned_t>(x);
18765|  1.47M|            n_chars = count_digits(abs_value);
18766|  1.47M|        }
18767|       |
18768|       |        // spare 1 byte for '\0'
18769|  1.47M|        JSON_ASSERT(n_chars < number_buffer.size() - 1);
  ------------------
  |  | 2552|  1.47M|    #define JSON_ASSERT(x) assert(x)
  ------------------
18770|       |
18771|       |        // jump to the end to generate the string from backward,
18772|       |        // so we later avoid reversing the result
18773|  1.47M|        buffer_ptr += n_chars;
18774|       |
18775|       |        // Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
18776|       |        // See: https://www.youtube.com/watch?v=o4-CwDo2zpg
18777|  1.49M|        while (abs_value >= 100)
  ------------------
  |  Branch (18777:16): [True: 24.7k, False: 1.47M]
  ------------------
18778|  24.7k|        {
18779|  24.7k|            const auto digits_index = static_cast<unsigned>((abs_value % 100));
18780|  24.7k|            abs_value /= 100;
18781|  24.7k|            *(--buffer_ptr) = digits_to_99[digits_index][1];
18782|  24.7k|            *(--buffer_ptr) = digits_to_99[digits_index][0];
18783|  24.7k|        }
18784|       |
18785|  1.47M|        if (abs_value >= 10)
  ------------------
  |  Branch (18785:13): [True: 104k, False: 1.37M]
  ------------------
18786|   104k|        {
18787|   104k|            const auto digits_index = static_cast<unsigned>(abs_value);
18788|   104k|            *(--buffer_ptr) = digits_to_99[digits_index][1];
18789|   104k|            *(--buffer_ptr) = digits_to_99[digits_index][0];
18790|   104k|        }
18791|  1.37M|        else
18792|  1.37M|        {
18793|  1.37M|            *(--buffer_ptr) = static_cast<char>('0' + abs_value);
18794|  1.37M|        }
18795|       |
18796|  1.47M|        o->write_characters(number_buffer.data(), n_chars);
18797|  1.47M|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE18is_negative_numberIlTnNS5_9enable_ifIXsr9is_signedIT_EE5valueEiE4typeELi0EEEbSK_:
18697|  1.47M|    {
18698|  1.47M|        return x < 0;
18699|  1.47M|    }
_ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEED2Ev:
18091|  6.33k|    ~serializer() = default;

_ZN12rnp_input_stC2Ev:
 2240|  18.2k|rnp_input_st::rnp_input_st() : reader(NULL), closer(NULL), app_ctx(NULL)
 2241|  18.2k|{
 2242|  18.2k|    memset(&src, 0, sizeof(src));
 2243|  18.2k|}
_ZN12rnp_input_stD2Ev:
 2262|  18.2k|{
 2263|  18.2k|    bool armored = src.type == PGP_STREAM_ARMORED;
 2264|  18.2k|    src.close();
 2265|  18.2k|    if (armored) {
  ------------------
  |  Branch (2265:9): [True: 0, False: 18.2k]
  ------------------
 2266|      0|        rnp_input_t armored = (rnp_input_t) app_ctx;
 2267|      0|        delete armored;
 2268|       |        app_ctx = NULL;
 2269|      0|    }
 2270|  18.2k|}
rnp_input_from_memory:
 2319|  18.2k|try {
 2320|  18.2k|    if (!input) {
  ------------------
  |  Branch (2320:9): [True: 0, False: 18.2k]
  ------------------
 2321|      0|        return RNP_ERROR_NULL_POINTER;
 2322|      0|    }
 2323|  18.2k|    if (!buf && buf_len) {
  ------------------
  |  Branch (2323:9): [True: 0, False: 18.2k]
  |  Branch (2323:17): [True: 0, False: 0]
  ------------------
 2324|      0|        return RNP_ERROR_NULL_POINTER;
 2325|      0|    }
 2326|  18.2k|    if (!buf_len) {
  ------------------
  |  Branch (2326:9): [True: 0, False: 18.2k]
  ------------------
 2327|       |        // prevent malloc(0)
 2328|      0|        do_copy = false;
 2329|      0|    }
 2330|  18.2k|    *input = new rnp_input_st();
 2331|  18.2k|    uint8_t *data = (uint8_t *) buf;
 2332|  18.2k|    if (do_copy) {
  ------------------
  |  Branch (2332:9): [True: 0, False: 18.2k]
  ------------------
 2333|      0|        data = (uint8_t *) malloc(buf_len);
 2334|      0|        if (!data) {
  ------------------
  |  Branch (2334:13): [True: 0, False: 0]
  ------------------
 2335|       |            /* LCOV_EXCL_START */
 2336|      0|            delete *input;
 2337|      0|            *input = NULL;
 2338|      0|            return RNP_ERROR_OUT_OF_MEMORY;
 2339|       |            /* LCOV_EXCL_END */
 2340|      0|        }
 2341|      0|        memcpy(data, buf, buf_len);
 2342|      0|    }
 2343|  18.2k|    rnp_result_t ret = init_mem_src(&(*input)->src, data, buf_len, do_copy);
 2344|  18.2k|    if (ret) {
  ------------------
  |  Branch (2344:9): [True: 0, False: 18.2k]
  ------------------
 2345|       |        /* LCOV_EXCL_START */
 2346|      0|        if (do_copy) {
  ------------------
  |  Branch (2346:13): [True: 0, False: 0]
  ------------------
 2347|      0|            free(data);
 2348|      0|        }
 2349|      0|        delete *input;
 2350|      0|        *input = NULL;
 2351|       |        /* LCOV_EXCL_END */
 2352|      0|    }
 2353|  18.2k|    return ret;
 2354|  18.2k|}
 2355|  18.2k|FFI_GUARD
  ------------------
  |  |  619|  18.2k|#define FFI_GUARD FFI_GUARD_FP((stderr))
  |  |  ------------------
  |  |  |  |  602|  18.2k|    catch (rnp::rnp_exception & e)                                                  \
  |  |  |  |  603|  18.2k|    {                                                                               \
  |  |  |  |  604|      0|        return ffi_exception((fp), __func__, e.what(), e.code());                   \
  |  |  |  |  605|      0|    }                                                                               \
  |  |  |  |  606|  18.2k|    catch (std::bad_alloc &)                                                        \
  |  |  |  |  607|  18.2k|    {                                                                               \
  |  |  |  |  608|      0|        return ffi_exception((fp), __func__, "bad_alloc", RNP_ERROR_OUT_OF_MEMORY); \
  |  |  |  |  609|      0|    }                                                                               \
  |  |  |  |  610|  18.2k|    catch (std::exception & e)                                                      \
  |  |  |  |  611|  18.2k|    {                                                                               \
  |  |  |  |  612|      0|        return ffi_exception((fp), __func__, e.what());                             \
  |  |  |  |  613|      0|    }                                                                               \
  |  |  |  |  614|  18.2k|    catch (...)                                                                     \
  |  |  |  |  615|  18.2k|    {                                                                               \
  |  |  |  |  616|      0|        return ffi_exception((fp), __func__, "unknown exception");                  \
  |  |  |  |  617|      0|    }
  |  |  ------------------
  ------------------
rnp_input_destroy:
 2408|  18.2k|try {
 2409|  18.2k|    delete input;
 2410|  18.2k|    return RNP_SUCCESS;
 2411|  18.2k|}
 2412|  18.2k|FFI_GUARD
  ------------------
  |  |  619|  18.2k|#define FFI_GUARD FFI_GUARD_FP((stderr))
  |  |  ------------------
  |  |  |  |  602|  18.2k|    catch (rnp::rnp_exception & e)                                                  \
  |  |  |  |  603|  18.2k|    {                                                                               \
  |  |  |  |  604|      0|        return ffi_exception((fp), __func__, e.what(), e.code());                   \
  |  |  |  |  605|      0|    }                                                                               \
  |  |  |  |  606|  18.2k|    catch (std::bad_alloc &)                                                        \
  |  |  |  |  607|  18.2k|    {                                                                               \
  |  |  |  |  608|      0|        return ffi_exception((fp), __func__, "bad_alloc", RNP_ERROR_OUT_OF_MEMORY); \
  |  |  |  |  609|      0|    }                                                                               \
  |  |  |  |  610|  18.2k|    catch (std::exception & e)                                                      \
  |  |  |  |  611|  18.2k|    {                                                                               \
  |  |  |  |  612|      0|        return ffi_exception((fp), __func__, e.what());                             \
  |  |  |  |  613|      0|    }                                                                               \
  |  |  |  |  614|  18.2k|    catch (...)                                                                     \
  |  |  |  |  615|  18.2k|    {                                                                               \
  |  |  |  |  616|      0|        return ffi_exception((fp), __func__, "unknown exception");                  \
  |  |  |  |  617|      0|    }
  |  |  ------------------
  ------------------
rnp_output_to_null:
 2600|  9.14k|try {
 2601|       |    // checks
 2602|  9.14k|    if (!output) {
  ------------------
  |  Branch (2602:9): [True: 0, False: 9.14k]
  ------------------
 2603|      0|        return RNP_ERROR_NULL_POINTER;
 2604|      0|    }
 2605|       |
 2606|  9.14k|    *output = new rnp_output_st{};
 2607|  9.14k|    rnp_result_t ret = init_null_dest(&(*output)->dst);
 2608|  9.14k|    if (ret) {
  ------------------
  |  Branch (2608:9): [True: 0, False: 9.14k]
  ------------------
 2609|       |        /* LCOV_EXCL_START */
 2610|      0|        delete *output;
 2611|      0|        *output = NULL;
 2612|       |        /* LCOV_EXCL_END */
 2613|      0|    }
 2614|  9.14k|    return ret;
 2615|  9.14k|}
 2616|  9.14k|FFI_GUARD
  ------------------
  |  |  619|  9.14k|#define FFI_GUARD FFI_GUARD_FP((stderr))
  |  |  ------------------
  |  |  |  |  602|  9.14k|    catch (rnp::rnp_exception & e)                                                  \
  |  |  |  |  603|  9.14k|    {                                                                               \
  |  |  |  |  604|      0|        return ffi_exception((fp), __func__, e.what(), e.code());                   \
  |  |  |  |  605|      0|    }                                                                               \
  |  |  |  |  606|  9.14k|    catch (std::bad_alloc &)                                                        \
  |  |  |  |  607|  9.14k|    {                                                                               \
  |  |  |  |  608|      0|        return ffi_exception((fp), __func__, "bad_alloc", RNP_ERROR_OUT_OF_MEMORY); \
  |  |  |  |  609|      0|    }                                                                               \
  |  |  |  |  610|  9.14k|    catch (std::exception & e)                                                      \
  |  |  |  |  611|  9.14k|    {                                                                               \
  |  |  |  |  612|      0|        return ffi_exception((fp), __func__, e.what());                             \
  |  |  |  |  613|      0|    }                                                                               \
  |  |  |  |  614|  9.14k|    catch (...)                                                                     \
  |  |  |  |  615|  9.14k|    {                                                                               \
  |  |  |  |  616|      0|        return ffi_exception((fp), __func__, "unknown exception");                  \
  |  |  |  |  617|      0|    }
  |  |  ------------------
  ------------------
rnp_output_destroy:
 2679|  9.14k|try {
 2680|  9.14k|    if (output) {
  ------------------
  |  Branch (2680:9): [True: 9.14k, False: 0]
  ------------------
 2681|  9.14k|        if (output->dst.type == PGP_STREAM_ARMORED) {
  ------------------
  |  Branch (2681:13): [True: 0, False: 9.14k]
  ------------------
 2682|      0|            ((rnp_output_t) output->app_ctx)->keep = output->keep;
 2683|      0|        }
 2684|  9.14k|        dst_close(&output->dst, !output->keep);
 2685|  9.14k|        free(output->dst_directory);
 2686|  9.14k|        delete output;
 2687|  9.14k|    }
 2688|  9.14k|    return RNP_SUCCESS;
 2689|  9.14k|}
 2690|  9.14k|FFI_GUARD
  ------------------
  |  |  619|  9.14k|#define FFI_GUARD FFI_GUARD_FP((stderr))
  |  |  ------------------
  |  |  |  |  602|  9.14k|    catch (rnp::rnp_exception & e)                                                  \
  |  |  |  |  603|  9.14k|    {                                                                               \
  |  |  |  |  604|      0|        return ffi_exception((fp), __func__, e.what(), e.code());                   \
  |  |  |  |  605|      0|    }                                                                               \
  |  |  |  |  606|  9.14k|    catch (std::bad_alloc &)                                                        \
  |  |  |  |  607|  9.14k|    {                                                                               \
  |  |  |  |  608|      0|        return ffi_exception((fp), __func__, "bad_alloc", RNP_ERROR_OUT_OF_MEMORY); \
  |  |  |  |  609|      0|    }                                                                               \
  |  |  |  |  610|  9.14k|    catch (std::exception & e)                                                      \
  |  |  |  |  611|  9.14k|    {                                                                               \
  |  |  |  |  612|      0|        return ffi_exception((fp), __func__, e.what());                             \
  |  |  |  |  613|      0|    }                                                                               \
  |  |  |  |  614|  9.14k|    catch (...)                                                                     \
  |  |  |  |  615|  9.14k|    {                                                                               \
  |  |  |  |  616|      0|        return ffi_exception((fp), __func__, "unknown exception");                  \
  |  |  |  |  617|      0|    }
  |  |  ------------------
  ------------------
rnp_buffer_destroy:
 5886|  9.14k|{
 5887|  9.14k|    free(ptr);
 5888|  9.14k|}
rnp_dump_packets_to_json:
 9132|  9.14k|try {
 9133|  9.14k|    if (!input || !result) {
  ------------------
  |  Branch (9133:9): [True: 0, False: 9.14k]
  |  Branch (9133:19): [True: 0, False: 9.14k]
  ------------------
 9134|      0|        return RNP_ERROR_NULL_POINTER;
 9135|      0|    }
 9136|  9.14k|    return rnp_dump_src_to_json(input->src, flags, result);
 9137|  9.14k|}
 9138|  9.14k|FFI_GUARD
  ------------------
  |  |  619|  9.14k|#define FFI_GUARD FFI_GUARD_FP((stderr))
  |  |  ------------------
  |  |  |  |  602|  9.14k|    catch (rnp::rnp_exception & e)                                                  \
  |  |  |  |  603|  9.14k|    {                                                                               \
  |  |  |  |  604|    635|        return ffi_exception((fp), __func__, e.what(), e.code());                   \
  |  |  |  |  605|    635|    }                                                                               \
  |  |  |  |  606|  9.14k|    catch (std::bad_alloc &)                                                        \
  |  |  |  |  607|  9.14k|    {                                                                               \
  |  |  |  |  608|      0|        return ffi_exception((fp), __func__, "bad_alloc", RNP_ERROR_OUT_OF_MEMORY); \
  |  |  |  |  609|      0|    }                                                                               \
  |  |  |  |  610|  9.14k|    catch (std::exception & e)                                                      \
  |  |  |  |  611|  9.14k|    {                                                                               \
  |  |  |  |  612|    191|        return ffi_exception((fp), __func__, e.what());                             \
  |  |  |  |  613|    191|    }                                                                               \
  |  |  |  |  614|  9.14k|    catch (...)                                                                     \
  |  |  |  |  615|  9.14k|    {                                                                               \
  |  |  |  |  616|      0|        return ffi_exception((fp), __func__, "unknown exception");                  \
  |  |  |  |  617|      0|    }
  |  |  ------------------
  ------------------
rnp_dump_packets_to_output:
 9142|  9.14k|try {
 9143|  9.14k|    if (!input || !output) {
  ------------------
  |  Branch (9143:9): [True: 0, False: 9.14k]
  |  Branch (9143:19): [True: 0, False: 9.14k]
  ------------------
 9144|      0|        return RNP_ERROR_NULL_POINTER;
 9145|      0|    }
 9146|       |
 9147|  9.14k|    rnp::DumpContextDst dumpctx(input->src, output->dst);
 9148|  9.14k|    dumpctx.set_dump_mpi(extract_flag(flags, RNP_JSON_DUMP_MPI));
  ------------------
  |  |   69|  9.14k|#define RNP_JSON_DUMP_MPI (1U << 0)
  ------------------
 9149|  9.14k|    dumpctx.set_dump_packets(extract_flag(flags, RNP_JSON_DUMP_RAW));
  ------------------
  |  |   70|  9.14k|#define RNP_JSON_DUMP_RAW (1U << 1)
  ------------------
 9150|  9.14k|    dumpctx.set_dump_grips(extract_flag(flags, RNP_JSON_DUMP_GRIP));
  ------------------
  |  |   71|  9.14k|#define RNP_JSON_DUMP_GRIP (1U << 2)
  ------------------
 9151|  9.14k|    if (flags) {
  ------------------
  |  Branch (9151:9): [True: 0, False: 9.14k]
  ------------------
 9152|      0|        return RNP_ERROR_BAD_PARAMETERS;
 9153|      0|    }
 9154|       |
 9155|  9.14k|    rnp_result_t ret = dumpctx.dump();
 9156|  9.14k|    output->keep = true;
 9157|  9.14k|    return ret;
 9158|  9.14k|}
 9159|  9.14k|FFI_GUARD
  ------------------
  |  |  619|  9.14k|#define FFI_GUARD FFI_GUARD_FP((stderr))
  |  |  ------------------
  |  |  |  |  602|  9.14k|    catch (rnp::rnp_exception & e)                                                  \
  |  |  |  |  603|  9.14k|    {                                                                               \
  |  |  |  |  604|    697|        return ffi_exception((fp), __func__, e.what(), e.code());                   \
  |  |  |  |  605|    697|    }                                                                               \
  |  |  |  |  606|  9.14k|    catch (std::bad_alloc &)                                                        \
  |  |  |  |  607|  9.14k|    {                                                                               \
  |  |  |  |  608|      0|        return ffi_exception((fp), __func__, "bad_alloc", RNP_ERROR_OUT_OF_MEMORY); \
  |  |  |  |  609|      0|    }                                                                               \
  |  |  |  |  610|  9.14k|    catch (std::exception & e)                                                      \
  |  |  |  |  611|  9.14k|    {                                                                               \
  |  |  |  |  612|      0|        return ffi_exception((fp), __func__, e.what());                             \
  |  |  |  |  613|      0|    }                                                                               \
  |  |  |  |  614|  9.14k|    catch (...)                                                                     \
  |  |  |  |  615|  9.14k|    {                                                                               \
  |  |  |  |  616|      0|        return ffi_exception((fp), __func__, "unknown exception");                  \
  |  |  |  |  617|      0|    }
  |  |  ------------------
  ------------------
rnp.cpp:_ZL13ffi_exceptionP8_IO_FILEPKcS2_j:
  593|  1.52k|{
  594|  1.52k|    if (rnp_log_switch()) {
  ------------------
  |  Branch (594:9): [True: 0, False: 1.52k]
  ------------------
  595|      0|        fprintf(
  596|      0|          fp, "[%s()] Error 0x%08X (%s): %s\n", func, ret, rnp_result_to_string(ret), msg);
  597|      0|    }
  598|  1.52k|    return ret;
  599|  1.52k|}
rnp.cpp:_ZL13ret_str_valuePKcPPc:
  542|  6.13k|{
  543|  6.13k|    if (!str) {
  ------------------
  |  Branch (543:9): [True: 0, False: 6.13k]
  ------------------
  544|      0|        return RNP_ERROR_BAD_PARAMETERS;
  545|      0|    }
  546|  6.13k|    char *strcp = strdup(str);
  547|  6.13k|    if (!strcp) {
  ------------------
  |  Branch (547:9): [True: 0, False: 6.13k]
  ------------------
  548|      0|        *res = NULL;                    // LCOV_EXCL_LINE
  549|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
  550|      0|    }
  551|  6.13k|    *res = strcp;
  552|  6.13k|    return RNP_SUCCESS;
  553|  6.13k|}
rnp.cpp:_ZL12extract_flagRjj:
 1298|  54.8k|{
 1299|  54.8k|    bool res = flags & flag;
 1300|  54.8k|    flags &= ~flag;
 1301|  54.8k|    return res;
 1302|  54.8k|}
rnp.cpp:_ZL20rnp_dump_src_to_jsonR12pgp_source_tjPPc:
 9093|  9.14k|{
 9094|  9.14k|    nlohmann::ordered_json jso;
 9095|  9.14k|    rnp::DumpContextJson   dumpctx(src, &jso);
 9096|       |
 9097|  9.14k|    dumpctx.set_dump_mpi(extract_flag(flags, RNP_JSON_DUMP_MPI));
  ------------------
  |  |   69|  9.14k|#define RNP_JSON_DUMP_MPI (1U << 0)
  ------------------
 9098|  9.14k|    dumpctx.set_dump_packets(extract_flag(flags, RNP_JSON_DUMP_RAW));
  ------------------
  |  |   70|  9.14k|#define RNP_JSON_DUMP_RAW (1U << 1)
  ------------------
 9099|  9.14k|    dumpctx.set_dump_grips(extract_flag(flags, RNP_JSON_DUMP_GRIP));
  ------------------
  |  |   71|  9.14k|#define RNP_JSON_DUMP_GRIP (1U << 2)
  ------------------
 9100|  9.14k|    if (flags) {
  ------------------
  |  Branch (9100:9): [True: 0, False: 9.14k]
  ------------------
 9101|      0|        return RNP_ERROR_BAD_PARAMETERS;
 9102|      0|    }
 9103|       |
 9104|  9.14k|    rnp_result_t ret = dumpctx.dump();
 9105|  9.14k|    if (ret) {
  ------------------
  |  Branch (9105:9): [True: 2.17k, False: 6.96k]
  ------------------
 9106|  2.17k|        return ret;
 9107|  2.17k|    }
 9108|       |
 9109|  6.96k|    return ret_str_value(rnp::json::dump_pretty(jso).c_str(), result);
 9110|  9.14k|}

_ZN3pgp11SigMaterial6createE16pgp_pubkey_alg_t14pgp_hash_alg_t:
   35|  64.7k|{
   36|  64.7k|    switch (palg) {
   37|  20.3k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (37:5): [True: 20.3k, False: 44.3k]
  ------------------
   38|  38.1k|    case PGP_PKA_RSA_SIGN_ONLY:
  ------------------
  |  Branch (38:5): [True: 17.7k, False: 46.9k]
  ------------------
   39|  38.1k|        return std::unique_ptr<SigMaterial>(new RSASigMaterial(halg));
   40|  2.30k|    case PGP_PKA_DSA:
  ------------------
  |  Branch (40:5): [True: 2.30k, False: 62.4k]
  ------------------
   41|  2.30k|        return std::unique_ptr<SigMaterial>(new DSASigMaterial(halg));
   42|  9.75k|    case PGP_PKA_EDDSA:
  ------------------
  |  Branch (42:5): [True: 9.75k, False: 54.9k]
  ------------------
   43|  12.9k|    case PGP_PKA_ECDSA:
  ------------------
  |  Branch (43:5): [True: 3.19k, False: 61.5k]
  ------------------
   44|  14.0k|    case PGP_PKA_SM2:
  ------------------
  |  Branch (44:5): [True: 1.14k, False: 63.5k]
  ------------------
   45|  15.8k|    case PGP_PKA_ECDH:
  ------------------
  |  Branch (45:5): [True: 1.74k, False: 62.9k]
  ------------------
   46|  15.8k|        return std::unique_ptr<SigMaterial>(new ECSigMaterial(halg));
   47|  2.05k|    case PGP_PKA_ELGAMAL: /* we support reading it but will not validate */
  ------------------
  |  Branch (47:5): [True: 2.05k, False: 62.6k]
  ------------------
   48|  3.93k|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN:
  ------------------
  |  Branch (48:5): [True: 1.88k, False: 62.8k]
  ------------------
   49|  3.93k|        return std::unique_ptr<SigMaterial>(new EGSigMaterial(halg));
   50|      0|#if defined(ENABLE_CRYPTO_REFRESH)
   51|  1.09k|    case PGP_PKA_ED25519: {
  ------------------
  |  Branch (51:5): [True: 1.09k, False: 63.6k]
  ------------------
   52|  1.09k|        return std::unique_ptr<SigMaterial>(new Ed25519SigMaterial(halg));
   53|  2.05k|    }
   54|    349|    case PGP_PKA_ED448: {
  ------------------
  |  Branch (54:5): [True: 349, False: 64.3k]
  ------------------
   55|    349|        return std::unique_ptr<SigMaterial>(new Ed448SigMaterial(halg));
   56|  2.05k|    }
   57|      0|#endif
   58|      0|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
   59|    360|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (59:5): [True: 360, False: 64.3k]
  ------------------
   60|    360|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    360|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   61|    682|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (61:5): [True: 322, False: 64.4k]
  ------------------
   62|    682|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    682|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   63|    968|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (63:5): [True: 286, False: 64.4k]
  ------------------
   64|    968|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    968|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   65|  1.20k|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (65:5): [True: 240, False: 64.4k]
  ------------------
   66|  1.20k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.20k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   67|  1.44k|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (67:5): [True: 238, False: 64.4k]
  ------------------
   68|  1.44k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  1.44k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   69|  1.69k|    case PGP_PKA_DILITHIUM5_BP512:
  ------------------
  |  Branch (69:5): [True: 246, False: 64.4k]
  ------------------
   70|  1.69k|        return std::unique_ptr<SigMaterial>(new DilithiumSigMaterial(palg, halg));
   71|    240|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (71:5): [True: 240, False: 64.4k]
  ------------------
   72|    240|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    240|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   73|    484|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (73:5): [True: 244, False: 64.4k]
  ------------------
   74|    484|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    484|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   75|    724|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s:
  ------------------
  |  Branch (75:5): [True: 240, False: 64.4k]
  ------------------
   76|    724|        return std::unique_ptr<SigMaterial>(new SlhdsaSigMaterial(palg, halg));
   77|      0|#endif
   78|    648|    default:
  ------------------
  |  Branch (78:5): [True: 648, False: 64.0k]
  ------------------
   79|    648|        RNP_LOG("Unknown pk algorithm : %d", (int) palg);
  ------------------
  |  |   84|    648|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    648|    do {                                                                                 \
  |  |  |  |   77|    648|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 648, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    648|            break;                                                                       \
  |  |  |  |   79|    648|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|    648|        return nullptr;
   81|  64.7k|    }
   82|  64.7k|}
_ZN3pgp14RSASigMaterial5parseER17pgp_packet_body_t:
   86|  38.1k|{
   87|  38.1k|    return pkt.get(sig.s);
   88|  38.1k|}
_ZN3pgp14DSASigMaterial5parseER17pgp_packet_body_t:
   98|  2.30k|{
   99|  2.30k|    return pkt.get(sig.r) && pkt.get(sig.s);
  ------------------
  |  Branch (99:12): [True: 2.09k, False: 212]
  |  Branch (99:30): [True: 2.01k, False: 77]
  ------------------
  100|  2.30k|}
_ZN3pgp13EGSigMaterial5parseER17pgp_packet_body_t:
  111|  3.93k|{
  112|  3.93k|    return pkt.get(sig.r) && pkt.get(sig.s);
  ------------------
  |  Branch (112:12): [True: 3.49k, False: 439]
  |  Branch (112:30): [True: 3.39k, False: 103]
  ------------------
  113|  3.93k|}
_ZN3pgp13ECSigMaterial5parseER17pgp_packet_body_t:
  125|  15.8k|{
  126|  15.8k|    return pkt.get(sig.r) && pkt.get(sig.s);
  ------------------
  |  Branch (126:12): [True: 14.5k, False: 1.25k]
  |  Branch (126:30): [True: 14.4k, False: 100]
  ------------------
  127|  15.8k|}
_ZN3pgp18Ed25519SigMaterial5parseER17pgp_packet_body_t:
  139|  1.09k|{
  140|  1.09k|    auto ec_desc = pgp::ec::Curve::get(PGP_CURVE_25519);
  141|  1.09k|    if (!pkt.get(sig.sig, 2 * ec_desc->bytes())) {
  ------------------
  |  Branch (141:9): [True: 270, False: 826]
  ------------------
  142|    270|        RNP_LOG("failed to parse ED25519 signature data");
  ------------------
  |  |   84|    270|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    270|    do {                                                                                 \
  |  |  |  |   77|    270|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 270, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    270|            break;                                                                       \
  |  |  |  |   79|    270|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|    270|        return false;
  144|    270|    }
  145|    826|    return true;
  146|  1.09k|}
_ZN3pgp16Ed448SigMaterial5parseER17pgp_packet_body_t:
  156|    349|{
  157|    349|    auto ec_desc = pgp::ec::Curve::get(PGP_CURVE_448);
  158|    349|    if (!pkt.get(sig.sig, 2 * ec_desc->bytes())) {
  ------------------
  |  Branch (158:9): [True: 248, False: 101]
  ------------------
  159|    248|        RNP_LOG("failed to parse ED448 signature data");
  ------------------
  |  |   84|    248|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    248|    do {                                                                                 \
  |  |  |  |   77|    248|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 248, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    248|            break;                                                                       \
  |  |  |  |   79|    248|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  160|    248|        return false;
  161|    248|    }
  162|    101|    return true;
  163|    349|}
_ZN3pgp20DilithiumSigMaterial5parseER17pgp_packet_body_t:
  175|  1.69k|{
  176|  1.69k|    if (!pkt.get(sig.sig, pgp_dilithium_exdsa_signature_t::composite_signature_size(palg))) {
  ------------------
  |  Branch (176:9): [True: 1.48k, False: 208]
  ------------------
  177|  1.48k|        RNP_LOG("failed to get mldsa-ecdsa/eddsa signature");
  ------------------
  |  |   84|  1.48k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.48k|    do {                                                                                 \
  |  |  |  |   77|  1.48k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.48k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.48k|            break;                                                                       \
  |  |  |  |   79|  1.48k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|  1.48k|        return false;
  179|  1.48k|    }
  180|    208|    return true;
  181|  1.69k|}
_ZN3pgp17SlhdsaSigMaterial5parseER17pgp_packet_body_t:
  191|    724|{
  192|    724|    auto sig_size = sphincsplus_signature_size(palg);
  193|    724|    if (!sig_size) {
  ------------------
  |  Branch (193:9): [True: 0, False: 724]
  ------------------
  194|      0|        RNP_LOG("invalid SLH-DSA algorithm value");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|      0|        return false;
  196|      0|    }
  197|    724|    if (!pkt.get(sig.sig, sig_size)) {
  ------------------
  |  Branch (197:9): [True: 648, False: 76]
  ------------------
  198|    648|        RNP_LOG("failed to parse SLH-DSA signature data");
  ------------------
  |  |   84|    648|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    648|    do {                                                                                 \
  |  |  |  |   77|    648|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 648, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    648|            break;                                                                       \
  |  |  |  |   79|    648|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|    648|        return false;
  200|    648|    }
  201|     76|    return true;
  202|    724|}

_ZN3pgp11SigMaterialC2E14pgp_hash_alg_t:
   40|  64.0k|    SigMaterial(pgp_hash_alg_t ahalg) : halg(ahalg){};
_ZN3pgp11SigMaterialD2Ev:
   41|  64.0k|    virtual ~SigMaterial(){};
_ZN3pgp14RSASigMaterialC2E14pgp_hash_alg_t:
   52|  38.1k|    RSASigMaterial(pgp_hash_alg_t ahalg) : SigMaterial(ahalg){};
_ZN3pgp14DSASigMaterialC2E14pgp_hash_alg_t:
   61|  2.30k|    DSASigMaterial(pgp_hash_alg_t ahalg) : SigMaterial(ahalg){};
_ZN3pgp13EGSigMaterialC2E14pgp_hash_alg_t:
   70|  3.93k|    EGSigMaterial(pgp_hash_alg_t ahalg) : SigMaterial(ahalg){};
_ZN3pgp13ECSigMaterialC2E14pgp_hash_alg_t:
   79|  15.8k|    ECSigMaterial(pgp_hash_alg_t ahalg) : SigMaterial(ahalg){};
_ZN3pgp18Ed25519SigMaterialC2E14pgp_hash_alg_t:
   89|  1.09k|    Ed25519SigMaterial(pgp_hash_alg_t ahalg) : SigMaterial(ahalg){};
_ZN3pgp16Ed448SigMaterialC2E14pgp_hash_alg_t:
   98|    349|    Ed448SigMaterial(pgp_hash_alg_t ahalg) : SigMaterial(ahalg){};
_ZN3pgp20DilithiumSigMaterialC2E16pgp_pubkey_alg_t14pgp_hash_alg_t:
  112|  1.69k|        : SigMaterial(ahalg), palg(apalg){};
_ZN3pgp17SlhdsaSigMaterialC2E16pgp_pubkey_alg_t14pgp_hash_alg_t:
  123|    724|        : SigMaterial(ahalg), palg(apalg){};

_ZN3pgp3pkt6sigsub3RawC2Ehbb:
   43|  27.9k|    : hashed_(hashed), raw_type_(rawtype), critical_(critical), type_(Type::Unknown)
   44|  27.9k|{
   45|  27.9k|}
_ZN3pgp3pkt6sigsub3RawC2ENS1_4TypeEbb:
   48|   185k|    : hashed_(hashed), raw_type_(static_cast<uint8_t>(type)), critical_(critical), type_(type)
   49|   185k|{
   50|   185k|}
_ZN3pgp3pkt6sigsub3RawD2Ev:
   53|   223k|{
   54|   223k|}
_ZNK3pgp3pkt6sigsub3Raw10check_sizeEm:
   58|  47.0k|{
   59|  47.0k|    return true;
   60|  47.0k|};
_ZN3pgp3pkt6sigsub3Raw10parse_dataEPKhm:
   64|  27.9k|{
   65|  27.9k|    return true;
   66|  27.9k|};
_ZN3pgp3pkt6sigsub3Raw5parseEPKhmm:
   70|   213k|{
   71|   213k|    parse_depth_ = depth;
   72|   213k|    if (!check_size(size)) {
  ------------------
  |  Branch (72:9): [True: 76.7k, False: 136k]
  ------------------
   73|  76.7k|        RNP_LOG("wrong len %zu of subpacket type %" PRIu8, size, raw_type_);
  ------------------
  |  |   84|  76.7k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  76.7k|    do {                                                                                 \
  |  |  |  |   77|  76.7k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 76.7k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  76.7k|            break;                                                                       \
  |  |  |  |   79|  76.7k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   74|  76.7k|        return false;
   75|  76.7k|    }
   76|   136k|    if (!parse_data(data, size)) {
  ------------------
  |  Branch (76:9): [True: 1.43k, False: 135k]
  ------------------
   77|  1.43k|        return false;
   78|  1.43k|    }
   79|   135k|    data_.assign(data, data + size);
   80|   135k|    return true;
   81|   136k|}
_ZN3pgp3pkt6sigsub3Raw6createEhbb:
  129|   213k|{
  130|   213k|    switch (type) {
  131|  5.26k|    case (uint8_t) Type::CreationTime:
  ------------------
  |  Branch (131:5): [True: 5.26k, False: 208k]
  ------------------
  132|  5.26k|        return RawPtr(new CreationTime(hashed, critical));
  133|  2.11k|    case (uint8_t) Type::ExpirationTime:
  ------------------
  |  Branch (133:5): [True: 2.11k, False: 211k]
  ------------------
  134|  2.11k|        return RawPtr(new ExpirationTime(hashed, critical));
  135|  5.55k|    case (uint8_t) Type::ExportableCert:
  ------------------
  |  Branch (135:5): [True: 5.55k, False: 208k]
  ------------------
  136|  5.55k|        return RawPtr(new ExportableCert(hashed, critical));
  137|  1.29k|    case (uint8_t) Type::Trust:
  ------------------
  |  Branch (137:5): [True: 1.29k, False: 212k]
  ------------------
  138|  1.29k|        return RawPtr(new Trust(hashed, critical));
  139|  2.99k|    case (uint8_t) Type::RegExp:
  ------------------
  |  Branch (139:5): [True: 2.99k, False: 210k]
  ------------------
  140|  2.99k|        return RawPtr(new RegExp(hashed, critical));
  141|  1.06k|    case (uint8_t) Type::Revocable:
  ------------------
  |  Branch (141:5): [True: 1.06k, False: 212k]
  ------------------
  142|  1.06k|        return RawPtr(new Revocable(hashed, critical));
  143|  6.43k|    case (uint8_t) Type::KeyExpirationTime:
  ------------------
  |  Branch (143:5): [True: 6.43k, False: 207k]
  ------------------
  144|  6.43k|        return RawPtr(new KeyExpirationTime(hashed, critical));
  145|  7.19k|    case (uint8_t) Type::PreferredSymmetric:
  ------------------
  |  Branch (145:5): [True: 7.19k, False: 206k]
  ------------------
  146|  7.19k|        return RawPtr(new PreferredSymmetric(hashed, critical));
  147|  71.2k|    case (uint8_t) Type::RevocationKey:
  ------------------
  |  Branch (147:5): [True: 71.2k, False: 142k]
  ------------------
  148|  71.2k|        return RawPtr(new RevocationKey(hashed, critical));
  149|  5.99k|    case (uint8_t) Type::IssuerKeyID:
  ------------------
  |  Branch (149:5): [True: 5.99k, False: 207k]
  ------------------
  150|  5.99k|        return RawPtr(new IssuerKeyID(hashed, critical));
  151|  3.64k|    case (uint8_t) Type::NotationData:
  ------------------
  |  Branch (151:5): [True: 3.64k, False: 210k]
  ------------------
  152|  3.64k|        return RawPtr(new NotationData(hashed, critical));
  153|  9.31k|    case (uint8_t) Type::PreferredHash:
  ------------------
  |  Branch (153:5): [True: 9.31k, False: 204k]
  ------------------
  154|  9.31k|        return RawPtr(new PreferredHash(hashed, critical));
  155|  5.20k|    case (uint8_t) Type::PreferredCompress:
  ------------------
  |  Branch (155:5): [True: 5.20k, False: 208k]
  ------------------
  156|  5.20k|        return RawPtr(new PreferredCompress(hashed, critical));
  157|  4.53k|    case (uint8_t) Type::KeyserverPrefs:
  ------------------
  |  Branch (157:5): [True: 4.53k, False: 209k]
  ------------------
  158|  4.53k|        return RawPtr(new KeyserverPrefs(hashed, critical));
  159|  8.03k|    case (uint8_t) Type::PreferredKeyserver:
  ------------------
  |  Branch (159:5): [True: 8.03k, False: 205k]
  ------------------
  160|  8.03k|        return RawPtr(new PreferredKeyserver(hashed, critical));
  161|    901|    case (uint8_t) Type::PrimaryUserID:
  ------------------
  |  Branch (161:5): [True: 901, False: 212k]
  ------------------
  162|    901|        return RawPtr(new PrimaryUserID(hashed, critical));
  163|  3.19k|    case (uint8_t) Type::PolicyURI:
  ------------------
  |  Branch (163:5): [True: 3.19k, False: 210k]
  ------------------
  164|  3.19k|        return RawPtr(new PolicyURI(hashed, critical));
  165|  7.24k|    case (uint8_t) Type::KeyFlags:
  ------------------
  |  Branch (165:5): [True: 7.24k, False: 206k]
  ------------------
  166|  7.24k|        return RawPtr(new KeyFlags(hashed, critical));
  167|  4.85k|    case (uint8_t) Type::SignersUserID:
  ------------------
  |  Branch (167:5): [True: 4.85k, False: 208k]
  ------------------
  168|  4.85k|        return RawPtr(new SignersUserID(hashed, critical));
  169|  3.28k|    case (uint8_t) Type::RevocationReason:
  ------------------
  |  Branch (169:5): [True: 3.28k, False: 210k]
  ------------------
  170|  3.28k|        return RawPtr(new RevocationReason(hashed, critical));
  171|  5.29k|    case (uint8_t) Type::Features:
  ------------------
  |  Branch (171:5): [True: 5.29k, False: 208k]
  ------------------
  172|  5.29k|        return RawPtr(new Features(hashed, critical));
  173|  4.04k|    case (uint8_t) Type::EmbeddedSignature:
  ------------------
  |  Branch (173:5): [True: 4.04k, False: 209k]
  ------------------
  174|  4.04k|        return RawPtr(new EmbeddedSignature(hashed, critical));
  175|  8.73k|    case (uint8_t) Type::IssuerFingerprint:
  ------------------
  |  Branch (175:5): [True: 8.73k, False: 204k]
  ------------------
  176|  8.73k|        return RawPtr(new IssuerFingerprint(hashed, critical));
  177|  4.92k|    case (uint8_t) Type::PreferredAEAD:
  ------------------
  |  Branch (177:5): [True: 4.92k, False: 208k]
  ------------------
  178|  4.92k|        return RawPtr(new PreferredAEAD(hashed, critical));
  179|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  180|  1.98k|    case (uint8_t) Type::IntendedRecipientFingerprint:
  ------------------
  |  Branch (180:5): [True: 1.98k, False: 211k]
  ------------------
  181|  1.98k|        return RawPtr(new IntendedRecipientFingerprint(hashed, critical));
  182|  1.40k|    case (uint8_t) Type::PreferredAEADv6:
  ------------------
  |  Branch (182:5): [True: 1.40k, False: 212k]
  ------------------
  183|  1.40k|        return RawPtr(new PreferredAEADv6(hashed, critical));
  184|      0|#endif
  185|  27.9k|    default:
  ------------------
  |  Branch (185:5): [True: 27.9k, False: 185k]
  ------------------
  186|  27.9k|        report_unknown(type, critical);
  187|  27.9k|        return RawPtr(new Raw(type, hashed, critical));
  188|   213k|    }
  189|   213k|}
_ZN3pgp3pkt6sigsub3Raw6createEPKhmbm:
  199|   213k|{
  200|   213k|    if (!size) {
  ------------------
  |  Branch (200:9): [True: 0, False: 213k]
  ------------------
  201|      0|        RNP_LOG("got subpacket with 0 length");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  202|      0|        return nullptr;
  203|      0|    }
  204|   213k|    bool    critical = data[0] & 0x80;
  205|   213k|    uint8_t type = data[0] & 0x7f;
  206|   213k|    auto    sub = create(type, hashed, critical);
  207|       |    /* Unknown subpacket (including the critical one) is kept as unparsed Raw subpacket,
  208|       |     * so the signature can still be loaded. Signature with the unknown critical subpacket
  209|       |     * is marked as invalid during the validation, see RFC 9580: 5.2.3.16. */
  210|   213k|    if (!sub || !sub->parse(data + 1, size - 1, depth)) {
  ------------------
  |  Branch (210:9): [True: 0, False: 213k]
  |  Branch (210:17): [True: 78.1k, False: 135k]
  ------------------
  211|  78.1k|        return nullptr;
  212|  78.1k|    }
  213|   135k|    return sub;
  214|   213k|}
_ZNK3pgp3pkt6sigsub3Raw5cloneEv:
  218|  1.29k|{
  219|  1.29k|    return RawPtr(new Raw(*this));
  220|  1.29k|}
_ZNK3pgp3pkt6sigsub4Time10check_sizeEm:
  232|  13.8k|{
  233|  13.8k|    return size == 4;
  234|  13.8k|}
_ZN3pgp3pkt6sigsub4Time10parse_dataEPKhm:
  238|  11.4k|{
  239|  11.4k|    time_ = read_uint32(data);
  240|  11.4k|    return true;
  241|  11.4k|}
_ZNK3pgp3pkt6sigsub12CreationTime5cloneEv:
  246|    147|{
  247|    147|    return RawPtr(new CreationTime(*this));
  248|    147|}
_ZNK3pgp3pkt6sigsub14ExpirationTime5cloneEv:
  253|    118|{
  254|    118|    return RawPtr(new ExpirationTime(*this));
  255|    118|}
_ZNK3pgp3pkt6sigsub17KeyExpirationTime5cloneEv:
  260|     42|{
  261|     42|    return RawPtr(new KeyExpirationTime(*this));
  262|     42|}
_ZNK3pgp3pkt6sigsub4Bool10check_sizeEm:
  274|  7.52k|{
  275|  7.52k|    return size == 1;
  276|  7.52k|}
_ZN3pgp3pkt6sigsub4Bool10parse_dataEPKhm:
  280|  4.84k|{
  281|  4.84k|    value_ = data[0];
  282|  4.84k|    return true;
  283|  4.84k|}
_ZNK3pgp3pkt6sigsub14ExportableCert5cloneEv:
  288|    542|{
  289|    542|    return RawPtr(new ExportableCert(*this));
  290|    542|}
_ZNK3pgp3pkt6sigsub5Trust10check_sizeEm:
  303|  1.29k|{
  304|  1.29k|    return size == 2;
  305|  1.29k|}
_ZN3pgp3pkt6sigsub5Trust10parse_dataEPKhm:
  309|    971|{
  310|    971|    level_ = data[0];
  311|    971|    amount_ = data[1];
  312|    971|    return true;
  313|    971|}
_ZNK3pgp3pkt6sigsub5Trust5cloneEv:
  317|     85|{
  318|     85|    return RawPtr(new Trust(*this));
  319|     85|}
_ZN3pgp3pkt6sigsub6String10parse_dataEPKhm:
  330|  19.0k|{
  331|  19.0k|    value_.assign(data, data + size);
  332|  19.0k|    return true;
  333|  19.0k|}
_ZNK3pgp3pkt6sigsub6RegExp5cloneEv:
  338|    444|{
  339|    444|    return RawPtr(new RegExp(*this));
  340|    444|}
_ZNK3pgp3pkt6sigsub9Revocable5cloneEv:
  345|     82|{
  346|     82|    return RawPtr(new Revocable(*this));
  347|     82|}
_ZNK3pgp3pkt6sigsub9Preferred10check_sizeEm:
  358|  27.8k|{
  359|       |    /* No reason to have more then 256 bytes */
  360|  27.8k|    return size < 256;
  361|  27.8k|}
_ZN3pgp3pkt6sigsub9Preferred10parse_dataEPKhm:
  365|  27.6k|{
  366|  27.6k|    algs_.assign(data, data + size);
  367|  27.6k|    return true;
  368|  27.6k|}
_ZNK3pgp3pkt6sigsub18PreferredSymmetric5cloneEv:
  373|    651|{
  374|    651|    return RawPtr(new PreferredSymmetric(*this));
  375|    651|}
_ZNK3pgp3pkt6sigsub13PreferredHash5cloneEv:
  380|    382|{
  381|    382|    return RawPtr(new PreferredHash(*this));
  382|    382|}
_ZNK3pgp3pkt6sigsub17PreferredCompress5cloneEv:
  387|    122|{
  388|    122|    return RawPtr(new PreferredCompress(*this));
  389|    122|}
_ZNK3pgp3pkt6sigsub13PreferredAEAD5cloneEv:
  394|    552|{
  395|    552|    return RawPtr(new PreferredAEAD(*this));
  396|    552|}
_ZNK3pgp3pkt6sigsub15PreferredAEADv610check_sizeEm:
  402|  1.40k|{
  403|  1.40k|    if (size % 2) {
  ------------------
  |  Branch (403:9): [True: 237, False: 1.17k]
  ------------------
  404|    237|        RNP_LOG("v6 AEAD Ciphersuite Preferences must contain an even number of bytes");
  ------------------
  |  |   84|    237|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    237|    do {                                                                                 \
  |  |  |  |   77|    237|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 237, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    237|            break;                                                                       \
  |  |  |  |   79|    237|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|    237|        return false;
  406|    237|    }
  407|  1.17k|    return Preferred::check_size(size);
  408|  1.40k|}
_ZNK3pgp3pkt6sigsub15PreferredAEADv65cloneEv:
  412|    704|{
  413|    704|    return RawPtr(new PreferredAEADv6(*this));
  414|    704|}
_ZNK3pgp3pkt6sigsub13RevocationKey10check_sizeEm:
  429|  71.2k|{
  430|  71.2k|    return (size == 2 + PGP_FINGERPRINT_V4_SIZE) || (size == 2 + PGP_FINGERPRINT_V5_SIZE);
  ------------------
  |  |   43|  71.2k|#define PGP_FINGERPRINT_V4_SIZE 20
  ------------------
                  return (size == 2 + PGP_FINGERPRINT_V4_SIZE) || (size == 2 + PGP_FINGERPRINT_V5_SIZE);
  ------------------
  |  |   44|  70.6k|#define PGP_FINGERPRINT_V5_SIZE 32
  ------------------
  |  Branch (430:12): [True: 504, False: 70.6k]
  |  Branch (430:53): [True: 1.95k, False: 68.7k]
  ------------------
  431|  71.2k|}
_ZN3pgp3pkt6sigsub13RevocationKey10parse_dataEPKhm:
  435|  2.45k|{
  436|  2.45k|    rev_class_ = data[0];
  437|  2.45k|    alg_ = static_cast<pgp_pubkey_alg_t>(data[1]);
  438|  2.45k|    fp_ = pgp::Fingerprint(data + 2, size - 2);
  439|  2.45k|    return true;
  440|  2.45k|}
_ZNK3pgp3pkt6sigsub13RevocationKey5cloneEv:
  444|     66|{
  445|     66|    return RawPtr(new RevocationKey(*this));
  446|     66|}
_ZNK3pgp3pkt6sigsub11IssuerKeyID10check_sizeEm:
  457|  5.99k|{
  458|  5.99k|    return size == PGP_KEY_ID_SIZE;
  ------------------
  |  |   39|  5.99k|#define PGP_KEY_ID_SIZE 8
  ------------------
  459|  5.99k|}
_ZN3pgp3pkt6sigsub11IssuerKeyID10parse_dataEPKhm:
  463|  5.66k|{
  464|  5.66k|    memcpy(keyid_.data(), data, keyid_.size());
  465|  5.66k|    return true;
  466|  5.66k|}
_ZNK3pgp3pkt6sigsub11IssuerKeyID5cloneEv:
  470|    197|{
  471|    197|    return RawPtr(new IssuerKeyID(*this));
  472|    197|}
_ZNK3pgp3pkt6sigsub12NotationData10check_sizeEm:
  492|  3.64k|{
  493|  3.64k|    return size >= 8;
  494|  3.64k|}
_ZN3pgp3pkt6sigsub12NotationData10parse_dataEPKhm:
  498|  3.43k|{
  499|  3.43k|    size_t nlen = read_uint16(data + 4);
  500|  3.43k|    size_t vlen = read_uint16(data + 6);
  501|  3.43k|    if (size != nlen + vlen + 8) {
  ------------------
  |  Branch (501:9): [True: 744, False: 2.69k]
  ------------------
  502|    744|        return false;
  503|    744|    }
  504|  2.69k|    memcpy(flags_.data(), data, 4);
  505|  2.69k|    name_.assign(data + 8, data + 8 + nlen);
  506|  2.69k|    value_.assign(data + 8 + nlen, data + 8 + nlen + vlen);
  507|  2.69k|    return true;
  508|  3.43k|}
_ZNK3pgp3pkt6sigsub12NotationData5cloneEv:
  542|     84|{
  543|     84|    return RawPtr(new NotationData(*this));
  544|     84|}
_ZNK3pgp3pkt6sigsub5Flags10check_sizeEm:
  556|  17.0k|{
  557|  17.0k|    return size >= 1;
  558|  17.0k|}
_ZN3pgp3pkt6sigsub5Flags10parse_dataEPKhm:
  562|  16.5k|{
  563|  16.5k|    flags_ = data[0];
  564|  16.5k|    return true;
  565|  16.5k|}
_ZNK3pgp3pkt6sigsub14KeyserverPrefs5cloneEv:
  570|    157|{
  571|    157|    return RawPtr(new KeyserverPrefs(*this));
  572|    157|}
_ZNK3pgp3pkt6sigsub18PreferredKeyserver5cloneEv:
  577|    687|{
  578|    687|    return RawPtr(new PreferredKeyserver(*this));
  579|    687|}
_ZNK3pgp3pkt6sigsub13PrimaryUserID5cloneEv:
  584|     66|{
  585|     66|    return RawPtr(new PrimaryUserID(*this));
  586|     66|}
_ZNK3pgp3pkt6sigsub9PolicyURI5cloneEv:
  591|  1.29k|{
  592|  1.29k|    return RawPtr(new PolicyURI(*this));
  593|  1.29k|}
_ZNK3pgp3pkt6sigsub8KeyFlags5cloneEv:
  598|    112|{
  599|    112|    return RawPtr(new KeyFlags(*this));
  600|    112|}
_ZNK3pgp3pkt6sigsub13SignersUserID5cloneEv:
  605|    341|{
  606|    341|    return RawPtr(new SignersUserID(*this));
  607|    341|}
_ZNK3pgp3pkt6sigsub16RevocationReason10check_sizeEm:
  620|  3.28k|{
  621|  3.28k|    return size >= 1;
  622|  3.28k|}
_ZN3pgp3pkt6sigsub16RevocationReason10parse_dataEPKhm:
  626|  3.02k|{
  627|  3.02k|    code_ = static_cast<pgp_revocation_type_t>(data[0]);
  628|  3.02k|    reason_.assign(data + 1, data + size);
  629|  3.02k|    return true;
  630|  3.02k|}
_ZNK3pgp3pkt6sigsub16RevocationReason5cloneEv:
  634|    532|{
  635|    532|    return RawPtr(new RevocationReason(*this));
  636|    532|}
_ZNK3pgp3pkt6sigsub8Features5cloneEv:
  641|    469|{
  642|    469|    return RawPtr(new Features(*this));
  643|    469|}
_ZN3pgp3pkt6sigsub17EmbeddedSignatureC2ERKS2_:
  646|    126|EmbeddedSignature::EmbeddedSignature(const EmbeddedSignature &src) : Raw(src)
  647|    126|{
  648|    126|    signature_ = std::unique_ptr<Signature>(new Signature(*src.signature_));
  649|    126|}
_ZN3pgp3pkt6sigsub17EmbeddedSignatureC2Ebb:
  652|  4.04k|    : Raw(Type::EmbeddedSignature, hashed, critical)
  653|  4.04k|{
  654|  4.04k|}
_ZNK3pgp3pkt6sigsub17EmbeddedSignature10check_sizeEm:
  671|  4.04k|{
  672|  4.04k|    return size > 6;
  673|  4.04k|}
_ZN3pgp3pkt6sigsub17EmbeddedSignature10parse_dataEPKhm:
  677|  3.80k|{
  678|  3.80k|    if (parse_depth_ >= MAX_EMBEDDED_SIGNATURE_DEPTH) {
  ------------------
  |  Branch (678:9): [True: 0, False: 3.80k]
  ------------------
  679|      0|        RNP_LOG("embedded signature nesting is too deep: %zu", parse_depth_);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|      0|        return false;
  681|      0|    }
  682|  3.80k|    pgp_packet_body_t pkt(data, size);
  683|  3.80k|    Signature         sig;
  684|  3.80k|    if (sig.parse(pkt, parse_depth_ + 1)) {
  ------------------
  |  Branch (684:9): [True: 689, False: 3.11k]
  ------------------
  685|    689|        return false;
  686|    689|    }
  687|  3.11k|    signature_ = std::unique_ptr<Signature>(new Signature(std::move(sig)));
  688|  3.11k|    return true;
  689|  3.80k|}
_ZNK3pgp3pkt6sigsub17EmbeddedSignature9signatureEv:
  693|  2.20k|{
  694|  2.20k|    return signature_.get();
  695|  2.20k|}
_ZNK3pgp3pkt6sigsub17EmbeddedSignature5cloneEv:
  712|    126|{
  713|    126|    return RawPtr(new EmbeddedSignature(*this));
  714|    126|}
_ZNK3pgp3pkt6sigsub17IssuerFingerprint10check_sizeEm:
  727|  8.73k|{
  728|  8.73k|    return (size >= 21) && (size <= PGP_MAX_FINGERPRINT_SIZE + 1);
  ------------------
  |  |   45|  8.48k|#define PGP_MAX_FINGERPRINT_SIZE 32
  ------------------
  |  Branch (728:12): [True: 8.48k, False: 245]
  |  Branch (728:28): [True: 8.35k, False: 133]
  ------------------
  729|  8.73k|}
_ZN3pgp3pkt6sigsub17IssuerFingerprint10parse_dataEPKhm:
  733|  8.35k|{
  734|  8.35k|    version_ = data[0];
  735|  8.35k|    fp_ = pgp::Fingerprint(data + 1, size - 1);
  736|  8.35k|    return true;
  737|  8.35k|}
_ZNK3pgp3pkt6sigsub17IssuerFingerprint5cloneEv:
  741|    266|{
  742|    266|    return RawPtr(new IssuerFingerprint(*this));
  743|    266|}
_ZNK3pgp3pkt6sigsub28IntendedRecipientFingerprint10check_sizeEm:
  757|  1.98k|{
  758|  1.98k|    return (size >= 21) && (size <= PGP_MAX_FINGERPRINT_SIZE + 1);
  ------------------
  |  |   45|  1.71k|#define PGP_MAX_FINGERPRINT_SIZE 32
  ------------------
  |  Branch (758:12): [True: 1.71k, False: 264]
  |  Branch (758:28): [True: 1.66k, False: 56]
  ------------------
  759|  1.98k|}
_ZN3pgp3pkt6sigsub28IntendedRecipientFingerprint10parse_dataEPKhm:
  763|  1.66k|{
  764|  1.66k|    version_ = data[0];
  765|  1.66k|    fp_ = pgp::Fingerprint(data + 1, size - 1);
  766|  1.66k|    return true;
  767|  1.66k|}
_ZNK3pgp3pkt6sigsub28IntendedRecipientFingerprint5cloneEv:
  771|     18|{
  772|     18|    return RawPtr(new IntendedRecipientFingerprint(*this));
  773|     18|}
_ZN3pgp3pkt6sigsub4ListC2ERKS2_:
  777|  3.98k|{
  778|  3.98k|    items.reserve(src.items.size());
  779|  9.58k|    for (auto &item : src.items) {
  ------------------
  |  Branch (779:21): [True: 9.58k, False: 3.98k]
  ------------------
  780|  9.58k|        items.push_back(item->clone());
  781|  9.58k|    }
  782|  3.98k|}
sig_subpacket.cpp:_ZN3pgp3pkt6sigsubL14report_unknownEhb:
   94|  27.9k|{
   95|  27.9k|    switch (type) {
   96|    450|    case (uint8_t) Type::Private_100:
  ------------------
  |  Branch (96:5): [True: 450, False: 27.5k]
  ------------------
   97|    788|    case (uint8_t) Type::Private_101:
  ------------------
  |  Branch (97:5): [True: 338, False: 27.6k]
  ------------------
   98|  1.23k|    case (uint8_t) Type::Private_102:
  ------------------
  |  Branch (98:5): [True: 442, False: 27.5k]
  ------------------
   99|  1.47k|    case (uint8_t) Type::Private_103:
  ------------------
  |  Branch (99:5): [True: 248, False: 27.7k]
  ------------------
  100|  2.08k|    case (uint8_t) Type::Private_104:
  ------------------
  |  Branch (100:5): [True: 607, False: 27.3k]
  ------------------
  101|  2.52k|    case (uint8_t) Type::Private_105:
  ------------------
  |  Branch (101:5): [True: 438, False: 27.5k]
  ------------------
  102|  2.75k|    case (uint8_t) Type::Private_106:
  ------------------
  |  Branch (102:5): [True: 232, False: 27.7k]
  ------------------
  103|  3.33k|    case (uint8_t) Type::Private_107:
  ------------------
  |  Branch (103:5): [True: 582, False: 27.4k]
  ------------------
  104|  3.82k|    case (uint8_t) Type::Private_108:
  ------------------
  |  Branch (104:5): [True: 489, False: 27.5k]
  ------------------
  105|  4.08k|    case (uint8_t) Type::Private_109:
  ------------------
  |  Branch (105:5): [True: 258, False: 27.7k]
  ------------------
  106|  4.54k|    case (uint8_t) Type::Private_110:
  ------------------
  |  Branch (106:5): [True: 465, False: 27.5k]
  ------------------
  107|  4.54k|        if (critical) {
  ------------------
  |  Branch (107:13): [True: 594, False: 3.95k]
  ------------------
  108|    594|            RNP_LOG("unknown critical private subpacket %" PRIu8, type);
  ------------------
  |  |   84|    594|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    594|    do {                                                                                 \
  |  |  |  |   77|    594|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 594, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    594|            break;                                                                       \
  |  |  |  |   79|    594|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|    594|        }
  110|  4.54k|        return;
  111|  2.92k|    case (uint8_t) Type::Reserved_1:
  ------------------
  |  Branch (111:5): [True: 2.92k, False: 25.0k]
  ------------------
  112|  3.22k|    case (uint8_t) Type::Reserved_8:
  ------------------
  |  Branch (112:5): [True: 299, False: 27.6k]
  ------------------
  113|  3.72k|    case (uint8_t) Type::Placeholder:
  ------------------
  |  Branch (113:5): [True: 501, False: 27.4k]
  ------------------
  114|  3.98k|    case (uint8_t) Type::Reserved_13:
  ------------------
  |  Branch (114:5): [True: 257, False: 27.7k]
  ------------------
  115|  4.33k|    case (uint8_t) Type::Reserved_14:
  ------------------
  |  Branch (115:5): [True: 348, False: 27.6k]
  ------------------
  116|  4.61k|    case (uint8_t) Type::Reserved_15:
  ------------------
  |  Branch (116:5): [True: 289, False: 27.7k]
  ------------------
  117|  4.97k|    case (uint8_t) Type::Reserved_17:
  ------------------
  |  Branch (117:5): [True: 359, False: 27.6k]
  ------------------
  118|  5.33k|    case (uint8_t) Type::Reserved_18:
  ------------------
  |  Branch (118:5): [True: 358, False: 27.6k]
  ------------------
  119|  5.55k|    case (uint8_t) Type::Reserved_19:
  ------------------
  |  Branch (119:5): [True: 220, False: 27.7k]
  ------------------
  120|       |        /* do not report reserved/placeholder subpacket */
  121|  5.55k|        return;
  122|  17.8k|    default:
  ------------------
  |  Branch (122:5): [True: 17.8k, False: 10.1k]
  ------------------
  123|  17.8k|        RNP_LOG("unknown subpacket : %" PRIu8, type);
  ------------------
  |  |   84|  17.8k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  17.8k|    do {                                                                                 \
  |  |  |  |   77|  17.8k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 17.8k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  17.8k|            break;                                                                       \
  |  |  |  |   79|  17.8k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  124|  27.9k|    }
  125|  27.9k|}

_ZNK3pgp3pkt6sigsub3Raw8raw_typeEv:
  130|   149k|    {
  131|   149k|        return raw_type_;
  132|   149k|    }
_ZNK3pgp3pkt6sigsub3Raw4dataEv:
  136|   198k|    {
  137|   198k|        return data_;
  138|   198k|    }
_ZNK3pgp3pkt6sigsub3Raw4typeEv:
  142|  99.4k|    {
  143|  99.4k|        return type_;
  144|  99.4k|    }
_ZNK3pgp3pkt6sigsub3Raw8criticalEv:
  148|  99.4k|    {
  149|  99.4k|        return critical_;
  150|  99.4k|    }
_ZNK3pgp3pkt6sigsub3Raw6hashedEv:
  160|   149k|    {
  161|   149k|        return hashed_;
  162|   149k|    }
_ZN3pgp3pkt6sigsub4TimeC2ENS1_4TypeEbb:
  188|  13.8k|    Time(Type type, bool hashed, bool critical) : Raw(type, hashed, critical), time_(0)
  189|  13.8k|    {
  190|  13.8k|    }
_ZNK3pgp3pkt6sigsub4Time4timeEv:
  194|  10.1k|    {
  195|  10.1k|        return time_;
  196|  10.1k|    }
_ZN3pgp3pkt6sigsub12CreationTimeC2Ebb:
  212|  5.26k|        : Time(Type::CreationTime, hashed, critical)
  213|  5.26k|    {
  214|  5.26k|    }
_ZN3pgp3pkt6sigsub14ExpirationTimeC2Ebb:
  223|  2.11k|        : Time(Type::ExpirationTime, hashed, critical)
  224|  2.11k|    {
  225|  2.11k|    }
_ZN3pgp3pkt6sigsub17KeyExpirationTimeC2Ebb:
  234|  6.43k|        : Time(Type::KeyExpirationTime, hashed, critical)
  235|  6.43k|    {
  236|  6.43k|    }
_ZN3pgp3pkt6sigsub4BoolC2ENS1_4TypeEbb:
  251|  7.52k|    Bool(Type type, bool hashed, bool critical) : Raw(type, hashed, critical), value_(false)
  252|  7.52k|    {
  253|  7.52k|    }
_ZN3pgp3pkt6sigsub14ExportableCertC2Ebb:
  262|  5.55k|        : Bool(Type::ExportableCert, hashed, critical)
  263|  5.55k|    {
  264|  5.55k|        value_ = true;
  265|  5.55k|    }
_ZNK3pgp3pkt6sigsub14ExportableCert10exportableEv:
  269|  3.18k|    {
  270|  3.18k|        return value_;
  271|  3.18k|    }
_ZN3pgp3pkt6sigsub5TrustC2Ebb:
  296|  1.29k|        : Raw(Type::Trust, hashed, critical), level_(0), amount_(0)
  297|  1.29k|    {
  298|  1.29k|    }
_ZNK3pgp3pkt6sigsub5Trust5levelEv:
  302|    426|    {
  303|    426|        return level_;
  304|    426|    }
_ZNK3pgp3pkt6sigsub5Trust6amountEv:
  308|    426|    {
  309|    426|        return amount_;
  310|    426|    }
_ZN3pgp3pkt6sigsub6StringC2ENS1_4TypeEbb:
  339|  19.0k|    String(Type type, bool hashed, bool critical) : Raw(type, hashed, critical)
  340|  19.0k|    {
  341|  19.0k|    }
_ZN3pgp3pkt6sigsub6RegExpC2Ebb:
  349|  2.99k|    RegExp(bool hashed = true, bool critical = false) : String(Type::RegExp, hashed, critical)
  350|  2.99k|    {
  351|  2.99k|    }
_ZNK3pgp3pkt6sigsub6RegExp6regexpEv:
  355|  1.62k|    {
  356|  1.62k|        return value_;
  357|  1.62k|    }
_ZN3pgp3pkt6sigsub9RevocableC2Ebb:
  366|  1.06k|        : Bool(Type::Revocable, hashed, critical)
  367|  1.06k|    {
  368|  1.06k|        value_ = true;
  369|  1.06k|    }
_ZNK3pgp3pkt6sigsub9Revocable9revocableEv:
  373|    724|    {
  374|    724|        return value_;
  375|    724|    }
_ZN3pgp3pkt6sigsub9PreferredC2ENS1_4TypeEbb:
  398|  28.0k|    Preferred(Type type, bool hashed, bool critical) : Raw(type, hashed, critical){};
_ZNK3pgp3pkt6sigsub9Preferred4algsEv:
  402|  19.3k|    {
  403|  19.3k|        return algs_;
  404|  19.3k|    }
_ZN3pgp3pkt6sigsub18PreferredSymmetricC2Ebb:
  420|  7.19k|        : Preferred(Type::PreferredSymmetric, hashed, critical){};
_ZN3pgp3pkt6sigsub13PreferredHashC2Ebb:
  429|  9.31k|        : Preferred(Type::PreferredHash, hashed, critical){};
_ZN3pgp3pkt6sigsub17PreferredCompressC2Ebb:
  438|  5.20k|        : Preferred(Type::PreferredCompress, hashed, critical){};
_ZN3pgp3pkt6sigsub13PreferredAEADC2Ebb:
  447|  4.92k|        : Preferred(Type::PreferredAEAD, hashed, critical){};
_ZN3pgp3pkt6sigsub15PreferredAEADv6C2Ebb:
  460|  1.40k|        : Preferred(Type::PreferredAEADv6, hashed, critical){};
_ZN3pgp3pkt6sigsub13RevocationKeyC2Ebb:
  480|  71.2k|        : Raw(Type::RevocationKey, hashed, critical), rev_class_(0),
  481|  71.2k|          alg_(PGP_PKA_NOTHING), fp_{} {};
_ZNK3pgp3pkt6sigsub13RevocationKey9rev_classEv:
  485|  1.92k|    {
  486|  1.92k|        return rev_class_;
  487|  1.92k|    }
_ZNK3pgp3pkt6sigsub13RevocationKey3algEv:
  498|  1.92k|    {
  499|  1.92k|        return alg_;
  500|  1.92k|    }
_ZNK3pgp3pkt6sigsub13RevocationKey2fpEv:
  511|  1.92k|    {
  512|  1.92k|        return fp_;
  513|  1.92k|    }
_ZN3pgp3pkt6sigsub11IssuerKeyIDC2Ebb:
  537|  5.99k|        : Raw(Type::IssuerKeyID, hashed, critical)
  538|  5.99k|    {
  539|  5.99k|    }
_ZNK3pgp3pkt6sigsub11IssuerKeyID5keyidEv:
  543|  4.46k|    {
  544|  4.46k|        return keyid_;
  545|  4.46k|    }
_ZN3pgp3pkt6sigsub12NotationDataC2Ebb:
  572|  3.64k|        : Raw(Type::NotationData, hashed, critical)
  573|  3.64k|    {
  574|  3.64k|    }
_ZNK3pgp3pkt6sigsub12NotationData14human_readableEv:
  578|  3.71k|    {
  579|  3.71k|        return flags_[0] & 0x80;
  580|  3.71k|    }
_ZNK3pgp3pkt6sigsub12NotationData4nameEv:
  586|  2.47k|    {
  587|  2.47k|        return name_;
  588|  2.47k|    }
_ZNK3pgp3pkt6sigsub12NotationData5valueEv:
  594|  4.95k|    {
  595|  4.95k|        return value_;
  596|  4.95k|    }
_ZN3pgp3pkt6sigsub5FlagsC2ENS1_4TypeEbb:
  614|  17.0k|        : Raw(type, hashed, critical), flags_(0)
  615|  17.0k|    {
  616|  17.0k|    }
_ZN3pgp3pkt6sigsub14KeyserverPrefsC2Ebb:
  625|  4.53k|        : Flags(Type::KeyserverPrefs, hashed, critical)
  626|  4.53k|    {
  627|  4.53k|    }
_ZNK3pgp3pkt6sigsub14KeyserverPrefs9no_modifyEv:
  631|  3.93k|    {
  632|  3.93k|        return flags_ & 0x80;
  633|  3.93k|    }
_ZN3pgp3pkt6sigsub18PreferredKeyserverC2Ebb:
  662|  8.03k|        : String(Type::PreferredKeyserver, hashed, critical)
  663|  8.03k|    {
  664|  8.03k|    }
_ZNK3pgp3pkt6sigsub18PreferredKeyserver9keyserverEv:
  668|  6.25k|    {
  669|  6.25k|        return value_;
  670|  6.25k|    }
_ZN3pgp3pkt6sigsub13PrimaryUserIDC2Ebb:
  686|    901|        : Bool(Type::PrimaryUserID, hashed, critical)
  687|    901|    {
  688|    901|    }
_ZNK3pgp3pkt6sigsub13PrimaryUserID7primaryEv:
  692|    430|    {
  693|    430|        return value_;
  694|    430|    }
_ZN3pgp3pkt6sigsub9PolicyURIC2Ebb:
  710|  3.19k|        : String(Type::PolicyURI, hashed, critical)
  711|  3.19k|    {
  712|  3.19k|    }
_ZNK3pgp3pkt6sigsub9PolicyURI3URIEv:
  716|  1.69k|    {
  717|  1.69k|        return value_;
  718|  1.69k|    }
_ZN3pgp3pkt6sigsub8KeyFlagsC2Ebb:
  727|  7.24k|        : Flags(Type::KeyFlags, hashed, critical)
  728|  7.24k|    {
  729|  7.24k|    }
_ZNK3pgp3pkt6sigsub8KeyFlags5flagsEv:
  733|  6.25k|    {
  734|  6.25k|        return flags_;
  735|  6.25k|    }
_ZN3pgp3pkt6sigsub13SignersUserIDC2Ebb:
  751|  4.85k|        : String(Type::SignersUserID, hashed, critical)
  752|  4.85k|    {
  753|  4.85k|    }
_ZNK3pgp3pkt6sigsub13SignersUserID6signerEv:
  757|  3.94k|    {
  758|  3.94k|        return value_;
  759|  3.94k|    }
_ZN3pgp3pkt6sigsub16RevocationReasonC2Ebb:
  784|  3.28k|        : Raw(Type::RevocationReason, hashed, critical), code_(PGP_REVOCATION_NO_REASON)
  785|  3.28k|    {
  786|  3.28k|    }
_ZNK3pgp3pkt6sigsub16RevocationReason4codeEv:
  790|  2.45k|    {
  791|  2.45k|        return code_;
  792|  2.45k|    }
_ZNK3pgp3pkt6sigsub16RevocationReason6reasonEv:
  803|  1.63k|    {
  804|  1.63k|        return reason_;
  805|  1.63k|    }
_ZN3pgp3pkt6sigsub8FeaturesC2Ebb:
  821|  5.29k|        : Flags(Type::Features, hashed, critical)
  822|  5.29k|    {
  823|  5.29k|    }
_ZNK3pgp3pkt6sigsub8Features8featuresEv:
  827|  19.0k|    {
  828|  19.0k|        return flags_;
  829|  19.0k|    }
_ZN3pgp3pkt6sigsub17IssuerFingerprintC2Ebb:
  877|  8.73k|        : Raw(Type::IssuerFingerprint, hashed, critical), version_(0), fp_{}
  878|  8.73k|    {
  879|  8.73k|    }
_ZNK3pgp3pkt6sigsub17IssuerFingerprint2fpEv:
  896|  7.47k|    {
  897|  7.47k|        return fp_;
  898|  7.47k|    }
_ZN3pgp3pkt6sigsub28IntendedRecipientFingerprintC2Ebb:
  924|  1.98k|        : Raw(Type::IntendedRecipientFingerprint, hashed, critical), version_(0), fp_{}
  925|  1.98k|    {
  926|  1.98k|    }
_ZNK3pgp3pkt6sigsub28IntendedRecipientFingerprint2fpEv:
  943|  1.57k|    {
  944|  1.57k|        return fp_;
  945|  1.57k|    }
_ZN3pgp3pkt6sigsub4ListC2Ev:
  963|  61.0k|    {
  964|  61.0k|    }
_ZNK3pgp3pkt6sigsub4List5beginEv:
  982|  40.4k|    {
  983|  40.4k|        return items.begin();
  984|  40.4k|    }
_ZNK3pgp3pkt6sigsub4List3endEv:
  988|  40.4k|    {
  989|  40.4k|        return items.end();
  990|  40.4k|    }
_ZNK3pgp3pkt6sigsub4List4sizeEv:
  994|   216k|    {
  995|   216k|        return items.size();
  996|   216k|    }

_ZN3rnp13rnp_exceptionC2Ej:
  101|  1.33k|    rnp_exception(rnp_result_t code = RNP_ERROR_GENERIC) : code_(code){};
_ZNK3rnp13rnp_exception4whatEv:
  104|  1.33k|    {
  105|  1.33k|        return "rnp_exception";
  106|  1.33k|    };
_ZNK3rnp13rnp_exception4codeEv:
  109|  1.33k|    {
  110|  1.33k|        return code_;
  111|  1.33k|    };
_ZN14pgp_aead_hdr_tC2Ev:
  192|  1.39k|    pgp_aead_hdr_t() : ealg(PGP_SA_UNKNOWN), aalg(PGP_AEAD_NONE)
  193|  1.39k|    {
  194|  1.39k|    }

_ZN11id_str_pair6lookupEPKS_iPKc:
   32|  2.28M|{
   33|  10.3M|    while (pair && pair->str) {
  ------------------
  |  Branch (33:12): [True: 10.3M, False: 0]
  |  Branch (33:20): [True: 10.1M, False: 171k]
  ------------------
   34|  10.1M|        if (pair->id == id) {
  ------------------
  |  Branch (34:13): [True: 2.11M, False: 8.06M]
  ------------------
   35|  2.11M|            return pair->str;
   36|  2.11M|        }
   37|  8.06M|        pair++;
   38|  8.06M|    }
   39|   171k|    return notfound;
   40|  2.28M|}

_Z11read_uint16PKh:
   61|  2.26M|{
   62|  2.26M|    return ((uint16_t) buf[0] << 8) | buf[1];
   63|  2.26M|}
_Z11read_uint32PKh:
   68|   135k|{
   69|   135k|    return ((uint32_t) buf[0] << 24) | ((uint32_t) buf[1] << 16) | ((uint32_t) buf[2] << 8) |
   70|   135k|           (uint32_t) buf[3];
   71|   135k|}
_Z12write_uint16Pht:
   76|  30.3k|{
   77|  30.3k|    buf[0] = val >> 8;
   78|  30.3k|    buf[1] = val & 0xff;
   79|  30.3k|}
_Z12write_uint32Phj:
   84|  16.5k|{
   85|  16.5k|    buf[0] = (uint8_t)(val >> 24) & 0xff;
   86|  16.5k|    buf[1] = (uint8_t)(val >> 16) & 0xff;
   87|  16.5k|    buf[2] = (uint8_t)(val >> 8) & 0xff;
   88|  16.5k|    buf[3] = (uint8_t)(val >> 0) & 0xff;
   89|  16.5k|}

_Z16init_armored_srcP12pgp_source_tS0_b:
  939|  32.0k|{
  940|  32.0k|    if (!init_src_common(src, 0)) {
  ------------------
  |  Branch (940:9): [True: 0, False: 32.0k]
  ------------------
  941|      0|        return RNP_ERROR_OUT_OF_MEMORY;
  942|      0|    }
  943|  32.0k|    pgp_source_armored_param_t *param = new (std::nothrow) pgp_source_armored_param_t();
  944|  32.0k|    if (!param) {
  ------------------
  |  Branch (944:9): [True: 0, False: 32.0k]
  ------------------
  945|      0|        RNP_LOG("allocation failed");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  946|      0|        return RNP_ERROR_OUT_OF_MEMORY;
  947|      0|    }
  948|       |
  949|  32.0k|    param->readsrc = readsrc;
  950|  32.0k|    param->noheaders = noheaders;
  951|  32.0k|    src->param = param;
  952|  32.0k|    src->raw_read = armored_src_read;
  953|  32.0k|    src->raw_close = armored_src_close;
  954|  32.0k|    src->type = PGP_STREAM_ARMORED;
  955|       |
  956|       |    /* base64 data only */
  957|  32.0k|    if (noheaders) {
  ------------------
  |  Branch (957:9): [True: 0, False: 32.0k]
  ------------------
  958|      0|        return RNP_SUCCESS;
  959|      0|    }
  960|       |
  961|       |    /* initialize crc context */
  962|  32.0k|    param->crc_ctx = rnp::CRC24::create();
  963|       |    /* parsing armored header */
  964|  32.0k|    rnp_result_t errcode = RNP_ERROR_GENERIC;
  965|  32.0k|    if (!armor_parse_header(param)) {
  ------------------
  |  Branch (965:9): [True: 741, False: 31.2k]
  ------------------
  966|    741|        errcode = RNP_ERROR_BAD_FORMAT;
  967|    741|        goto finish;
  968|    741|    }
  969|       |    /* eol */
  970|  31.2k|    if (!param->readsrc->skip_eol()) {
  ------------------
  |  Branch (970:9): [True: 99, False: 31.1k]
  ------------------
  971|     99|        RNP_LOG("no eol after the armor header");
  ------------------
  |  |   84|     99|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     99|    do {                                                                                 \
  |  |  |  |   77|     99|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 99, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     99|            break;                                                                       \
  |  |  |  |   79|     99|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  972|     99|        errcode = RNP_ERROR_BAD_FORMAT;
  973|     99|        goto finish;
  974|     99|    }
  975|       |    /* parsing headers */
  976|  31.1k|    if (!armor_parse_headers(param)) {
  ------------------
  |  Branch (976:9): [True: 492, False: 30.6k]
  ------------------
  977|    492|        RNP_LOG("failed to parse headers");
  ------------------
  |  |   84|    492|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    492|    do {                                                                                 \
  |  |  |  |   77|    492|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 492, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    492|            break;                                                                       \
  |  |  |  |   79|    492|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  978|    492|        errcode = RNP_ERROR_BAD_FORMAT;
  979|    492|        goto finish;
  980|    492|    }
  981|       |
  982|       |    /* now we are good to go with base64-encoded data */
  983|  30.6k|    errcode = RNP_SUCCESS;
  984|  32.0k|finish:
  985|  32.0k|    if (errcode) {
  ------------------
  |  Branch (985:9): [True: 1.33k, False: 30.6k]
  ------------------
  986|  1.33k|        src->close();
  987|  1.33k|    }
  988|  32.0k|    return errcode;
  989|  30.6k|}
_ZN12pgp_source_t10is_armoredEv:
 1293|  20.7k|{
 1294|  20.7k|    char   buf[ARMORED_PEEK_BUF_SIZE] = {0};
 1295|  20.7k|    size_t read = 0;
 1296|       |
 1297|  20.7k|    if (!peek(buf, sizeof(buf) - 1, &read) || (read < strlen(ST_ARMOR_BEGIN) + 1)) {
  ------------------
  |  |   46|  20.7k|#define ST_ARMOR_BEGIN ("-----BEGIN PGP ")
  ------------------
  |  Branch (1297:9): [True: 0, False: 20.7k]
  |  Branch (1297:47): [True: 7.71k, False: 13.0k]
  ------------------
 1298|  7.71k|        return false;
 1299|  7.71k|    }
 1300|  13.0k|    buf[read] = 0;
 1301|  13.0k|    if (!!strstr(buf, ST_CLEAR_BEGIN)) {
  ------------------
  |  |   48|  13.0k|#define ST_CLEAR_BEGIN ("-----BEGIN PGP SIGNED MESSAGE-----")
  ------------------
  |  Branch (1301:9): [True: 2, False: 13.0k]
  ------------------
 1302|      2|        return false;
 1303|      2|    }
 1304|  13.0k|    return !!strstr(buf, ST_ARMOR_BEGIN);
  ------------------
  |  |   46|  13.0k|#define ST_ARMOR_BEGIN ("-----BEGIN PGP ")
  ------------------
 1305|  13.0k|}
_ZN12pgp_source_t12is_cleartextEv:
 1309|  18.2k|{
 1310|  18.2k|    char   buf[ARMORED_PEEK_BUF_SIZE] = {0};
 1311|  18.2k|    size_t read = 0;
 1312|       |
 1313|  18.2k|    if (!peek(buf, sizeof(buf) - 1, &read) || (read < strlen(ST_CLEAR_BEGIN))) {
  ------------------
  |  |   48|  18.2k|#define ST_CLEAR_BEGIN ("-----BEGIN PGP SIGNED MESSAGE-----")
  ------------------
  |  Branch (1313:9): [True: 0, False: 18.2k]
  |  Branch (1313:47): [True: 12.7k, False: 5.56k]
  ------------------
 1314|  12.7k|        return false;
 1315|  12.7k|    }
 1316|  5.56k|    buf[read] = 0;
 1317|  5.56k|    return !!strstr(buf, ST_CLEAR_BEGIN);
  ------------------
  |  |   48|  5.56k|#define ST_CLEAR_BEGIN ("-----BEGIN PGP SIGNED MESSAGE-----")
  ------------------
 1318|  18.2k|}
_ZN3rnp13ArmoredSourceC2ER12pgp_source_tj:
 1378|  2.49k|    : Source(), readsrc_(readsrc), multiple_(false)
 1379|  2.49k|{
 1380|       |    /* Do not dearmor already armored stream */
 1381|  2.49k|    bool already = readsrc_.type == PGP_STREAM_ARMORED;
 1382|       |    /* Check for base64 source: no multiple streams allowed */
 1383|  2.49k|    if (!already && (flags & AllowBase64) && (readsrc.is_base64())) {
  ------------------
  |  Branch (1383:9): [True: 2.49k, False: 0]
  |  Branch (1383:21): [True: 0, False: 2.49k]
  |  Branch (1383:46): [True: 0, False: 0]
  ------------------
 1384|      0|        auto res = init_armored_src(&src_, &readsrc_, true);
 1385|      0|        if (res) {
  ------------------
  |  Branch (1385:13): [True: 0, False: 0]
  ------------------
 1386|      0|            RNP_LOG("Failed to parse base64 data.");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1387|      0|            throw rnp::rnp_exception(res);
 1388|      0|        }
 1389|      0|        armored_ = true;
 1390|      0|        return;
 1391|      0|    }
 1392|       |    /* Check for armored source */
 1393|  2.49k|    if (!already && readsrc.is_armored()) {
  ------------------
  |  Branch (1393:9): [True: 2.49k, False: 0]
  |  Branch (1393:21): [True: 2.49k, False: 0]
  ------------------
 1394|  2.49k|        auto res = init_armored_src(&src_, &readsrc_);
 1395|  2.49k|        if (res) {
  ------------------
  |  Branch (1395:13): [True: 1.05k, False: 1.43k]
  ------------------
 1396|  1.05k|            RNP_LOG("Failed to parse armored data.");
  ------------------
  |  |   84|  1.05k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.05k|    do {                                                                                 \
  |  |  |  |   77|  1.05k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.05k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.05k|            break;                                                                       \
  |  |  |  |   79|  1.05k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|  1.05k|            throw rnp::rnp_exception(res);
 1398|  1.05k|        }
 1399|  1.43k|        armored_ = true;
 1400|  1.43k|        multiple_ = flags & AllowMultiple;
 1401|  1.43k|        return;
 1402|  2.49k|    }
 1403|       |    /* Use binary source if allowed */
 1404|      0|    if (!(flags & AllowBinary)) {
  ------------------
  |  Branch (1404:9): [True: 0, False: 0]
  ------------------
 1405|      0|        RNP_LOG("Non-armored data is not allowed here.");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|      0|        throw rnp::rnp_exception(RNP_ERROR_BAD_PARAMETERS);
 1407|      0|    }
 1408|      0|    armored_ = false;
 1409|      0|}
_ZN3rnp13ArmoredSource7restartEv:
 1413|  29.6k|{
 1414|  29.6k|    if (!armored_ || readsrc_.eof() || readsrc_.error()) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 29.6k]
  |  Branch (1414:22): [True: 132, False: 29.5k]
  |  Branch (1414:40): [True: 0, False: 29.5k]
  ------------------
 1415|    132|        return;
 1416|    132|    }
 1417|  29.5k|    src_.close();
 1418|  29.5k|    auto res = init_armored_src(&src_, &readsrc_);
 1419|  29.5k|    if (res) {
  ------------------
  |  Branch (1419:9): [True: 276, False: 29.2k]
  ------------------
 1420|    276|        throw rnp::rnp_exception(res);
 1421|    276|    }
 1422|  29.5k|}
_ZN3rnp13ArmoredSource3srcEv:
 1426|   144k|{
 1427|   144k|    return armored_ ? src_ : readsrc_;
  ------------------
  |  Branch (1427:12): [True: 144k, False: 0]
  ------------------
 1428|   144k|}
stream-armor.cpp:_ZL22armor_str_to_data_typeRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  715|  31.6k|{
  716|  31.6k|    if ((str == "MESSAGE") || (str == "ARMORED FILE")) {
  ------------------
  |  Branch (716:9): [True: 24.5k, False: 7.13k]
  |  Branch (716:31): [True: 4, False: 7.12k]
  ------------------
  717|  24.5k|        return PGP_ARMORED_MESSAGE;
  718|  24.5k|    }
  719|  7.12k|    if ((str == "PUBLIC KEY BLOCK") || (str == "PUBLIC KEY")) {
  ------------------
  |  Branch (719:9): [True: 3.55k, False: 3.57k]
  |  Branch (719:40): [True: 10, False: 3.56k]
  ------------------
  720|  3.56k|        return PGP_ARMORED_PUBLIC_KEY;
  721|  3.56k|    }
  722|  3.56k|    if ((str == "SECRET KEY BLOCK") || (str == "SECRET KEY") || (str == "PRIVATE KEY BLOCK") ||
  ------------------
  |  Branch (722:9): [True: 2, False: 3.56k]
  |  Branch (722:40): [True: 3, False: 3.55k]
  |  Branch (722:65): [True: 1.05k, False: 2.50k]
  ------------------
  723|  2.50k|        (str == "PRIVATE KEY")) {
  ------------------
  |  Branch (723:9): [True: 3, False: 2.49k]
  ------------------
  724|  1.06k|        return PGP_ARMORED_SECRET_KEY;
  725|  1.06k|    }
  726|  2.49k|    if (str == "SIGNATURE") {
  ------------------
  |  Branch (726:9): [True: 2.10k, False: 392]
  ------------------
  727|  2.10k|        return PGP_ARMORED_SIGNATURE;
  728|  2.10k|    }
  729|    392|    return PGP_ARMORED_UNKNOWN;
  730|  2.49k|}
stream-armor.cpp:_ZL17peek_armor_headerR12pgp_source_tPmb:
  797|  32.0k|{
  798|  32.0k|    std::string hdr(ARMORED_PEEK_BUF_SIZE, '\0');
  ------------------
  |  |   46|  32.0k|#define ARMORED_PEEK_BUF_SIZE 1024
  ------------------
  799|  32.0k|    size_t      read = 0;
  800|  32.0k|    if (skip) {
  ------------------
  |  Branch (800:9): [True: 32.0k, False: 0]
  ------------------
  801|  32.0k|        *skip = 0;
  802|  32.0k|    }
  803|  32.0k|    if (!src.peek(&hdr.front(), hdr.size(), &read) || (read < 20)) {
  ------------------
  |  Branch (803:9): [True: 0, False: 32.0k]
  |  Branch (803:55): [True: 30, False: 31.9k]
  ------------------
  804|     30|        return "";
  805|     30|    }
  806|  31.9k|    hdr.resize(read);
  807|       |
  808|  31.9k|    std::string type;
  809|  31.9k|    size_t      armhdrlen = 0;
  810|  31.9k|    size_t      pos = find_armor_header(hdr, armhdrlen, type);
  811|  31.9k|    if (pos == std::string::npos) {
  ------------------
  |  Branch (811:9): [True: 288, False: 31.7k]
  ------------------
  812|    288|        return "";
  813|    288|    }
  814|       |
  815|       |    /* if there are non-whitespaces before the armor header then issue warning */
  816|  69.8k|    for (size_t idx = 0; check && (idx < pos); idx++) {
  ------------------
  |  Branch (816:26): [True: 69.8k, False: 0]
  |  Branch (816:35): [True: 67.3k, False: 2.49k]
  ------------------
  817|  67.3k|        if (B64DEC[(uint8_t) hdr[idx]] != 0xfd) {
  ------------------
  |  Branch (817:13): [True: 29.2k, False: 38.1k]
  ------------------
  818|  29.2k|            RNP_LOG("extra data before the header line");
  ------------------
  |  |   84|  29.2k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  29.2k|    do {                                                                                 \
  |  |  |  |   77|  29.2k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 29.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  29.2k|            break;                                                                       \
  |  |  |  |   79|  29.2k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  819|  29.2k|            break;
  820|  29.2k|        }
  821|  67.3k|    }
  822|       |
  823|  31.7k|    if (skip) {
  ------------------
  |  Branch (823:9): [True: 31.7k, False: 0]
  ------------------
  824|  31.7k|        *skip = armhdrlen;
  825|  31.7k|    }
  826|  31.7k|    return type;
  827|  31.9k|}
stream-armor.cpp:_ZL17find_armor_headerRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERmRS5_:
  698|  31.9k|{
  699|  31.9k|    size_t bg_len = strlen(ST_ARMOR_BEGIN);
  ------------------
  |  |   46|  31.9k|#define ST_ARMOR_BEGIN ("-----BEGIN PGP ")
  ------------------
  700|  31.9k|    size_t pos = str.find(ST_ARMOR_BEGIN);
  ------------------
  |  |   46|  31.9k|#define ST_ARMOR_BEGIN ("-----BEGIN PGP ")
  ------------------
  701|  31.9k|    if (pos == std::string::npos) {
  ------------------
  |  Branch (701:9): [True: 107, False: 31.8k]
  ------------------
  702|    107|        return pos;
  703|    107|    }
  704|  31.8k|    size_t end = str.find(ST_DASHES, pos + bg_len);
  ------------------
  |  |   45|  31.8k|#define ST_DASHES ("-----")
  ------------------
  705|  31.8k|    if (end == std::string::npos) {
  ------------------
  |  Branch (705:9): [True: 181, False: 31.7k]
  ------------------
  706|    181|        return end;
  707|    181|    }
  708|  31.7k|    hdrlen = end + 5;
  709|  31.7k|    type.assign(str.begin() + pos + bg_len, str.begin() + end);
  710|  31.7k|    return pos;
  711|  31.8k|}
stream-armor.cpp:_ZL16armored_src_readP12pgp_source_tPvmPm:
  476|  97.3k|{
  477|  97.3k|    pgp_source_armored_param_t *param = (pgp_source_armored_param_t *) src->param;
  478|  97.3k|    uint8_t  b64buf[ARMORED_BLOCK_SIZE];     /* input base64 data with spaces and so on */
  479|  97.3k|    uint8_t  decbuf[ARMORED_BLOCK_SIZE + 4]; /* decoded 6-bit values */
  480|  97.3k|    uint8_t *bufptr = (uint8_t *) buf;       /* for better readability below */
  481|  97.3k|    uint8_t *bptr, *bend;                    /* pointer to input data in b64buf */
  482|  97.3k|    uint8_t *dptr, *dend, *pend; /* pointers to decoded data in decbuf: working pointer, last
  483|       |                                    available byte, last byte to process */
  484|  97.3k|    uint8_t  bval;
  485|  97.3k|    uint32_t b24;
  486|  97.3k|    size_t   read = 0;
  487|  97.3k|    size_t   left = len;
  488|  97.3k|    size_t   eqcount = 0; /* number of '=' at the end of base64 stream */
  489|       |
  490|  97.3k|    if (!param) {
  ------------------
  |  Branch (490:9): [True: 0, False: 97.3k]
  ------------------
  491|      0|        return false;
  492|      0|    }
  493|       |
  494|       |    /* checking whether there are some decoded bytes */
  495|  97.3k|    if (param->restpos < param->restlen) {
  ------------------
  |  Branch (495:9): [True: 703, False: 96.6k]
  ------------------
  496|    703|        if (param->restlen - param->restpos >= len) {
  ------------------
  |  Branch (496:13): [True: 0, False: 703]
  ------------------
  497|      0|            memcpy(bufptr, &param->rest[param->restpos], len);
  498|      0|            param->restpos += len;
  499|      0|            try {
  500|      0|                param->crc_ctx->add(bufptr, len);
  501|      0|            } catch (const std::exception &e) {
  502|      0|                RNP_LOG("%s", e.what());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|      0|                return false;
  504|      0|            }
  505|      0|            *readres = len;
  506|      0|            return true;
  507|    703|        } else {
  508|    703|            left = len - (param->restlen - param->restpos);
  509|    703|            memcpy(bufptr, &param->rest[param->restpos], len - left);
  510|    703|            param->restpos = param->restlen = 0;
  511|    703|            bufptr += len - left;
  512|    703|        }
  513|    703|    }
  514|       |
  515|  97.3k|    if (param->eofb64) {
  ------------------
  |  Branch (515:9): [True: 65.9k, False: 31.4k]
  ------------------
  516|  65.9k|        *readres = len - left;
  517|  65.9k|        return true;
  518|  65.9k|    }
  519|       |
  520|  31.4k|    memcpy(decbuf, param->brest, param->brestlen);
  521|  31.4k|    dend = decbuf + param->brestlen;
  522|       |
  523|  41.5k|    do {
  524|  41.5k|        if (!param->readsrc->peek(b64buf, sizeof(b64buf), &read)) {
  ------------------
  |  Branch (524:13): [True: 0, False: 41.5k]
  ------------------
  525|      0|            return false;
  526|      0|        }
  527|  41.5k|        if (!read) {
  ------------------
  |  Branch (527:13): [True: 152, False: 41.4k]
  ------------------
  528|    152|            RNP_LOG("premature end of armored input");
  ------------------
  |  |   84|    152|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    152|    do {                                                                                 \
  |  |  |  |   77|    152|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 152, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    152|            break;                                                                       \
  |  |  |  |   79|    152|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|    152|            return false;
  530|    152|        }
  531|       |
  532|  41.4k|        dptr = dend;
  533|  41.4k|        bptr = b64buf;
  534|  41.4k|        bend = b64buf + read;
  535|       |        /* checking input data, stripping away whitespaces, checking for end of the b64 data */
  536|  46.8M|        while (bptr < bend) {
  ------------------
  |  Branch (536:16): [True: 46.8M, False: 10.9k]
  ------------------
  537|  46.8M|            if ((bval = B64DEC[*(bptr++)]) < 64) {
  ------------------
  |  Branch (537:17): [True: 45.3M, False: 1.48M]
  ------------------
  538|  45.3M|                *(dptr++) = bval;
  539|  45.3M|            } else if (bval == 0xfe) {
  ------------------
  |  Branch (539:24): [True: 29.1k, False: 1.45M]
  ------------------
  540|       |                /* '=' means the base64 padding or the beginning of checksum */
  541|  29.1k|                param->eofb64 = true;
  542|  29.1k|                break;
  543|  1.45M|            } else if (bval == 0xff) {
  ------------------
  |  Branch (543:24): [True: 1.33k, False: 1.45M]
  ------------------
  544|  1.33k|                auto ch = *(bptr - 1);
  545|       |                /* OpenPGP message headers without the crc and without trailing = */
  546|  1.33k|                if ((ch == CH_DASH) && !param->noheaders) {
  ------------------
  |  |   34|  1.33k|#define CH_DASH ('-')
  ------------------
  |  Branch (546:21): [True: 1.23k, False: 101]
  |  Branch (546:40): [True: 1.23k, False: 0]
  ------------------
  547|  1.23k|                    param->eofb64 = true;
  548|  1.23k|                    break;
  549|  1.23k|                }
  550|    101|                RNP_LOG("wrong base64 character 0x%02hhX", ch);
  ------------------
  |  |   84|    101|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    101|    do {                                                                                 \
  |  |  |  |   77|    101|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 101, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    101|            break;                                                                       \
  |  |  |  |   79|    101|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|    101|                return false;
  552|  1.33k|            }
  553|  46.8M|        }
  554|       |
  555|  41.3k|        dend = dptr;
  556|  41.3k|        dptr = decbuf;
  557|       |        /* Processing full 4s which will go directly to the buf.
  558|       |           After this left < 3 or decbuf has < 4 bytes */
  559|  41.3k|        if ((size_t)(dend - dptr) / 4 * 3 < left) {
  ------------------
  |  Branch (559:13): [True: 40.5k, False: 790]
  ------------------
  560|  40.5k|            pend = decbuf + (dend - dptr) / 4 * 4;
  561|  40.5k|            left -= (dend - dptr) / 4 * 3;
  562|  40.5k|        } else {
  563|    790|            pend = decbuf + (left / 3) * 4;
  564|    790|            left -= left / 3 * 3;
  565|    790|        }
  566|       |
  567|       |        /* this one would the most performance-consuming part for large chunks */
  568|  10.9M|        while (dptr < pend) {
  ------------------
  |  Branch (568:16): [True: 10.9M, False: 41.3k]
  ------------------
  569|  10.9M|            b24 = *dptr++ << 18;
  570|  10.9M|            b24 |= *dptr++ << 12;
  571|  10.9M|            b24 |= *dptr++ << 6;
  572|  10.9M|            b24 |= *dptr++;
  573|  10.9M|            *bufptr++ = b24 >> 16;
  574|  10.9M|            *bufptr++ = b24 >> 8;
  575|  10.9M|            *bufptr++ = b24 & 0xff;
  576|  10.9M|        }
  577|       |
  578|       |        /* moving rest to the beginning of decbuf */
  579|  41.3k|        memmove(decbuf, dptr, dend - dptr);
  580|  41.3k|        dend = decbuf + (dend - dptr);
  581|       |
  582|       |        /* skip already processed data */
  583|  41.3k|        if (!param->eofb64) {
  ------------------
  |  Branch (583:13): [True: 10.9k, False: 30.3k]
  ------------------
  584|       |            /* all input is base64 data or eol/spaces, so skipping it */
  585|  10.9k|            param->readsrc->skip(read);
  586|       |            /* check for eof for base64-encoded data without headers */
  587|  10.9k|            if (param->noheaders && param->readsrc->eof()) {
  ------------------
  |  Branch (587:17): [True: 0, False: 10.9k]
  |  Branch (587:37): [True: 0, False: 0]
  ------------------
  588|      0|                param->readsrc->skip(read);
  589|      0|                param->eofb64 = true;
  590|  10.9k|            } else {
  591|  10.9k|                continue;
  592|  10.9k|            }
  593|  30.3k|        } else {
  594|       |            /* '=' reached, bptr points on it */
  595|  30.3k|            param->readsrc->skip(bptr - b64buf - 1);
  596|  30.3k|        }
  597|       |
  598|       |        /* end of base64 data */
  599|  30.3k|        if (param->noheaders) {
  ------------------
  |  Branch (599:13): [True: 0, False: 30.3k]
  ------------------
  600|      0|            if (!base64_read_padding(*param->readsrc, &eqcount)) {
  ------------------
  |  Branch (600:17): [True: 0, False: 0]
  ------------------
  601|      0|                return false;
  602|      0|            }
  603|      0|            break;
  604|      0|        }
  605|       |        /* reading b64 padding if any */
  606|  30.3k|        if (!armor_read_padding(*param->readsrc, &eqcount)) {
  ------------------
  |  Branch (606:13): [True: 80, False: 30.3k]
  ------------------
  607|     80|            RNP_LOG("wrong padding");
  ------------------
  |  |   84|     80|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     80|    do {                                                                                 \
  |  |  |  |   77|     80|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 80, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     80|            break;                                                                       \
  |  |  |  |   79|     80|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|     80|            return false;
  609|     80|        }
  610|       |        /* reading crc */
  611|  30.3k|        if (!armor_read_crc(param)) {
  ------------------
  |  Branch (611:13): [True: 16.4k, False: 13.9k]
  ------------------
  612|  16.4k|            RNP_LOG("Warning: missing or malformed CRC line");
  ------------------
  |  |   84|  16.4k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  16.4k|    do {                                                                                 \
  |  |  |  |   77|  16.4k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 16.4k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  16.4k|            break;                                                                       \
  |  |  |  |   79|  16.4k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  613|  16.4k|        }
  614|       |        /* reading armor trailing line */
  615|  30.3k|        if (!armor_read_trailer(param)) {
  ------------------
  |  Branch (615:13): [True: 197, False: 30.1k]
  ------------------
  616|    197|            RNP_LOG("wrong armor trailer");
  ------------------
  |  |   84|    197|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    197|    do {                                                                                 \
  |  |  |  |   77|    197|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 197, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    197|            break;                                                                       \
  |  |  |  |   79|    197|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  617|    197|            return false;
  618|    197|        }
  619|  30.1k|        break;
  620|  30.3k|    } while (left >= 3);
  ------------------
  |  Branch (620:14): [True: 10.1k, False: 791]
  ------------------
  621|       |
  622|       |    /* process bytes left in decbuf */
  623|       |
  624|  30.8k|    dptr = decbuf;
  625|  30.8k|    pend = decbuf + (dend - decbuf) / 4 * 4;
  626|  30.8k|    bptr = param->rest;
  627|   393k|    while (dptr < pend) {
  ------------------
  |  Branch (627:12): [True: 362k, False: 30.8k]
  ------------------
  628|   362k|        b24 = *dptr++ << 18;
  629|   362k|        b24 |= *dptr++ << 12;
  630|   362k|        b24 |= *dptr++ << 6;
  631|   362k|        b24 |= *dptr++;
  632|   362k|        *bptr++ = b24 >> 16;
  633|   362k|        *bptr++ = b24 >> 8;
  634|   362k|        *bptr++ = b24 & 0xff;
  635|   362k|    }
  636|       |
  637|  30.8k|    if (!armored_update_crc(param, buf, bufptr - (uint8_t *) buf)) {
  ------------------
  |  Branch (637:9): [True: 0, False: 30.8k]
  ------------------
  638|      0|        return false;
  639|      0|    }
  640|       |
  641|  30.8k|    if (param->eofb64) {
  ------------------
  |  Branch (641:9): [True: 30.1k, False: 791]
  ------------------
  642|  30.1k|        if ((dend - dptr + eqcount) % 4 != 0) {
  ------------------
  |  Branch (642:13): [True: 65, False: 30.0k]
  ------------------
  643|     65|            RNP_LOG("wrong b64 padding");
  ------------------
  |  |   84|     65|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     65|    do {                                                                                 \
  |  |  |  |   77|     65|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 65, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     65|            break;                                                                       \
  |  |  |  |   79|     65|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  644|     65|            return false;
  645|     65|        }
  646|       |
  647|  30.0k|        if (eqcount == 1) {
  ------------------
  |  Branch (647:13): [True: 1.65k, False: 28.3k]
  ------------------
  648|  1.65k|            b24 = (*dptr << 10) | (*(dptr + 1) << 4) | (*(dptr + 2) >> 2);
  649|  1.65k|            *bptr++ = b24 >> 8;
  650|  1.65k|            *bptr++ = b24 & 0xff;
  651|  28.3k|        } else if (eqcount == 2) {
  ------------------
  |  Branch (651:20): [True: 18.3k, False: 10.0k]
  ------------------
  652|  18.3k|            *bptr++ = (*dptr << 2) | (*(dptr + 1) >> 4);
  653|  18.3k|        }
  654|       |
  655|       |        /* Calculate CRC after reading whole input stream */
  656|  30.0k|        if (!armored_update_crc(param, param->rest, bptr - param->rest, true)) {
  ------------------
  |  Branch (656:13): [True: 0, False: 30.0k]
  ------------------
  657|      0|            return false;
  658|      0|        }
  659|  30.0k|    } else {
  660|       |        /* few bytes which do not fit to 4 boundary */
  661|  2.08k|        for (int i = 0; i < dend - dptr; i++) {
  ------------------
  |  Branch (661:25): [True: 1.29k, False: 791]
  ------------------
  662|  1.29k|            param->brest[i] = *(dptr + i);
  663|  1.29k|        }
  664|    791|        param->brestlen = dend - dptr;
  665|    791|    }
  666|       |
  667|  30.8k|    param->restlen = bptr - param->rest;
  668|       |
  669|       |    /* check whether we have some bytes to add */
  670|  30.8k|    if ((left > 0) && (param->restlen > 0)) {
  ------------------
  |  Branch (670:9): [True: 30.5k, False: 235]
  |  Branch (670:23): [True: 20.4k, False: 10.1k]
  ------------------
  671|  20.4k|        read = left > param->restlen ? param->restlen : left;
  ------------------
  |  Branch (671:16): [True: 19.9k, False: 549]
  ------------------
  672|  20.4k|        memcpy(bufptr, param->rest, read);
  673|  20.4k|        if (!param->eofb64 && !armored_update_crc(param, bufptr, read)) {
  ------------------
  |  Branch (673:13): [True: 543, False: 19.9k]
  |  Branch (673:31): [True: 0, False: 543]
  ------------------
  674|      0|            return false;
  675|      0|        }
  676|  20.4k|        left -= read;
  677|  20.4k|        param->restpos += read;
  678|  20.4k|    }
  679|       |
  680|  30.8k|    *readres = len - left;
  681|  30.8k|    return true;
  682|  30.8k|}
stream-armor.cpp:_ZL18armor_read_paddingR12pgp_source_tPm:
  340|  30.3k|{
  341|  30.3k|    char   st[64];
  342|  30.3k|    size_t stlen = 0;
  343|       |
  344|  30.3k|    if (!src.peek_line(st, 64, &stlen)) {
  ------------------
  |  Branch (344:9): [True: 26, False: 30.3k]
  ------------------
  345|     26|        return false;
  346|     26|    }
  347|       |
  348|  30.3k|    if ((stlen == 1) || (stlen == 2)) {
  ------------------
  |  Branch (348:9): [True: 1.75k, False: 28.6k]
  |  Branch (348:25): [True: 18.3k, False: 10.2k]
  ------------------
  349|  20.1k|        if ((st[0] != CH_EQ) || ((stlen == 2) && (st[1] != CH_EQ))) {
  ------------------
  |  |   33|  20.1k|#define CH_EQ ('=')
  ------------------
                      if ((st[0] != CH_EQ) || ((stlen == 2) && (st[1] != CH_EQ))) {
  ------------------
  |  |   33|  18.3k|#define CH_EQ ('=')
  ------------------
  |  Branch (349:13): [True: 7, False: 20.1k]
  |  Branch (349:34): [True: 18.3k, False: 1.75k]
  |  Branch (349:50): [True: 17, False: 18.3k]
  ------------------
  350|     24|            return false;
  351|     24|        }
  352|       |
  353|  20.1k|        *read = stlen;
  354|  20.1k|        src.skip(stlen);
  355|  20.1k|        return src.skip_eol();
  356|  20.1k|    } else if (stlen == 5) {
  ------------------
  |  Branch (356:16): [True: 8.99k, False: 1.22k]
  ------------------
  357|  8.99k|        *read = 0;
  358|  8.99k|        return true;
  359|  8.99k|    } else if ((stlen > 5) && !memcmp(st, ST_DASHES, 5)) {
  ------------------
  |  |   45|  1.20k|#define ST_DASHES ("-----")
  ------------------
  |  Branch (359:16): [True: 1.20k, False: 11]
  |  Branch (359:31): [True: 1.19k, False: 19]
  ------------------
  360|       |        /* case with absent crc and 3-byte last chunk */
  361|  1.19k|        *read = 0;
  362|  1.19k|        return true;
  363|  1.19k|    }
  364|     30|    return false;
  365|  30.3k|}
stream-armor.cpp:_ZL14armor_read_crcP26pgp_source_armored_param_t:
  401|  30.3k|{
  402|  30.3k|    uint8_t dec[4] = {0};
  403|  30.3k|    char    crc[8] = {0};
  404|  30.3k|    size_t  clen = 0;
  405|       |
  406|  30.3k|    if (!param->readsrc->peek_line(crc, sizeof(crc), &clen)) {
  ------------------
  |  Branch (406:9): [True: 16.2k, False: 14.0k]
  ------------------
  407|  16.2k|        return false;
  408|  16.2k|    }
  409|       |
  410|  14.0k|    if ((clen != 5) || (crc[0] != CH_EQ)) {
  ------------------
  |  |   33|  13.9k|#define CH_EQ ('=')
  ------------------
  |  Branch (410:9): [True: 86, False: 13.9k]
  |  Branch (410:24): [True: 10, False: 13.9k]
  ------------------
  411|     96|        return false;
  412|     96|    }
  413|       |
  414|  69.5k|    for (int i = 0; i < 4; i++) {
  ------------------
  |  Branch (414:21): [True: 55.6k, False: 13.9k]
  ------------------
  415|  55.6k|        if ((dec[i] = B64DEC[(uint8_t) crc[i + 1]]) >= 64) {
  ------------------
  |  Branch (415:13): [True: 20, False: 55.6k]
  ------------------
  416|     20|            return false;
  417|     20|        }
  418|  55.6k|    }
  419|       |
  420|  13.9k|    param->readcrc[0] = (dec[0] << 2) | ((dec[1] >> 4) & 0x0F);
  421|  13.9k|    param->readcrc[1] = (dec[1] << 4) | ((dec[2] >> 2) & 0x0F);
  422|  13.9k|    param->readcrc[2] = (dec[2] << 6) | dec[3];
  423|       |
  424|  13.9k|    param->has_crc = true;
  425|       |
  426|  13.9k|    param->readsrc->skip(5);
  427|  13.9k|    return param->readsrc->skip_eol();
  428|  13.9k|}
stream-armor.cpp:_ZL18armor_read_trailerP26pgp_source_armored_param_t:
  432|  30.3k|{
  433|       |    /* Space or tab could get between armor and trailer, see issue #2199 */
  434|  30.3k|    if (!param->readsrc->skip_chars("\r\n \t")) {
  ------------------
  |  Branch (434:9): [True: 0, False: 30.3k]
  ------------------
  435|      0|        return false;
  436|      0|    }
  437|       |
  438|  30.3k|    std::string st = ST_ARMOR_END + param->armorhdr + ST_DASHES;
  ------------------
  |  |   47|  90.9k|#define ST_ARMOR_END ("-----END PGP ")
  ------------------
                  std::string st = ST_ARMOR_END + param->armorhdr + ST_DASHES;
  ------------------
  |  |   45|  30.3k|#define ST_DASHES ("-----")
  ------------------
  439|  30.3k|    std::string str(st.size(), 0);
  440|  30.3k|    if (!param->readsrc->peek_eq(&str.front(), str.size()) || (st != str)) {
  ------------------
  |  Branch (440:9): [True: 94, False: 30.2k]
  |  Branch (440:63): [True: 103, False: 30.1k]
  ------------------
  441|    197|        return false;
  442|    197|    }
  443|  30.1k|    param->readsrc->skip(st.size());
  444|  30.1k|    (void) param->readsrc->skip_chars("\t ");
  445|  30.1k|    (void) param->readsrc->skip_eol();
  446|  30.1k|    return true;
  447|  30.3k|}
stream-armor.cpp:_ZL18armored_update_crcP26pgp_source_armored_param_tPKvmb:
  454|  61.4k|{
  455|  61.4k|    if (param->noheaders) {
  ------------------
  |  Branch (455:9): [True: 0, False: 61.4k]
  ------------------
  456|      0|        return true;
  457|      0|    }
  458|  61.4k|    try {
  459|  61.4k|        param->crc_ctx->add(buf, len);
  460|  61.4k|        if (!finish) {
  ------------------
  |  Branch (460:13): [True: 31.4k, False: 30.0k]
  ------------------
  461|  31.4k|            return true;
  462|  31.4k|        }
  463|  30.0k|        auto crc = param->crc_ctx->finish();
  464|  30.0k|        if (param->has_crc && memcmp(param->readcrc, crc.data(), 3)) {
  ------------------
  |  Branch (464:13): [True: 13.8k, False: 16.1k]
  |  Branch (464:31): [True: 12.6k, False: 1.19k]
  ------------------
  465|  12.6k|            RNP_LOG("Warning: CRC mismatch");
  ------------------
  |  |   84|  12.6k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  12.6k|    do {                                                                                 \
  |  |  |  |   77|  12.6k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 12.6k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  12.6k|            break;                                                                       \
  |  |  |  |   79|  12.6k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|  12.6k|        }
  467|  30.0k|        return true;
  468|  61.4k|    } catch (const std::exception &e) {
  469|      0|        RNP_LOG("%s", e.what());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|      0|        return false;
  471|      0|    }
  472|  61.4k|}
stream-armor.cpp:_ZL17armored_src_closeP12pgp_source_t:
  686|  33.3k|{
  687|  33.3k|    auto param = (pgp_source_armored_param_t *) src->param;
  688|  33.3k|    delete param;
  689|       |    src->param = NULL;
  690|  33.3k|}
stream-armor.cpp:_ZL18armor_parse_headerP26pgp_source_armored_param_t:
  841|  32.0k|{
  842|  32.0k|    size_t      skip = 0;
  843|  32.0k|    std::string hdr = peek_armor_header(*param->readsrc, &skip, true);
  844|  32.0k|    if (hdr.empty()) {
  ------------------
  |  Branch (844:9): [True: 349, False: 31.6k]
  ------------------
  845|    349|        RNP_LOG("no armor header");
  ------------------
  |  |   84|    349|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    349|    do {                                                                                 \
  |  |  |  |   77|    349|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 349, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    349|            break;                                                                       \
  |  |  |  |   79|    349|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  846|    349|        return false;
  847|    349|    }
  848|       |
  849|  31.6k|    param->type = armor_str_to_data_type(hdr);
  850|  31.6k|    if (param->type == PGP_ARMORED_UNKNOWN) {
  ------------------
  |  Branch (850:9): [True: 392, False: 31.2k]
  ------------------
  851|    392|        RNP_LOG("unknown armor header");
  ------------------
  |  |   84|    392|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    392|    do {                                                                                 \
  |  |  |  |   77|    392|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 392, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    392|            break;                                                                       \
  |  |  |  |   79|    392|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|    392|        return false;
  853|    392|    }
  854|       |
  855|  31.2k|    param->armorhdr = std::move(hdr);
  856|  31.2k|    param->readsrc->skip(skip);
  857|  31.2k|    param->readsrc->skip_chars("\t ");
  858|  31.2k|    return true;
  859|  31.6k|}
stream-armor.cpp:_ZL19armor_parse_headersP26pgp_source_armored_param_t:
  896|  31.1k|{
  897|  31.1k|    std::vector<char> header(ARMORED_PEEK_BUF_SIZE, '\0');
  ------------------
  |  |   46|  31.1k|#define ARMORED_PEEK_BUF_SIZE 1024
  ------------------
  898|       |
  899|  68.1k|    do {
  900|  68.1k|        size_t hdrlen = 0;
  901|  68.1k|        if (!param->readsrc->peek_line(header.data(), header.size(), &hdrlen)) {
  ------------------
  |  Branch (901:13): [True: 1.31k, False: 66.8k]
  ------------------
  902|       |            /* if line is too long let's cut it to the reasonable size */
  903|  1.31k|            param->readsrc->skip(hdrlen);
  904|  1.31k|            if ((hdrlen != header.size() - 1) || !armor_skip_line(*param->readsrc)) {
  ------------------
  |  Branch (904:17): [True: 450, False: 863]
  |  Branch (904:50): [True: 42, False: 821]
  ------------------
  905|    492|                RNP_LOG("failed to peek line: unexpected end of data");
  ------------------
  |  |   84|    492|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    492|    do {                                                                                 \
  |  |  |  |   77|    492|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 492, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    492|            break;                                                                       \
  |  |  |  |   79|    492|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  906|    492|                return false;
  907|    492|            }
  908|    821|            RNP_LOG("Too long armor header - truncated.");
  ------------------
  |  |   84|    821|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    821|    do {                                                                                 \
  |  |  |  |   77|    821|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 821, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    821|            break;                                                                       \
  |  |  |  |   79|    821|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|  66.8k|        } else if (hdrlen) {
  ------------------
  |  Branch (909:20): [True: 43.8k, False: 23.0k]
  ------------------
  910|  43.8k|            if (is_base64_line(header.data(), hdrlen)) {
  ------------------
  |  Branch (910:17): [True: 7.67k, False: 36.1k]
  ------------------
  911|  7.67k|                RNP_LOG("Warning: no empty line after the base64 headers");
  ------------------
  |  |   84|  7.67k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  7.67k|    do {                                                                                 \
  |  |  |  |   77|  7.67k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 7.67k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  7.67k|            break;                                                                       \
  |  |  |  |   79|  7.67k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  912|  7.67k|                return true;
  913|  7.67k|            }
  914|  36.1k|            param->readsrc->skip(hdrlen);
  915|  36.1k|            if (rnp::is_blank_line(header.data(), hdrlen)) {
  ------------------
  |  Branch (915:17): [True: 0, False: 36.1k]
  ------------------
  916|      0|                return param->readsrc->skip_eol();
  917|      0|            }
  918|  36.1k|        } else {
  919|       |            /* empty line - end of the headers */
  920|  23.0k|            return param->readsrc->skip_eol();
  921|  23.0k|        }
  922|       |
  923|  36.9k|        std::string hdrst(header.begin(), header.begin() + hdrlen);
  924|  36.9k|        size_t      pos = hdrst.find(": ");
  925|  36.9k|        if ((pos != std::string::npos) && armor_header_known(hdrst.substr(0, pos + 2))) {
  ------------------
  |  Branch (925:13): [True: 9.00k, False: 27.9k]
  |  Branch (925:13): [True: 4.93k, False: 32.0k]
  |  Branch (925:43): [True: 4.93k, False: 4.07k]
  ------------------
  926|       |            // do nothing at the moment, just check whether header is known
  927|  32.0k|        } else {
  928|  32.0k|            RNP_LOG("unknown header '%s'", hdrst.c_str());
  ------------------
  |  |   84|  32.0k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  32.0k|    do {                                                                                 \
  |  |  |  |   77|  32.0k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 32.0k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  32.0k|            break;                                                                       \
  |  |  |  |   79|  32.0k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  929|  32.0k|        }
  930|       |
  931|  36.9k|        if (!param->readsrc->skip_eol()) {
  ------------------
  |  Branch (931:13): [True: 0, False: 36.9k]
  ------------------
  932|      0|            return false;
  933|      0|        }
  934|  36.9k|    } while (1);
  ------------------
  |  Branch (934:14): [True: 36.9k, Folded]
  ------------------
  935|  31.1k|}
stream-armor.cpp:_ZL15armor_skip_lineR12pgp_source_t:
  863|    863|{
  864|    863|    char header[ARMORED_PEEK_BUF_SIZE] = {0};
  865|  1.96k|    do {
  866|  1.96k|        size_t hdrlen = 0;
  867|  1.96k|        bool   res = src.peek_line(header, sizeof(header), &hdrlen);
  868|  1.96k|        if (hdrlen) {
  ------------------
  |  Branch (868:13): [True: 1.38k, False: 582]
  ------------------
  869|  1.38k|            src.skip(hdrlen);
  870|  1.38k|        }
  871|  1.96k|        if (res || (hdrlen < sizeof(header) - 1)) {
  ------------------
  |  Branch (871:13): [True: 821, False: 1.14k]
  |  Branch (871:20): [True: 42, False: 1.10k]
  ------------------
  872|    863|            return res;
  873|    863|        }
  874|  1.96k|    } while (1);
  ------------------
  |  Branch (874:14): [True: 1.10k, Folded]
  ------------------
  875|    863|}
stream-armor.cpp:_ZL18armor_header_knownRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  889|  9.00k|{
  890|  9.00k|    return (name == ST_HEADER_VERSION) || (name == ST_HEADER_COMMENT) ||
  ------------------
  |  |   50|  9.00k|#define ST_HEADER_VERSION ("Version: ")
  ------------------
                  return (name == ST_HEADER_VERSION) || (name == ST_HEADER_COMMENT) ||
  ------------------
  |  |   51|  5.90k|#define ST_HEADER_COMMENT ("Comment: ")
  ------------------
  |  Branch (890:12): [True: 3.10k, False: 5.90k]
  |  Branch (890:43): [True: 274, False: 5.62k]
  ------------------
  891|  5.62k|           (name == ST_HEADER_CHARSET) || (name == ST_HEADER_HASH);
  ------------------
  |  |   53|  5.62k|#define ST_HEADER_CHARSET ("Charset: ")
  ------------------
                         (name == ST_HEADER_CHARSET) || (name == ST_HEADER_HASH);
  ------------------
  |  |   52|  4.62k|#define ST_HEADER_HASH ("Hash: ")
  ------------------
  |  Branch (891:12): [True: 1.00k, False: 4.62k]
  |  Branch (891:43): [True: 550, False: 4.07k]
  ------------------
  892|  9.00k|}
stream-armor.cpp:_ZL14is_base64_linePKcm:
  879|  43.8k|{
  880|   702k|    for (size_t i = 0; i < len && line[i]; i++) {
  ------------------
  |  Branch (880:24): [True: 694k, False: 7.64k]
  |  Branch (880:35): [True: 694k, False: 38]
  ------------------
  881|   694k|        if (B64DEC[(uint8_t) line[i]] == 0xff)
  ------------------
  |  Branch (881:13): [True: 36.1k, False: 658k]
  ------------------
  882|  36.1k|            return false;
  883|   694k|    }
  884|  7.67k|    return true;
  885|  43.8k|}

_ZN3rnp13ArmoredSource8multipleEv:
  123|  29.6k|    {
  124|  29.6k|        return multiple_;
  125|  29.6k|    }

_ZN12pgp_source_t4readEPvmPm:
   57|  41.6M|{
   58|  41.6M|    size_t left = len;
   59|  41.6M|    size_t read;
   60|  41.6M|    bool   readahead = cache ? cache->readahead : false;
  ------------------
  |  Branch (60:24): [True: 41.6M, False: 0]
  ------------------
   61|       |
   62|  41.6M|    if (error_) {
  ------------------
  |  Branch (62:9): [True: 127, False: 41.6M]
  ------------------
   63|    127|        return false;
   64|    127|    }
   65|       |
   66|  41.6M|    if (eof_ || (len == 0)) {
  ------------------
  |  Branch (66:9): [True: 237k, False: 41.4M]
  |  Branch (66:17): [True: 0, False: 41.4M]
  ------------------
   67|   237k|        *readres = 0;
   68|   237k|        return true;
   69|   237k|    }
   70|       |
   71|       |    // Do not read more then available if source size is known
   72|  41.4M|    if (knownsize && (readb + len > size)) {
  ------------------
  |  Branch (72:9): [True: 127k, False: 41.3M]
  |  Branch (72:22): [True: 13.9k, False: 113k]
  ------------------
   73|  13.9k|        len = size - readb;
   74|  13.9k|        left = len;
   75|  13.9k|        readahead = false;
   76|  13.9k|    }
   77|       |
   78|       |    // Check whether we have cache and there is data inside
   79|  41.4M|    if (cache && (cache->len > cache->pos)) {
  ------------------
  |  Branch (79:9): [True: 41.4M, False: 0]
  |  Branch (79:18): [True: 40.4M, False: 971k]
  ------------------
   80|  40.4M|        read = cache->len - cache->pos;
   81|  40.4M|        if (read >= len) {
  ------------------
  |  Branch (81:13): [True: 38.9M, False: 1.48M]
  ------------------
   82|  38.9M|            memcpy(buf, &cache->buf[cache->pos], len);
   83|  38.9M|            cache->pos += len;
   84|  38.9M|            goto finish;
   85|  38.9M|        } else {
   86|  1.48M|            memcpy(buf, &cache->buf[cache->pos], read);
   87|  1.48M|            cache->pos += read;
   88|  1.48M|            buf = (uint8_t *) buf + read;
   89|  1.48M|            left = len - read;
   90|  1.48M|        }
   91|  40.4M|    }
   92|       |
   93|       |    // If we got here then we have empty cache or no cache at all
   94|  2.47M|    while (left > 0) {
  ------------------
  |  Branch (94:12): [True: 2.47M, False: 1.83k]
  ------------------
   95|  2.47M|        if (left > sizeof(cache->buf) || !readahead || !cache) {
  ------------------
  |  Branch (95:13): [True: 2.94k, False: 2.47M]
  |  Branch (95:42): [True: 2.31k, False: 2.47M]
  |  Branch (95:56): [True: 0, False: 2.47M]
  ------------------
   96|       |            // If there is no cache or chunk is larger then read directly
   97|  5.26k|            if (!raw_read(this, buf, left, &read)) {
  ------------------
  |  Branch (97:17): [True: 153, False: 5.10k]
  ------------------
   98|    153|                error_ = 1;
   99|    153|                return false;
  100|    153|            }
  101|  5.10k|            if (!read) {
  ------------------
  |  Branch (101:17): [True: 3.17k, False: 1.93k]
  ------------------
  102|  3.17k|                eof_ = true;
  103|  3.17k|                len = len - left;
  104|  3.17k|                goto finish;
  105|  3.17k|            }
  106|  1.93k|            left -= read;
  107|  1.93k|            buf = (uint8_t *) buf + read;
  108|  2.47M|        } else {
  109|       |            // Try to fill the cache to avoid small reads
  110|  2.47M|            if (!raw_read(this, &cache->buf[0], sizeof(cache->buf), &read)) {
  ------------------
  |  Branch (110:17): [True: 15.5k, False: 2.45M]
  ------------------
  111|  15.5k|                error_ = true;
  112|  15.5k|                return false;
  113|  15.5k|            }
  114|  2.45M|            if (!read) {
  ------------------
  |  Branch (114:17): [True: 84.2k, False: 2.37M]
  ------------------
  115|  84.2k|                eof_ = true;
  116|  84.2k|                len = len - left;
  117|  84.2k|                goto finish;
  118|  2.37M|            } else if (read < left) {
  ------------------
  |  Branch (118:24): [True: 20.4k, False: 2.34M]
  ------------------
  119|  20.4k|                memcpy(buf, &cache->buf[0], read);
  120|  20.4k|                left -= read;
  121|  20.4k|                buf = (uint8_t *) buf + read;
  122|  2.34M|            } else {
  123|  2.34M|                memcpy(buf, &cache->buf[0], left);
  124|  2.34M|                cache->pos = left;
  125|  2.34M|                cache->len = read;
  126|  2.34M|                goto finish;
  127|  2.34M|            }
  128|  2.45M|        }
  129|  2.47M|    }
  130|       |
  131|  41.4M|finish:
  132|  41.4M|    readb += len;
  133|  41.4M|    if (knownsize && (readb == size)) {
  ------------------
  |  Branch (133:9): [True: 127k, False: 41.2M]
  |  Branch (133:22): [True: 15.1k, False: 112k]
  ------------------
  134|  15.1k|        eof_ = true;
  135|  15.1k|    }
  136|  41.4M|    *readres = len;
  137|  41.4M|    return true;
  138|  2.45M|}
_ZN12pgp_source_t7read_eqEPvm:
  142|  18.7M|{
  143|  18.7M|    size_t res = 0;
  144|  18.7M|    return read(buf, len, &res) && (res == len);
  ------------------
  |  Branch (144:12): [True: 18.7M, False: 299]
  |  Branch (144:36): [True: 18.6M, False: 7.60k]
  ------------------
  145|  18.7M|}
_ZN12pgp_source_t4peekEPvmPm:
  149|  20.1M|{
  150|  20.1M|    if (error_) {
  ------------------
  |  Branch (150:9): [True: 56.3k, False: 20.1M]
  ------------------
  151|  56.3k|        return false;
  152|  56.3k|    }
  153|  20.1M|    if (!cache || (len > sizeof(cache->buf))) {
  ------------------
  |  Branch (153:9): [True: 0, False: 20.1M]
  |  Branch (153:19): [True: 0, False: 20.1M]
  ------------------
  154|      0|        return false;
  155|      0|    }
  156|  20.1M|    if (eof_) {
  ------------------
  |  Branch (156:9): [True: 0, False: 20.1M]
  ------------------
  157|      0|        *peeked = 0;
  158|      0|        return true;
  159|      0|    }
  160|       |
  161|  20.1M|    size_t read = 0;
  162|  20.1M|    bool   readahead = cache->readahead;
  163|       |    // Do not read more then available if source size is known
  164|  20.1M|    if (knownsize && (readb + len > size)) {
  ------------------
  |  Branch (164:9): [True: 962k, False: 19.1M]
  |  Branch (164:22): [True: 66.9k, False: 895k]
  ------------------
  165|  66.9k|        len = size - readb;
  166|  66.9k|        readahead = false;
  167|  66.9k|    }
  168|       |
  169|  20.1M|    if (cache->len - cache->pos >= len) {
  ------------------
  |  Branch (169:9): [True: 19.3M, False: 800k]
  ------------------
  170|  19.3M|        if (buf) {
  ------------------
  |  Branch (170:13): [True: 19.3M, False: 0]
  ------------------
  171|  19.3M|            memcpy(buf, &cache->buf[cache->pos], len);
  172|  19.3M|        }
  173|  19.3M|        *peeked = len;
  174|  19.3M|        return true;
  175|  19.3M|    }
  176|       |
  177|   800k|    if (cache->pos > 0) {
  ------------------
  |  Branch (177:9): [True: 672k, False: 128k]
  ------------------
  178|   672k|        memmove(&cache->buf[0], &cache->buf[cache->pos], cache->len - cache->pos);
  179|   672k|        cache->len -= cache->pos;
  180|   672k|        cache->pos = 0;
  181|   672k|    }
  182|       |
  183|   800k|    while (cache->len < len) {
  ------------------
  |  Branch (183:12): [True: 800k, False: 0]
  ------------------
  184|   800k|        read = readahead ? sizeof(cache->buf) - cache->len : len - cache->len;
  ------------------
  |  Branch (184:16): [True: 783k, False: 16.7k]
  ------------------
  185|   800k|        if (knownsize && (readb + read > size)) {
  ------------------
  |  Branch (185:13): [True: 24.4k, False: 776k]
  |  Branch (185:26): [True: 3.97k, False: 20.4k]
  ------------------
  186|  3.97k|            read = size - readb;
  187|  3.97k|        }
  188|   800k|        if (!raw_read(this, &cache->buf[cache->len], read, &read)) {
  ------------------
  |  Branch (188:13): [True: 13.9k, False: 786k]
  ------------------
  189|  13.9k|            error_ = true;
  190|  13.9k|            return false;
  191|  13.9k|        }
  192|   786k|        if (!read) {
  ------------------
  |  Branch (192:13): [True: 218k, False: 567k]
  ------------------
  193|   218k|            if (buf) {
  ------------------
  |  Branch (193:17): [True: 218k, False: 0]
  ------------------
  194|   218k|                memcpy(buf, &cache->buf[0], cache->len);
  195|   218k|            }
  196|   218k|            *peeked = cache->len;
  197|   218k|            return true;
  198|   218k|        }
  199|   567k|        cache->len += read;
  200|   567k|        if (cache->len >= len) {
  ------------------
  |  Branch (200:13): [True: 567k, False: 22]
  ------------------
  201|   567k|            if (buf) {
  ------------------
  |  Branch (201:17): [True: 567k, False: 0]
  ------------------
  202|   567k|                memcpy(buf, cache->buf, len);
  203|   567k|            }
  204|   567k|            *peeked = len;
  205|   567k|            return true;
  206|   567k|        }
  207|   567k|    }
  208|      0|    return false;
  209|   800k|}
_ZN12pgp_source_t7peek_eqEPvm:
  213|  14.6M|{
  214|  14.6M|    size_t res = 0;
  215|  14.6M|    return peek(buf, len, &res) && (res == len);
  ------------------
  |  Branch (215:12): [True: 14.5M, False: 28.5k]
  |  Branch (215:36): [True: 14.5M, False: 3.60k]
  ------------------
  216|  14.6M|}
_ZN12pgp_source_t4skipEm:
  220|   396k|{
  221|   396k|    if (cache && (cache->len - cache->pos >= len)) {
  ------------------
  |  Branch (221:9): [True: 396k, False: 0]
  |  Branch (221:18): [True: 396k, False: 0]
  ------------------
  222|   396k|        readb += len;
  223|   396k|        cache->pos += len;
  224|   396k|        return;
  225|   396k|    }
  226|       |
  227|      0|    size_t  res = 0;
  228|      0|    uint8_t sbuf[16];
  229|      0|    if (len < sizeof(sbuf)) {
  ------------------
  |  Branch (229:9): [True: 0, False: 0]
  ------------------
  230|      0|        (void) read(sbuf, len, &res);
  231|      0|        return;
  232|      0|    }
  233|      0|    if (eof()) {
  ------------------
  |  Branch (233:9): [True: 0, False: 0]
  ------------------
  234|      0|        return;
  235|      0|    }
  236|       |
  237|      0|    void *buf = calloc(1, std::min((size_t) PGP_INPUT_CACHE_SIZE, len));
  ------------------
  |  |   35|      0|#define PGP_INPUT_CACHE_SIZE 32768
  ------------------
  238|      0|    if (!buf) {
  ------------------
  |  Branch (238:9): [True: 0, False: 0]
  ------------------
  239|      0|        error_ = true;
  240|      0|        return;
  241|      0|    }
  242|       |
  243|      0|    while (len && !eof()) {
  ------------------
  |  Branch (243:12): [True: 0, False: 0]
  |  Branch (243:19): [True: 0, False: 0]
  ------------------
  244|      0|        if (!read(buf, std::min((size_t) PGP_INPUT_CACHE_SIZE, len), &res)) {
  ------------------
  |  |   35|      0|#define PGP_INPUT_CACHE_SIZE 32768
  ------------------
  |  Branch (244:13): [True: 0, False: 0]
  ------------------
  245|      0|            break;
  246|      0|        }
  247|      0|        len -= res;
  248|      0|    }
  249|      0|    free(buf);
  250|      0|}
_ZNK12pgp_source_t5errorEv:
  263|  29.5k|{
  264|  29.5k|    return error_;
  265|  29.5k|}
_ZN12pgp_source_t3eofEv:
  269|  3.37M|{
  270|  3.37M|    if (eof_) {
  ------------------
  |  Branch (270:9): [True: 61.3k, False: 3.31M]
  ------------------
  271|  61.3k|        return true;
  272|  61.3k|    }
  273|       |    /* Error on stream read is NOT considered as eof. See error(). */
  274|  3.31M|    uint8_t check;
  275|  3.31M|    size_t  read = 0;
  276|  3.31M|    return peek(&check, 1, &read) && (read == 0);
  ------------------
  |  Branch (276:12): [True: 3.27M, False: 41.3k]
  |  Branch (276:38): [True: 9.19k, False: 3.26M]
  ------------------
  277|  3.37M|}
_ZN12pgp_source_t5closeEv:
  281|   174k|{
  282|   174k|    if (raw_close) {
  ------------------
  |  Branch (282:9): [True: 174k, False: 0]
  ------------------
  283|   174k|        raw_close(this);
  284|   174k|    }
  285|       |
  286|   174k|    if (cache) {
  ------------------
  |  Branch (286:9): [True: 164k, False: 10.3k]
  ------------------
  287|   164k|        free(cache);
  288|       |        cache = NULL;
  289|   164k|    }
  290|   174k|}
_ZN12pgp_source_t8skip_eolEv:
  294|   155k|{
  295|   155k|    uint8_t eol[2];
  296|   155k|    size_t  read;
  297|       |
  298|   155k|    if (!peek(eol, 2, &read) || !read) {
  ------------------
  |  Branch (298:9): [True: 0, False: 155k]
  |  Branch (298:33): [True: 149, False: 155k]
  ------------------
  299|    149|        return false;
  300|    149|    }
  301|   155k|    if (eol[0] == '\n') {
  ------------------
  |  Branch (301:9): [True: 117k, False: 37.6k]
  ------------------
  302|   117k|        skip(1);
  303|   117k|        return true;
  304|   117k|    }
  305|  37.6k|    if ((read == 2) && (eol[0] == '\r') && (eol[1] == '\n')) {
  ------------------
  |  Branch (305:9): [True: 37.5k, False: 9]
  |  Branch (305:24): [True: 14.1k, False: 23.4k]
  |  Branch (305:44): [True: 13.8k, False: 299]
  ------------------
  306|  13.8k|        skip(2);
  307|  13.8k|        return true;
  308|  13.8k|    }
  309|  23.8k|    return false;
  310|  37.6k|}
_ZN12pgp_source_t10skip_charsERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE:
  314|  91.6k|{
  315|   131k|    do {
  316|   131k|        char   ch = 0;
  317|   131k|        size_t read = 0;
  318|   131k|        if (!peek(&ch, 1, &read)) {
  ------------------
  |  Branch (318:13): [True: 0, False: 131k]
  ------------------
  319|      0|            return false;
  320|      0|        }
  321|   131k|        if (!read) {
  ------------------
  |  Branch (321:13): [True: 188, False: 131k]
  ------------------
  322|       |            /* return true only if there is no underlying read error */
  323|    188|            return true;
  324|    188|        }
  325|   131k|        if (chars.find(ch) == std::string::npos) {
  ------------------
  |  Branch (325:13): [True: 91.5k, False: 39.5k]
  ------------------
  326|  91.5k|            return true;
  327|  91.5k|        }
  328|  39.5k|        skip(1);
  329|  39.5k|    } while (1);
  ------------------
  |  Branch (329:14): [True: 39.5k, Folded]
  ------------------
  330|  91.6k|}
_ZN12pgp_source_t9peek_lineEPcmPm:
  334|   130k|{
  335|   130k|    size_t scan_pos = 0;
  336|   130k|    size_t inc = 64;
  337|   130k|    len = len - 1;
  338|       |
  339|   156k|    do {
  340|   156k|        size_t to_peek = scan_pos + inc;
  341|   156k|        to_peek = to_peek > len ? len : to_peek;
  ------------------
  |  Branch (341:19): [True: 62.6k, False: 94.2k]
  ------------------
  342|   156k|        inc = inc * 2;
  343|       |
  344|       |        /* inefficient, each time we again read from the beginning */
  345|   156k|        if (!peek(buf, to_peek, readres)) {
  ------------------
  |  Branch (345:13): [True: 0, False: 156k]
  ------------------
  346|      0|            return false;
  347|      0|        }
  348|       |
  349|       |        /* we continue scanning where we stopped previously */
  350|  5.53M|        for (; scan_pos < *readres; scan_pos++) {
  ------------------
  |  Branch (350:16): [True: 5.48M, False: 44.8k]
  ------------------
  351|  5.48M|            if (buf[scan_pos] == '\n') {
  ------------------
  |  Branch (351:17): [True: 112k, False: 5.37M]
  ------------------
  352|   112k|                if ((scan_pos > 0) && (buf[scan_pos - 1] == '\r')) {
  ------------------
  |  Branch (352:21): [True: 89.1k, False: 22.8k]
  |  Branch (352:39): [True: 11.5k, False: 77.6k]
  ------------------
  353|  11.5k|                    scan_pos--;
  354|  11.5k|                }
  355|   112k|                buf[scan_pos] = '\0';
  356|   112k|                *readres = scan_pos;
  357|   112k|                return true;
  358|   112k|            }
  359|  5.48M|        }
  360|  44.8k|        if (*readres < to_peek) {
  ------------------
  |  Branch (360:13): [True: 539, False: 44.3k]
  ------------------
  361|    539|            return false;
  362|    539|        }
  363|  44.8k|    } while (scan_pos < len);
  ------------------
  |  Branch (363:14): [True: 26.0k, False: 18.2k]
  ------------------
  364|  18.2k|    return false;
  365|   130k|}
_Z15init_src_commonP12pgp_source_tm:
  369|   164k|{
  370|   164k|    memset(src, 0, sizeof(*src));
  371|   164k|    src->cache = (pgp_source_cache_t *) calloc(1, sizeof(*src->cache));
  372|   164k|    if (!src->cache) {
  ------------------
  |  Branch (372:9): [True: 0, False: 164k]
  ------------------
  373|      0|        RNP_LOG("cache allocation failed");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|      0|        return false;
  375|      0|    }
  376|   164k|    src->cache->readahead = true;
  377|   164k|    if (!paramsize) {
  ------------------
  |  Branch (377:9): [True: 32.0k, False: 132k]
  ------------------
  378|  32.0k|        return true;
  379|  32.0k|    }
  380|   132k|    src->param = calloc(1, paramsize);
  381|   132k|    if (!src->param) {
  ------------------
  |  Branch (381:9): [True: 0, False: 132k]
  ------------------
  382|      0|        RNP_LOG("param allocation failed");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|      0|        free(src->cache);
  384|      0|        src->cache = NULL;
  385|      0|        return false;
  386|      0|    }
  387|   132k|    return true;
  388|   132k|}
_Z12init_mem_srcP12pgp_source_tPKvmb:
  546|  19.0k|{
  547|  19.0k|    if (!mem && len) {
  ------------------
  |  Branch (547:9): [True: 0, False: 19.0k]
  |  Branch (547:17): [True: 0, False: 0]
  ------------------
  548|      0|        return RNP_ERROR_NULL_POINTER;
  549|      0|    }
  550|       |    /* this is actually double buffering, but then src_peek will fail */
  551|  19.0k|    if (!init_src_common(src, sizeof(pgp_source_mem_param_t))) {
  ------------------
  |  Branch (551:9): [True: 0, False: 19.0k]
  ------------------
  552|      0|        return RNP_ERROR_OUT_OF_MEMORY;
  553|      0|    }
  554|       |
  555|  19.0k|    pgp_source_mem_param_t *param = (pgp_source_mem_param_t *) src->param;
  556|  19.0k|    param->memory = mem;
  557|  19.0k|    param->len = len;
  558|  19.0k|    param->pos = 0;
  559|  19.0k|    param->free = free;
  560|  19.0k|    src->raw_read = mem_src_read;
  561|  19.0k|    src->raw_close = mem_src_close;
  562|  19.0k|    src->raw_finish = NULL;
  563|  19.0k|    src->size = len;
  564|  19.0k|    src->knownsize = 1;
  565|  19.0k|    src->type = PGP_STREAM_MEMORY;
  566|       |
  567|  19.0k|    return RNP_SUCCESS;
  568|  19.0k|}
_Z15init_dst_commonP10pgp_dest_tm:
  629|  58.7k|{
  630|  58.7k|    try {
  631|  58.7k|        *dst = pgp_dest_t();
  632|  58.7k|    } catch (const std::exception &e) {
  633|      0|        return false; // LCOV_EXCL_LINE
  634|      0|    }
  635|  58.7k|    if (!paramsize) {
  ------------------
  |  Branch (635:9): [True: 0, False: 58.7k]
  ------------------
  636|      0|        return true;
  637|      0|    }
  638|       |    /* allocate param */
  639|  58.7k|    dst->param = calloc(1, paramsize);
  640|  58.7k|    if (!dst->param) {
  ------------------
  |  Branch (640:9): [True: 0, False: 58.7k]
  ------------------
  641|       |        /* LCOV_EXCL_START */
  642|      0|        RNP_LOG("allocation failed");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  643|      0|        return false;
  644|       |        /* LCOV_EXCL_END */
  645|      0|    }
  646|  58.7k|    return true;
  647|  58.7k|}
_Z9dst_writeP10pgp_dest_tPKvm:
  651|   433M|{
  652|       |    /* we call write function only if all previous calls succeeded */
  653|   433M|    if ((len > 0) && (dst->write) && (dst->werr == RNP_SUCCESS)) {
  ------------------
  |  Branch (653:9): [True: 433M, False: 24.2k]
  |  Branch (653:22): [True: 433M, False: 0]
  |  Branch (653:38): [True: 433M, False: 0]
  ------------------
  654|       |        /* if cache non-empty and len will overflow it then fill it and write out */
  655|   433M|        if ((dst->clen > 0) && (dst->clen + len > dst->cache.size())) {
  ------------------
  |  Branch (655:13): [True: 0, False: 433M]
  |  Branch (655:32): [True: 0, False: 0]
  ------------------
  656|      0|            memcpy(dst->cache.data() + dst->clen, buf, dst->cache.size() - dst->clen);
  657|      0|            buf = (uint8_t *) buf + dst->cache.size() - dst->clen;
  658|      0|            len -= dst->cache.size() - dst->clen;
  659|      0|            dst->werr = dst->write(dst, dst->cache.data(), dst->cache.size());
  660|      0|            dst->writeb += dst->cache.size();
  661|      0|            dst->clen = 0;
  662|      0|            if (dst->werr != RNP_SUCCESS) {
  ------------------
  |  Branch (662:17): [True: 0, False: 0]
  ------------------
  663|      0|                return;
  664|      0|            }
  665|      0|        }
  666|       |
  667|       |        /* here everything will fit into the cache or cache is empty */
  668|   433M|        if (dst->no_cache || (len > dst->cache.size())) {
  ------------------
  |  Branch (668:13): [True: 433M, False: 0]
  |  Branch (668:30): [True: 0, False: 0]
  ------------------
  669|   433M|            dst->werr = dst->write(dst, buf, len);
  670|   433M|            if (!dst->werr) {
  ------------------
  |  Branch (670:17): [True: 433M, False: 0]
  ------------------
  671|   433M|                dst->writeb += len;
  672|   433M|            }
  673|   433M|        } else {
  674|      0|            memcpy(dst->cache.data() + dst->clen, buf, len);
  675|      0|            dst->clen += len;
  676|      0|        }
  677|   433M|    }
  678|   433M|}
_Z9dst_writeR10pgp_dest_tRKNSt3__16vectorIhNS1_9allocatorIhEEEE:
  682|  88.8k|{
  683|  88.8k|    dst_write(&dst, buf.data(), buf.size());
  684|  88.8k|}
_Z10dst_printfR10pgp_dest_tPKcz:
  688|   106M|{
  689|   106M|    char    buf[2048];
  690|   106M|    size_t  len;
  691|   106M|    va_list ap;
  692|       |
  693|   106M|    va_start(ap, format);
  694|   106M|    len = vsnprintf(buf, sizeof(buf), format, ap);
  695|   106M|    va_end(ap);
  696|       |
  697|   106M|    if (len >= sizeof(buf)) {
  ------------------
  |  Branch (697:9): [True: 0, False: 106M]
  ------------------
  698|      0|        RNP_LOG("too long dst_printf");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|      0|        len = sizeof(buf) - 1;
  700|      0|    }
  701|   106M|    dst_write(&dst, buf, len);
  702|   106M|}
_Z9dst_flushP10pgp_dest_t:
  706|  65.7k|{
  707|  65.7k|    if ((dst->clen > 0) && (dst->write) && (dst->werr == RNP_SUCCESS)) {
  ------------------
  |  Branch (707:9): [True: 0, False: 65.7k]
  |  Branch (707:28): [True: 0, False: 0]
  |  Branch (707:44): [True: 0, False: 0]
  ------------------
  708|      0|        dst->werr = dst->write(dst, dst->cache.data(), dst->clen);
  709|      0|        dst->writeb += dst->clen;
  710|      0|        dst->clen = 0;
  711|      0|    }
  712|  65.7k|}
_Z10dst_finishP10pgp_dest_t:
  716|  65.7k|{
  717|  65.7k|    rnp_result_t res = RNP_SUCCESS;
  718|       |
  719|  65.7k|    if (!dst->finished) {
  ------------------
  |  Branch (719:9): [True: 65.7k, False: 0]
  ------------------
  720|       |        /* flush write cache in the dst */
  721|  65.7k|        dst_flush(dst);
  722|  65.7k|        res = dst->werr;
  723|       |        /* do not run the finish callback (e.g. renaming of the temporary
  724|       |         * output file over the target one) if the data was not written
  725|       |         * in full, otherwise a truncated output would replace it */
  726|  65.7k|        if (dst->finish && !res) {
  ------------------
  |  Branch (726:13): [True: 0, False: 65.7k]
  |  Branch (726:28): [True: 0, False: 0]
  ------------------
  727|      0|            res = dst->finish(dst);
  728|      0|        }
  729|  65.7k|        dst->finished = true;
  730|  65.7k|    }
  731|       |
  732|  65.7k|    return res;
  733|  65.7k|}
_Z9dst_closeP10pgp_dest_tb:
  737|  67.8k|{
  738|  67.8k|    if (!discard && !dst->finished) {
  ------------------
  |  Branch (738:9): [True: 65.7k, False: 2.09k]
  |  Branch (738:21): [True: 65.7k, False: 0]
  ------------------
  739|  65.7k|        dst_finish(dst);
  740|  65.7k|    }
  741|       |
  742|  67.8k|    if (dst->close) {
  ------------------
  |  Branch (742:9): [True: 67.8k, False: 0]
  ------------------
  743|  67.8k|        dst->close(dst, discard);
  744|  67.8k|    }
  745|  67.8k|}
_Z13init_mem_destP10pgp_dest_tPvj:
 1057|  1.39k|{
 1058|  1.39k|    pgp_dest_mem_param_t *param;
 1059|       |
 1060|  1.39k|    if (!init_dst_common(dst, sizeof(*param))) {
  ------------------
  |  Branch (1060:9): [True: 0, False: 1.39k]
  ------------------
 1061|      0|        return RNP_ERROR_OUT_OF_MEMORY;
 1062|      0|    }
 1063|       |
 1064|  1.39k|    param = (pgp_dest_mem_param_t *) dst->param;
 1065|       |
 1066|  1.39k|    param->maxalloc = len;
 1067|  1.39k|    param->allocated = mem ? len : 0;
  ------------------
  |  Branch (1067:24): [True: 1.39k, False: 0]
  ------------------
 1068|  1.39k|    param->memory = mem;
 1069|  1.39k|    param->free = !mem;
 1070|  1.39k|    param->secure = false;
 1071|       |
 1072|  1.39k|    dst->write = mem_dst_write;
 1073|  1.39k|    dst->close = mem_dst_close;
 1074|  1.39k|    dst->type = PGP_STREAM_MEMORY;
 1075|  1.39k|    dst->werr = RNP_SUCCESS;
 1076|  1.39k|    dst->no_cache = true;
 1077|       |
 1078|  1.39k|    return RNP_SUCCESS;
 1079|  1.39k|}
_Z25mem_dest_discard_overflowP10pgp_dest_tb:
 1083|  1.39k|{
 1084|  1.39k|    if (dst->type != PGP_STREAM_MEMORY) {
  ------------------
  |  Branch (1084:9): [True: 0, False: 1.39k]
  ------------------
 1085|      0|        RNP_LOG("wrong function call");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|      0|        return;
 1087|      0|    }
 1088|       |
 1089|  1.39k|    pgp_dest_mem_param_t *param = (pgp_dest_mem_param_t *) dst->param;
 1090|  1.39k|    if (param) {
  ------------------
  |  Branch (1090:9): [True: 1.39k, False: 0]
  ------------------
 1091|  1.39k|        param->discard_overflow = discard;
 1092|  1.39k|    }
 1093|  1.39k|}
_Z14init_null_destP10pgp_dest_t:
 1181|  9.14k|{
 1182|  9.14k|    dst->param = NULL;
 1183|  9.14k|    dst->write = null_dst_write;
 1184|  9.14k|    dst->close = null_dst_close;
 1185|  9.14k|    dst->type = PGP_STREAM_NULL;
 1186|  9.14k|    dst->writeb = 0;
 1187|  9.14k|    dst->clen = 0;
 1188|  9.14k|    dst->werr = RNP_SUCCESS;
 1189|  9.14k|    dst->no_cache = true;
 1190|       |
 1191|  9.14k|    return RNP_SUCCESS;
 1192|  9.14k|}
_Z13dst_write_srcP12pgp_source_tP10pgp_dest_tm:
 1196|    137|{
 1197|    137|    const size_t bufsize = PGP_INPUT_CACHE_SIZE;
  ------------------
  |  |   35|    137|#define PGP_INPUT_CACHE_SIZE 32768
  ------------------
 1198|    137|    uint8_t *    readbuf = (uint8_t *) malloc(bufsize);
 1199|    137|    if (!readbuf) {
  ------------------
  |  Branch (1199:9): [True: 0, False: 137]
  ------------------
 1200|      0|        return RNP_ERROR_OUT_OF_MEMORY;
 1201|      0|    }
 1202|    137|    rnp_result_t res = RNP_SUCCESS;
 1203|    137|    try {
 1204|    137|        size_t   read;
 1205|    137|        uint64_t totalread = 0;
 1206|       |
 1207|    542|        while (!src->eof_) {
  ------------------
  |  Branch (1207:16): [True: 419, False: 123]
  ------------------
 1208|    419|            if (!src->read(readbuf, bufsize, &read)) {
  ------------------
  |  Branch (1208:17): [True: 14, False: 405]
  ------------------
 1209|     14|                res = RNP_ERROR_GENERIC;
 1210|     14|                break;
 1211|     14|            }
 1212|    405|            if (!read) {
  ------------------
  |  Branch (1212:17): [True: 3, False: 402]
  ------------------
 1213|      3|                continue;
 1214|      3|            }
 1215|    402|            totalread += read;
 1216|    402|            if (limit && totalread > limit) {
  ------------------
  |  Branch (1216:17): [True: 402, False: 0]
  |  Branch (1216:26): [True: 0, False: 402]
  ------------------
 1217|      0|                res = RNP_ERROR_GENERIC;
 1218|      0|                break;
 1219|      0|            }
 1220|    402|            if (dst) {
  ------------------
  |  Branch (1220:17): [True: 0, False: 402]
  ------------------
 1221|      0|                dst_write(dst, readbuf, read);
 1222|      0|                if (dst->werr) {
  ------------------
  |  Branch (1222:21): [True: 0, False: 0]
  ------------------
 1223|      0|                    RNP_LOG("failed to output data");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1224|      0|                    res = RNP_ERROR_WRITE;
 1225|      0|                    break;
 1226|      0|                }
 1227|      0|            }
 1228|    402|        }
 1229|    137|    } catch (...) {
 1230|      0|        free(readbuf);
 1231|      0|        throw;
 1232|      0|    }
 1233|    137|    free(readbuf);
 1234|    137|    if (res || !dst) {
  ------------------
  |  Branch (1234:9): [True: 14, False: 123]
  |  Branch (1234:16): [True: 123, False: 0]
  ------------------
 1235|    137|        return res;
 1236|    137|    }
 1237|      0|    dst_flush(dst);
 1238|      0|    return dst->werr;
 1239|    137|}
stream-common.cpp:_ZL12mem_src_readP12pgp_source_tPvmPm:
  516|  20.7k|{
  517|  20.7k|    pgp_source_mem_param_t *param = (pgp_source_mem_param_t *) src->param;
  518|  20.7k|    if (!param) {
  ------------------
  |  Branch (518:9): [True: 0, False: 20.7k]
  ------------------
  519|      0|        return false;
  520|      0|    }
  521|       |
  522|  20.7k|    if (len > param->len - param->pos) {
  ------------------
  |  Branch (522:9): [True: 914, False: 19.8k]
  ------------------
  523|    914|        len = param->len - param->pos;
  524|    914|    }
  525|  20.7k|    memcpy(buf, (uint8_t *) param->memory + param->pos, len);
  526|  20.7k|    param->pos += len;
  527|  20.7k|    *read = len;
  528|  20.7k|    return true;
  529|  20.7k|}
stream-common.cpp:_ZL13mem_src_closeP12pgp_source_t:
  533|  19.0k|{
  534|  19.0k|    pgp_source_mem_param_t *param = (pgp_source_mem_param_t *) src->param;
  535|  19.0k|    if (param) {
  ------------------
  |  Branch (535:9): [True: 19.0k, False: 0]
  ------------------
  536|  19.0k|        if (param->free) {
  ------------------
  |  Branch (536:13): [True: 0, False: 19.0k]
  ------------------
  537|      0|            free((void *) param->memory);
  538|      0|        }
  539|  19.0k|        free(src->param);
  540|       |        src->param = NULL;
  541|  19.0k|    }
  542|  19.0k|}
stream-common.cpp:_ZL13mem_dst_writeP10pgp_dest_tPKvm:
  994|  14.1M|{
  995|  14.1M|    pgp_dest_mem_param_t *param = (pgp_dest_mem_param_t *) dst->param;
  996|  14.1M|    if (!param) {
  ------------------
  |  Branch (996:9): [True: 0, False: 14.1M]
  ------------------
  997|      0|        return RNP_ERROR_BAD_PARAMETERS;
  998|      0|    }
  999|       |
 1000|       |    /* checking whether we need to realloc or discard extra bytes */
 1001|  14.1M|    if (param->discard_overflow && (dst->writeb >= param->allocated)) {
  ------------------
  |  Branch (1001:9): [True: 14.1M, False: 0]
  |  Branch (1001:36): [True: 14.1M, False: 2.22k]
  ------------------
 1002|  14.1M|        return RNP_SUCCESS;
 1003|  14.1M|    }
 1004|  2.22k|    if (param->discard_overflow && (dst->writeb + len > param->allocated)) {
  ------------------
  |  Branch (1004:9): [True: 2.22k, False: 0]
  |  Branch (1004:36): [True: 331, False: 1.89k]
  ------------------
 1005|    331|        len = param->allocated - dst->writeb;
 1006|    331|    }
 1007|       |
 1008|  2.22k|    if (dst->writeb + len > param->allocated) {
  ------------------
  |  Branch (1008:9): [True: 0, False: 2.22k]
  ------------------
 1009|      0|        if ((param->maxalloc > 0) && (dst->writeb + len > param->maxalloc)) {
  ------------------
  |  Branch (1009:13): [True: 0, False: 0]
  |  Branch (1009:38): [True: 0, False: 0]
  ------------------
 1010|      0|            RNP_LOG("attempt to alloc more then allowed");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|      0|            return RNP_ERROR_OUT_OF_MEMORY;
 1012|      0|        }
 1013|       |
 1014|       |        /* round up to the page boundary and do it exponentially */
 1015|      0|        size_t alloc = ((dst->writeb + len) * 2 + 4095) / 4096 * 4096;
 1016|      0|        if ((param->maxalloc > 0) && (alloc > param->maxalloc)) {
  ------------------
  |  Branch (1016:13): [True: 0, False: 0]
  |  Branch (1016:38): [True: 0, False: 0]
  ------------------
 1017|      0|            alloc = param->maxalloc;
 1018|      0|        }
 1019|       |
 1020|      0|        void *newalloc = param->secure ? calloc(1, alloc) : realloc(param->memory, alloc);
  ------------------
  |  Branch (1020:26): [True: 0, False: 0]
  ------------------
 1021|      0|        if (!newalloc) {
  ------------------
  |  Branch (1021:13): [True: 0, False: 0]
  ------------------
 1022|      0|            return RNP_ERROR_OUT_OF_MEMORY;
 1023|      0|        }
 1024|      0|        if (param->secure && param->memory) {
  ------------------
  |  Branch (1024:13): [True: 0, False: 0]
  |  Branch (1024:30): [True: 0, False: 0]
  ------------------
 1025|      0|            memcpy(newalloc, param->memory, dst->writeb);
 1026|      0|            secure_clear(param->memory, dst->writeb);
 1027|      0|            free(param->memory);
 1028|      0|        }
 1029|      0|        param->memory = newalloc;
 1030|      0|        param->allocated = alloc;
 1031|      0|    }
 1032|       |
 1033|  2.22k|    memcpy((uint8_t *) param->memory + dst->writeb, buf, len);
 1034|  2.22k|    return RNP_SUCCESS;
 1035|  2.22k|}
stream-common.cpp:_ZL13mem_dst_closeP10pgp_dest_tb:
 1039|  1.39k|{
 1040|  1.39k|    pgp_dest_mem_param_t *param = (pgp_dest_mem_param_t *) dst->param;
 1041|  1.39k|    if (!param) {
  ------------------
  |  Branch (1041:9): [True: 0, False: 1.39k]
  ------------------
 1042|      0|        return;
 1043|      0|    }
 1044|       |
 1045|  1.39k|    if (param->free) {
  ------------------
  |  Branch (1045:9): [True: 0, False: 1.39k]
  ------------------
 1046|      0|        if (param->secure) {
  ------------------
  |  Branch (1046:13): [True: 0, False: 0]
  ------------------
 1047|      0|            secure_clear(param->memory, param->allocated);
 1048|      0|        }
 1049|      0|        free(param->memory);
 1050|      0|    }
 1051|  1.39k|    free(param);
 1052|       |    dst->param = NULL;
 1053|  1.39k|}
stream-common.cpp:_ZL14null_dst_writeP10pgp_dest_tPKvm:
 1169|   136M|{
 1170|   136M|    return RNP_SUCCESS;
 1171|   136M|}
stream-common.cpp:_ZL14null_dst_closeP10pgp_dest_tb:
 1175|  9.14k|{
 1176|  9.14k|    ;
 1177|  9.14k|}

_ZN10pgp_dest_tC2Ev:
  259|   126k|    pgp_dest_t() = default;
_ZN10pgp_dest_taSEOS_:
  262|  58.7k|    pgp_dest_t &operator=(pgp_dest_t &&) = default;
_ZN3rnp6SourceC2Ev:
  404|  91.3k|    Source() : src_({})
  405|  91.3k|    {
  406|  91.3k|    }
_ZN3rnp6Source3srcEv:
  415|  2.17M|    {
  416|  2.17M|        return src_;
  417|  2.17M|    }
_ZN3rnp6SourceD2Ev:
  409|  91.3k|    {
  410|  91.3k|        src_.close();
  411|  91.3k|    }
_ZN3rnp6Source5readbEv:
  427|  3.09k|    {
  428|  3.09k|        return src().readb;
  429|  3.09k|    }
_ZN3rnp6Source3eofEv:
  433|  1.07M|    {
  434|  1.07M|        return src().eof();
  435|  1.07M|    }
_ZN3rnp12MemorySourceC2EPKvmb:
  456|    782|    MemorySource(const void *mem, size_t len, bool free) : Source()
  457|    782|    {
  458|    782|        auto res = init_mem_src(&src_, mem, len, free);
  459|    782|        if (res) {
  ------------------
  |  Branch (459:13): [True: 0, False: 782]
  ------------------
  460|      0|            throw std::bad_alloc();
  461|      0|        }
  462|    782|    }
_ZN3rnp4DestC2Ev:
  498|  1.39k|    Dest() : dst_(), discard_(false)
  499|  1.39k|    {
  500|  1.39k|    }
_ZN3rnp4DestD2Ev:
  503|  1.39k|    {
  504|  1.39k|        dst_close(&dst_, discard_);
  505|  1.39k|    }
_ZN3rnp4Dest3dstEv:
  521|  2.79k|    {
  522|  2.79k|        return dst_;
  523|  2.79k|    }
_ZN3rnp4Dest6writebEv:
  527|    782|    {
  528|    782|        return dst_.writeb;
  529|    782|    }
_ZN3rnp10MemoryDestC2EPvm:
  543|  1.39k|    MemoryDest(void *mem = NULL, size_t len = 0) : Dest()
  544|  1.39k|    {
  545|  1.39k|        auto res = init_mem_dest(&dst_, mem, len);
  546|  1.39k|        if (res) {
  ------------------
  |  Branch (546:13): [True: 0, False: 1.39k]
  ------------------
  547|      0|            throw std::bad_alloc();
  548|      0|        }
  549|  1.39k|        discard_ = true;
  550|  1.39k|    }

_ZN3rnp11DumpContext11copy_paramsERKS0_:
  635|   124k|{
  636|   124k|    dump_mpi = ctx.dump_mpi;
  637|   124k|    dump_packets = ctx.dump_packets;
  638|   124k|    dump_grips = ctx.dump_grips;
  639|       |    /* this could be called only from upper layer dumper */
  640|   124k|    layers = ctx.layers;
  641|   124k|    stream_pkts = ctx.stream_pkts;
  642|   124k|    failures = ctx.failures;
  643|   124k|    dumped_pkts = ctx.dumped_pkts;
  644|   124k|    zbudget = ctx.zbudget;
  645|   124k|}
_ZN3rnp11DumpContext12get_aead_hdrER14pgp_aead_hdr_t:
  649|  1.39k|{
  650|  1.39k|    uint8_t    encpkt[64] = {0};
  651|  1.39k|    MemoryDest encdst(encpkt, sizeof(encpkt));
  652|       |
  653|  1.39k|    mem_dest_discard_overflow(&encdst.dst(), true);
  654|       |
  655|  1.39k|    if (stream_read_packet(&src, &encdst.dst())) {
  ------------------
  |  Branch (655:9): [True: 616, False: 782]
  ------------------
  656|    616|        return false;
  657|    616|    }
  658|    782|    size_t len = std::min(encdst.writeb(), sizeof(encpkt));
  659|       |
  660|    782|    MemorySource memsrc(encpkt, len, false);
  661|    782|    return get_aead_src_hdr(&memsrc.src(), &hdr);
  662|  1.39k|}
_ZN3rnp11DumpContext14skip_cleartextEv:
  666|     24|{
  667|     24|    char   buf[4096];
  668|     24|    size_t read = 0;
  669|     24|    size_t siglen = strlen(ST_SIG_BEGIN);
  ------------------
  |  |   49|     24|#define ST_SIG_BEGIN ("\n-----BEGIN PGP SIGNATURE-----")
  ------------------
  670|     24|    char * hdrpos;
  671|       |
  672|    252|    while (!src.eof()) {
  ------------------
  |  Branch (672:12): [True: 252, False: 0]
  ------------------
  673|    252|        if (!src.peek(buf, sizeof(buf) - 1, &read) || (read <= siglen)) {
  ------------------
  |  Branch (673:13): [True: 0, False: 252]
  |  Branch (673:55): [True: 18, False: 234]
  ------------------
  674|     18|            return false;
  675|     18|        }
  676|    234|        buf[read] = '\0';
  677|       |
  678|    234|        if ((hdrpos = strstr(buf, ST_SIG_BEGIN))) {
  ------------------
  |  |   49|    234|#define ST_SIG_BEGIN ("\n-----BEGIN PGP SIGNATURE-----")
  ------------------
  |  Branch (678:13): [True: 6, False: 228]
  ------------------
  679|       |            /* +1 here is to skip \n on the beginning of ST_SIG_BEGIN */
  680|      6|            src.skip(hdrpos - buf + 1);
  681|      6|            return true;
  682|      6|        }
  683|    228|        src.skip(read - siglen + 1);
  684|    228|    }
  685|      0|    return false;
  686|     24|}
_ZN3rnp14DumpContextDstC2ER12pgp_source_tR10pgp_dest_t:
  688|  57.3k|DumpContextDst::DumpContextDst(pgp_source_t &asrc, pgp_dest_t &adst) : DumpContext(asrc)
  689|  57.3k|{
  690|  57.3k|    auto ret = init_indent_dest(dst, &adst);
  691|  57.3k|    if (ret) {
  ------------------
  |  Branch (691:9): [True: 0, False: 57.3k]
  ------------------
  692|      0|        RNP_LOG("failed to init indent dest");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|      0|        throw rnp_exception(RNP_ERROR_OUT_OF_MEMORY);
  694|      0|    }
  695|  57.3k|}
_ZN3rnp14DumpContextDstD2Ev:
  698|  57.3k|{
  699|  57.3k|    if (dst.param) {
  ------------------
  |  Branch (699:9): [True: 57.3k, False: 0]
  ------------------
  700|  57.3k|        dst_close(&dst, false);
  701|  57.3k|    }
  702|  57.3k|}
_ZN3rnp14DumpContextDst24dump_signature_subpacketERKN3pgp3pkt6sigsub3RawE:
  706|  49.8k|{
  707|  49.8k|    auto sname = id_str_pair::lookup(sig_subpkt_type_map, subpkt.raw_type(), "Unknown");
  708|       |
  709|  49.8k|    switch (subpkt.type()) {
  710|  2.22k|    case pkt::sigsub::Type::CreationTime: {
  ------------------
  |  Branch (710:5): [True: 2.22k, False: 47.6k]
  ------------------
  711|  2.22k|        auto &sub = dynamic_cast<const pkt::sigsub::CreationTime &>(subpkt);
  712|  2.22k|        dst_print_time(dst, sname, sub.time());
  713|  2.22k|        break;
  714|      0|    }
  715|    786|    case pkt::sigsub::Type::ExpirationTime: {
  ------------------
  |  Branch (715:5): [True: 786, False: 49.0k]
  ------------------
  716|    786|        auto &sub = dynamic_cast<const pkt::sigsub::ExpirationTime &>(subpkt);
  717|    786|        dst_print_expiration(dst, sname, sub.time());
  718|    786|        break;
  719|      0|    }
  720|  1.59k|    case pkt::sigsub::Type::ExportableCert: {
  ------------------
  |  Branch (720:5): [True: 1.59k, False: 48.2k]
  ------------------
  721|  1.59k|        auto &sub = dynamic_cast<const pkt::sigsub::ExportableCert &>(subpkt);
  722|  1.59k|        dst_printf(dst, "%s: %d\n", sname, sub.exportable());
  723|  1.59k|        break;
  724|      0|    }
  725|    213|    case pkt::sigsub::Type::Trust: {
  ------------------
  |  Branch (725:5): [True: 213, False: 49.6k]
  ------------------
  726|    213|        auto &sub = dynamic_cast<const pkt::sigsub::Trust &>(subpkt);
  727|    213|        dst_printf(
  728|    213|          dst, "%s: amount %" PRIu8 ", level %" PRIu8 "\n", sname, sub.amount(), sub.level());
  729|    213|        break;
  730|      0|    }
  731|    814|    case pkt::sigsub::Type::RegExp: {
  ------------------
  |  Branch (731:5): [True: 814, False: 49.0k]
  ------------------
  732|    814|        auto &sub = dynamic_cast<const pkt::sigsub::RegExp &>(subpkt);
  733|    814|        dst_print_str(dst, sname, sub.regexp());
  734|    814|        break;
  735|      0|    }
  736|    362|    case pkt::sigsub::Type::Revocable: {
  ------------------
  |  Branch (736:5): [True: 362, False: 49.5k]
  ------------------
  737|    362|        auto &sub = dynamic_cast<const pkt::sigsub::Revocable &>(subpkt);
  738|    362|        dst_printf(dst, "%s: %d\n", sname, sub.revocable());
  739|    362|        break;
  740|      0|    }
  741|  2.09k|    case pkt::sigsub::Type::KeyExpirationTime: {
  ------------------
  |  Branch (741:5): [True: 2.09k, False: 47.7k]
  ------------------
  742|  2.09k|        auto &sub = dynamic_cast<const pkt::sigsub::KeyExpirationTime &>(subpkt);
  743|  2.09k|        dst_print_expiration(dst, sname, sub.time());
  744|  2.09k|        break;
  745|      0|    }
  746|  3.29k|    case pkt::sigsub::Type::PreferredSymmetric: {
  ------------------
  |  Branch (746:5): [True: 3.29k, False: 46.5k]
  ------------------
  747|  3.29k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredSymmetric &>(subpkt);
  748|  3.29k|        dst_print_algs(dst, "preferred symmetric algorithms", sub.algs(), symm_alg_map);
  749|  3.29k|        break;
  750|      0|    }
  751|    961|    case pkt::sigsub::Type::RevocationKey: {
  ------------------
  |  Branch (751:5): [True: 961, False: 48.9k]
  ------------------
  752|    961|        auto &sub = dynamic_cast<const pkt::sigsub::RevocationKey &>(subpkt);
  753|    961|        dst_printf(dst, "%s\n", sname);
  754|    961|        dst_printf(dst, "class: %" PRIu8 "\n", sub.rev_class());
  755|    961|        dst_print_palg(dst, NULL, sub.alg());
  756|    961|        dst_print_fp(dst, "fingerprint", sub.fp());
  757|    961|        break;
  758|      0|    }
  759|  2.24k|    case pkt::sigsub::Type::IssuerKeyID: {
  ------------------
  |  Branch (759:5): [True: 2.24k, False: 47.6k]
  ------------------
  760|  2.24k|        auto &sub = dynamic_cast<const pkt::sigsub::IssuerKeyID &>(subpkt);
  761|  2.24k|        dst_print_keyid(dst, sname, sub.keyid());
  762|  2.24k|        break;
  763|      0|    }
  764|  1.24k|    case pkt::sigsub::Type::NotationData: {
  ------------------
  |  Branch (764:5): [True: 1.24k, False: 48.6k]
  ------------------
  765|  1.24k|        auto &sub = dynamic_cast<const pkt::sigsub::NotationData &>(subpkt);
  766|  1.24k|        if (sub.human_readable()) {
  ------------------
  |  Branch (766:13): [True: 526, False: 714]
  ------------------
  767|    526|            dst_printf(dst, "%s: %s = ", sname, sub.name().c_str());
  768|    526|            dst_printf(
  769|    526|              dst, "%.*s\n", (int) sub.value().size(), (const char *) sub.value().data());
  770|    714|        } else {
  771|    714|            char hex[64];
  772|    714|            vsnprinthex(hex, sizeof(hex), sub.value().data(), sub.value().size());
  773|    714|            dst_printf(dst, "%s: %s = ", sname, sub.name().c_str());
  774|    714|            dst_printf(dst, "0x%s (%zu bytes)\n", hex, sub.value().size());
  775|    714|        }
  776|  1.24k|        break;
  777|      0|    }
  778|  2.15k|    case pkt::sigsub::Type::PreferredHash: {
  ------------------
  |  Branch (778:5): [True: 2.15k, False: 47.7k]
  ------------------
  779|  2.15k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredHash &>(subpkt);
  780|  2.15k|        dst_print_algs(dst, "preferred hash algorithms", sub.algs(), hash_alg_map);
  781|  2.15k|        break;
  782|      0|    }
  783|  2.20k|    case pkt::sigsub::Type::PreferredCompress: {
  ------------------
  |  Branch (783:5): [True: 2.20k, False: 47.6k]
  ------------------
  784|  2.20k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredCompress &>(subpkt);
  785|  2.20k|        dst_print_algs(dst, "preferred compression algorithms", sub.algs(), z_alg_map);
  786|  2.20k|        break;
  787|      0|    }
  788|  1.97k|    case pkt::sigsub::Type::KeyserverPrefs: {
  ------------------
  |  Branch (788:5): [True: 1.97k, False: 47.8k]
  ------------------
  789|  1.97k|        auto &sub = dynamic_cast<const pkt::sigsub::KeyserverPrefs &>(subpkt);
  790|  1.97k|        dst_printf(dst, "%s\n", sname);
  791|  1.97k|        dst_printf(dst, "no-modify: %d\n", sub.no_modify());
  792|  1.97k|        break;
  793|      0|    }
  794|  3.12k|    case pkt::sigsub::Type::PreferredKeyserver: {
  ------------------
  |  Branch (794:5): [True: 3.12k, False: 46.7k]
  ------------------
  795|  3.12k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredKeyserver &>(subpkt);
  796|  3.12k|        dst_print_str(dst, sname, sub.keyserver());
  797|  3.12k|        break;
  798|      0|    }
  799|    215|    case pkt::sigsub::Type::PrimaryUserID: {
  ------------------
  |  Branch (799:5): [True: 215, False: 49.6k]
  ------------------
  800|    215|        auto &sub = dynamic_cast<const pkt::sigsub::PrimaryUserID &>(subpkt);
  801|    215|        dst_printf(dst, "%s: %d\n", sname, sub.primary());
  802|    215|        break;
  803|      0|    }
  804|    851|    case pkt::sigsub::Type::PolicyURI: {
  ------------------
  |  Branch (804:5): [True: 851, False: 49.0k]
  ------------------
  805|    851|        auto &sub = dynamic_cast<const pkt::sigsub::PolicyURI &>(subpkt);
  806|    851|        dst_print_str(dst, sname, sub.URI());
  807|    851|        break;
  808|      0|    }
  809|  3.13k|    case pkt::sigsub::Type::KeyFlags: {
  ------------------
  |  Branch (809:5): [True: 3.13k, False: 46.7k]
  ------------------
  810|  3.13k|        auto &  sub = dynamic_cast<const pkt::sigsub::KeyFlags &>(subpkt);
  811|  3.13k|        uint8_t flg = sub.flags();
  812|  3.13k|        dst_printf(dst, "%s: 0x%02x ( ", sname, flg);
  813|  3.13k|        dst_printf(dst, "%s", flg ? "" : "none");
  ------------------
  |  Branch (813:31): [True: 2.92k, False: 216]
  ------------------
  814|  3.13k|        dst_printf(dst, "%s", flg & PGP_KF_CERTIFY ? "certify " : "");
  ------------------
  |  Branch (814:31): [True: 2.33k, False: 809]
  ------------------
  815|  3.13k|        dst_printf(dst, "%s", flg & PGP_KF_SIGN ? "sign " : "");
  ------------------
  |  Branch (815:31): [True: 2.20k, False: 931]
  ------------------
  816|  3.13k|        dst_printf(dst, "%s", flg & PGP_KF_ENCRYPT_COMMS ? "encrypt_comm " : "");
  ------------------
  |  Branch (816:31): [True: 525, False: 2.61k]
  ------------------
  817|  3.13k|        dst_printf(dst, "%s", flg & PGP_KF_ENCRYPT_STORAGE ? "encrypt_storage " : "");
  ------------------
  |  Branch (817:31): [True: 734, False: 2.40k]
  ------------------
  818|  3.13k|        dst_printf(dst, "%s", flg & PGP_KF_SPLIT ? "split " : "");
  ------------------
  |  Branch (818:31): [True: 620, False: 2.51k]
  ------------------
  819|  3.13k|        dst_printf(dst, "%s", flg & PGP_KF_AUTH ? "auth " : "");
  ------------------
  |  Branch (819:31): [True: 599, False: 2.54k]
  ------------------
  820|  3.13k|        dst_printf(dst, "%s", flg & PGP_KF_SHARED ? "shared " : "");
  ------------------
  |  Branch (820:31): [True: 232, False: 2.90k]
  ------------------
  821|  3.13k|        dst_printf(dst, ")\n");
  822|  3.13k|        break;
  823|      0|    }
  824|  1.97k|    case pkt::sigsub::Type::SignersUserID: {
  ------------------
  |  Branch (824:5): [True: 1.97k, False: 47.8k]
  ------------------
  825|  1.97k|        auto &sub = dynamic_cast<const pkt::sigsub::SignersUserID &>(subpkt);
  826|  1.97k|        dst_print_str(dst, sname, sub.signer());
  827|  1.97k|        break;
  828|      0|    }
  829|    819|    case pkt::sigsub::Type::RevocationReason: {
  ------------------
  |  Branch (829:5): [True: 819, False: 49.0k]
  ------------------
  830|    819|        auto &sub = dynamic_cast<const pkt::sigsub::RevocationReason &>(subpkt);
  831|    819|        auto  reason = id_str_pair::lookup(revoc_reason_map, sub.code(), "Unknown");
  832|    819|        dst_printf(dst, "%s: %" PRIu8 " (%s)\n", sname, sub.code(), reason);
  833|    819|        dst_print_str(dst, "message", sub.reason());
  834|    819|        break;
  835|      0|    }
  836|  2.38k|    case pkt::sigsub::Type::Features: {
  ------------------
  |  Branch (836:5): [True: 2.38k, False: 47.4k]
  ------------------
  837|  2.38k|        auto &sub = dynamic_cast<const pkt::sigsub::Features &>(subpkt);
  838|  2.38k|        dst_printf(dst, "%s: 0x%02x ( ", sname, sub.features());
  839|  2.38k|        dst_printf(dst, "%s", sub.features() & PGP_KEY_FEATURE_MDC ? "mdc " : "");
  ------------------
  |  Branch (839:31): [True: 1.72k, False: 665]
  ------------------
  840|  2.38k|        dst_printf(dst, "%s", sub.features() & PGP_KEY_FEATURE_AEAD ? "aead " : "");
  ------------------
  |  Branch (840:31): [True: 1.92k, False: 468]
  ------------------
  841|  2.38k|        dst_printf(dst, "%s", sub.features() & PGP_KEY_FEATURE_V5 ? "v5 keys " : "");
  ------------------
  |  Branch (841:31): [True: 892, False: 1.49k]
  ------------------
  842|  2.38k|#if defined(ENABLE_CRYPTO_REFRESH)
  843|  2.38k|        dst_printf(dst, "%s", sub.features() & PGP_KEY_FEATURE_SEIPDV2 ? "SEIPD v2 " : "");
  ------------------
  |  Branch (843:31): [True: 151, False: 2.23k]
  ------------------
  844|  2.38k|#endif
  845|  2.38k|        dst_printf(dst, ")\n");
  846|  2.38k|        break;
  847|      0|    }
  848|    739|    case pkt::sigsub::Type::EmbeddedSignature: {
  ------------------
  |  Branch (848:5): [True: 739, False: 49.1k]
  ------------------
  849|    739|        auto &sub = dynamic_cast<const pkt::sigsub::EmbeddedSignature &>(subpkt);
  850|    739|        dst_printf(dst, "%s:\n", sname);
  851|    739|        pkt::Signature sig(*sub.signature());
  852|    739|        dump_signature_pkt(sig);
  853|    739|        break;
  854|      0|    }
  855|  3.74k|    case pkt::sigsub::Type::IssuerFingerprint: {
  ------------------
  |  Branch (855:5): [True: 3.74k, False: 46.1k]
  ------------------
  856|  3.74k|        auto &sub = dynamic_cast<const pkt::sigsub::IssuerFingerprint &>(subpkt);
  857|  3.74k|        dst_print_fp(dst, sname, sub.fp());
  858|  3.74k|        break;
  859|      0|    }
  860|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  861|    786|    case pkt::sigsub::Type::IntendedRecipientFingerprint: {
  ------------------
  |  Branch (861:5): [True: 786, False: 49.0k]
  ------------------
  862|    786|        auto &sub = dynamic_cast<const pkt::sigsub::IntendedRecipientFingerprint &>(subpkt);
  863|    786|        dst_print_fp(dst, "intended recipient fingerprint", sub.fp());
  864|    786|        break;
  865|      0|    }
  866|      0|#endif
  867|  2.02k|    case pkt::sigsub::Type::PreferredAEAD: {
  ------------------
  |  Branch (867:5): [True: 2.02k, False: 47.8k]
  ------------------
  868|  2.02k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredAEAD &>(subpkt);
  869|  2.02k|        dst_print_algs(dst, "preferred aead algorithms", sub.algs(), aead_alg_map);
  870|  2.02k|        break;
  871|      0|    }
  872|  7.88k|    default:
  ------------------
  |  Branch (872:5): [True: 7.88k, False: 41.9k]
  ------------------
  873|  7.88k|        if (!dump_packets) {
  ------------------
  |  Branch (873:13): [True: 0, False: 7.88k]
  ------------------
  874|      0|            indent_dest_increase(dst);
  875|      0|            dst_hexdump(dst, subpkt.data());
  876|      0|            indent_dest_decrease(dst);
  877|      0|        }
  878|  49.8k|    }
  879|  49.8k|}
_ZN3rnp14DumpContextDst25dump_signature_subpacketsERKN3pgp3pkt9SignatureEb:
  883|  26.9k|{
  884|  26.9k|    bool empty = true;
  885|       |
  886|  99.7k|    for (auto &subpkt : sig.subpkts) {
  ------------------
  |  Branch (886:23): [True: 99.7k, False: 26.9k]
  ------------------
  887|  99.7k|        if (subpkt->hashed() != hashed) {
  ------------------
  |  Branch (887:13): [True: 49.8k, False: 49.8k]
  ------------------
  888|  49.8k|            continue;
  889|  49.8k|        }
  890|  49.8k|        empty = false;
  891|  49.8k|        dst_printf(
  892|  49.8k|          dst, ":type %" PRIu8 ", len %zu", subpkt->raw_type(), subpkt->data().size());
  893|  49.8k|        dst_printf(dst, "%s\n", subpkt->critical() ? ", critical" : "");
  ------------------
  |  Branch (893:33): [True: 2.15k, False: 47.7k]
  ------------------
  894|  49.8k|        if (dump_packets) {
  ------------------
  |  Branch (894:13): [True: 49.8k, False: 0]
  ------------------
  895|  49.8k|            dst_printf(dst, ":subpacket contents:\n");
  896|  49.8k|            indent_dest_increase(dst);
  897|  49.8k|            dst_hexdump(dst, subpkt->data());
  898|  49.8k|            indent_dest_decrease(dst);
  899|  49.8k|        }
  900|  49.8k|        dump_signature_subpacket(*subpkt);
  901|  49.8k|    }
  902|       |
  903|  26.9k|    if (empty) {
  ------------------
  |  Branch (903:9): [True: 12.4k, False: 14.4k]
  ------------------
  904|  12.4k|        dst_printf(dst, "none\n");
  905|  12.4k|    }
  906|  26.9k|}
_ZN3rnp14DumpContextDst18dump_signature_pktERKN3pgp3pkt9SignatureE:
  910|  14.0k|{
  911|  14.0k|    indent_dest_increase(dst);
  912|       |
  913|  14.0k|    dst_printf(dst, "version: %d\n", (int) sig.version);
  914|  14.0k|    dst_print_sig_type(dst, "type", sig.type());
  915|  14.0k|    if (sig.version < PGP_V4) {
  ------------------
  |  Branch (915:9): [True: 549, False: 13.4k]
  ------------------
  916|    549|        dst_print_time(dst, "creation time", sig.creation_time);
  917|    549|        dst_print_keyid(dst, "signing key id", sig.signer);
  918|    549|    }
  919|  14.0k|    dst_print_palg(dst, NULL, sig.palg);
  920|  14.0k|    dst_print_halg(dst, NULL, sig.halg);
  921|       |
  922|  14.0k|    if (sig.version >= PGP_V4) {
  ------------------
  |  Branch (922:9): [True: 13.4k, False: 549]
  ------------------
  923|  13.4k|        dst_printf(dst, "hashed subpackets:\n");
  924|  13.4k|        indent_dest_increase(dst);
  925|  13.4k|        dump_signature_subpackets(sig, true);
  926|  13.4k|        indent_dest_decrease(dst);
  927|       |
  928|  13.4k|        dst_printf(dst, "unhashed subpackets:\n");
  929|  13.4k|        indent_dest_increase(dst);
  930|  13.4k|        dump_signature_subpackets(sig, false);
  931|  13.4k|        indent_dest_decrease(dst);
  932|  13.4k|    }
  933|       |
  934|  14.0k|    dst_print_hex(dst, "lbits", sig.lbits.data(), sig.lbits.size(), false);
  935|  14.0k|    dst_printf(dst, "signature material:\n");
  936|  14.0k|    indent_dest_increase(dst);
  937|       |
  938|  14.0k|    auto material = sig.parse_material();
  939|  14.0k|    assert(material);
  940|       |    /* LCOV_EXCL_START */
  941|  14.0k|    if (!material) {
  ------------------
  |  Branch (941:9): [True: 0, False: 14.0k]
  ------------------
  942|      0|        indent_dest_decrease(dst);
  943|      0|        indent_dest_decrease(dst);
  944|      0|        return;
  945|      0|    }
  946|       |    /* LCOV_EXCL_END */
  947|  14.0k|    switch (sig.palg) {
  948|  4.95k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (948:5): [True: 4.95k, False: 9.08k]
  ------------------
  949|  4.95k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (949:5): [True: 0, False: 14.0k]
  ------------------
  950|  9.33k|    case PGP_PKA_RSA_SIGN_ONLY: {
  ------------------
  |  Branch (950:5): [True: 4.38k, False: 9.65k]
  ------------------
  951|  9.33k|        auto &rsa = dynamic_cast<const RSASigMaterial &>(*material);
  952|  9.33k|        dst_print_mpi(dst, "rsa s", rsa.sig.s, dump_mpi);
  953|  9.33k|        break;
  954|  4.95k|    }
  955|    441|    case PGP_PKA_DSA: {
  ------------------
  |  Branch (955:5): [True: 441, False: 13.5k]
  ------------------
  956|    441|        auto &dsa = dynamic_cast<const DSASigMaterial &>(*material);
  957|    441|        dst_print_mpi(dst, "dsa r", dsa.sig.r, dump_mpi);
  958|    441|        dst_print_mpi(dst, "dsa s", dsa.sig.s, dump_mpi);
  959|    441|        break;
  960|  4.95k|    }
  961|  2.27k|    case PGP_PKA_EDDSA:
  ------------------
  |  Branch (961:5): [True: 2.27k, False: 11.7k]
  ------------------
  962|  2.66k|    case PGP_PKA_ECDSA:
  ------------------
  |  Branch (962:5): [True: 387, False: 13.6k]
  ------------------
  963|  2.86k|    case PGP_PKA_SM2:
  ------------------
  |  Branch (963:5): [True: 204, False: 13.8k]
  ------------------
  964|  3.20k|    case PGP_PKA_ECDH: {
  ------------------
  |  Branch (964:5): [True: 337, False: 13.7k]
  ------------------
  965|  3.20k|        auto &ec = dynamic_cast<const ECSigMaterial &>(*material);
  966|  3.20k|        dst_print_mpi(dst, "ecc r", ec.sig.r, dump_mpi);
  967|  3.20k|        dst_print_mpi(dst, "ecc s", ec.sig.s, dump_mpi);
  968|  3.20k|        break;
  969|  2.86k|    }
  970|       |    /* Wasn't able to find ElGamal sig artifacts so let's ignore this for coverage */
  971|       |    /* LCOV_EXCL_START */
  972|    427|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (972:5): [True: 427, False: 13.6k]
  ------------------
  973|    782|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN: {
  ------------------
  |  Branch (973:5): [True: 355, False: 13.6k]
  ------------------
  974|    782|        auto &eg = dynamic_cast<const EGSigMaterial &>(*material);
  975|    782|        dst_print_mpi(dst, "eg r", eg.sig.r, dump_mpi);
  976|    782|        dst_print_mpi(dst, "eg s", eg.sig.s, dump_mpi);
  977|    782|        break;
  978|    427|    }
  979|       |    /* LCOV_EXCL_END */
  980|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  981|    196|    case PGP_PKA_ED25519: {
  ------------------
  |  Branch (981:5): [True: 196, False: 13.8k]
  ------------------
  982|    196|        auto &ed = dynamic_cast<const Ed25519SigMaterial &>(*material);
  983|    196|        dst_print_vec(dst, "ed25519 sig", ed.sig.sig, dump_mpi);
  984|    196|        break;
  985|    427|    }
  986|     10|    case PGP_PKA_ED448: {
  ------------------
  |  Branch (986:5): [True: 10, False: 14.0k]
  ------------------
  987|     10|        auto &ed = dynamic_cast<const Ed448SigMaterial &>(*material);
  988|     10|        dst_print_vec(dst, "ed448 sig", ed.sig.sig, dump_mpi);
  989|     10|        break;
  990|    427|    }
  991|      0|#endif
  992|      0|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
  993|      9|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (993:5): [True: 9, False: 14.0k]
  ------------------
  994|      9|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|      9|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  995|     15|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (995:5): [True: 6, False: 14.0k]
  ------------------
  996|     15|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     15|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  997|     34|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (997:5): [True: 19, False: 14.0k]
  ------------------
  998|     34|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     34|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
  999|     40|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (999:5): [True: 6, False: 14.0k]
  ------------------
 1000|     40|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     40|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1001|     46|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (1001:5): [True: 6, False: 14.0k]
  ------------------
 1002|     46|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     46|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1003|     52|    case PGP_PKA_DILITHIUM5_BP512: {
  ------------------
  |  Branch (1003:5): [True: 6, False: 14.0k]
  ------------------
 1004|     52|        auto &dilithium = dynamic_cast<const DilithiumSigMaterial &>(*material);
 1005|     52|        dst_print_vec(dst, "mldsa-ecdsa/eddsa sig", dilithium.sig.sig, dump_mpi);
 1006|     52|        break;
 1007|     46|    }
 1008|      6|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (1008:5): [True: 6, False: 14.0k]
  ------------------
 1009|      6|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|      6|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1010|     12|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (1010:5): [True: 6, False: 14.0k]
  ------------------
 1011|     12|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     12|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1012|     18|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s: {
  ------------------
  |  Branch (1012:5): [True: 6, False: 14.0k]
  ------------------
 1013|     18|        auto &slhdsa = dynamic_cast<const SlhdsaSigMaterial &>(*material);
 1014|     18|        dst_print_vec(dst, "slhdsa sig", slhdsa.sig.sig, dump_mpi);
 1015|     18|        break;
 1016|     12|    }
 1017|      0|#endif
 1018|      0|    default:
  ------------------
  |  Branch (1018:5): [True: 0, False: 14.0k]
  ------------------
 1019|      0|        dst_printf(dst, "unknown algorithm\n");
 1020|  14.0k|    }
 1021|  14.0k|    indent_dest_decrease(dst);
 1022|  14.0k|    indent_dest_decrease(dst);
 1023|  14.0k|}
_ZN3rnp14DumpContextDst14dump_signatureEv:
 1027|  28.7k|{
 1028|  28.7k|    dst_printf(dst, "Signature packet\n");
 1029|  28.7k|    pkt::Signature sig;
 1030|  28.7k|    auto           ret = sig.parse(src);
 1031|  28.7k|    if (ret) {
  ------------------
  |  Branch (1031:9): [True: 15.4k, False: 13.3k]
  ------------------
 1032|  15.4k|        indent_dest_increase(dst);
 1033|  15.4k|        dst_printf(dst, "failed to parse\n");
 1034|  15.4k|        indent_dest_decrease(dst);
 1035|  15.4k|        return ret;
 1036|  15.4k|    }
 1037|  13.3k|    dump_signature_pkt(sig);
 1038|  13.3k|    return RNP_SUCCESS;
 1039|  28.7k|}
_ZN3rnp14DumpContextDst17dump_key_materialEPKN3pgp11KeyMaterialE:
 1043|  21.9k|{
 1044|  21.9k|    if (!material) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 21.9k]
  ------------------
 1045|      0|        return;
 1046|      0|    }
 1047|  21.9k|    switch (material->alg()) {
 1048|  3.86k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (1048:5): [True: 3.86k, False: 18.0k]
  ------------------
 1049|  7.69k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (1049:5): [True: 3.82k, False: 18.0k]
  ------------------
 1050|  12.2k|    case PGP_PKA_RSA_SIGN_ONLY: {
  ------------------
  |  Branch (1050:5): [True: 4.50k, False: 17.3k]
  ------------------
 1051|  12.2k|        auto &rsa = dynamic_cast<const RSAKeyMaterial &>(*material);
 1052|  12.2k|        dst_print_mpi(dst, "rsa n", rsa.n(), dump_mpi);
 1053|  12.2k|        dst_print_mpi(dst, "rsa e", rsa.e(), dump_mpi);
 1054|  12.2k|        return;
 1055|  7.69k|    }
 1056|    356|    case PGP_PKA_DSA: {
  ------------------
  |  Branch (1056:5): [True: 356, False: 21.5k]
  ------------------
 1057|    356|        auto &dsa = dynamic_cast<const DSAKeyMaterial &>(*material);
 1058|    356|        dst_print_mpi(dst, "dsa p", dsa.p(), dump_mpi);
 1059|    356|        dst_print_mpi(dst, "dsa q", dsa.q(), dump_mpi);
 1060|    356|        dst_print_mpi(dst, "dsa g", dsa.g(), dump_mpi);
 1061|    356|        dst_print_mpi(dst, "dsa y", dsa.y(), dump_mpi);
 1062|    356|        return;
 1063|  7.69k|    }
 1064|    728|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (1064:5): [True: 728, False: 21.1k]
  ------------------
 1065|  1.07k|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN: {
  ------------------
  |  Branch (1065:5): [True: 343, False: 21.5k]
  ------------------
 1066|  1.07k|        auto &eg = dynamic_cast<const EGKeyMaterial &>(*material);
 1067|  1.07k|        dst_print_mpi(dst, "eg p", eg.p(), dump_mpi);
 1068|  1.07k|        dst_print_mpi(dst, "eg g", eg.g(), dump_mpi);
 1069|  1.07k|        dst_print_mpi(dst, "eg y", eg.y(), dump_mpi);
 1070|  1.07k|        return;
 1071|    728|    }
 1072|    738|    case PGP_PKA_ECDSA:
  ------------------
  |  Branch (1072:5): [True: 738, False: 21.1k]
  ------------------
 1073|  2.28k|    case PGP_PKA_EDDSA:
  ------------------
  |  Branch (1073:5): [True: 1.54k, False: 20.3k]
  ------------------
 1074|  2.72k|    case PGP_PKA_SM2: {
  ------------------
  |  Branch (1074:5): [True: 437, False: 21.4k]
  ------------------
 1075|  2.72k|        auto &ec = dynamic_cast<const ECKeyMaterial &>(*material);
 1076|  2.72k|        auto  cdesc = ec::Curve::get(ec.curve());
 1077|  2.72k|        dst_print_mpi(dst, "ecc p", ec.p(), dump_mpi);
 1078|  2.72k|        dst_printf(dst, "ecc curve: %s\n", cdesc ? cdesc->pgp_name : "unknown");
  ------------------
  |  Branch (1078:44): [True: 1.84k, False: 875]
  ------------------
 1079|  2.72k|        return;
 1080|  2.28k|    }
 1081|    724|    case PGP_PKA_ECDH: {
  ------------------
  |  Branch (1081:5): [True: 724, False: 21.1k]
  ------------------
 1082|    724|        auto &ec = dynamic_cast<const ECDHKeyMaterial &>(*material);
 1083|    724|        auto  cdesc = ec::Curve::get(ec.curve());
 1084|       |        /* Common EC fields */
 1085|    724|        dst_print_mpi(dst, "ecdh p", ec.p(), dump_mpi);
 1086|    724|        dst_printf(dst, "ecdh curve: %s\n", cdesc ? cdesc->pgp_name : "unknown");
  ------------------
  |  Branch (1086:45): [True: 296, False: 428]
  ------------------
 1087|       |        /* ECDH-only fields */
 1088|    724|        dst_print_halg(dst, "ecdh hash algorithm", ec.kdf_hash_alg());
 1089|    724|        dst_printf(dst, "ecdh key wrap algorithm: %d\n", (int) ec.key_wrap_alg());
 1090|    724|        return;
 1091|  2.28k|    }
 1092|      0|#if defined(ENABLE_CRYPTO_REFRESH)
 1093|    659|    case PGP_PKA_ED25519: {
  ------------------
  |  Branch (1093:5): [True: 659, False: 21.2k]
  ------------------
 1094|    659|        auto &ed25519 = dynamic_cast<const Ed25519KeyMaterial &>(*material);
 1095|    659|        dst_print_vec(dst, "ed25519", ed25519.pub(), dump_mpi);
 1096|    659|        return;
 1097|  2.28k|    }
 1098|    709|    case PGP_PKA_X25519: {
  ------------------
  |  Branch (1098:5): [True: 709, False: 21.1k]
  ------------------
 1099|    709|        auto &x25519 = dynamic_cast<const X25519KeyMaterial &>(*material);
 1100|    709|        dst_print_vec(dst, "x25519", x25519.pub(), dump_mpi);
 1101|    709|        return;
 1102|  2.28k|    }
 1103|    289|    case PGP_PKA_ED448: {
  ------------------
  |  Branch (1103:5): [True: 289, False: 21.6k]
  ------------------
 1104|    289|        auto &ed448 = dynamic_cast<const pgp::Ed448KeyMaterial &>(*material);
 1105|    289|        dst_print_vec(dst, "ed448", ed448.pub(), dump_mpi);
 1106|    289|        return;
 1107|  2.28k|    }
 1108|    275|    case PGP_PKA_X448: {
  ------------------
  |  Branch (1108:5): [True: 275, False: 21.6k]
  ------------------
 1109|    275|        auto &x448 = dynamic_cast<const pgp::X448KeyMaterial &>(*material);
 1110|    275|        dst_print_vec(dst, "x448", x448.pub(), dump_mpi);
 1111|    275|        return;
 1112|  2.28k|    }
 1113|      0|#endif
 1114|      0|#if defined(ENABLE_PQC)
 1115|     44|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (1115:5): [True: 44, False: 21.8k]
  ------------------
 1116|     44|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 1117|     44|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     44|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1118|    181|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (1118:5): [True: 137, False: 21.7k]
  ------------------
 1119|    181|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    181|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1120|    421|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (1120:5): [True: 240, False: 21.6k]
  ------------------
 1121|    421|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    421|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1122|    423|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (1122:5): [True: 2, False: 21.9k]
  ------------------
 1123|    423|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    423|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1124|    959|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (1124:5): [True: 536, False: 21.3k]
  ------------------
 1125|    959|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    959|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1126|  1.29k|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (1126:5): [True: 332, False: 21.5k]
  ------------------
 1127|  1.29k|#endif
 1128|  1.29k|    {
 1129|  1.29k|        auto &kyber = dynamic_cast<const MlkemEcdhKeyMaterial &>(*material);
 1130|  1.29k|        dst_print_vec(dst, "mlkem-ecdh encoded pubkey", kyber.pub().get_encoded(), dump_mpi);
 1131|  1.29k|        return;
 1132|    959|    }
 1133|      0|#endif
 1134|      0|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 1135|     65|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (1135:5): [True: 65, False: 21.8k]
  ------------------
 1136|     65|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     65|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1137|    110|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (1137:5): [True: 45, False: 21.8k]
  ------------------
 1138|    110|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    110|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1139|    566|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (1139:5): [True: 456, False: 21.4k]
  ------------------
 1140|    566|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    566|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1141|    603|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (1141:5): [True: 37, False: 21.8k]
  ------------------
 1142|    603|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    603|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1143|    842|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (1143:5): [True: 239, False: 21.6k]
  ------------------
 1144|    842|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    842|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1145|    922|    case PGP_PKA_DILITHIUM5_BP512: {
  ------------------
  |  Branch (1145:5): [True: 80, False: 21.8k]
  ------------------
 1146|    922|        auto &dilithium = dynamic_cast<const DilithiumEccKeyMaterial &>(*material);
 1147|    922|        dst_print_vec(
 1148|    922|          dst, "mldsa-ecdsa/eddsa encodced pubkey", dilithium.pub().get_encoded(), dump_mpi);
 1149|    922|        return;
 1150|    842|    }
 1151|    206|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (1151:5): [True: 206, False: 21.6k]
  ------------------
 1152|    206|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    206|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1153|    599|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (1153:5): [True: 393, False: 21.5k]
  ------------------
 1154|    599|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    599|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1155|    682|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s: {
  ------------------
  |  Branch (1155:5): [True: 83, False: 21.8k]
  ------------------
 1156|    682|        auto &sphincs = dynamic_cast<const SlhdsaKeyMaterial &>(*material);
 1157|    682|        dst_print_vec(dst, "slhdsa encoded pubkey", sphincs.pub().get_encoded(), dump_mpi);
 1158|    682|        return;
 1159|    599|    }
 1160|      0|#endif
 1161|      0|    default:
  ------------------
  |  Branch (1161:5): [True: 0, False: 21.9k]
  ------------------
 1162|      0|        dst_printf(dst, "unknown public key algorithm\n");
 1163|  21.9k|    }
 1164|  21.9k|}
_ZN3rnp14DumpContextDst8dump_keyEv:
 1168|  39.0k|{
 1169|  39.0k|    pgp_key_pkt_t key;
 1170|  39.0k|    auto          ret = key.parse(src);
 1171|  39.0k|    if (ret) {
  ------------------
  |  Branch (1171:9): [True: 17.1k, False: 21.9k]
  ------------------
 1172|  17.1k|        return ret;
 1173|  17.1k|    }
 1174|       |
 1175|  21.9k|    dst_printf(dst, "%s packet\n", id_str_pair::lookup(key_type_map, key.tag, "Unknown"));
 1176|  21.9k|    indent_dest_increase(dst);
 1177|       |
 1178|  21.9k|    dst_printf(dst, "version: %d\n", (int) key.version);
 1179|  21.9k|    dst_print_time(dst, "creation time", key.creation_time);
 1180|  21.9k|    if (key.version < PGP_V4) {
  ------------------
  |  Branch (1180:9): [True: 1.95k, False: 19.9k]
  ------------------
 1181|  1.95k|        dst_printf(dst, "v3 validity days: %d\n", (int) key.v3_days);
 1182|  1.95k|    }
 1183|  21.9k|    dst_print_palg(dst, NULL, key.alg);
 1184|  21.9k|    if (key.version == PGP_V5) {
  ------------------
  |  Branch (1184:9): [True: 666, False: 21.2k]
  ------------------
 1185|    666|        dst_printf(dst, "v5 public key material length: %" PRIu32 "\n", key.v5_pub_len);
 1186|    666|    }
 1187|  21.9k|    dst_printf(dst, "public key material:\n");
 1188|  21.9k|    indent_dest_increase(dst);
 1189|  21.9k|    dump_key_material(key.material.get());
 1190|  21.9k|    indent_dest_decrease(dst);
 1191|       |
 1192|  21.9k|    if (is_secret_key_pkt(key.tag)) {
  ------------------
  |  Branch (1192:9): [True: 12.7k, False: 9.20k]
  ------------------
 1193|  12.7k|        dst_printf(dst, "secret key material:\n");
 1194|  12.7k|        indent_dest_increase(dst);
 1195|       |
 1196|  12.7k|        dst_printf(dst, "s2k usage: %d\n", (int) key.sec_protection.s2k.usage);
 1197|  12.7k|        if (key.version == PGP_V5) {
  ------------------
  |  Branch (1197:13): [True: 666, False: 12.0k]
  ------------------
 1198|    666|            dst_printf(dst, "v5 s2k length: %" PRIu8 "\n", key.v5_s2k_len);
 1199|    666|        }
 1200|  12.7k|        if ((key.sec_protection.s2k.usage == PGP_S2KU_ENCRYPTED) ||
  ------------------
  |  Branch (1200:13): [True: 6.90k, False: 5.79k]
  ------------------
 1201|  7.58k|            (key.sec_protection.s2k.usage == PGP_S2KU_ENCRYPTED_AND_HASHED)) {
  ------------------
  |  Branch (1201:13): [True: 679, False: 5.12k]
  ------------------
 1202|  7.58k|            dst_print_salg(dst, NULL, key.sec_protection.symm_alg);
 1203|  7.58k|            dst_print_s2k(dst, key.sec_protection.s2k);
 1204|  7.58k|            if (key.sec_protection.s2k.specifier != PGP_S2KS_EXPERIMENTAL) {
  ------------------
  |  Branch (1204:17): [True: 7.29k, False: 282]
  ------------------
 1205|  7.29k|                size_t bl_size = pgp_block_size(key.sec_protection.symm_alg);
 1206|  7.29k|                if (bl_size) {
  ------------------
  |  Branch (1206:21): [True: 7.29k, False: 0]
  ------------------
 1207|  7.29k|                    dst_print_hex(dst, "cipher iv", key.sec_protection.iv, bl_size, true);
 1208|  7.29k|                } else {
 1209|      0|                    dst_printf(dst, "cipher iv: unknown algorithm\n");
 1210|      0|                }
 1211|  7.29k|            }
 1212|  7.58k|        }
 1213|       |
 1214|  12.7k|        if (key.version == PGP_V5) {
  ------------------
  |  Branch (1214:13): [True: 666, False: 12.0k]
  ------------------
 1215|    666|            dst_printf(dst, "v5 secret key data length: %" PRIu32 "\n", key.v5_sec_len);
 1216|    666|        }
 1217|  12.7k|        if (!key.sec_protection.s2k.usage) {
  ------------------
  |  Branch (1217:13): [True: 4.92k, False: 7.78k]
  ------------------
 1218|  4.92k|            dst_printf(dst, "cleartext secret key data: %zu bytes\n", key.sec_data.size());
 1219|  7.78k|        } else {
 1220|  7.78k|            dst_printf(dst, "encrypted secret key data: %zu bytes\n", key.sec_data.size());
 1221|  7.78k|        }
 1222|  12.7k|        indent_dest_decrease(dst);
 1223|  12.7k|    }
 1224|       |
 1225|  21.9k|    try {
 1226|  21.9k|        Fingerprint fp(key);
 1227|  21.9k|        dst_print_keyid(dst, "keyid", fp.keyid());
 1228|       |
 1229|  21.9k|        if (dump_grips) {
  ------------------
  |  Branch (1229:13): [True: 0, False: 21.9k]
  ------------------
 1230|      0|            dst_print_fp(dst, "fingerprint", fp, false);
 1231|      0|        }
 1232|  21.9k|    } catch (const std::exception &e) {
 1233|      0|        dst_printf(dst, "failed to calculate fingerprint and/or keyid\n");
 1234|      0|    }
 1235|       |
 1236|  21.9k|    if (dump_grips) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 21.9k]
  ------------------
 1237|      0|        if (key.material) {
  ------------------
  |  Branch (1237:13): [True: 0, False: 0]
  ------------------
 1238|      0|            KeyGrip grip = key.material->grip();
 1239|      0|            dst_print_hex(dst, "grip", grip.data(), grip.size(), false);
 1240|      0|        } else {
 1241|      0|            dst_printf(dst, "grip: failed to calculate\n");
 1242|      0|        }
 1243|      0|    }
 1244|       |
 1245|  21.9k|    indent_dest_decrease(dst);
 1246|  21.9k|    return RNP_SUCCESS;
 1247|  21.9k|}
_ZN3rnp14DumpContextDst11dump_useridEv:
 1251|   115k|{
 1252|   115k|    pgp_userid_pkt_t uid;
 1253|   115k|    auto             ret = uid.parse(src);
 1254|   115k|    if (ret) {
  ------------------
  |  Branch (1254:9): [True: 768, False: 115k]
  ------------------
 1255|    768|        return ret;
 1256|    768|    }
 1257|       |
 1258|   115k|    const char *utype = NULL;
 1259|   115k|    switch (uid.tag) {
 1260|  88.8k|    case PGP_PKT_USER_ID:
  ------------------
  |  Branch (1260:5): [True: 88.8k, False: 26.2k]
  ------------------
 1261|  88.8k|        utype = "UserID";
 1262|  88.8k|        break;
 1263|  26.2k|    case PGP_PKT_USER_ATTR:
  ------------------
  |  Branch (1263:5): [True: 26.2k, False: 88.8k]
  ------------------
 1264|  26.2k|        utype = "UserAttr";
 1265|  26.2k|        break;
 1266|      0|    default:
  ------------------
  |  Branch (1266:5): [True: 0, False: 115k]
  ------------------
 1267|      0|        utype = "Unknown user id";
 1268|   115k|    }
 1269|       |
 1270|   115k|    dst_printf(dst, "%s packet\n", utype);
 1271|   115k|    indent_dest_increase(dst);
 1272|       |
 1273|   115k|    switch (uid.tag) {
 1274|  88.8k|    case PGP_PKT_USER_ID:
  ------------------
  |  Branch (1274:5): [True: 88.8k, False: 26.2k]
  ------------------
 1275|  88.8k|        dst_printf(dst, "id: ");
 1276|  88.8k|        dst_write(dst, uid.uid);
 1277|  88.8k|        dst_printf(dst, "\n");
 1278|  88.8k|        break;
 1279|  26.2k|    case PGP_PKT_USER_ATTR:
  ------------------
  |  Branch (1279:5): [True: 26.2k, False: 88.8k]
  ------------------
 1280|  26.2k|        dst_printf(dst, "id: (%zu bytes of data)\n", uid.uid.size());
 1281|  26.2k|        break;
 1282|      0|    default:;
  ------------------
  |  Branch (1282:5): [True: 0, False: 115k]
  ------------------
 1283|   115k|    }
 1284|       |
 1285|   115k|    indent_dest_decrease(dst);
 1286|   115k|    return RNP_SUCCESS;
 1287|   115k|}
_ZN3rnp14DumpContextDst19dump_pk_session_keyEv:
 1291|   503k|{
 1292|   503k|    pgp_pk_sesskey_t pkey;
 1293|   503k|    auto             ret = pkey.parse(src);
 1294|   503k|    if (ret) {
  ------------------
  |  Branch (1294:9): [True: 5.92k, False: 497k]
  ------------------
 1295|  5.92k|        return ret;
 1296|  5.92k|    }
 1297|   497k|    auto material = pkey.parse_material();
 1298|   497k|    if (!material) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 497k]
  ------------------
 1299|      0|        return RNP_ERROR_BAD_FORMAT;
 1300|      0|    }
 1301|       |
 1302|   497k|    dst_printf(dst, "Public-key encrypted session key packet\n");
 1303|   497k|    indent_dest_increase(dst);
 1304|       |
 1305|   497k|    dst_printf(dst, "version: %d\n", (int) pkey.version);
 1306|   497k|#if defined(ENABLE_CRYPTO_REFRESH)
 1307|   497k|    if (pkey.version == PGP_PKSK_V6) {
  ------------------
  |  Branch (1307:9): [True: 1.60k, False: 495k]
  ------------------
 1308|  1.60k|        dst_print_fp(dst, "fingerprint", pkey.fp);
 1309|   495k|    } else {
 1310|   495k|        dst_print_keyid(dst, "key id", pkey.key_id);
 1311|   495k|    }
 1312|       |#else
 1313|       |    dst_print_keyid(dst, "key id", pkey.key_id);
 1314|       |#endif
 1315|   497k|    dst_print_palg(dst, NULL, pkey.alg);
 1316|   497k|    dst_printf(dst, "encrypted material:\n");
 1317|   497k|    indent_dest_increase(dst);
 1318|       |
 1319|   497k|    switch (pkey.alg) {
 1320|   495k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (1320:5): [True: 495k, False: 1.82k]
  ------------------
 1321|   495k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (1321:5): [True: 201, False: 497k]
  ------------------
 1322|   495k|    case PGP_PKA_RSA_SIGN_ONLY: {
  ------------------
  |  Branch (1322:5): [True: 0, False: 497k]
  ------------------
 1323|   495k|        auto &rsa = dynamic_cast<const RSAEncMaterial &>(*material).enc;
 1324|   495k|        dst_print_mpi(dst, "rsa m", rsa.m, dump_mpi);
 1325|   495k|        break;
 1326|   495k|    }
 1327|    353|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (1327:5): [True: 353, False: 497k]
  ------------------
 1328|    552|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN: {
  ------------------
  |  Branch (1328:5): [True: 199, False: 497k]
  ------------------
 1329|    552|        auto &eg = dynamic_cast<const EGEncMaterial &>(*material).enc;
 1330|    552|        dst_print_mpi(dst, "eg g", eg.g, dump_mpi);
 1331|    552|        dst_print_mpi(dst, "eg m", eg.m, dump_mpi);
 1332|    552|        break;
 1333|    353|    }
 1334|    209|    case PGP_PKA_SM2: {
  ------------------
  |  Branch (1334:5): [True: 209, False: 497k]
  ------------------
 1335|    209|        auto &sm2 = dynamic_cast<const SM2EncMaterial &>(*material).enc;
 1336|    209|        dst_print_mpi(dst, "sm2 m", sm2.m, dump_mpi);
 1337|    209|        break;
 1338|    353|    }
 1339|    335|    case PGP_PKA_ECDH: {
  ------------------
  |  Branch (1339:5): [True: 335, False: 497k]
  ------------------
 1340|    335|        auto &ecdh = dynamic_cast<const ECDHEncMaterial &>(*material).enc;
 1341|    335|        dst_print_mpi(dst, "ecdh p", ecdh.p, dump_mpi);
 1342|    335|        if (dump_mpi) {
  ------------------
  |  Branch (1342:13): [True: 0, False: 335]
  ------------------
 1343|      0|            dst_print_hex(dst, "ecdh m", ecdh.m.data(), ecdh.m.size(), true);
 1344|    335|        } else {
 1345|    335|            dst_printf(dst, "ecdh m: %zu bytes\n", ecdh.m.size());
 1346|    335|        }
 1347|    335|        break;
 1348|    353|    }
 1349|      0|#if defined(ENABLE_CRYPTO_REFRESH)
 1350|    510|    case PGP_PKA_X25519: {
  ------------------
  |  Branch (1350:5): [True: 510, False: 497k]
  ------------------
 1351|    510|        auto &x25519 = dynamic_cast<const X25519EncMaterial &>(*material).enc;
 1352|    510|        dst_print_vec(dst, "x25519 ephemeral public key", x25519.eph_key, dump_mpi);
 1353|    510|        dst_print_vec(dst, "x25519 encrypted session key", x25519.enc_sess_key, dump_mpi);
 1354|    510|        break;
 1355|    353|    }
 1356|      0|    case PGP_PKA_X448: {
  ------------------
  |  Branch (1356:5): [True: 0, False: 497k]
  ------------------
 1357|      0|        auto &x448 = dynamic_cast<const X448EncMaterial &>(*material).enc;
 1358|      0|        dst_print_vec(dst, "x448 ephemeral public key", x448.eph_key, dump_mpi);
 1359|      0|        dst_print_vec(dst, "x448 encrypted session key", x448.enc_sess_key, dump_mpi);
 1360|      0|        break;
 1361|    353|    }
 1362|      0|#endif
 1363|      0|#if defined(ENABLE_PQC)
 1364|     11|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (1364:5): [True: 11, False: 497k]
  ------------------
 1365|     11|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 1366|     11|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     11|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1367|     12|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (1367:5): [True: 1, False: 497k]
  ------------------
 1368|     12|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     12|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1369|     13|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (1369:5): [True: 1, False: 497k]
  ------------------
 1370|     13|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     13|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1371|     14|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (1371:5): [True: 1, False: 497k]
  ------------------
 1372|     14|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     14|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1373|     15|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (1373:5): [True: 1, False: 497k]
  ------------------
 1374|     15|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     15|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1375|     18|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (1375:5): [True: 3, False: 497k]
  ------------------
 1376|     18|#endif
 1377|     18|    {
 1378|     18|        auto &mlkem = dynamic_cast<const MlkemEcdhEncMaterial &>(*material).enc;
 1379|     18|        dst_print_vec(
 1380|     18|          dst, "mlkem-ecdh composite ciphertext", mlkem.composite_ciphertext, dump_mpi);
 1381|     18|        dst_print_vec(dst, "mlkem-ecdh wrapped session key", mlkem.wrapped_sesskey, dump_mpi);
 1382|     18|        break;
 1383|     15|    }
 1384|      0|#endif
 1385|      0|    default:
  ------------------
  |  Branch (1385:5): [True: 0, False: 497k]
  ------------------
 1386|      0|        dst_printf(dst, "unknown public key algorithm\n");
 1387|   497k|    }
 1388|       |
 1389|   497k|    indent_dest_decrease(dst);
 1390|   497k|    indent_dest_decrease(dst);
 1391|   497k|    return RNP_SUCCESS;
 1392|   497k|}
_ZN3rnp14DumpContextDst19dump_sk_session_keyEv:
 1396|  10.8k|{
 1397|  10.8k|    pgp_sk_sesskey_t skey;
 1398|  10.8k|    auto             ret = skey.parse(src);
 1399|  10.8k|    if (ret) {
  ------------------
  |  Branch (1399:9): [True: 5.76k, False: 5.08k]
  ------------------
 1400|  5.76k|        return ret;
 1401|  5.76k|    }
 1402|       |
 1403|  5.08k|    dst_printf(dst, "Symmetric-key encrypted session key packet\n");
 1404|  5.08k|    indent_dest_increase(dst);
 1405|  5.08k|    dst_printf(dst, "version: %d\n", (int) skey.version);
 1406|  5.08k|    dst_print_salg(dst, NULL, skey.alg);
 1407|  5.08k|    if (skey.version == PGP_SKSK_V5) {
  ------------------
  |  Branch (1407:9): [True: 805, False: 4.28k]
  ------------------
 1408|    805|        dst_print_aalg(dst, NULL, skey.aalg);
 1409|    805|    }
 1410|  5.08k|    dst_print_s2k(dst, skey.s2k);
 1411|  5.08k|    if (skey.version == PGP_SKSK_V5) {
  ------------------
  |  Branch (1411:9): [True: 805, False: 4.28k]
  ------------------
 1412|    805|        dst_print_hex(dst, "aead iv", skey.iv, skey.ivlen, true);
 1413|    805|    }
 1414|  5.08k|    dst_print_hex(dst, "encrypted key", skey.enckey, skey.enckeylen, true);
 1415|  5.08k|    indent_dest_decrease(dst);
 1416|       |
 1417|  5.08k|    return RNP_SUCCESS;
 1418|  10.8k|}
_ZN3rnp14DumpContextDst19dump_aead_encryptedEv:
 1422|    715|{
 1423|    715|    dst_printf(dst, "AEAD-encrypted data packet\n");
 1424|       |
 1425|    715|    pgp_aead_hdr_t aead{};
 1426|    715|    if (!get_aead_hdr(aead)) {
  ------------------
  |  Branch (1426:9): [True: 637, False: 78]
  ------------------
 1427|    637|        dst_printf(dst, "ERROR: failed to read AEAD header\n");
 1428|    637|        return RNP_ERROR_READ;
 1429|    637|    }
 1430|       |
 1431|     78|    indent_dest_increase(dst);
 1432|       |
 1433|     78|    dst_printf(dst, "version: %d\n", (int) aead.version);
 1434|     78|    dst_print_salg(dst, NULL, aead.ealg);
 1435|     78|    dst_print_aalg(dst, NULL, aead.aalg);
 1436|     78|    dst_printf(dst, "chunk size: %d\n", (int) aead.csize);
 1437|     78|    dst_print_hex(dst, "initialization vector", aead.iv, aead.ivlen, true);
 1438|       |
 1439|     78|    indent_dest_decrease(dst);
 1440|     78|    return RNP_SUCCESS;
 1441|    715|}
_ZN3rnp14DumpContextDst14dump_encryptedEi:
 1445|  1.18k|{
 1446|  1.18k|    switch (tag) {
 1447|    113|    case PGP_PKT_SE_DATA:
  ------------------
  |  Branch (1447:5): [True: 113, False: 1.06k]
  ------------------
 1448|    113|        dst_printf(dst, "Symmetrically-encrypted data packet\n\n");
 1449|    113|        break;
 1450|    354|    case PGP_PKT_SE_IP_DATA:
  ------------------
  |  Branch (1450:5): [True: 354, False: 828]
  ------------------
 1451|    354|        dst_printf(dst, "Symmetrically-encrypted integrity protected data packet\n\n");
 1452|    354|        break;
 1453|    715|    case PGP_PKT_AEAD_ENCRYPTED:
  ------------------
  |  Branch (1453:5): [True: 715, False: 467]
  ------------------
 1454|    715|        return dump_aead_encrypted();
 1455|      0|    default:
  ------------------
  |  Branch (1455:5): [True: 0, False: 1.18k]
  ------------------
 1456|      0|        dst_printf(dst, "Unknown encrypted data packet\n\n");
 1457|      0|        break;
 1458|  1.18k|    }
 1459|       |
 1460|    467|    return stream_skip_packet(&src);
 1461|  1.18k|}
_ZN3rnp14DumpContextDst13dump_one_passEv:
 1465|  2.52k|{
 1466|  2.52k|    pgp_one_pass_sig_t onepass;
 1467|  2.52k|    auto               ret = onepass.parse(src);
 1468|  2.52k|    if (ret) {
  ------------------
  |  Branch (1468:9): [True: 2.11k, False: 413]
  ------------------
 1469|  2.11k|        return ret;
 1470|  2.11k|    }
 1471|       |
 1472|    413|    dst_printf(dst, "One-pass signature packet\n");
 1473|    413|    indent_dest_increase(dst);
 1474|       |
 1475|    413|    dst_printf(dst, "version: %d\n", (int) onepass.version);
 1476|    413|    dst_print_sig_type(dst, NULL, onepass.type);
 1477|    413|    dst_print_halg(dst, NULL, onepass.halg);
 1478|    413|    dst_print_palg(dst, NULL, onepass.palg);
 1479|    413|#if defined(ENABLE_CRYPTO_REFRESH)
 1480|    413|    if (onepass.version == PGP_OPS_V6) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 413]
  ------------------
 1481|      0|        dst_print_vec(dst, "salt", onepass.salt, false);
 1482|      0|    }
 1483|    413|#endif
 1484|    413|    if (onepass.version == PGP_OPS_V3) {
  ------------------
  |  Branch (1484:9): [True: 413, False: 0]
  ------------------
 1485|    413|        dst_print_keyid(dst, "signing key id", onepass.keyid);
 1486|    413|    }
 1487|    413|#if defined(ENABLE_CRYPTO_REFRESH)
 1488|    413|    if (onepass.version == PGP_OPS_V6) {
  ------------------
  |  Branch (1488:9): [True: 0, False: 413]
  ------------------
 1489|      0|        dst_print_fp(dst, NULL, onepass.fp);
 1490|      0|    }
 1491|    413|#endif
 1492|    413|    dst_printf(dst, "nested: %d\n", (int) onepass.nested);
 1493|       |
 1494|    413|    indent_dest_decrease(dst);
 1495|    413|    return RNP_SUCCESS;
 1496|  2.52k|}
_ZN3rnp14DumpContextDst15dump_compressedEv:
 1500|  20.4k|{
 1501|  20.4k|    std::unique_ptr<Source> zsrc(new Source());
 1502|  20.4k|    auto                    ret = init_compressed_src(&zsrc->src(), &src, nullptr);
 1503|  20.4k|    if (ret) {
  ------------------
  |  Branch (1503:9): [True: 1.06k, False: 19.4k]
  ------------------
 1504|  1.06k|        return ret;
 1505|  1.06k|    }
 1506|  19.4k|    Source lsrc;
 1507|  19.4k|    if ((ret = init_dump_limited_src(&lsrc.src(), &zsrc->src(), zbudget.get()))) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 19.4k]
  ------------------
 1508|      0|        return ret;
 1509|      0|    }
 1510|       |
 1511|  19.4k|    dst_printf(dst, "Compressed data packet\n");
 1512|  19.4k|    indent_dest_increase(dst);
 1513|       |
 1514|  19.4k|    uint8_t zalg = 0;
 1515|  19.4k|    get_compressed_src_alg(&zsrc->src(), &zalg);
 1516|  19.4k|    dst_print_zalg(dst, NULL, (pgp_compression_type_t) zalg);
 1517|  19.4k|    dst_printf(dst, "Decompressed contents:\n");
 1518|       |
 1519|  19.4k|    std::unique_ptr<DumpContextDst> ctx(new DumpContextDst(lsrc.src(), dst));
 1520|  19.4k|    ctx->copy_params(*this);
 1521|  19.4k|    ret = ctx->dump(true);
 1522|  19.4k|    copy_params(*ctx);
 1523|  19.4k|    if (ret && zbudget->hit) {
  ------------------
  |  Branch (1523:9): [True: 10.6k, False: 8.81k]
  |  Branch (1523:16): [True: 3, False: 10.6k]
  ------------------
 1524|       |        /* limit on the decompressed data was reached - dump what we have so far */
 1525|      3|        dst_printf(dst, ":too much decompressed data, stopping.\n");
 1526|      3|        ret = RNP_SUCCESS;
 1527|      3|    }
 1528|  19.4k|    indent_dest_decrease(dst);
 1529|  19.4k|    return ret;
 1530|  19.4k|}
_ZN3rnp14DumpContextDst12dump_literalEv:
 1534|  5.12k|{
 1535|  5.12k|    Source lsrc;
 1536|  5.12k|    auto   ret = init_literal_src(&lsrc.src(), &src);
 1537|  5.12k|    if (ret) {
  ------------------
  |  Branch (1537:9): [True: 3.53k, False: 1.59k]
  ------------------
 1538|  3.53k|        return ret;
 1539|  3.53k|    }
 1540|       |
 1541|  1.59k|    dst_printf(dst, "Literal data packet\n");
 1542|  1.59k|    indent_dest_increase(dst);
 1543|       |
 1544|  1.59k|    auto &lhdr = get_literal_src_hdr(lsrc.src());
 1545|  1.59k|    dst_printf(dst, "data format: '%c'\n", lhdr.format);
 1546|  1.59k|    dst_printf(dst, "filename: %s (len %" PRIu8 ")\n", lhdr.fname, lhdr.fname_len);
 1547|  1.59k|    dst_print_time(dst, "timestamp", lhdr.timestamp);
 1548|       |
 1549|  1.59k|    ret = RNP_SUCCESS;
 1550|   514k|    while (!lsrc.eof()) {
  ------------------
  |  Branch (1550:12): [True: 513k, False: 1.53k]
  ------------------
 1551|   513k|        uint8_t readbuf[16384];
 1552|   513k|        size_t  read = 0;
 1553|   513k|        if (!lsrc.src().read(readbuf, sizeof(readbuf), &read)) {
  ------------------
  |  Branch (1553:13): [True: 67, False: 513k]
  ------------------
 1554|     67|            ret = RNP_ERROR_READ;
 1555|     67|            break;
 1556|     67|        }
 1557|   513k|    }
 1558|       |
 1559|  1.59k|    dst_printf(dst, "data bytes: %zu\n", lsrc.readb());
 1560|  1.59k|    indent_dest_decrease(dst);
 1561|  1.59k|    return ret;
 1562|  5.12k|}
_ZN3rnp14DumpContextDst11dump_markerEv:
 1566|  5.06k|{
 1567|  5.06k|    dst_printf(dst, "Marker packet\n");
 1568|  5.06k|    indent_dest_increase(dst);
 1569|  5.06k|    auto ret = stream_parse_marker(src);
 1570|  5.06k|    dst_printf(dst, "contents: %s\n", ret ? "invalid" : PGP_MARKER_CONTENTS);
  ------------------
  |  |  108|    163|#define PGP_MARKER_CONTENTS "PGP"
  ------------------
  |  Branch (1570:39): [True: 4.89k, False: 163]
  ------------------
 1571|  5.06k|    indent_dest_decrease(dst);
 1572|  5.06k|    return ret;
 1573|  5.06k|}
_ZN3rnp14DumpContextDst16dump_raw_packetsEv:
 1577|  54.8k|{
 1578|  54.8k|    char         msg[1024 + PGP_MAX_HEADER_SIZE] = {0};
 1579|  54.8k|    char         smsg[128] = {0};
 1580|  54.8k|    rnp_result_t ret = RNP_ERROR_GENERIC;
 1581|       |
 1582|  54.8k|    if (src.eof()) {
  ------------------
  |  Branch (1582:9): [True: 0, False: 54.8k]
  ------------------
 1583|      0|        return RNP_SUCCESS;
 1584|      0|    }
 1585|       |
 1586|       |    /* do not allow endless recursion */
 1587|  54.8k|    if (++layers > MAXIMUM_NESTING_LEVEL) {
  ------------------
  |  |   60|  54.8k|#define MAXIMUM_NESTING_LEVEL 32
  ------------------
  |  Branch (1587:9): [True: 22, False: 54.8k]
  ------------------
 1588|     22|        RNP_LOG("Too many OpenPGP nested layers during the dump.");
  ------------------
  |  |   84|     22|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     22|    do {                                                                                 \
  |  |  |  |   77|     22|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     22|            break;                                                                       \
  |  |  |  |   79|     22|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1589|     22|        dst_printf(dst, ":too many OpenPGP packet layers, stopping.\n");
 1590|     22|        return RNP_SUCCESS;
 1591|     22|    }
 1592|       |
 1593|   879k|    while (!src.eof()) {
  ------------------
  |  Branch (1593:12): [True: 862k, False: 17.1k]
  ------------------
 1594|   862k|        if (zbudget->hit) {
  ------------------
  |  Branch (1594:13): [True: 63, False: 862k]
  ------------------
 1595|     63|            dst_printf(dst, ":too much decompressed data, stopping.\n");
 1596|     63|            return RNP_SUCCESS;
 1597|     63|        }
 1598|   862k|        if (++dumped_pkts > MAXIMUM_DUMP_PKTS) {
  ------------------
  |  |   66|   862k|#define MAXIMUM_DUMP_PKTS 32768
  ------------------
  |  Branch (1598:13): [True: 18, False: 862k]
  ------------------
 1599|     18|            RNP_LOG("Too many packets during the dump.");
  ------------------
  |  |   84|     18|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     18|    do {                                                                                 \
  |  |  |  |   77|     18|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 18, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     18|            break;                                                                       \
  |  |  |  |   79|     18|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1600|     18|            dst_printf(dst, ":too many packets, stopping.\n");
 1601|     18|            return RNP_SUCCESS;
 1602|     18|        }
 1603|       |
 1604|   862k|        pgp_packet_hdr_t hdr{};
 1605|   862k|        size_t           off = src.readb;
 1606|   862k|        rnp_result_t     hdrret = stream_peek_packet_hdr(&src, &hdr);
 1607|   862k|        if (hdrret) {
  ------------------
  |  Branch (1607:13): [True: 10.0k, False: 852k]
  ------------------
 1608|  10.0k|            return hdrret;
 1609|  10.0k|        }
 1610|       |
 1611|   852k|        if (hdr.partial) {
  ------------------
  |  Branch (1611:13): [True: 15.7k, False: 836k]
  ------------------
 1612|  15.7k|            snprintf(msg, sizeof(msg), "partial len");
 1613|   836k|        } else if (hdr.indeterminate) {
  ------------------
  |  Branch (1613:20): [True: 14.4k, False: 822k]
  ------------------
 1614|  14.4k|            snprintf(msg, sizeof(msg), "indeterminate len");
 1615|   822k|        } else {
 1616|   822k|            snprintf(msg, sizeof(msg), "len %zu", hdr.pkt_len);
 1617|   822k|        }
 1618|   852k|        vsnprinthex(smsg, sizeof(smsg), hdr.hdr, hdr.hdr_len);
 1619|   852k|        dst_printf(
 1620|   852k|          dst, ":off %zu: packet header 0x%s (tag %d, %s)\n", off, smsg, hdr.tag, msg);
 1621|       |
 1622|   852k|        if (dump_packets) {
  ------------------
  |  Branch (1622:13): [True: 852k, False: 0]
  ------------------
 1623|   852k|            size_t rlen = hdr.pkt_len + hdr.hdr_len;
 1624|   852k|            bool   part = false;
 1625|       |
 1626|   852k|            if (!hdr.pkt_len || (hdr.pkt_len > 1024)) {
  ------------------
  |  Branch (1626:17): [True: 102k, False: 749k]
  |  Branch (1626:33): [True: 41.7k, False: 707k]
  ------------------
 1627|   144k|                rlen = 1024 + hdr.hdr_len;
 1628|   144k|                part = true;
 1629|   144k|            }
 1630|       |
 1631|   852k|            dst_printf(dst, ":off %zu: packet contents ", off + hdr.hdr_len);
 1632|   852k|            if (!src.peek(msg, rlen, &rlen)) {
  ------------------
  |  Branch (1632:17): [True: 158, False: 852k]
  ------------------
 1633|    158|                dst_printf(dst, "- failed to read\n");
 1634|   852k|            } else {
 1635|   852k|                rlen -= hdr.hdr_len;
 1636|   852k|                if (part || (rlen < hdr.pkt_len)) {
  ------------------
  |  Branch (1636:21): [True: 144k, False: 707k]
  |  Branch (1636:29): [True: 4.54k, False: 703k]
  ------------------
 1637|   148k|                    dst_printf(dst, "(first %zu bytes)\n", rlen);
 1638|   703k|                } else {
 1639|   703k|                    dst_printf(dst, "(%zu bytes)\n", rlen);
 1640|   703k|                }
 1641|   852k|                indent_dest_increase(dst);
 1642|   852k|                dst_hexdump(dst, (uint8_t *) msg + hdr.hdr_len, rlen);
 1643|   852k|                indent_dest_decrease(dst);
 1644|   852k|            }
 1645|   852k|            dst_printf(dst, "\n");
 1646|   852k|        }
 1647|       |
 1648|   852k|        switch (hdr.tag) {
 1649|  28.7k|        case PGP_PKT_SIGNATURE:
  ------------------
  |  Branch (1649:9): [True: 28.7k, False: 823k]
  ------------------
 1650|  28.7k|            ret = dump_signature();
 1651|  28.7k|            break;
 1652|  11.6k|        case PGP_PKT_SECRET_KEY:
  ------------------
  |  Branch (1652:9): [True: 11.6k, False: 840k]
  ------------------
 1653|  20.4k|        case PGP_PKT_PUBLIC_KEY:
  ------------------
  |  Branch (1653:9): [True: 8.71k, False: 843k]
  ------------------
 1654|  32.5k|        case PGP_PKT_SECRET_SUBKEY:
  ------------------
  |  Branch (1654:9): [True: 12.1k, False: 840k]
  ------------------
 1655|  39.0k|        case PGP_PKT_PUBLIC_SUBKEY:
  ------------------
  |  Branch (1655:9): [True: 6.45k, False: 845k]
  ------------------
 1656|  39.0k|            ret = dump_key();
 1657|  39.0k|            break;
 1658|  89.5k|        case PGP_PKT_USER_ID:
  ------------------
  |  Branch (1658:9): [True: 89.5k, False: 762k]
  ------------------
 1659|   115k|        case PGP_PKT_USER_ATTR:
  ------------------
  |  Branch (1659:9): [True: 26.3k, False: 825k]
  ------------------
 1660|   115k|            ret = dump_userid();
 1661|   115k|            break;
 1662|   503k|        case PGP_PKT_PK_SESSION_KEY:
  ------------------
  |  Branch (1662:9): [True: 503k, False: 348k]
  ------------------
 1663|   503k|            ret = dump_pk_session_key();
 1664|   503k|            break;
 1665|  10.8k|        case PGP_PKT_SK_SESSION_KEY:
  ------------------
  |  Branch (1665:9): [True: 10.8k, False: 841k]
  ------------------
 1666|  10.8k|            ret = dump_sk_session_key();
 1667|  10.8k|            break;
 1668|    113|        case PGP_PKT_SE_DATA:
  ------------------
  |  Branch (1668:9): [True: 113, False: 852k]
  ------------------
 1669|    467|        case PGP_PKT_SE_IP_DATA:
  ------------------
  |  Branch (1669:9): [True: 354, False: 851k]
  ------------------
 1670|  1.18k|        case PGP_PKT_AEAD_ENCRYPTED:
  ------------------
  |  Branch (1670:9): [True: 715, False: 851k]
  ------------------
 1671|  1.18k|            stream_pkts++;
 1672|  1.18k|            ret = dump_encrypted(hdr.tag);
 1673|  1.18k|            break;
 1674|  2.52k|        case PGP_PKT_ONE_PASS_SIG:
  ------------------
  |  Branch (1674:9): [True: 2.52k, False: 849k]
  ------------------
 1675|  2.52k|            ret = dump_one_pass();
 1676|  2.52k|            break;
 1677|  20.4k|        case PGP_PKT_COMPRESSED:
  ------------------
  |  Branch (1677:9): [True: 20.4k, False: 831k]
  ------------------
 1678|  20.4k|            stream_pkts++;
 1679|  20.4k|            ret = dump_compressed();
 1680|  20.4k|            break;
 1681|  5.12k|        case PGP_PKT_LITDATA:
  ------------------
  |  Branch (1681:9): [True: 5.12k, False: 847k]
  ------------------
 1682|  5.12k|            stream_pkts++;
 1683|  5.12k|            ret = dump_literal();
 1684|  5.12k|            break;
 1685|  5.06k|        case PGP_PKT_MARKER:
  ------------------
  |  Branch (1685:9): [True: 5.06k, False: 847k]
  ------------------
 1686|  5.06k|            ret = dump_marker();
 1687|  5.06k|            break;
 1688|  35.6k|        case PGP_PKT_TRUST:
  ------------------
  |  Branch (1688:9): [True: 35.6k, False: 816k]
  ------------------
 1689|  39.0k|        case PGP_PKT_MDC:
  ------------------
  |  Branch (1689:9): [True: 3.33k, False: 848k]
  ------------------
 1690|  39.0k|            dst_printf(dst, "Skipping unhandled pkt: %d\n\n", (int) hdr.tag);
 1691|  39.0k|            ret = stream_skip_packet(&src);
 1692|  39.0k|            break;
 1693|  80.7k|        default:
  ------------------
  |  Branch (1693:9): [True: 80.7k, False: 771k]
  ------------------
 1694|  80.7k|            dst_printf(dst, "Skipping Unknown pkt: %d\n\n", (int) hdr.tag);
 1695|  80.7k|            ret = stream_skip_packet(&src);
 1696|  80.7k|            if (ret) {
  ------------------
  |  Branch (1696:17): [True: 473, False: 80.2k]
  ------------------
 1697|    473|                return ret;
 1698|    473|            }
 1699|  80.2k|            if (++failures > MAXIMUM_ERROR_PKTS) {
  ------------------
  |  |   62|  80.2k|#define MAXIMUM_ERROR_PKTS 64
  ------------------
  |  Branch (1699:17): [True: 9.73k, False: 70.5k]
  ------------------
 1700|  9.73k|                RNP_LOG("too many packet dump errors or unknown packets.");
  ------------------
  |  |   84|  9.73k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  9.73k|    do {                                                                                 \
  |  |  |  |   77|  9.73k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 9.73k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  9.73k|            break;                                                                       \
  |  |  |  |   79|  9.73k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|  9.73k|                return ret;
 1702|  9.73k|            }
 1703|   852k|        }
 1704|       |
 1705|   841k|        if (ret) {
  ------------------
  |  Branch (1705:13): [True: 68.6k, False: 773k]
  ------------------
 1706|  68.6k|            RNP_LOG("failed to process packet");
  ------------------
  |  |   84|  68.6k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  68.6k|    do {                                                                                 \
  |  |  |  |   77|  68.6k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 68.6k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  68.6k|            break;                                                                       \
  |  |  |  |   79|  68.6k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|  68.6k|            if (++failures > MAXIMUM_ERROR_PKTS) {
  ------------------
  |  |   62|  68.6k|#define MAXIMUM_ERROR_PKTS 64
  ------------------
  |  Branch (1707:17): [True: 2.07k, False: 66.5k]
  ------------------
 1708|  2.07k|                RNP_LOG("too many packet dump errors.");
  ------------------
  |  |   84|  2.07k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  2.07k|    do {                                                                                 \
  |  |  |  |   77|  2.07k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 2.07k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  2.07k|            break;                                                                       \
  |  |  |  |   79|  2.07k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1709|  2.07k|                return ret;
 1710|  2.07k|            }
 1711|  68.6k|        }
 1712|       |
 1713|   839k|        if (stream_pkts > MAXIMUM_STREAM_PKTS) {
  ------------------
  |  |   61|   839k|#define MAXIMUM_STREAM_PKTS 16
  ------------------
  |  Branch (1713:13): [True: 15.2k, False: 824k]
  ------------------
 1714|  15.2k|            RNP_LOG("Too many OpenPGP stream packets during the dump.");
  ------------------
  |  |   84|  15.2k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  15.2k|    do {                                                                                 \
  |  |  |  |   77|  15.2k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 15.2k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  15.2k|            break;                                                                       \
  |  |  |  |   79|  15.2k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1715|  15.2k|            dst_printf(dst, ":too many OpenPGP stream packets, stopping.\n");
 1716|  15.2k|            return RNP_SUCCESS;
 1717|  15.2k|        }
 1718|   839k|    }
 1719|  17.1k|    return RNP_SUCCESS;
 1720|  54.8k|}
_ZN3rnp14DumpContextDst4dumpEb:
 1724|  57.3k|{
 1725|       |    /* check whether source is cleartext - then skip till the signature */
 1726|  57.3k|    if (!raw_only && src.is_cleartext()) {
  ------------------
  |  Branch (1726:9): [True: 9.14k, False: 48.2k]
  |  Branch (1726:22): [True: 12, False: 9.12k]
  ------------------
 1727|     12|        dst_printf(dst, ":cleartext signed data\n");
 1728|     12|        if (!skip_cleartext()) {
  ------------------
  |  Branch (1728:13): [True: 9, False: 3]
  ------------------
 1729|      9|            RNP_LOG("malformed cleartext signed data");
  ------------------
  |  |   84|      9|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      9|    do {                                                                                 \
  |  |  |  |   77|      9|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      9|            break;                                                                       \
  |  |  |  |   79|      9|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1730|      9|            return RNP_ERROR_BAD_FORMAT;
 1731|      9|        }
 1732|     12|    }
 1733|       |
 1734|       |    /* check whether source is armored; concatenated armored messages are all
 1735|       |     * walked (see issue #2036) */
 1736|  57.3k|    if (!raw_only && src.is_armored()) {
  ------------------
  |  Branch (1736:9): [True: 9.13k, False: 48.2k]
  |  Branch (1736:22): [True: 1.24k, False: 7.88k]
  ------------------
 1737|  1.24k|        rnp::ArmoredSource armor(
 1738|  1.24k|          src, rnp::ArmoredSource::AllowBinary | rnp::ArmoredSource::AllowMultiple);
 1739|  1.24k|        rnp_result_t ret = RNP_SUCCESS;
 1740|  1.24k|        bool         first = true;
 1741|  29.7k|        while (true) {
  ------------------
  |  Branch (1741:16): [True: 29.0k, Folded]
  ------------------
 1742|  29.0k|            if (armor.eof() && armor.multiple()) {
  ------------------
  |  Branch (1742:17): [True: 15.1k, False: 13.8k]
  |  Branch (1742:32): [True: 15.1k, False: 0]
  ------------------
 1743|  15.1k|                armor.restart();
 1744|  15.1k|            }
 1745|  29.0k|            if (armor.eof()) {
  ------------------
  |  Branch (1745:17): [True: 71, False: 28.9k]
  ------------------
 1746|     71|                break;
 1747|     71|            }
 1748|  28.9k|            if (first) {
  ------------------
  |  Branch (1748:17): [True: 696, False: 28.2k]
  ------------------
 1749|    696|                dst_printf(dst, ":armored input\n");
 1750|    696|                first = false;
 1751|    696|            }
 1752|  28.9k|            DumpContextDst ctx(armor.src(), dst);
 1753|  28.9k|            ctx.copy_params(*this);
 1754|  28.9k|            ret = ctx.dump(true);
 1755|  28.9k|            if (ret && !zbudget->hit) {
  ------------------
  |  Branch (1755:17): [True: 475, False: 28.4k]
  |  Branch (1755:24): [True: 475, False: 0]
  ------------------
 1756|    475|                break;
 1757|    475|            }
 1758|       |            /* accumulate counters, but not layers: each armored message is
 1759|       |             * dumped at the same nesting level */
 1760|  28.4k|            stream_pkts = ctx.stream_pkts;
 1761|  28.4k|            failures = ctx.failures;
 1762|  28.4k|            dumped_pkts = ctx.dumped_pkts;
 1763|  28.4k|            if (zbudget->hit) {
  ------------------
  |  Branch (1763:17): [True: 3, False: 28.4k]
  ------------------
 1764|      3|                dst_printf(dst, ":too much decompressed data, stopping.\n");
 1765|      3|                ret = RNP_SUCCESS;
 1766|      3|                break;
 1767|      3|            }
 1768|  28.4k|        }
 1769|  1.24k|        return ret;
 1770|  1.24k|    }
 1771|       |
 1772|  56.0k|    if (src.eof()) {
  ------------------
  |  Branch (1772:9): [True: 1.25k, False: 54.8k]
  ------------------
 1773|  1.25k|        dst_printf(dst, ":empty input\n");
 1774|  1.25k|        return RNP_SUCCESS;
 1775|  1.25k|    }
 1776|       |
 1777|  54.8k|    return dump_raw_packets();
 1778|  56.0k|}
_ZN3rnp15DumpContextJson24dump_signature_subpacketERKN3pgp3pkt6sigsub3RawERN8nlohmann16json_abi_v3_11_310basic_jsonINS8_11ordered_mapENSt3__16vectorENSB_12basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEEblmdSG_NS8_14adl_serializerENSC_IhNSG_IhEEEEvEE:
 1900|  49.6k|{
 1901|  49.6k|    switch (subpkt.type()) {
 1902|  2.20k|    case pkt::sigsub::Type::CreationTime: {
  ------------------
  |  Branch (1902:5): [True: 2.20k, False: 47.4k]
  ------------------
 1903|  2.20k|        auto &sub = dynamic_cast<const pkt::sigsub::CreationTime &>(subpkt);
 1904|  2.20k|        return rnp::json::add(obj, "creation time", (uint64_t) sub.time());
 1905|      0|    }
 1906|    786|    case pkt::sigsub::Type::ExpirationTime: {
  ------------------
  |  Branch (1906:5): [True: 786, False: 48.8k]
  ------------------
 1907|    786|        auto &sub = dynamic_cast<const pkt::sigsub::ExpirationTime &>(subpkt);
 1908|    786|        return rnp::json::add(obj, "expiration time", (uint64_t) sub.time());
 1909|      0|    }
 1910|  1.59k|    case pkt::sigsub::Type::ExportableCert: {
  ------------------
  |  Branch (1910:5): [True: 1.59k, False: 48.0k]
  ------------------
 1911|  1.59k|        auto &sub = dynamic_cast<const pkt::sigsub::ExportableCert &>(subpkt);
 1912|  1.59k|        return rnp::json::add(obj, "exportable", sub.exportable());
 1913|      0|    }
 1914|    213|    case pkt::sigsub::Type::Trust: {
  ------------------
  |  Branch (1914:5): [True: 213, False: 49.4k]
  ------------------
 1915|    213|        auto &sub = dynamic_cast<const pkt::sigsub::Trust &>(subpkt);
 1916|    213|        return rnp::json::add(obj, "amount", (int) sub.amount()) &&
  ------------------
  |  Branch (1916:16): [True: 213, False: 0]
  ------------------
 1917|    213|               rnp::json::add(obj, "level", (int) sub.level());
  ------------------
  |  Branch (1917:16): [True: 213, False: 0]
  ------------------
 1918|      0|    }
 1919|    814|    case pkt::sigsub::Type::RegExp: {
  ------------------
  |  Branch (1919:5): [True: 814, False: 48.7k]
  ------------------
 1920|    814|        auto &sub = dynamic_cast<const pkt::sigsub::RegExp &>(subpkt);
 1921|    814|        return rnp::json::add(obj, "regexp", sub.regexp());
 1922|      0|    }
 1923|    362|    case pkt::sigsub::Type::Revocable: {
  ------------------
  |  Branch (1923:5): [True: 362, False: 49.2k]
  ------------------
 1924|    362|        auto &sub = dynamic_cast<const pkt::sigsub::Revocable &>(subpkt);
 1925|    362|        return rnp::json::add(obj, "revocable", sub.revocable());
 1926|      0|    }
 1927|  2.08k|    case pkt::sigsub::Type::KeyExpirationTime: {
  ------------------
  |  Branch (1927:5): [True: 2.08k, False: 47.5k]
  ------------------
 1928|  2.08k|        auto &sub = dynamic_cast<const pkt::sigsub::KeyExpirationTime &>(subpkt);
 1929|  2.08k|        return rnp::json::add(obj, "key expiration", (uint64_t) sub.time());
 1930|      0|    }
 1931|  3.28k|    case pkt::sigsub::Type::PreferredSymmetric: {
  ------------------
  |  Branch (1931:5): [True: 3.28k, False: 46.3k]
  ------------------
 1932|  3.28k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredSymmetric &>(subpkt);
 1933|  3.28k|        return subpacket_obj_add_algs(obj, "algorithms", sub.algs(), symm_alg_map);
 1934|      0|    }
 1935|  2.13k|    case pkt::sigsub::Type::PreferredHash: {
  ------------------
  |  Branch (1935:5): [True: 2.13k, False: 47.4k]
  ------------------
 1936|  2.13k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredHash &>(subpkt);
 1937|  2.13k|        return subpacket_obj_add_algs(obj, "algorithms", sub.algs(), hash_alg_map);
 1938|      0|    }
 1939|  2.19k|    case pkt::sigsub::Type::PreferredCompress: {
  ------------------
  |  Branch (1939:5): [True: 2.19k, False: 47.4k]
  ------------------
 1940|  2.19k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredCompress &>(subpkt);
 1941|  2.19k|        return subpacket_obj_add_algs(obj, "algorithms", sub.algs(), z_alg_map);
 1942|      0|    }
 1943|  2.00k|    case pkt::sigsub::Type::PreferredAEAD: {
  ------------------
  |  Branch (1943:5): [True: 2.00k, False: 47.6k]
  ------------------
 1944|  2.00k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredAEAD &>(subpkt);
 1945|  2.00k|        return subpacket_obj_add_algs(obj, "algorithms", sub.algs(), aead_alg_map);
 1946|      0|    }
 1947|    961|    case pkt::sigsub::Type::RevocationKey: {
  ------------------
  |  Branch (1947:5): [True: 961, False: 48.6k]
  ------------------
 1948|    961|        auto &sub = dynamic_cast<const pkt::sigsub::RevocationKey &>(subpkt);
 1949|    961|        return rnp::json::add(obj, "class", (int) sub.rev_class()) &&
  ------------------
  |  Branch (1949:16): [True: 961, False: 0]
  ------------------
 1950|    961|               rnp::json::add(obj, "algorithm", (int) sub.alg()) &&
  ------------------
  |  Branch (1950:16): [True: 961, False: 0]
  ------------------
 1951|    961|               rnp::json::add(obj, "fingerprint", sub.fp());
  ------------------
  |  Branch (1951:16): [True: 961, False: 0]
  ------------------
 1952|      0|    }
 1953|  2.22k|    case pkt::sigsub::Type::IssuerKeyID: {
  ------------------
  |  Branch (1953:5): [True: 2.22k, False: 47.3k]
  ------------------
 1954|  2.22k|        auto &sub = dynamic_cast<const pkt::sigsub::IssuerKeyID &>(subpkt);
 1955|  2.22k|        return rnp::json::add(obj, "issuer keyid", sub.keyid());
 1956|      0|    }
 1957|  1.95k|    case pkt::sigsub::Type::KeyserverPrefs: {
  ------------------
  |  Branch (1957:5): [True: 1.95k, False: 47.6k]
  ------------------
 1958|  1.95k|        auto &sub = dynamic_cast<const pkt::sigsub::KeyserverPrefs &>(subpkt);
 1959|  1.95k|        return rnp::json::add(obj, "no-modify", sub.no_modify());
 1960|      0|    }
 1961|  3.12k|    case pkt::sigsub::Type::PreferredKeyserver: {
  ------------------
  |  Branch (1961:5): [True: 3.12k, False: 46.4k]
  ------------------
 1962|  3.12k|        auto &sub = dynamic_cast<const pkt::sigsub::PreferredKeyserver &>(subpkt);
 1963|  3.12k|        return rnp::json::add(obj, "uri", sub.keyserver());
 1964|      0|    }
 1965|    215|    case pkt::sigsub::Type::PrimaryUserID: {
  ------------------
  |  Branch (1965:5): [True: 215, False: 49.3k]
  ------------------
 1966|    215|        auto &sub = dynamic_cast<const pkt::sigsub::PrimaryUserID &>(subpkt);
 1967|    215|        return rnp::json::add(obj, "primary", sub.primary());
 1968|      0|    }
 1969|    848|    case pkt::sigsub::Type::PolicyURI: {
  ------------------
  |  Branch (1969:5): [True: 848, False: 48.7k]
  ------------------
 1970|    848|        auto &sub = dynamic_cast<const pkt::sigsub::PolicyURI &>(subpkt);
 1971|    848|        return rnp::json::add(obj, "uri", sub.URI());
 1972|      0|    }
 1973|  3.11k|    case pkt::sigsub::Type::KeyFlags: {
  ------------------
  |  Branch (1973:5): [True: 3.11k, False: 46.4k]
  ------------------
 1974|  3.11k|        auto &  sub = dynamic_cast<const pkt::sigsub::KeyFlags &>(subpkt);
 1975|  3.11k|        uint8_t flg = sub.flags();
 1976|  3.11k|        if (!rnp::json::add(obj, "flags", (int) flg)) {
  ------------------
  |  Branch (1976:13): [True: 0, False: 3.11k]
  ------------------
 1977|      0|            return false; // LCOV_EXCL_LINE
 1978|      0|        }
 1979|  3.11k|        auto &jso_flg = obj["flags.str"] = nlohmann::ordered_json::array();
 1980|  3.11k|        if ((flg & PGP_KF_CERTIFY) && !rnp::json::array_add(jso_flg, "certify")) {
  ------------------
  |  Branch (1980:13): [True: 2.31k, False: 808]
  |  Branch (1980:39): [True: 0, False: 2.31k]
  ------------------
 1981|      0|            return false; // LCOV_EXCL_LINE
 1982|      0|        }
 1983|  3.11k|        if ((flg & PGP_KF_SIGN) && !rnp::json::array_add(jso_flg, "sign")) {
  ------------------
  |  Branch (1983:13): [True: 2.18k, False: 930]
  |  Branch (1983:36): [True: 0, False: 2.18k]
  ------------------
 1984|      0|            return false; // LCOV_EXCL_LINE
 1985|      0|        }
 1986|  3.11k|        if ((flg & PGP_KF_ENCRYPT_COMMS) && !rnp::json::array_add(jso_flg, "encrypt_comm")) {
  ------------------
  |  Branch (1986:13): [True: 524, False: 2.59k]
  |  Branch (1986:45): [True: 0, False: 524]
  ------------------
 1987|      0|            return false; // LCOV_EXCL_LINE
 1988|      0|        }
 1989|  3.11k|        if ((flg & PGP_KF_ENCRYPT_STORAGE) &&
  ------------------
  |  Branch (1989:13): [True: 733, False: 2.38k]
  ------------------
 1990|    733|            !rnp::json::array_add(jso_flg, "encrypt_storage")) {
  ------------------
  |  Branch (1990:13): [True: 0, False: 733]
  ------------------
 1991|      0|            return false; // LCOV_EXCL_LINE
 1992|      0|        }
 1993|  3.11k|        if ((flg & PGP_KF_SPLIT) && !rnp::json::array_add(jso_flg, "split")) {
  ------------------
  |  Branch (1993:13): [True: 620, False: 2.49k]
  |  Branch (1993:37): [True: 0, False: 620]
  ------------------
 1994|      0|            return false; // LCOV_EXCL_LINE
 1995|      0|        }
 1996|  3.11k|        if ((flg & PGP_KF_AUTH) && !rnp::json::array_add(jso_flg, "auth")) {
  ------------------
  |  Branch (1996:13): [True: 598, False: 2.52k]
  |  Branch (1996:36): [True: 0, False: 598]
  ------------------
 1997|      0|            return false; // LCOV_EXCL_LINE
 1998|      0|        }
 1999|  3.11k|        if ((flg & PGP_KF_SHARED) && !rnp::json::array_add(jso_flg, "shared")) {
  ------------------
  |  Branch (1999:13): [True: 232, False: 2.88k]
  |  Branch (1999:38): [True: 0, False: 232]
  ------------------
 2000|      0|            return false; // LCOV_EXCL_LINE
 2001|      0|        }
 2002|  3.11k|        return true;
 2003|  3.11k|    }
 2004|  1.97k|    case pkt::sigsub::Type::SignersUserID: {
  ------------------
  |  Branch (2004:5): [True: 1.97k, False: 47.6k]
  ------------------
 2005|  1.97k|        auto &sub = dynamic_cast<const pkt::sigsub::SignersUserID &>(subpkt);
 2006|  1.97k|        return rnp::json::add(obj, "uid", sub.signer());
 2007|  3.11k|    }
 2008|    819|    case pkt::sigsub::Type::RevocationReason: {
  ------------------
  |  Branch (2008:5): [True: 819, False: 48.7k]
  ------------------
 2009|    819|        auto &sub = dynamic_cast<const pkt::sigsub::RevocationReason &>(subpkt);
 2010|    819|        if (!obj_add_intstr_json(obj, "code", sub.code(), revoc_reason_map)) {
  ------------------
  |  Branch (2010:13): [True: 0, False: 819]
  ------------------
 2011|      0|            return false;
 2012|      0|        }
 2013|    819|        return rnp::json::add(obj, "message", sub.reason());
 2014|    819|    }
 2015|  2.36k|    case pkt::sigsub::Type::Features: {
  ------------------
  |  Branch (2015:5): [True: 2.36k, False: 47.2k]
  ------------------
 2016|  2.36k|        auto &sub = dynamic_cast<const pkt::sigsub::Features &>(subpkt);
 2017|  2.36k|        return rnp::json::add(obj, "mdc", (bool) (sub.features() & PGP_KEY_FEATURE_MDC)) &&
  ------------------
  |  Branch (2017:16): [True: 2.36k, False: 0]
  ------------------
 2018|  2.36k|               rnp::json::add(obj, "aead", (bool) (sub.features() & PGP_KEY_FEATURE_AEAD)) &&
  ------------------
  |  Branch (2018:16): [True: 2.36k, False: 0]
  ------------------
 2019|  2.36k|               rnp::json::add(obj, "v5 keys", (bool) (sub.features() & PGP_KEY_FEATURE_V5));
  ------------------
  |  Branch (2019:16): [True: 2.36k, False: 0]
  ------------------
 2020|    819|    }
 2021|    731|    case pkt::sigsub::Type::EmbeddedSignature: {
  ------------------
  |  Branch (2021:5): [True: 731, False: 48.8k]
  ------------------
 2022|    731|        auto &sub = dynamic_cast<const pkt::sigsub::EmbeddedSignature &>(subpkt);
 2023|    731|        if (!sub.signature()) {
  ------------------
  |  Branch (2023:13): [True: 0, False: 731]
  ------------------
 2024|      0|            return false; // LCOV_EXCL_LINE
 2025|      0|        }
 2026|    731|        auto &sig = obj["signature"] = nlohmann::ordered_json::object();
 2027|    731|        return !dump_signature_pkt(*sub.signature(), sig);
 2028|    731|    }
 2029|  3.72k|    case pkt::sigsub::Type::IssuerFingerprint: {
  ------------------
  |  Branch (2029:5): [True: 3.72k, False: 45.8k]
  ------------------
 2030|  3.72k|        auto &sub = dynamic_cast<const pkt::sigsub::IssuerFingerprint &>(subpkt);
 2031|  3.72k|        return rnp::json::add(obj, "fingerprint", sub.fp());
 2032|    731|    }
 2033|      0|#if defined(ENABLE_CRYPTO_REFRESH)
 2034|    786|    case pkt::sigsub::Type::IntendedRecipientFingerprint: {
  ------------------
  |  Branch (2034:5): [True: 786, False: 48.8k]
  ------------------
 2035|    786|        auto &sub = dynamic_cast<const pkt::sigsub::IntendedRecipientFingerprint &>(subpkt);
 2036|    786|        return rnp::json::add(obj, "fingerprint", sub.fp());
 2037|    731|    }
 2038|      0|#endif
 2039|  1.23k|    case pkt::sigsub::Type::NotationData: {
  ------------------
  |  Branch (2039:5): [True: 1.23k, False: 48.3k]
  ------------------
 2040|  1.23k|        auto &sub = dynamic_cast<const pkt::sigsub::NotationData &>(subpkt);
 2041|  1.23k|        if (!rnp::json::add(obj, "human", sub.human_readable()) ||
  ------------------
  |  Branch (2041:13): [True: 0, False: 1.23k]
  ------------------
 2042|  1.23k|            !rnp::json::add(obj, "name", sub.name())) {
  ------------------
  |  Branch (2042:13): [True: 0, False: 1.23k]
  ------------------
 2043|      0|            return false; // LCOV_EXCL_LINE
 2044|      0|        }
 2045|  1.23k|        if (sub.human_readable()) {
  ------------------
  |  Branch (2045:13): [True: 526, False: 712]
  ------------------
 2046|    526|            return rnp::json::add(
 2047|    526|              obj, "value", (char *) sub.value().data(), sub.value().size());
 2048|    526|        }
 2049|    712|        return rnp::json::add_hex(obj, "value", sub.value());
 2050|  1.23k|    }
 2051|  7.85k|    default:
  ------------------
  |  Branch (2051:5): [True: 7.85k, False: 41.7k]
  ------------------
 2052|  7.85k|        if (!dump_packets) {
  ------------------
  |  Branch (2052:13): [True: 0, False: 7.85k]
  ------------------
 2053|      0|            return rnp::json::add_hex(obj, "raw", subpkt.data());
 2054|      0|        }
 2055|  7.85k|        return true;
 2056|  49.6k|    }
 2057|      0|    return true;
 2058|  49.6k|}
_ZN3rnp15DumpContextJson25dump_signature_subpacketsERKN3pgp3pkt9SignatureE:
 2062|  13.4k|{
 2063|  13.4k|    nlohmann::ordered_json res = nlohmann::ordered_json::array();
 2064|       |
 2065|  49.6k|    for (auto &subpkt : sig.subpkts) {
  ------------------
  |  Branch (2065:23): [True: 49.6k, False: 13.4k]
  ------------------
 2066|  49.6k|        auto &jso_subpkt = res.emplace_back(nlohmann::ordered_json::object());
 2067|       |
 2068|  49.6k|        if (!obj_add_intstr_json(
  ------------------
  |  Branch (2068:13): [True: 0, False: 49.6k]
  ------------------
 2069|  49.6k|              jso_subpkt, "type", subpkt->raw_type(), sig_subpkt_type_map)) {
 2070|      0|            return nlohmann::ordered_json(); // LCOV_EXCL_LINE
 2071|      0|        }
 2072|  49.6k|        if (!rnp::json::add(jso_subpkt, "length", (int) subpkt->data().size())) {
  ------------------
  |  Branch (2072:13): [True: 0, False: 49.6k]
  ------------------
 2073|      0|            return nlohmann::ordered_json(); // LCOV_EXCL_LINE
 2074|      0|        }
 2075|  49.6k|        if (!rnp::json::add(jso_subpkt, "hashed", subpkt->hashed())) {
  ------------------
  |  Branch (2075:13): [True: 0, False: 49.6k]
  ------------------
 2076|      0|            return nlohmann::ordered_json(); // LCOV_EXCL_LINE
 2077|      0|        }
 2078|  49.6k|        if (!rnp::json::add(jso_subpkt, "critical", subpkt->critical())) {
  ------------------
  |  Branch (2078:13): [True: 0, False: 49.6k]
  ------------------
 2079|      0|            return nlohmann::ordered_json(); // LCOV_EXCL_LINE
 2080|      0|        }
 2081|  49.6k|        if (dump_packets && !rnp::json::add_hex(jso_subpkt, "raw", subpkt->data())) {
  ------------------
  |  Branch (2081:13): [True: 49.6k, False: 0]
  |  Branch (2081:29): [True: 0, False: 49.6k]
  ------------------
 2082|      0|            return nlohmann::ordered_json(); // LCOV_EXCL_LINE
 2083|      0|        }
 2084|  49.6k|        if (!dump_signature_subpacket(*subpkt, jso_subpkt)) {
  ------------------
  |  Branch (2084:13): [True: 0, False: 49.6k]
  ------------------
 2085|      0|            return nlohmann::ordered_json();
 2086|      0|        }
 2087|  49.6k|    }
 2088|  13.4k|    return res;
 2089|  13.4k|}
_ZN3rnp15DumpContextJson18dump_signature_pktERKN3pgp3pkt9SignatureERN8nlohmann16json_abi_v3_11_310basic_jsonINS7_11ordered_mapENSt3__16vectorENSA_12basic_stringIcNSA_11char_traitsIcEENSA_9allocatorIcEEEEblmdSF_NS7_14adl_serializerENSB_IhNSF_IhEEEEvEE:
 2093|  13.9k|{
 2094|  13.9k|    if (!rnp::json::add(pkt, "version", (int) sig.version)) {
  ------------------
  |  Branch (2094:9): [True: 0, False: 13.9k]
  ------------------
 2095|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2096|      0|    }
 2097|  13.9k|    if (!obj_add_intstr_json(pkt, "type", sig.type(), sig_type_map)) {
  ------------------
  |  Branch (2097:9): [True: 0, False: 13.9k]
  ------------------
 2098|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2099|      0|    }
 2100|       |
 2101|  13.9k|    if (sig.version < PGP_V4) {
  ------------------
  |  Branch (2101:9): [True: 542, False: 13.4k]
  ------------------
 2102|    542|        if (!rnp::json::add(pkt, "creation time", (uint64_t) sig.creation_time)) {
  ------------------
  |  Branch (2102:13): [True: 0, False: 542]
  ------------------
 2103|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2104|      0|        }
 2105|    542|        if (!rnp::json::add(pkt, "signer", sig.signer)) {
  ------------------
  |  Branch (2105:13): [True: 0, False: 542]
  ------------------
 2106|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2107|      0|        }
 2108|    542|    }
 2109|  13.9k|    if (!obj_add_intstr_json(pkt, "algorithm", sig.palg, pubkey_alg_map)) {
  ------------------
  |  Branch (2109:9): [True: 0, False: 13.9k]
  ------------------
 2110|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2111|      0|    }
 2112|  13.9k|    if (!obj_add_intstr_json(pkt, "hash algorithm", sig.halg, hash_alg_map)) {
  ------------------
  |  Branch (2112:9): [True: 0, False: 13.9k]
  ------------------
 2113|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2114|      0|    }
 2115|       |
 2116|  13.9k|    if (sig.version >= PGP_V4) {
  ------------------
  |  Branch (2116:9): [True: 13.4k, False: 542]
  ------------------
 2117|  13.4k|        nlohmann::ordered_json subpkts = dump_signature_subpackets(sig);
 2118|  13.4k|        if (subpkts.is_null()) {
  ------------------
  |  Branch (2118:13): [True: 0, False: 13.4k]
  ------------------
 2119|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2120|      0|        }
 2121|  13.4k|        pkt["subpackets"] = std::move(subpkts);
 2122|  13.4k|    }
 2123|       |
 2124|  13.9k|    if (!rnp::json::add_hex(pkt, "lbits", sig.lbits.data(), sig.lbits.size())) {
  ------------------
  |  Branch (2124:9): [True: 0, False: 13.9k]
  ------------------
 2125|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2126|      0|    }
 2127|       |
 2128|  13.9k|    auto &material = pkt["material"] = nlohmann::ordered_json::object();
 2129|       |
 2130|  13.9k|    auto sigmaterial = sig.parse_material();
 2131|  13.9k|    if (!sigmaterial) {
  ------------------
  |  Branch (2131:9): [True: 0, False: 13.9k]
  ------------------
 2132|      0|        return RNP_ERROR_BAD_PARAMETERS;
 2133|      0|    }
 2134|  13.9k|    switch (sig.palg) {
 2135|  4.93k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (2135:5): [True: 4.93k, False: 9.05k]
  ------------------
 2136|  4.93k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (2136:5): [True: 0, False: 13.9k]
  ------------------
 2137|  9.31k|    case PGP_PKA_RSA_SIGN_ONLY: {
  ------------------
  |  Branch (2137:5): [True: 4.37k, False: 9.61k]
  ------------------
 2138|  9.31k|        auto &rsa = dynamic_cast<const RSASigMaterial &>(*sigmaterial);
 2139|  9.31k|        if (!obj_add_mpi_json(material, "s", rsa.sig.s, dump_mpi)) {
  ------------------
  |  Branch (2139:13): [True: 0, False: 9.31k]
  ------------------
 2140|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2141|      0|        }
 2142|  9.31k|        break;
 2143|  9.31k|    }
 2144|  9.31k|    case PGP_PKA_DSA: {
  ------------------
  |  Branch (2144:5): [True: 441, False: 13.5k]
  ------------------
 2145|    441|        auto &dsa = dynamic_cast<const DSASigMaterial &>(*sigmaterial);
 2146|    441|        if (!obj_add_mpi_json(material, "r", dsa.sig.r, dump_mpi) ||
  ------------------
  |  Branch (2146:13): [True: 0, False: 441]
  ------------------
 2147|    441|            !obj_add_mpi_json(material, "s", dsa.sig.s, dump_mpi)) {
  ------------------
  |  Branch (2147:13): [True: 0, False: 441]
  ------------------
 2148|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2149|      0|        }
 2150|    441|        break;
 2151|    441|    }
 2152|  2.25k|    case PGP_PKA_EDDSA:
  ------------------
  |  Branch (2152:5): [True: 2.25k, False: 11.7k]
  ------------------
 2153|  2.64k|    case PGP_PKA_ECDSA:
  ------------------
  |  Branch (2153:5): [True: 386, False: 13.6k]
  ------------------
 2154|  2.84k|    case PGP_PKA_SM2:
  ------------------
  |  Branch (2154:5): [True: 204, False: 13.7k]
  ------------------
 2155|  3.18k|    case PGP_PKA_ECDH: {
  ------------------
  |  Branch (2155:5): [True: 336, False: 13.6k]
  ------------------
 2156|  3.18k|        auto &ec = dynamic_cast<const ECSigMaterial &>(*sigmaterial);
 2157|  3.18k|        if (!obj_add_mpi_json(material, "r", ec.sig.r, dump_mpi) ||
  ------------------
  |  Branch (2157:13): [True: 0, False: 3.18k]
  ------------------
 2158|  3.18k|            !obj_add_mpi_json(material, "s", ec.sig.s, dump_mpi)) {
  ------------------
  |  Branch (2158:13): [True: 0, False: 3.18k]
  ------------------
 2159|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2160|      0|        }
 2161|  3.18k|        break;
 2162|  3.18k|    }
 2163|       |    /* Wasn't able to find ElGamal sig artifacts so let's ignore this for coverage */
 2164|       |    /* LCOV_EXCL_START */
 2165|  3.18k|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (2165:5): [True: 427, False: 13.5k]
  ------------------
 2166|    782|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN: {
  ------------------
  |  Branch (2166:5): [True: 355, False: 13.6k]
  ------------------
 2167|    782|        auto &eg = dynamic_cast<const EGSigMaterial &>(*sigmaterial);
 2168|    782|        if (!obj_add_mpi_json(material, "r", eg.sig.r, dump_mpi) ||
  ------------------
  |  Branch (2168:13): [True: 0, False: 782]
  ------------------
 2169|    782|            !obj_add_mpi_json(material, "s", eg.sig.s, dump_mpi)) {
  ------------------
  |  Branch (2169:13): [True: 0, False: 782]
  ------------------
 2170|      0|            return RNP_ERROR_OUT_OF_MEMORY;
 2171|      0|        }
 2172|    782|        break;
 2173|    782|    }
 2174|       |    /* LCOV_EXCL_END */
 2175|    782|#if defined(ENABLE_CRYPTO_REFRESH)
 2176|    782|    case PGP_PKA_ED25519: {
  ------------------
  |  Branch (2176:5): [True: 196, False: 13.7k]
  ------------------
 2177|    196|        auto &ed = dynamic_cast<const Ed25519SigMaterial &>(*sigmaterial);
 2178|    196|        if (!obj_add_vec_json(material, "sig", ed.sig.sig, dump_mpi)) {
  ------------------
  |  Branch (2178:13): [True: 0, False: 196]
  ------------------
 2179|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2180|      0|        }
 2181|    196|        break;
 2182|    196|    }
 2183|    196|    case PGP_PKA_ED448: {
  ------------------
  |  Branch (2183:5): [True: 10, False: 13.9k]
  ------------------
 2184|     10|        auto &ed = dynamic_cast<const Ed448SigMaterial &>(*sigmaterial);
 2185|     10|        if (!obj_add_vec_json(material, "sig", ed.sig.sig, dump_mpi)) {
  ------------------
  |  Branch (2185:13): [True: 0, False: 10]
  ------------------
 2186|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2187|      0|        }
 2188|     10|        break;
 2189|     10|    }
 2190|     10|#endif
 2191|     10|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 2192|     10|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (2192:5): [True: 9, False: 13.9k]
  ------------------
 2193|      9|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|      9|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2194|     15|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (2194:5): [True: 6, False: 13.9k]
  ------------------
 2195|     15|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     15|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2196|     33|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (2196:5): [True: 18, False: 13.9k]
  ------------------
 2197|     33|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     33|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2198|     39|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (2198:5): [True: 6, False: 13.9k]
  ------------------
 2199|     39|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     39|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2200|     45|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (2200:5): [True: 6, False: 13.9k]
  ------------------
 2201|     45|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     45|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2202|     51|    case PGP_PKA_DILITHIUM5_BP512: {
  ------------------
  |  Branch (2202:5): [True: 6, False: 13.9k]
  ------------------
 2203|     51|        auto &dilithium = dynamic_cast<const DilithiumSigMaterial &>(*sigmaterial);
 2204|     51|        if (!obj_add_vec_json(material, "sig", dilithium.sig.sig, dump_mpi)) {
  ------------------
  |  Branch (2204:13): [True: 0, False: 51]
  ------------------
 2205|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2206|      0|        }
 2207|     51|        break;
 2208|     51|    }
 2209|     51|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (2209:5): [True: 6, False: 13.9k]
  ------------------
 2210|      6|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|      6|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2211|     12|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (2211:5): [True: 6, False: 13.9k]
  ------------------
 2212|     12|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     12|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2213|     18|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s: {
  ------------------
  |  Branch (2213:5): [True: 6, False: 13.9k]
  ------------------
 2214|     18|        auto &slhdsa = dynamic_cast<const SlhdsaSigMaterial &>(*sigmaterial);
 2215|     18|        if (!obj_add_vec_json(material, "sig", slhdsa.sig.sig, dump_mpi)) {
  ------------------
  |  Branch (2215:13): [True: 0, False: 18]
  ------------------
 2216|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2217|      0|        }
 2218|     18|        break;
 2219|     18|    }
 2220|     18|#endif
 2221|     18|    default:
  ------------------
  |  Branch (2221:5): [True: 0, False: 13.9k]
  ------------------
 2222|      0|        break;
 2223|  13.9k|    }
 2224|  13.9k|    return RNP_SUCCESS;
 2225|  13.9k|}
_ZN3rnp15DumpContextJson14dump_signatureERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2229|  28.4k|{
 2230|  28.4k|    pkt::Signature sig;
 2231|  28.4k|    auto           ret = sig.parse(src);
 2232|  28.4k|    if (ret) {
  ------------------
  |  Branch (2232:9): [True: 15.1k, False: 13.2k]
  ------------------
 2233|  15.1k|        return ret;
 2234|  15.1k|    }
 2235|  13.2k|    return dump_signature_pkt(sig, pkt);
 2236|  28.4k|}
_ZN3rnp15DumpContextJson17dump_key_materialEPKN3pgp11KeyMaterialERN8nlohmann16json_abi_v3_11_310basic_jsonINS6_11ordered_mapENSt3__16vectorENS9_12basic_stringIcNS9_11char_traitsIcEENS9_9allocatorIcEEEEblmdSE_NS6_14adl_serializerENSA_IhNSE_IhEEEEvEE:
 2240|  21.2k|{
 2241|  21.2k|    if (!material) {
  ------------------
  |  Branch (2241:9): [True: 0, False: 21.2k]
  ------------------
 2242|      0|        return false; // LCOV_EXCL_LINE
 2243|      0|    }
 2244|  21.2k|    switch (material->alg()) {
 2245|  3.45k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (2245:5): [True: 3.45k, False: 17.7k]
  ------------------
 2246|  7.24k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (2246:5): [True: 3.79k, False: 17.4k]
  ------------------
 2247|  11.6k|    case PGP_PKA_RSA_SIGN_ONLY: {
  ------------------
  |  Branch (2247:5): [True: 4.45k, False: 16.7k]
  ------------------
 2248|  11.6k|        auto &rsa = dynamic_cast<const RSAKeyMaterial &>(*material);
 2249|  11.6k|        if (!obj_add_mpi_json(jso, "n", rsa.n(), dump_mpi) ||
  ------------------
  |  Branch (2249:13): [True: 0, False: 11.6k]
  ------------------
 2250|  11.6k|            !obj_add_mpi_json(jso, "e", rsa.e(), dump_mpi)) {
  ------------------
  |  Branch (2250:13): [True: 0, False: 11.6k]
  ------------------
 2251|      0|            return false; // LCOV_EXCL_LINE
 2252|      0|        }
 2253|  11.6k|        return true;
 2254|  11.6k|    }
 2255|    351|    case PGP_PKA_DSA: {
  ------------------
  |  Branch (2255:5): [True: 351, False: 20.8k]
  ------------------
 2256|    351|        auto &dsa = dynamic_cast<const DSAKeyMaterial &>(*material);
 2257|    351|        if (!obj_add_mpi_json(jso, "p", dsa.p(), dump_mpi) ||
  ------------------
  |  Branch (2257:13): [True: 0, False: 351]
  ------------------
 2258|    351|            !obj_add_mpi_json(jso, "q", dsa.q(), dump_mpi) ||
  ------------------
  |  Branch (2258:13): [True: 0, False: 351]
  ------------------
 2259|    351|            !obj_add_mpi_json(jso, "g", dsa.g(), dump_mpi) ||
  ------------------
  |  Branch (2259:13): [True: 0, False: 351]
  ------------------
 2260|    351|            !obj_add_mpi_json(jso, "y", dsa.y(), dump_mpi)) {
  ------------------
  |  Branch (2260:13): [True: 0, False: 351]
  ------------------
 2261|      0|            return false; // LCOV_EXCL_LINE
 2262|      0|        }
 2263|    351|        return true;
 2264|    351|    }
 2265|    720|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (2265:5): [True: 720, False: 20.5k]
  ------------------
 2266|  1.05k|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN: {
  ------------------
  |  Branch (2266:5): [True: 339, False: 20.9k]
  ------------------
 2267|  1.05k|        auto &eg = dynamic_cast<const EGKeyMaterial &>(*material);
 2268|  1.05k|        if (!obj_add_mpi_json(jso, "p", eg.p(), dump_mpi) ||
  ------------------
  |  Branch (2268:13): [True: 0, False: 1.05k]
  ------------------
 2269|  1.05k|            !obj_add_mpi_json(jso, "g", eg.g(), dump_mpi) ||
  ------------------
  |  Branch (2269:13): [True: 0, False: 1.05k]
  ------------------
 2270|  1.05k|            !obj_add_mpi_json(jso, "y", eg.y(), dump_mpi)) {
  ------------------
  |  Branch (2270:13): [True: 0, False: 1.05k]
  ------------------
 2271|      0|            return false; // LCOV_EXCL_LINE
 2272|      0|        }
 2273|  1.05k|        return true;
 2274|  1.05k|    }
 2275|    734|    case PGP_PKA_ECDSA:
  ------------------
  |  Branch (2275:5): [True: 734, False: 20.5k]
  ------------------
 2276|  2.27k|    case PGP_PKA_EDDSA:
  ------------------
  |  Branch (2276:5): [True: 1.53k, False: 19.7k]
  ------------------
 2277|  2.69k|    case PGP_PKA_SM2:
  ------------------
  |  Branch (2277:5): [True: 429, False: 20.8k]
  ------------------
 2278|  3.36k|    case PGP_PKA_ECDH: {
  ------------------
  |  Branch (2278:5): [True: 669, False: 20.5k]
  ------------------
 2279|  3.36k|        auto &ec = dynamic_cast<const ECKeyMaterial &>(*material);
 2280|  3.36k|        auto  cdesc = ec::Curve::get(ec.curve());
 2281|       |        /* Common EC fields */
 2282|  3.36k|        if (!obj_add_mpi_json(jso, "p", ec.p(), dump_mpi)) {
  ------------------
  |  Branch (2282:13): [True: 0, False: 3.36k]
  ------------------
 2283|      0|            return false; // LCOV_EXCL_LINE
 2284|      0|        }
 2285|  3.36k|        if (!rnp::json::add(jso, "curve", cdesc ? cdesc->pgp_name : "unknown")) {
  ------------------
  |  Branch (2285:13): [True: 0, False: 3.36k]
  |  Branch (2285:43): [True: 2.07k, False: 1.29k]
  ------------------
 2286|      0|            return false; // LCOV_EXCL_LINE
 2287|      0|        }
 2288|  3.36k|        if (material->alg() != PGP_PKA_ECDH) {
  ------------------
  |  Branch (2288:13): [True: 2.69k, False: 669]
  ------------------
 2289|  2.69k|            return true;
 2290|  2.69k|        }
 2291|       |        /* ECDH-only fields */
 2292|    669|        auto &ecdh = dynamic_cast<const ECDHKeyMaterial &>(*material);
 2293|    669|        if (!obj_add_intstr_json(jso, "hash algorithm", ecdh.kdf_hash_alg(), hash_alg_map)) {
  ------------------
  |  Branch (2293:13): [True: 0, False: 669]
  ------------------
 2294|      0|            return false; // LCOV_EXCL_LINE
 2295|      0|        }
 2296|    669|        if (!obj_add_intstr_json(
  ------------------
  |  Branch (2296:13): [True: 0, False: 669]
  ------------------
 2297|    669|              jso, "key wrap algorithm", ecdh.key_wrap_alg(), symm_alg_map)) {
 2298|      0|            return false; // LCOV_EXCL_LINE
 2299|      0|        }
 2300|    669|        return true;
 2301|    669|    }
 2302|      0|#if defined(ENABLE_CRYPTO_REFRESH)
 2303|    651|    case PGP_PKA_ED25519: {
  ------------------
  |  Branch (2303:5): [True: 651, False: 20.5k]
  ------------------
 2304|    651|        auto &ed25519 = dynamic_cast<const Ed25519KeyMaterial &>(*material);
 2305|    651|        return obj_add_vec_json(jso, "pub", ed25519.pub(), dump_mpi);
 2306|    669|    }
 2307|    705|    case PGP_PKA_X25519: {
  ------------------
  |  Branch (2307:5): [True: 705, False: 20.5k]
  ------------------
 2308|    705|        auto &x25519 = dynamic_cast<const X25519KeyMaterial &>(*material);
 2309|    705|        return obj_add_vec_json(jso, "pub", x25519.pub(), dump_mpi);
 2310|    669|    }
 2311|    285|    case PGP_PKA_ED448: {
  ------------------
  |  Branch (2311:5): [True: 285, False: 20.9k]
  ------------------
 2312|    285|        auto &ed448 = dynamic_cast<const pgp::Ed448KeyMaterial &>(*material);
 2313|    285|        return obj_add_vec_json(jso, "pub", ed448.pub(), dump_mpi);
 2314|    669|    }
 2315|    270|    case PGP_PKA_X448: {
  ------------------
  |  Branch (2315:5): [True: 270, False: 20.9k]
  ------------------
 2316|    270|        auto &x448 = dynamic_cast<const pgp::X448KeyMaterial &>(*material);
 2317|    270|        return obj_add_vec_json(jso, "pub", x448.pub(), dump_mpi);
 2318|    669|    }
 2319|      0|#endif
 2320|      0|#if defined(ENABLE_PQC)
 2321|     44|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (2321:5): [True: 44, False: 21.1k]
  ------------------
 2322|     44|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 2323|     44|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     44|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2324|    178|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (2324:5): [True: 134, False: 21.1k]
  ------------------
 2325|    178|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    178|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2326|    415|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (2326:5): [True: 237, False: 21.0k]
  ------------------
 2327|    415|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    415|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2328|    417|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (2328:5): [True: 2, False: 21.2k]
  ------------------
 2329|    417|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    417|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2330|    950|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (2330:5): [True: 533, False: 20.7k]
  ------------------
 2331|    950|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    950|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2332|  1.27k|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (2332:5): [True: 328, False: 20.9k]
  ------------------
 2333|  1.27k|#endif
 2334|  1.27k|    {
 2335|  1.27k|        auto &kyber = dynamic_cast<const MlkemEcdhKeyMaterial &>(*material);
 2336|  1.27k|        return obj_add_vec_json(jso, "pub", kyber.pub().get_encoded(), dump_mpi);
 2337|    950|    }
 2338|      0|#endif
 2339|      0|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 2340|     63|    case PGP_PKA_DILITHIUM3_ED25519:
  ------------------
  |  Branch (2340:5): [True: 63, False: 21.1k]
  ------------------
 2341|     63|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     63|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2342|    107|    case PGP_PKA_DILITHIUM5_ED448:
  ------------------
  |  Branch (2342:5): [True: 44, False: 21.1k]
  ------------------
 2343|    107|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    107|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2344|    555|    case PGP_PKA_DILITHIUM3_P384:
  ------------------
  |  Branch (2344:5): [True: 448, False: 20.7k]
  ------------------
 2345|    555|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    555|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2346|    590|    case PGP_PKA_DILITHIUM5_P521:
  ------------------
  |  Branch (2346:5): [True: 35, False: 21.2k]
  ------------------
 2347|    590|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    590|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2348|    825|    case PGP_PKA_DILITHIUM3_BP384:
  ------------------
  |  Branch (2348:5): [True: 235, False: 21.0k]
  ------------------
 2349|    825|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    825|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2350|    903|    case PGP_PKA_DILITHIUM5_BP512: {
  ------------------
  |  Branch (2350:5): [True: 78, False: 21.1k]
  ------------------
 2351|    903|        auto &dilithium = dynamic_cast<const DilithiumEccKeyMaterial &>(*material);
 2352|    903|        return obj_add_vec_json(jso, "pub", dilithium.pub().get_encoded(), dump_mpi);
 2353|    825|    }
 2354|    202|    case PGP_PKA_SPHINCSPLUS_SHAKE_128f:
  ------------------
  |  Branch (2354:5): [True: 202, False: 21.0k]
  ------------------
 2355|    202|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    202|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2356|    590|    case PGP_PKA_SPHINCSPLUS_SHAKE_128s:
  ------------------
  |  Branch (2356:5): [True: 388, False: 20.8k]
  ------------------
 2357|    590|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|    590|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2358|    670|    case PGP_PKA_SPHINCSPLUS_SHAKE_256s: {
  ------------------
  |  Branch (2358:5): [True: 80, False: 21.1k]
  ------------------
 2359|    670|        auto &sphincs = dynamic_cast<const SlhdsaKeyMaterial &>(*material);
 2360|    670|        return obj_add_vec_json(jso, "pub", sphincs.pub().get_encoded(), dump_mpi);
 2361|    590|    }
 2362|      0|#endif
 2363|      0|    default:
  ------------------
  |  Branch (2363:5): [True: 0, False: 21.2k]
  ------------------
 2364|      0|        return false;
 2365|  21.2k|    }
 2366|  21.2k|}
_ZN3rnp15DumpContextJson8dump_keyERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2370|  37.9k|{
 2371|  37.9k|    pgp_key_pkt_t key;
 2372|  37.9k|    auto          ret = key.parse(src);
 2373|  37.9k|    if (ret) {
  ------------------
  |  Branch (2373:9): [True: 16.7k, False: 21.2k]
  ------------------
 2374|  16.7k|        return ret;
 2375|  16.7k|    }
 2376|       |
 2377|  21.2k|    if (!rnp::json::add(pkt, "version", (int) key.version)) {
  ------------------
  |  Branch (2377:9): [True: 0, False: 21.2k]
  ------------------
 2378|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2379|      0|    }
 2380|  21.2k|    if (!rnp::json::add(pkt, "creation time", (uint64_t) key.creation_time)) {
  ------------------
  |  Branch (2380:9): [True: 0, False: 21.2k]
  ------------------
 2381|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2382|      0|    }
 2383|  21.2k|    if ((key.version < PGP_V4) && !rnp::json::add(pkt, "v3 days", (int) key.v3_days)) {
  ------------------
  |  Branch (2383:9): [True: 1.77k, False: 19.4k]
  |  Branch (2383:35): [True: 0, False: 1.77k]
  ------------------
 2384|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2385|      0|    }
 2386|  21.2k|    if (!obj_add_intstr_json(pkt, "algorithm", key.alg, pubkey_alg_map)) {
  ------------------
  |  Branch (2386:9): [True: 0, False: 21.2k]
  ------------------
 2387|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2388|      0|    }
 2389|  21.2k|    if ((key.version == PGP_V5) &&
  ------------------
  |  Branch (2389:9): [True: 660, False: 20.5k]
  ------------------
 2390|    660|        !rnp::json::add(pkt, "v5 public key material length", (int) key.v5_pub_len)) {
  ------------------
  |  Branch (2390:9): [True: 0, False: 660]
  ------------------
 2391|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2392|      0|    }
 2393|       |
 2394|  21.2k|    auto &material = pkt["material"] = nlohmann::ordered_json::object();
 2395|  21.2k|    if (!dump_key_material(key.material.get(), material)) {
  ------------------
  |  Branch (2395:9): [True: 0, False: 21.2k]
  ------------------
 2396|      0|        return RNP_ERROR_OUT_OF_MEMORY;
 2397|      0|    }
 2398|       |
 2399|  21.2k|    if (is_secret_key_pkt(key.tag)) {
  ------------------
  |  Branch (2399:9): [True: 12.1k, False: 9.13k]
  ------------------
 2400|  12.1k|        if (!rnp::json::add(material, "s2k usage", (int) key.sec_protection.s2k.usage)) {
  ------------------
  |  Branch (2400:13): [True: 0, False: 12.1k]
  ------------------
 2401|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2402|      0|        }
 2403|  12.1k|        if ((key.version == PGP_V5) &&
  ------------------
  |  Branch (2403:13): [True: 660, False: 11.4k]
  ------------------
 2404|    660|            !rnp::json::add(material, "v5 s2k length", (int) key.v5_s2k_len)) {
  ------------------
  |  Branch (2404:13): [True: 0, False: 660]
  ------------------
 2405|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2406|      0|        }
 2407|  12.1k|        if (!obj_add_s2k_json(material, &key.sec_protection.s2k)) {
  ------------------
  |  Branch (2407:13): [True: 0, False: 12.1k]
  ------------------
 2408|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2409|      0|        }
 2410|  12.1k|        if (key.sec_protection.s2k.usage &&
  ------------------
  |  Branch (2410:13): [True: 7.28k, False: 4.82k]
  ------------------
 2411|  7.28k|            !obj_add_intstr_json(
  ------------------
  |  Branch (2411:13): [True: 0, False: 7.28k]
  ------------------
 2412|  7.28k|              material, "symmetric algorithm", key.sec_protection.symm_alg, symm_alg_map)) {
 2413|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2414|      0|        }
 2415|  12.1k|        if ((key.version == PGP_V5) &&
  ------------------
  |  Branch (2415:13): [True: 660, False: 11.4k]
  ------------------
 2416|    660|            !rnp::json::add(material, "v5 secret key data length", (int) key.v5_sec_len)) {
  ------------------
  |  Branch (2416:13): [True: 0, False: 660]
  ------------------
 2417|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2418|      0|        }
 2419|  12.1k|    }
 2420|       |
 2421|  21.2k|    Fingerprint fp(key);
 2422|  21.2k|    if (!rnp::json::add(pkt, "keyid", fp.keyid())) {
  ------------------
  |  Branch (2422:9): [True: 0, False: 21.2k]
  ------------------
 2423|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2424|      0|    }
 2425|       |
 2426|  21.2k|    if (dump_grips && !rnp::json::add(pkt, "fingerprint", fp)) {
  ------------------
  |  Branch (2426:9): [True: 0, False: 21.2k]
  |  Branch (2426:23): [True: 0, False: 0]
  ------------------
 2427|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2428|      0|    }
 2429|       |
 2430|  21.2k|    if (dump_grips) {
  ------------------
  |  Branch (2430:9): [True: 0, False: 21.2k]
  ------------------
 2431|      0|        if (key.material) {
  ------------------
  |  Branch (2431:13): [True: 0, False: 0]
  ------------------
 2432|      0|            KeyGrip grip = key.material->grip();
 2433|      0|            if (!rnp::json::add_hex(pkt, "grip", grip.data(), grip.size())) {
  ------------------
  |  Branch (2433:17): [True: 0, False: 0]
  ------------------
 2434|      0|                return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2435|      0|            }
 2436|      0|        } else {
 2437|      0|            return RNP_ERROR_BAD_PARAMETERS; // LCOV_EXCL_LINE
 2438|      0|        }
 2439|      0|    }
 2440|  21.2k|    return RNP_SUCCESS;
 2441|  21.2k|}
_ZN3rnp15DumpContextJson12dump_user_idERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2445|   115k|{
 2446|   115k|    pgp_userid_pkt_t uid;
 2447|   115k|    auto             ret = uid.parse(src);
 2448|   115k|    if (ret) {
  ------------------
  |  Branch (2448:9): [True: 732, False: 115k]
  ------------------
 2449|    732|        return ret;
 2450|    732|    }
 2451|       |
 2452|   115k|    switch (uid.tag) {
 2453|  88.9k|    case PGP_PKT_USER_ID:
  ------------------
  |  Branch (2453:5): [True: 88.9k, False: 26.2k]
  ------------------
 2454|  88.9k|        if (!rnp::json::add(pkt, "userid", (char *) uid.uid.data(), uid.uid.size())) {
  ------------------
  |  Branch (2454:13): [True: 0, False: 88.9k]
  ------------------
 2455|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2456|      0|        }
 2457|  88.9k|        break;
 2458|  88.9k|    case PGP_PKT_USER_ATTR:
  ------------------
  |  Branch (2458:5): [True: 26.2k, False: 88.9k]
  ------------------
 2459|  26.2k|        if (!rnp::json::add_hex(pkt, "userattr", uid.uid.data(), uid.uid.size())) {
  ------------------
  |  Branch (2459:13): [True: 0, False: 26.2k]
  ------------------
 2460|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2461|      0|        }
 2462|  26.2k|        break;
 2463|  26.2k|    default:;
  ------------------
  |  Branch (2463:5): [True: 0, False: 115k]
  ------------------
 2464|   115k|    }
 2465|   115k|    return RNP_SUCCESS;
 2466|   115k|}
_ZN3rnp15DumpContextJson19dump_pk_session_keyERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2470|   503k|{
 2471|   503k|    pgp_pk_sesskey_t pkey;
 2472|   503k|    auto             ret = pkey.parse(src);
 2473|   503k|    if (ret) {
  ------------------
  |  Branch (2473:9): [True: 5.83k, False: 497k]
  ------------------
 2474|  5.83k|        return ret;
 2475|  5.83k|    }
 2476|   497k|    auto pkmaterial = pkey.parse_material();
 2477|   497k|    if (!pkmaterial) {
  ------------------
  |  Branch (2477:9): [True: 0, False: 497k]
  ------------------
 2478|      0|        return RNP_ERROR_BAD_FORMAT;
 2479|      0|    }
 2480|       |
 2481|   497k|    if (!rnp::json::add(pkt, "version", (int) pkey.version) ||
  ------------------
  |  Branch (2481:9): [True: 0, False: 497k]
  ------------------
 2482|   497k|        !rnp::json::add(pkt, "keyid", pkey.key_id) ||
  ------------------
  |  Branch (2482:9): [True: 0, False: 497k]
  ------------------
 2483|   497k|        !obj_add_intstr_json(pkt, "algorithm", pkey.alg, pubkey_alg_map)) {
  ------------------
  |  Branch (2483:9): [True: 0, False: 497k]
  ------------------
 2484|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2485|      0|    }
 2486|       |
 2487|   497k|    auto &material = pkt["material"] = nlohmann::ordered_json::object();
 2488|       |
 2489|   497k|    switch (pkey.alg) {
 2490|   495k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (2490:5): [True: 495k, False: 1.82k]
  ------------------
 2491|   495k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (2491:5): [True: 200, False: 497k]
  ------------------
 2492|   495k|    case PGP_PKA_RSA_SIGN_ONLY: {
  ------------------
  |  Branch (2492:5): [True: 0, False: 497k]
  ------------------
 2493|   495k|        auto &rsa = dynamic_cast<const RSAEncMaterial &>(*pkmaterial).enc;
 2494|   495k|        if (!obj_add_mpi_json(material, "m", rsa.m, dump_mpi)) {
  ------------------
  |  Branch (2494:13): [True: 0, False: 495k]
  ------------------
 2495|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2496|      0|        }
 2497|   495k|        break;
 2498|   495k|    }
 2499|   495k|    case PGP_PKA_ELGAMAL:
  ------------------
  |  Branch (2499:5): [True: 353, False: 497k]
  ------------------
 2500|    552|    case PGP_PKA_ELGAMAL_ENCRYPT_OR_SIGN: {
  ------------------
  |  Branch (2500:5): [True: 199, False: 497k]
  ------------------
 2501|    552|        auto &eg = dynamic_cast<const EGEncMaterial &>(*pkmaterial).enc;
 2502|    552|        if (!obj_add_mpi_json(material, "g", eg.g, dump_mpi) ||
  ------------------
  |  Branch (2502:13): [True: 0, False: 552]
  ------------------
 2503|    552|            !obj_add_mpi_json(material, "m", eg.m, dump_mpi)) {
  ------------------
  |  Branch (2503:13): [True: 0, False: 552]
  ------------------
 2504|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2505|      0|        }
 2506|    552|        break;
 2507|    552|    }
 2508|    552|    case PGP_PKA_SM2: {
  ------------------
  |  Branch (2508:5): [True: 209, False: 497k]
  ------------------
 2509|    209|        auto &sm2 = dynamic_cast<const SM2EncMaterial &>(*pkmaterial).enc;
 2510|    209|        if (!obj_add_mpi_json(material, "m", sm2.m, dump_mpi)) {
  ------------------
  |  Branch (2510:13): [True: 0, False: 209]
  ------------------
 2511|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2512|      0|        }
 2513|    209|        break;
 2514|    209|    }
 2515|    334|    case PGP_PKA_ECDH: {
  ------------------
  |  Branch (2515:5): [True: 334, False: 497k]
  ------------------
 2516|    334|        auto &ecdh = dynamic_cast<const ECDHEncMaterial &>(*pkmaterial).enc;
 2517|    334|        if (!obj_add_mpi_json(material, "p", ecdh.p, dump_mpi) ||
  ------------------
  |  Branch (2517:13): [True: 0, False: 334]
  ------------------
 2518|    334|            !rnp::json::add(material, "m.bytes", (int) ecdh.m.size())) {
  ------------------
  |  Branch (2518:13): [True: 0, False: 334]
  ------------------
 2519|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2520|      0|        }
 2521|    334|        if (dump_mpi && !rnp::json::add_hex(material, "m", ecdh.m.data(), ecdh.m.size())) {
  ------------------
  |  Branch (2521:13): [True: 0, False: 334]
  |  Branch (2521:25): [True: 0, False: 0]
  ------------------
 2522|      0|            return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2523|      0|        }
 2524|    334|        break;
 2525|    334|    }
 2526|    334|#if defined(ENABLE_CRYPTO_REFRESH)
 2527|    334|    case PGP_PKA_ED25519:
  ------------------
  |  Branch (2527:5): [True: 0, False: 497k]
  ------------------
 2528|    509|    case PGP_PKA_X25519:
  ------------------
  |  Branch (2528:5): [True: 509, False: 497k]
  ------------------
 2529|    509|    case PGP_PKA_ED448:
  ------------------
  |  Branch (2529:5): [True: 0, False: 497k]
  ------------------
 2530|    509|    case PGP_PKA_X448:
  ------------------
  |  Branch (2530:5): [True: 0, False: 497k]
  ------------------
 2531|       |        /* TODO */
 2532|    509|        break;
 2533|      0|#endif
 2534|      0|#if defined(ENABLE_PQC)
 2535|     11|    case PGP_PKA_KYBER768_X25519:
  ------------------
  |  Branch (2535:5): [True: 11, False: 497k]
  ------------------
 2536|     11|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 2537|     11|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     11|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2538|     12|    case PGP_PKA_KYBER1024_X448:
  ------------------
  |  Branch (2538:5): [True: 1, False: 497k]
  ------------------
 2539|     12|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     12|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2540|     13|    case PGP_PKA_KYBER768_P384:
  ------------------
  |  Branch (2540:5): [True: 1, False: 497k]
  ------------------
 2541|     13|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     13|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2542|     14|    case PGP_PKA_KYBER1024_P521:
  ------------------
  |  Branch (2542:5): [True: 1, False: 497k]
  ------------------
 2543|     14|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     14|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2544|     15|    case PGP_PKA_KYBER768_BP384:
  ------------------
  |  Branch (2544:5): [True: 1, False: 497k]
  ------------------
 2545|     15|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|     15|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 2546|     18|    case PGP_PKA_KYBER1024_BP512:
  ------------------
  |  Branch (2546:5): [True: 3, False: 497k]
  ------------------
 2547|       |        // TODO
 2548|     18|#endif
 2549|     18|        break;
 2550|      0|#endif
 2551|      0|    default:;
  ------------------
  |  Branch (2551:5): [True: 0, False: 497k]
  ------------------
 2552|   497k|    }
 2553|       |
 2554|   497k|    return RNP_SUCCESS;
 2555|   497k|}
_ZN3rnp15DumpContextJson19dump_sk_session_keyERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2559|  10.7k|{
 2560|  10.7k|    pgp_sk_sesskey_t skey;
 2561|  10.7k|    auto             ret = skey.parse(src);
 2562|  10.7k|    if (ret) {
  ------------------
  |  Branch (2562:9): [True: 5.69k, False: 5.04k]
  ------------------
 2563|  5.69k|        return ret;
 2564|  5.69k|    }
 2565|       |
 2566|  5.04k|    if (!rnp::json::add(pkt, "version", (int) skey.version) ||
  ------------------
  |  Branch (2566:9): [True: 0, False: 5.04k]
  ------------------
 2567|  5.04k|        !obj_add_intstr_json(pkt, "algorithm", skey.alg, symm_alg_map)) {
  ------------------
  |  Branch (2567:9): [True: 0, False: 5.04k]
  ------------------
 2568|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2569|      0|    }
 2570|  5.04k|    if ((skey.version == PGP_SKSK_V5) &&
  ------------------
  |  Branch (2570:9): [True: 795, False: 4.25k]
  ------------------
 2571|    795|        !obj_add_intstr_json(pkt, "aead algorithm", skey.aalg, aead_alg_map)) {
  ------------------
  |  Branch (2571:9): [True: 0, False: 795]
  ------------------
 2572|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2573|      0|    }
 2574|  5.04k|    if (!obj_add_s2k_json(pkt, &skey.s2k)) {
  ------------------
  |  Branch (2574:9): [True: 0, False: 5.04k]
  ------------------
 2575|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2576|      0|    }
 2577|  5.04k|    if ((skey.version == PGP_SKSK_V5) &&
  ------------------
  |  Branch (2577:9): [True: 795, False: 4.25k]
  ------------------
 2578|    795|        !rnp::json::add_hex(pkt, "aead iv", skey.iv, skey.ivlen)) {
  ------------------
  |  Branch (2578:9): [True: 0, False: 795]
  ------------------
 2579|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2580|      0|    }
 2581|  5.04k|    if (!rnp::json::add_hex(pkt, "encrypted key", skey.enckey, skey.enckeylen)) {
  ------------------
  |  Branch (2581:9): [True: 0, False: 5.04k]
  ------------------
 2582|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2583|      0|    }
 2584|  5.04k|    return RNP_SUCCESS;
 2585|  5.04k|}
_ZN3rnp15DumpContextJson14dump_encryptedERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE14pgp_pkt_type_t:
 2589|  1.14k|{
 2590|  1.14k|    if (tag != PGP_PKT_AEAD_ENCRYPTED) {
  ------------------
  |  Branch (2590:9): [True: 457, False: 683]
  ------------------
 2591|       |        /* packet header with tag is already in pkt */
 2592|    457|        return stream_skip_packet(&src);
 2593|    457|    }
 2594|       |
 2595|       |    /* dumping AEAD data */
 2596|    683|    pgp_aead_hdr_t aead{};
 2597|    683|    if (!get_aead_hdr(aead)) {
  ------------------
  |  Branch (2597:9): [True: 608, False: 75]
  ------------------
 2598|    608|        return RNP_ERROR_READ;
 2599|    608|    }
 2600|       |
 2601|     75|    if (!rnp::json::add(pkt, "version", (int) aead.version) ||
  ------------------
  |  Branch (2601:9): [True: 0, False: 75]
  ------------------
 2602|     75|        !obj_add_intstr_json(pkt, "algorithm", aead.ealg, symm_alg_map) ||
  ------------------
  |  Branch (2602:9): [True: 0, False: 75]
  ------------------
 2603|     75|        !obj_add_intstr_json(pkt, "aead algorithm", aead.aalg, aead_alg_map) ||
  ------------------
  |  Branch (2603:9): [True: 0, False: 75]
  ------------------
 2604|     75|        !rnp::json::add(pkt, "chunk size", (int) aead.csize) ||
  ------------------
  |  Branch (2604:9): [True: 0, False: 75]
  ------------------
 2605|     75|        !rnp::json::add_hex(pkt, "aead iv", aead.iv, aead.ivlen)) {
  ------------------
  |  Branch (2605:9): [True: 0, False: 75]
  ------------------
 2606|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2607|      0|    }
 2608|     75|    return RNP_SUCCESS;
 2609|     75|}
_ZN3rnp15DumpContextJson13dump_one_passERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2613|  2.47k|{
 2614|  2.47k|    pgp_one_pass_sig_t onepass;
 2615|  2.47k|    auto               ret = onepass.parse(src);
 2616|  2.47k|    if (ret) {
  ------------------
  |  Branch (2616:9): [True: 2.06k, False: 406]
  ------------------
 2617|  2.06k|        return ret;
 2618|  2.06k|    }
 2619|       |
 2620|    406|    if (!rnp::json::add(pkt, "version", (int) onepass.version)) {
  ------------------
  |  Branch (2620:9): [True: 0, False: 406]
  ------------------
 2621|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2622|      0|    }
 2623|    406|    if (!obj_add_intstr_json(pkt, "type", onepass.type, sig_type_map)) {
  ------------------
  |  Branch (2623:9): [True: 0, False: 406]
  ------------------
 2624|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2625|      0|    }
 2626|    406|    if (!obj_add_intstr_json(pkt, "hash algorithm", onepass.halg, hash_alg_map)) {
  ------------------
  |  Branch (2626:9): [True: 0, False: 406]
  ------------------
 2627|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2628|      0|    }
 2629|    406|    if (!obj_add_intstr_json(pkt, "public key algorithm", onepass.palg, pubkey_alg_map)) {
  ------------------
  |  Branch (2629:9): [True: 0, False: 406]
  ------------------
 2630|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2631|      0|    }
 2632|    406|#if defined(ENABLE_CRYPTO_REFRESH)
 2633|    406|    if (onepass.version == PGP_OPS_V6 &&
  ------------------
  |  Branch (2633:9): [True: 0, False: 406]
  ------------------
 2634|      0|        !rnp::json::add(
  ------------------
  |  Branch (2634:9): [True: 0, False: 0]
  ------------------
 2635|      0|          pkt, "salt", (const char *) onepass.salt.data(), onepass.salt.size())) {
 2636|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2637|      0|    }
 2638|    406|#endif
 2639|    406|    if (onepass.version == PGP_OPS_V3 && !rnp::json::add(pkt, "signer", onepass.keyid)) {
  ------------------
  |  Branch (2639:9): [True: 406, False: 0]
  |  Branch (2639:42): [True: 0, False: 406]
  ------------------
 2640|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2641|      0|    }
 2642|    406|#if defined(ENABLE_CRYPTO_REFRESH)
 2643|    406|    if (onepass.version == PGP_OPS_V6 && !rnp::json::add(pkt, "signer", onepass.fp)) {
  ------------------
  |  Branch (2643:9): [True: 0, False: 406]
  |  Branch (2643:42): [True: 0, False: 0]
  ------------------
 2644|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2645|      0|    }
 2646|    406|#endif
 2647|    406|    if (!rnp::json::add(pkt, "nested", (bool) onepass.nested)) {
  ------------------
  |  Branch (2647:9): [True: 0, False: 406]
  ------------------
 2648|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2649|      0|    }
 2650|    406|    return RNP_SUCCESS;
 2651|    406|}
_ZN3rnp15DumpContextJson11dump_markerERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2655|  4.98k|{
 2656|  4.98k|    auto ret = stream_parse_marker(src);
 2657|  4.98k|    if (!rnp::json::add(pkt, "contents", ret ? "invalid" : PGP_MARKER_CONTENTS)) {
  ------------------
  |  |  108|    158|#define PGP_MARKER_CONTENTS "PGP"
  ------------------
  |  Branch (2657:9): [True: 0, False: 4.98k]
  |  Branch (2657:42): [True: 4.83k, False: 158]
  ------------------
 2658|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2659|      0|    }
 2660|  4.98k|    return ret;
 2661|  4.98k|}
_ZN3rnp15DumpContextJson15dump_compressedERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2665|  19.5k|{
 2666|  19.5k|    std::unique_ptr<Source> zsrc(new Source());
 2667|  19.5k|    auto                    ret = init_compressed_src(&zsrc->src(), &src, nullptr);
 2668|  19.5k|    if (ret) {
  ------------------
  |  Branch (2668:9): [True: 1.00k, False: 18.5k]
  ------------------
 2669|  1.00k|        return ret;
 2670|  1.00k|    }
 2671|  18.5k|    Source lsrc;
 2672|  18.5k|    if ((ret = init_dump_limited_src(&lsrc.src(), &zsrc->src(), zbudget.get()))) {
  ------------------
  |  Branch (2672:9): [True: 0, False: 18.5k]
  ------------------
 2673|      0|        return ret;
 2674|      0|    }
 2675|       |
 2676|  18.5k|    uint8_t zalg;
 2677|  18.5k|    get_compressed_src_alg(&zsrc->src(), &zalg);
 2678|  18.5k|    if (!obj_add_intstr_json(pkt, "algorithm", zalg, z_alg_map)) {
  ------------------
  |  Branch (2678:9): [True: 0, False: 18.5k]
  ------------------
 2679|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2680|      0|    }
 2681|       |
 2682|  18.5k|    nlohmann::ordered_json contents;
 2683|  18.5k|    DumpContextJson        ctx(lsrc.src(), &contents);
 2684|  18.5k|    ctx.copy_params(*this);
 2685|  18.5k|    ret = ctx.dump(true);
 2686|  18.5k|    copy_params(ctx);
 2687|  18.5k|    if (zbudget->hit) {
  ------------------
  |  Branch (2687:9): [True: 254, False: 18.2k]
  ------------------
 2688|       |        /* limit on the decompressed data was reached - dump what we have so far */
 2689|    254|        pkt["contents"] = std::move(contents);
 2690|    254|        return RNP_SUCCESS;
 2691|    254|    }
 2692|  18.2k|    if (!ret) {
  ------------------
  |  Branch (2692:9): [True: 6.03k, False: 12.2k]
  ------------------
 2693|  6.03k|        pkt["contents"] = std::move(contents);
 2694|  6.03k|    }
 2695|  18.2k|    return ret;
 2696|  18.5k|}
_ZN3rnp15DumpContextJson12dump_literalERN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapENSt3__16vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSA_NS2_14adl_serializerENS6_IhNSA_IhEEEEvEE:
 2700|  4.99k|{
 2701|  4.99k|    Source lsrc;
 2702|  4.99k|    auto   ret = init_literal_src(&lsrc.src(), &src);
 2703|  4.99k|    if (ret) {
  ------------------
  |  Branch (2703:9): [True: 3.43k, False: 1.55k]
  ------------------
 2704|  3.43k|        return ret;
 2705|  3.43k|    }
 2706|       |
 2707|  1.55k|    ret = RNP_ERROR_OUT_OF_MEMORY;
 2708|  1.55k|    auto &lhdr = get_literal_src_hdr(lsrc.src());
 2709|  1.55k|    if (!rnp::json::add(pkt, "format", (char *) &lhdr.format, 1) ||
  ------------------
  |  Branch (2709:9): [True: 0, False: 1.55k]
  ------------------
 2710|  1.55k|        !rnp::json::add(pkt, "filename", (char *) lhdr.fname, lhdr.fname_len) ||
  ------------------
  |  Branch (2710:9): [True: 0, False: 1.55k]
  ------------------
 2711|  1.55k|        !rnp::json::add(pkt, "timestamp", (uint64_t) lhdr.timestamp)) {
  ------------------
  |  Branch (2711:9): [True: 0, False: 1.55k]
  ------------------
 2712|      0|        return ret; // LCOV_EXCL_LINE
 2713|      0|    }
 2714|       |
 2715|   467k|    while (!lsrc.eof()) {
  ------------------
  |  Branch (2715:12): [True: 465k, False: 1.49k]
  ------------------
 2716|   465k|        uint8_t readbuf[16384];
 2717|   465k|        size_t  read = 0;
 2718|   465k|        if (!lsrc.src().read(readbuf, sizeof(readbuf), &read)) {
  ------------------
  |  Branch (2718:13): [True: 60, False: 465k]
  ------------------
 2719|     60|            return RNP_ERROR_READ;
 2720|     60|        }
 2721|   465k|    }
 2722|       |
 2723|  1.49k|    if (!rnp::json::add(pkt, "datalen", (uint64_t) lsrc.readb())) {
  ------------------
  |  Branch (2723:9): [True: 0, False: 1.49k]
  ------------------
 2724|      0|        return ret; // LCOV_EXCL_LINE
 2725|      0|    }
 2726|  1.49k|    return RNP_SUCCESS;
 2727|  1.49k|}
_ZN3rnp15DumpContextJson12dump_pkt_hdrER16pgp_packet_hdr_tRN8nlohmann16json_abi_v3_11_310basic_jsonINS4_11ordered_mapENSt3__16vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSC_NS4_14adl_serializerENS8_IhNSC_IhEEEEvEE:
 2731|   848k|{
 2732|   848k|    auto hdrret = stream_peek_packet_hdr(&src, &hdr);
 2733|   848k|    if (hdrret) {
  ------------------
  |  Branch (2733:9): [True: 9.36k, False: 839k]
  ------------------
 2734|  9.36k|        return false;
 2735|  9.36k|    }
 2736|       |
 2737|   839k|    auto &jso_hdr = pkt["header"] = nlohmann::ordered_json::object();
 2738|       |
 2739|   839k|    if (!rnp::json::add(jso_hdr, "offset", (uint64_t) src.readb) ||
  ------------------
  |  Branch (2739:9): [True: 0, False: 839k]
  ------------------
 2740|   839k|        !obj_add_intstr_json(jso_hdr, "tag", hdr.tag, packet_tag_map) ||
  ------------------
  |  Branch (2740:9): [True: 0, False: 839k]
  ------------------
 2741|   839k|        !rnp::json::add_hex(jso_hdr, "raw", hdr.hdr, hdr.hdr_len)) {
  ------------------
  |  Branch (2741:9): [True: 0, False: 839k]
  ------------------
 2742|      0|        return false; // LCOV_EXCL_LINE
 2743|      0|    }
 2744|   839k|    if (!hdr.partial && !hdr.indeterminate &&
  ------------------
  |  Branch (2744:9): [True: 824k, False: 15.1k]
  |  Branch (2744:25): [True: 810k, False: 14.0k]
  ------------------
 2745|   810k|        !rnp::json::add(jso_hdr, "length", (uint64_t) hdr.pkt_len)) {
  ------------------
  |  Branch (2745:9): [True: 0, False: 810k]
  ------------------
 2746|      0|        return false; // LCOV_EXCL_LINE
 2747|      0|    }
 2748|   839k|    if (!rnp::json::add(jso_hdr, "partial", hdr.partial) ||
  ------------------
  |  Branch (2748:9): [True: 0, False: 839k]
  ------------------
 2749|   839k|        !rnp::json::add(jso_hdr, "indeterminate", hdr.indeterminate)) {
  ------------------
  |  Branch (2749:9): [True: 0, False: 839k]
  ------------------
 2750|      0|        return false; // LCOV_EXCL_LINE
 2751|      0|    }
 2752|   839k|    return true;
 2753|   839k|}
_ZN3rnp15DumpContextJson16dump_raw_packetsEv:
 2757|  44.7k|{
 2758|  44.7k|    rnp_result_t ret = RNP_ERROR_GENERIC;
 2759|       |
 2760|  44.7k|    nlohmann::ordered_json pkts = nlohmann::ordered_json::array();
 2761|       |
 2762|  44.7k|    if (src.eof()) {
  ------------------
  |  Branch (2762:9): [True: 0, False: 44.7k]
  ------------------
 2763|      0|        *json = std::move(pkts);
 2764|      0|        return RNP_SUCCESS;
 2765|      0|    }
 2766|       |
 2767|       |    /* do not allow endless recursion */
 2768|  44.7k|    if (++layers > MAXIMUM_NESTING_LEVEL) {
  ------------------
  |  |   60|  44.7k|#define MAXIMUM_NESTING_LEVEL 32
  ------------------
  |  Branch (2768:9): [True: 21, False: 44.7k]
  ------------------
 2769|     21|        RNP_LOG("Too many OpenPGP nested layers during the dump.");
  ------------------
  |  |   84|     21|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     21|    do {                                                                                 \
  |  |  |  |   77|     21|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     21|            break;                                                                       \
  |  |  |  |   79|     21|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2770|     21|        *json = std::move(pkts);
 2771|     21|        return RNP_SUCCESS;
 2772|     21|    }
 2773|       |
 2774|   865k|    while (!src.eof()) {
  ------------------
  |  Branch (2774:12): [True: 848k, False: 16.9k]
  ------------------
 2775|   848k|        if (zbudget->hit) {
  ------------------
  |  Branch (2775:13): [True: 60, False: 848k]
  ------------------
 2776|     60|            break;
 2777|     60|        }
 2778|   848k|        if (++dumped_pkts > MAXIMUM_DUMP_PKTS) {
  ------------------
  |  |   66|   848k|#define MAXIMUM_DUMP_PKTS 32768
  ------------------
  |  Branch (2778:13): [True: 18, False: 848k]
  ------------------
 2779|     18|            RNP_LOG("Too many packets during the dump.");
  ------------------
  |  |   84|     18|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     18|    do {                                                                                 \
  |  |  |  |   77|     18|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 18, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     18|            break;                                                                       \
  |  |  |  |   79|     18|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2780|     18|            break;
 2781|     18|        }
 2782|       |
 2783|   848k|        auto &           pkt = pkts.emplace_back(nlohmann::ordered_json::object());
 2784|   848k|        pgp_packet_hdr_t hdr{};
 2785|   848k|        if (!dump_pkt_hdr(hdr, pkt)) {
  ------------------
  |  Branch (2785:13): [True: 9.36k, False: 839k]
  ------------------
 2786|  9.36k|            return RNP_ERROR_OUT_OF_MEMORY;
 2787|  9.36k|        }
 2788|       |
 2789|   839k|        if (dump_packets) {
  ------------------
  |  Branch (2789:13): [True: 839k, False: 0]
  ------------------
 2790|   839k|            size_t  rlen = hdr.pkt_len + hdr.hdr_len;
 2791|   839k|            uint8_t buf[2048 + sizeof(hdr.hdr)] = {0};
 2792|       |
 2793|   839k|            if (!hdr.pkt_len || (rlen > 2048 + hdr.hdr_len)) {
  ------------------
  |  Branch (2793:17): [True: 100k, False: 739k]
  |  Branch (2793:33): [True: 40.8k, False: 698k]
  ------------------
 2794|   141k|                rlen = 2048 + hdr.hdr_len;
 2795|   141k|            }
 2796|   839k|            if (!src.peek(buf, rlen, &rlen) || (rlen < hdr.hdr_len)) {
  ------------------
  |  Branch (2796:17): [True: 243, False: 839k]
  |  Branch (2796:48): [True: 0, False: 839k]
  ------------------
 2797|    243|                return RNP_ERROR_READ;
 2798|    243|            }
 2799|   839k|            if (!rnp::json::add_hex(pkt, "raw", buf + hdr.hdr_len, rlen - hdr.hdr_len)) {
  ------------------
  |  Branch (2799:17): [True: 0, False: 839k]
  ------------------
 2800|      0|                return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2801|      0|            }
 2802|   839k|        }
 2803|       |
 2804|   839k|        switch (hdr.tag) {
 2805|  28.4k|        case PGP_PKT_SIGNATURE:
  ------------------
  |  Branch (2805:9): [True: 28.4k, False: 810k]
  ------------------
 2806|  28.4k|            ret = dump_signature(pkt);
 2807|  28.4k|            break;
 2808|  11.3k|        case PGP_PKT_SECRET_KEY:
  ------------------
  |  Branch (2808:9): [True: 11.3k, False: 827k]
  ------------------
 2809|  19.8k|        case PGP_PKT_PUBLIC_KEY:
  ------------------
  |  Branch (2809:9): [True: 8.57k, False: 830k]
  ------------------
 2810|  31.5k|        case PGP_PKT_SECRET_SUBKEY:
  ------------------
  |  Branch (2810:9): [True: 11.6k, False: 827k]
  ------------------
 2811|  37.9k|        case PGP_PKT_PUBLIC_SUBKEY:
  ------------------
  |  Branch (2811:9): [True: 6.40k, False: 832k]
  ------------------
 2812|  37.9k|            ret = dump_key(pkt);
 2813|  37.9k|            break;
 2814|  89.5k|        case PGP_PKT_USER_ID:
  ------------------
  |  Branch (2814:9): [True: 89.5k, False: 749k]
  ------------------
 2815|   115k|        case PGP_PKT_USER_ATTR:
  ------------------
  |  Branch (2815:9): [True: 26.3k, False: 812k]
  ------------------
 2816|   115k|            ret = dump_user_id(pkt);
 2817|   115k|            break;
 2818|   503k|        case PGP_PKT_PK_SESSION_KEY:
  ------------------
  |  Branch (2818:9): [True: 503k, False: 335k]
  ------------------
 2819|   503k|            ret = dump_pk_session_key(pkt);
 2820|   503k|            break;
 2821|  10.7k|        case PGP_PKT_SK_SESSION_KEY:
  ------------------
  |  Branch (2821:9): [True: 10.7k, False: 828k]
  ------------------
 2822|  10.7k|            ret = dump_sk_session_key(pkt);
 2823|  10.7k|            break;
 2824|    104|        case PGP_PKT_SE_DATA:
  ------------------
  |  Branch (2824:9): [True: 104, False: 839k]
  ------------------
 2825|    457|        case PGP_PKT_SE_IP_DATA:
  ------------------
  |  Branch (2825:9): [True: 353, False: 838k]
  ------------------
 2826|  1.14k|        case PGP_PKT_AEAD_ENCRYPTED:
  ------------------
  |  Branch (2826:9): [True: 683, False: 838k]
  ------------------
 2827|  1.14k|            stream_pkts++;
 2828|  1.14k|            ret = dump_encrypted(pkt, hdr.tag);
 2829|  1.14k|            break;
 2830|  2.47k|        case PGP_PKT_ONE_PASS_SIG:
  ------------------
  |  Branch (2830:9): [True: 2.47k, False: 836k]
  ------------------
 2831|  2.47k|            ret = dump_one_pass(pkt);
 2832|  2.47k|            break;
 2833|  19.5k|        case PGP_PKT_COMPRESSED:
  ------------------
  |  Branch (2833:9): [True: 19.5k, False: 819k]
  ------------------
 2834|  19.5k|            stream_pkts++;
 2835|  19.5k|            ret = dump_compressed(pkt);
 2836|  19.5k|            break;
 2837|  4.99k|        case PGP_PKT_LITDATA:
  ------------------
  |  Branch (2837:9): [True: 4.99k, False: 834k]
  ------------------
 2838|  4.99k|            stream_pkts++;
 2839|  4.99k|            ret = dump_literal(pkt);
 2840|  4.99k|            break;
 2841|  4.98k|        case PGP_PKT_MARKER:
  ------------------
  |  Branch (2841:9): [True: 4.98k, False: 834k]
  ------------------
 2842|  4.98k|            ret = dump_marker(pkt);
 2843|  4.98k|            break;
 2844|  35.3k|        case PGP_PKT_TRUST:
  ------------------
  |  Branch (2844:9): [True: 35.3k, False: 803k]
  ------------------
 2845|  37.7k|        case PGP_PKT_MDC:
  ------------------
  |  Branch (2845:9): [True: 2.33k, False: 836k]
  ------------------
 2846|  37.7k|            ret = stream_skip_packet(&src);
 2847|  37.7k|            break;
 2848|  71.9k|        default:
  ------------------
  |  Branch (2848:9): [True: 71.9k, False: 767k]
  ------------------
 2849|  71.9k|            ret = stream_skip_packet(&src);
 2850|  71.9k|            if (ret) {
  ------------------
  |  Branch (2850:17): [True: 416, False: 71.5k]
  ------------------
 2851|    416|                return ret;
 2852|    416|            }
 2853|  71.5k|            if (++failures > MAXIMUM_ERROR_PKTS) {
  ------------------
  |  |   62|  71.5k|#define MAXIMUM_ERROR_PKTS 64
  ------------------
  |  Branch (2853:17): [True: 1.05k, False: 70.4k]
  ------------------
 2854|  1.05k|                RNP_LOG("too many packet dump errors or unknown packets.");
  ------------------
  |  |   84|  1.05k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.05k|    do {                                                                                 \
  |  |  |  |   77|  1.05k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.05k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.05k|            break;                                                                       \
  |  |  |  |   79|  1.05k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2855|  1.05k|                return RNP_ERROR_BAD_FORMAT;
 2856|  1.05k|            }
 2857|   839k|        }
 2858|       |
 2859|   837k|        if (ret) {
  ------------------
  |  Branch (2859:13): [True: 69.0k, False: 768k]
  ------------------
 2860|  69.0k|            RNP_LOG("failed to process packet");
  ------------------
  |  |   84|  69.0k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  69.0k|    do {                                                                                 \
  |  |  |  |   77|  69.0k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 69.0k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  69.0k|            break;                                                                       \
  |  |  |  |   79|  69.0k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2861|  69.0k|            if (++failures > MAXIMUM_ERROR_PKTS) {
  ------------------
  |  |   62|  69.0k|#define MAXIMUM_ERROR_PKTS 64
  ------------------
  |  Branch (2861:17): [True: 2.26k, False: 66.7k]
  ------------------
 2862|  2.26k|                RNP_LOG("too many packet dump errors.");
  ------------------
  |  |   84|  2.26k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  2.26k|    do {                                                                                 \
  |  |  |  |   77|  2.26k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 2.26k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  2.26k|            break;                                                                       \
  |  |  |  |   79|  2.26k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2863|  2.26k|                return ret;
 2864|  2.26k|            }
 2865|  69.0k|        }
 2866|       |
 2867|   835k|        if (stream_pkts > MAXIMUM_STREAM_PKTS) {
  ------------------
  |  |   61|   835k|#define MAXIMUM_STREAM_PKTS 16
  ------------------
  |  Branch (2867:13): [True: 14.3k, False: 821k]
  ------------------
 2868|  14.3k|            RNP_LOG("Too many OpenPGP stream packets during the dump.");
  ------------------
  |  |   84|  14.3k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  14.3k|    do {                                                                                 \
  |  |  |  |   77|  14.3k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 14.3k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  14.3k|            break;                                                                       \
  |  |  |  |   79|  14.3k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2869|  14.3k|            break;
 2870|  14.3k|        }
 2871|   835k|    }
 2872|       |
 2873|  31.3k|    *json = std::move(pkts);
 2874|  31.3k|    return RNP_SUCCESS;
 2875|  44.7k|}
_ZN3rnp15DumpContextJson4dumpEb:
 2879|  47.0k|{
 2880|       |    /* check whether source is cleartext - then skip till the signature */
 2881|  47.0k|    if (!raw_only && src.is_cleartext()) {
  ------------------
  |  Branch (2881:9): [True: 9.14k, False: 37.9k]
  |  Branch (2881:22): [True: 12, False: 9.12k]
  ------------------
 2882|     12|        if (!skip_cleartext()) {
  ------------------
  |  Branch (2882:13): [True: 9, False: 3]
  ------------------
 2883|      9|            RNP_LOG("malformed cleartext signed data");
  ------------------
  |  |   84|      9|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      9|    do {                                                                                 \
  |  |  |  |   77|      9|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      9|            break;                                                                       \
  |  |  |  |   79|      9|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2884|      9|            return RNP_ERROR_BAD_FORMAT;
 2885|      9|        }
 2886|     12|    }
 2887|       |    /* check whether source is armored; concatenated armored messages are
 2888|       |     * walked and all of their packets collected into a single array (#2036) */
 2889|  47.0k|    if (!raw_only && src.is_armored()) {
  ------------------
  |  Branch (2889:9): [True: 9.13k, False: 37.9k]
  |  Branch (2889:22): [True: 1.24k, False: 7.88k]
  ------------------
 2890|  1.24k|        rnp::ArmoredSource armor(
 2891|  1.24k|          src, rnp::ArmoredSource::AllowBinary | rnp::ArmoredSource::AllowMultiple);
 2892|  1.24k|        rnp_result_t           ret = RNP_SUCCESS;
 2893|  1.24k|        nlohmann::ordered_json res = nlohmann::ordered_json::array();
 2894|  20.1k|        while (true) {
  ------------------
  |  Branch (2894:16): [True: 19.5k, Folded]
  ------------------
 2895|  19.5k|            if (armor.eof() && armor.multiple()) {
  ------------------
  |  Branch (2895:17): [True: 14.4k, False: 5.07k]
  |  Branch (2895:32): [True: 14.4k, False: 0]
  ------------------
 2896|  14.4k|                armor.restart();
 2897|  14.4k|            }
 2898|  19.5k|            if (armor.eof()) {
  ------------------
  |  Branch (2898:17): [True: 67, False: 19.4k]
  ------------------
 2899|     67|                break;
 2900|     67|            }
 2901|  19.4k|            nlohmann::ordered_json block;
 2902|  19.4k|            DumpContextJson        ctx(armor.src(), &block);
 2903|  19.4k|            ctx.copy_params(*this);
 2904|  19.4k|            ret = ctx.dump(true);
 2905|  19.4k|            if (ret && !zbudget->hit) {
  ------------------
  |  Branch (2905:17): [True: 541, False: 18.9k]
  |  Branch (2905:24): [True: 541, False: 0]
  ------------------
 2906|    541|                break;
 2907|    541|            }
 2908|       |            /* accumulate counters, but not layers: each armored message is
 2909|       |             * dumped at the same nesting level */
 2910|  18.9k|            stream_pkts = ctx.stream_pkts;
 2911|  18.9k|            failures = ctx.failures;
 2912|  18.9k|            dumped_pkts = ctx.dumped_pkts;
 2913|  18.9k|            if (block.is_array()) {
  ------------------
  |  Branch (2913:17): [True: 18.8k, False: 107]
  ------------------
 2914|  18.8k|                res.insert(res.end(), block.begin(), block.end());
 2915|  18.8k|            }
 2916|  18.9k|            if (zbudget->hit) {
  ------------------
  |  Branch (2916:17): [True: 3, False: 18.9k]
  ------------------
 2917|      3|                ret = RNP_SUCCESS;
 2918|      3|                break;
 2919|      3|            }
 2920|  18.9k|        }
 2921|  1.24k|        *json = std::move(res);
 2922|  1.24k|        return ret;
 2923|  1.24k|    }
 2924|       |
 2925|  45.7k|    if (src.eof()) {
  ------------------
  |  Branch (2925:9): [True: 1.06k, False: 44.7k]
  ------------------
 2926|  1.06k|        return RNP_ERROR_NOT_ENOUGH_DATA;
 2927|  1.06k|    }
 2928|  44.7k|    return dump_raw_packets();
 2929|  45.7k|}
stream-dump.cpp:_ZL16init_indent_destR10pgp_dest_tPS_:
  284|  57.3k|{
  285|  57.3k|    pgp_dest_indent_param_t *param;
  286|       |
  287|  57.3k|    if (!init_dst_common(&dst, sizeof(*param))) {
  ------------------
  |  Branch (287:9): [True: 0, False: 57.3k]
  ------------------
  288|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
  289|      0|    }
  290|       |
  291|  57.3k|    dst.write = indent_dst_write;
  292|  57.3k|    dst.close = indent_dst_close;
  293|  57.3k|    dst.finish = NULL;
  294|  57.3k|    dst.no_cache = true;
  295|  57.3k|    param = (pgp_dest_indent_param_t *) dst.param;
  296|  57.3k|    param->writedst = origdst;
  297|  57.3k|    param->lstart = true;
  298|  57.3k|    param->level = 0;
  299|       |
  300|  57.3k|    return RNP_SUCCESS;
  301|  57.3k|}
stream-dump.cpp:_ZL16indent_dst_writeP10pgp_dest_tPKvm:
  245|   283M|{
  246|   283M|    pgp_dest_indent_param_t *param = (pgp_dest_indent_param_t *) dst->param;
  247|   283M|    const char *             line = (const char *) buf;
  248|   283M|    char                     indent[4] = {' ', ' ', ' ', ' '};
  249|       |
  250|   283M|    if (!len) {
  ------------------
  |  Branch (250:9): [True: 0, False: 283M]
  ------------------
  251|      0|        return RNP_SUCCESS;
  252|      0|    }
  253|       |
  254|   283M|    do {
  255|   283M|        if (param->lstart) {
  ------------------
  |  Branch (255:13): [True: 31.8M, False: 251M]
  ------------------
  256|  60.6M|            for (int i = 0; i < param->level; i++) {
  ------------------
  |  Branch (256:29): [True: 28.8M, False: 31.8M]
  ------------------
  257|  28.8M|                dst_write(param->writedst, indent, sizeof(indent));
  258|  28.8M|            }
  259|  31.8M|            param->lstart = false;
  260|  31.8M|        }
  261|       |
  262|  1.70G|        for (size_t i = 0; i < len; i++) {
  ------------------
  |  Branch (262:28): [True: 1.70G, False: 0]
  ------------------
  263|  1.70G|            if ((line[i] == '\n') || (i == len - 1)) {
  ------------------
  |  Branch (263:17): [True: 31.8M, False: 1.66G]
  |  Branch (263:38): [True: 251M, False: 1.41G]
  ------------------
  264|   283M|                dst_write(param->writedst, line, i + 1);
  265|   283M|                param->lstart = line[i] == '\n';
  266|   283M|                line += i + 1;
  267|   283M|                len -= i + 1;
  268|   283M|                break;
  269|   283M|            }
  270|  1.70G|        }
  271|   283M|    } while (len > 0);
  ------------------
  |  Branch (271:14): [True: 219k, False: 283M]
  ------------------
  272|       |
  273|   283M|    return RNP_SUCCESS;
  274|   283M|}
stream-dump.cpp:_ZL16indent_dst_closeP10pgp_dest_tb:
  278|  57.3k|{
  279|  57.3k|    free(dst->param);
  280|  57.3k|}
stream-dump.cpp:_ZL14dst_print_timeR10pgp_dest_tPKcj:
  526|  26.2k|{
  527|  26.2k|    auto str = rnp_ctime(time).substr(0, 24);
  528|  26.2k|    dst_printf(dst,
  529|  26.2k|               "%s: %zu (%s%s)\n",
  530|  26.2k|               name,
  531|  26.2k|               (size_t) time,
  532|  26.2k|               rnp_y2k38_warning(time) ? ">=" : "",
  ------------------
  |  Branch (532:16): [True: 0, False: 26.2k]
  ------------------
  533|  26.2k|               str.c_str());
  534|  26.2k|}
stream-dump.cpp:_ZL20dst_print_expirationR10pgp_dest_tPKcj:
  538|  2.87k|{
  539|  2.87k|    if (seconds) {
  ------------------
  |  Branch (539:9): [True: 2.47k, False: 397]
  ------------------
  540|  2.47k|        int days = seconds / (24 * 60 * 60);
  541|  2.47k|        dst_printf(dst, "%s: %" PRIu32 " seconds (%d days)\n", name, seconds, days);
  542|  2.47k|    } else {
  543|    397|        dst_printf(dst, "%s: 0 (never)\n", name);
  544|    397|    }
  545|  2.87k|}
stream-dump.cpp:_ZL13dst_print_strR10pgp_dest_tPKcRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
  418|  7.58k|{
  419|  7.58k|    dst_printf(dst, "%s: ", name);
  420|  7.58k|    dst_write(&dst, str.data(), str.size());
  421|  7.58k|    dst_printf(dst, "\n");
  422|  7.58k|}
stream-dump.cpp:_ZL14dst_print_algsR10pgp_dest_tRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS1_6vectorIhNS5_IhEEEEPK11id_str_pair:
  429|  9.68k|{
  430|  9.68k|    dst_printf(dst, "%s: ", name.c_str());
  431|  56.9k|    for (size_t i = 0; i < algs.size(); i++) {
  ------------------
  |  Branch (431:24): [True: 47.3k, False: 9.68k]
  ------------------
  432|  47.3k|        auto comma = i + 1 < algs.size() ? ", " : "";
  ------------------
  |  Branch (432:22): [True: 37.9k, False: 9.38k]
  ------------------
  433|  47.3k|        dst_printf(dst, "%s%s", id_str_pair::lookup(map, algs[i], "Unknown"), comma);
  434|  47.3k|    }
  435|  9.68k|    dst_printf(dst, " (");
  436|  56.9k|    for (size_t i = 0; i < algs.size(); i++) {
  ------------------
  |  Branch (436:24): [True: 47.3k, False: 9.68k]
  ------------------
  437|  47.3k|        auto comma = i + 1 < algs.size() ? ", " : "";
  ------------------
  |  Branch (437:22): [True: 37.9k, False: 9.38k]
  ------------------
  438|  47.3k|        dst_printf(dst, "%" PRIu8 "%s", algs[i], comma);
  439|  47.3k|    }
  440|  9.68k|    dst_printf(dst, ")\n");
  441|  9.68k|}
stream-dump.cpp:_ZL14dst_print_palgR10pgp_dest_tPKc16pgp_pubkey_alg_t:
  363|   534k|{
  364|   534k|    const char *palg_name = id_str_pair::lookup(pubkey_alg_map, palg, "Unknown");
  365|   534k|    if (!name) {
  ------------------
  |  Branch (365:9): [True: 534k, False: 0]
  ------------------
  366|   534k|        name = "public key algorithm";
  367|   534k|    }
  368|       |
  369|   534k|    dst_printf(dst, "%s: %d (%s)\n", name, (int) palg, palg_name);
  370|   534k|}
stream-dump.cpp:_ZL12dst_print_fpR10pgp_dest_tRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKN3pgp11FingerprintEb:
  477|  7.09k|{
  478|  7.09k|    dst_print_hex(dst, name, fp.data(), fp.size(), size);
  479|  7.09k|}
stream-dump.cpp:_ZL15dst_print_keyidR10pgp_dest_tRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERKNS1_5arrayIhLm8EEE:
  468|   521k|{
  469|   521k|    dst_print_hex(dst, name, keyid.data(), keyid.size(), false);
  470|   521k|}
stream-dump.cpp:_ZL11vsnprinthexPcmPKhm:
  320|  1.41M|{
  321|  1.41M|    static const char *hexes = "0123456789abcdef";
  322|  1.41M|    size_t             idx = 0;
  323|       |
  324|  7.71M|    for (size_t i = 0; (i < buflen) && (i < (slen - 1) / 2); i++) {
  ------------------
  |  Branch (324:24): [True: 6.30M, False: 1.41M]
  |  Branch (324:40): [True: 6.30M, False: 36]
  ------------------
  325|  6.30M|        str[idx++] = hexes[buf[i] >> 4];
  326|  6.30M|        str[idx++] = hexes[buf[i] & 0xf];
  327|  6.30M|    }
  328|  1.41M|    str[idx] = '\0';
  329|  1.41M|    return buflen * 2;
  330|  1.41M|}
stream-dump.cpp:_ZL20indent_dest_increaseR10pgp_dest_t:
  305|  2.17M|{
  306|  2.17M|    ((pgp_dest_indent_param_t *) dst.param)->level++;
  307|  2.17M|}
stream-dump.cpp:_ZL11dst_hexdumpR10pgp_dest_tRKNSt3__16vectorIhNS1_9allocatorIhEEEE:
  578|  49.8k|{
  579|  49.8k|    dst_hexdump(dst, data.data(), data.size());
  580|  49.8k|}
stream-dump.cpp:_ZL20indent_dest_decreaseR10pgp_dest_t:
  311|  2.17M|{
  312|  2.17M|    pgp_dest_indent_param_t *param = (pgp_dest_indent_param_t *) dst.param;
  313|  2.17M|    if (param->level > 0) {
  ------------------
  |  Branch (313:9): [True: 2.17M, False: 0]
  ------------------
  314|  2.17M|        param->level--;
  315|  2.17M|    }
  316|  2.17M|}
stream-dump.cpp:_ZL18dst_print_sig_typeR10pgp_dest_tPKc14pgp_sig_type_t:
  445|  14.4k|{
  446|  14.4k|    const char *sig_name = id_str_pair::lookup(sig_type_map, sigtype, "Unknown");
  447|  14.4k|    if (!name) {
  ------------------
  |  Branch (447:9): [True: 413, False: 14.0k]
  ------------------
  448|    413|        name = "signature type";
  449|    413|    }
  450|  14.4k|    dst_printf(dst, "%s: %d (%s)\n", name, (int) sigtype, sig_name);
  451|  14.4k|}
stream-dump.cpp:_ZL14dst_print_halgR10pgp_dest_tPKc14pgp_hash_alg_t:
  374|  24.3k|{
  375|  24.3k|    const char *halg_name = id_str_pair::lookup(hash_alg_map, halg, "Unknown");
  376|  24.3k|    if (!name) {
  ------------------
  |  Branch (376:9): [True: 14.4k, False: 9.88k]
  ------------------
  377|  14.4k|        name = "hash algorithm";
  378|  14.4k|    }
  379|       |
  380|  24.3k|    dst_printf(dst, "%s: %d (%s)\n", name, (int) halg, halg_name);
  381|  24.3k|}
stream-dump.cpp:_ZL13dst_print_hexR10pgp_dest_tRKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKhmb:
  456|   559k|{
  457|   559k|    char hex[512];
  458|   559k|    vsnprinthex(hex, sizeof(hex), data, len);
  459|   559k|    if (bytes) {
  ------------------
  |  Branch (459:9): [True: 23.0k, False: 536k]
  ------------------
  460|  23.0k|        dst_printf(dst, "%s: 0x%s (%d bytes)\n", name.c_str(), hex, (int) len);
  461|   536k|    } else {
  462|   536k|        dst_printf(dst, "%s: 0x%s\n", name.c_str(), hex);
  463|   536k|    }
  464|   559k|}
stream-dump.cpp:_ZL13dst_print_mpiR10pgp_dest_tPKcRKN3pgp3mpiEb:
  334|   548k|{
  335|   548k|    if (!dumpbin) {
  ------------------
  |  Branch (335:9): [True: 548k, False: 0]
  ------------------
  336|   548k|        dst_printf(dst, "%s: %zu bits\n", name, mpi.bits());
  337|   548k|    } else {
  338|      0|        char hex[5000];
  339|      0|        vsnprinthex(hex, sizeof(hex), mpi.data(), mpi.size());
  340|      0|        dst_printf(dst, "%s: %zu bits, %s\n", name, mpi.bits(), hex);
  341|      0|    }
  342|   548k|}
stream-dump.cpp:_ZL13dst_print_vecR10pgp_dest_tPKcRKNSt3__16vectorIhNS3_9allocatorIhEEEEb:
  350|  6.15k|{
  351|  6.15k|    if (!dumpbin) {
  ------------------
  |  Branch (351:9): [True: 6.15k, False: 0]
  ------------------
  352|  6.15k|        dst_printf(dst, "%s\n", name);
  353|  6.15k|    } else {
  354|      0|        std::vector<char> hex(2 * data.size() + 1);
  355|      0|        vsnprinthex(hex.data(), hex.size(), data.data(), data.size());
  356|      0|        dst_printf(dst, "%s, %s\n", name, hex.data());
  357|      0|    }
  358|  6.15k|}
stream-dump.cpp:_ZL14dst_print_salgR10pgp_dest_tPKc14pgp_symm_alg_t:
  385|  12.7k|{
  386|  12.7k|    const char *salg_name = id_str_pair::lookup(symm_alg_map, salg, "Unknown");
  387|  12.7k|    if (!name) {
  ------------------
  |  Branch (387:9): [True: 12.7k, False: 0]
  ------------------
  388|  12.7k|        name = "symmetric algorithm";
  389|  12.7k|    }
  390|       |
  391|  12.7k|    dst_printf(dst, "%s: %d (%s)\n", name, (int) salg, salg_name);
  392|  12.7k|}
stream-dump.cpp:_ZL13dst_print_s2kR10pgp_dest_tR9pgp_s2k_t:
  483|  12.6k|{
  484|  12.6k|    dst_printf(dst, "s2k specifier: %d\n", (int) s2k.specifier);
  485|  12.6k|    if ((s2k.specifier == PGP_S2KS_EXPERIMENTAL) && s2k.gpg_ext_num) {
  ------------------
  |  Branch (485:9): [True: 3.02k, False: 9.64k]
  |  Branch (485:53): [True: 1.31k, False: 1.71k]
  ------------------
  486|  1.31k|        dst_printf(dst, "GPG extension num: %d\n", (int) s2k.gpg_ext_num);
  487|  1.31k|        if (s2k.gpg_ext_num == PGP_S2K_GPG_SMARTCARD) {
  ------------------
  |  Branch (487:13): [True: 995, False: 319]
  ------------------
  488|    995|            static_assert(sizeof(s2k.gpg_serial) == 16, "invalid s2k->gpg_serial size");
  489|    995|            size_t slen = s2k.gpg_serial_len > 16 ? 16 : s2k.gpg_serial_len;
  ------------------
  |  Branch (489:27): [True: 212, False: 783]
  ------------------
  490|    995|            dst_print_hex(dst, "card serial number", s2k.gpg_serial, slen, true);
  491|    995|        }
  492|  1.31k|        return;
  493|  1.31k|    }
  494|  11.3k|    if (s2k.specifier == PGP_S2KS_EXPERIMENTAL) {
  ------------------
  |  Branch (494:9): [True: 1.71k, False: 9.64k]
  ------------------
  495|  1.71k|        dst_print_hex(dst,
  496|  1.71k|                      "Unknown experimental s2k",
  497|  1.71k|                      s2k.experimental.data(),
  498|  1.71k|                      s2k.experimental.size(),
  499|  1.71k|                      true);
  500|  1.71k|        return;
  501|  1.71k|    }
  502|  9.64k|#if defined(ENABLE_CRYPTO_REFRESH)
  503|  9.64k|    if (s2k.specifier == PGP_S2KS_ARGON2) {
  ------------------
  |  Branch (503:9): [True: 484, False: 9.15k]
  ------------------
  504|    484|        dst_print_hex(dst, "s2k salt", s2k.salt, s2k.salt_size(s2k.specifier), false);
  505|    484|        dst_printf(dst, "argon2 t: %d\n", s2k.argon2_t);
  506|    484|        dst_printf(dst, "argon2 p: %d\n", s2k.argon2_p);
  507|    484|        dst_printf(dst, "argon2 encoded_m: %d\n", s2k.argon2_encoded_m);
  508|    484|    } else
  509|  9.15k|#endif
  510|  9.15k|    {
  511|  9.15k|        dst_print_halg(dst, "s2k hash algorithm", s2k.hash_alg);
  512|  9.15k|        if ((s2k.specifier == PGP_S2KS_SALTED) ||
  ------------------
  |  Branch (512:13): [True: 375, False: 8.78k]
  ------------------
  513|  8.78k|            (s2k.specifier == PGP_S2KS_ITERATED_AND_SALTED)) {
  ------------------
  |  Branch (513:13): [True: 386, False: 8.39k]
  ------------------
  514|    761|            dst_print_hex(dst, "s2k salt", s2k.salt, PGP_SALT_SIZE, false);
  ------------------
  |  |   92|    761|#define PGP_SALT_SIZE 8
  ------------------
  515|    761|        }
  516|  9.15k|        if (s2k.specifier == PGP_S2KS_ITERATED_AND_SALTED) {
  ------------------
  |  Branch (516:13): [True: 386, False: 8.77k]
  ------------------
  517|    386|            size_t real_iter = pgp_s2k_decode_iterations(s2k.iterations);
  518|    386|            dst_printf(
  519|    386|              dst, "s2k iterations: %zu (encoded as %u)\n", real_iter, s2k.iterations);
  520|    386|        }
  521|  9.15k|    }
  522|  9.64k|}
stream-dump.cpp:_ZL14dst_print_aalgR10pgp_dest_tPKc14pgp_aead_alg_t:
  396|    883|{
  397|    883|    const char *aalg_name = id_str_pair::lookup(aead_alg_map, aalg, "Unknown");
  398|    883|    if (!name) {
  ------------------
  |  Branch (398:9): [True: 883, False: 0]
  ------------------
  399|    883|        name = "aead algorithm";
  400|    883|    }
  401|       |
  402|    883|    dst_printf(dst, "%s: %d (%s)\n", name, (int) aalg, aalg_name);
  403|    883|}
stream-dump.cpp:_ZN3rnpL21init_dump_limited_srcEP12pgp_source_tS1_PNS_13dump_budget_tE:
  620|  37.9k|{
  621|  37.9k|    if (!init_src_common(src, sizeof(dump_limited_src_param_t))) {
  ------------------
  |  Branch (621:9): [True: 0, False: 37.9k]
  ------------------
  622|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
  623|      0|    }
  624|  37.9k|    auto param = static_cast<dump_limited_src_param_t *>(src->param);
  625|  37.9k|    param->readsrc = readsrc;
  626|  37.9k|    param->budget = budget;
  627|  37.9k|    src->raw_read = dump_limited_src_read;
  628|  37.9k|    src->raw_close = dump_limited_src_close;
  629|  37.9k|    src->type = PGP_STREAM_PARLEN_PACKET;
  630|  37.9k|    return RNP_SUCCESS;
  631|  37.9k|}
stream-dump.cpp:_ZN3rnpL21dump_limited_src_readEP12pgp_source_tPvmPm:
  595|  1.14M|{
  596|  1.14M|    auto param = static_cast<dump_limited_src_param_t *>(src->param);
  597|  1.14M|    if (!param->budget->left) {
  ------------------
  |  Branch (597:9): [True: 69, False: 1.14M]
  ------------------
  598|     69|        if (!param->budget->hit) {
  ------------------
  |  Branch (598:13): [True: 60, False: 9]
  ------------------
  599|     60|            RNP_LOG("too much decompressed data during the dump, stopping.");
  ------------------
  |  |   84|     60|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     60|    do {                                                                                 \
  |  |  |  |   77|     60|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 60, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     60|            break;                                                                       \
  |  |  |  |   79|     60|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|     60|            param->budget->hit = true;
  601|     60|        }
  602|     69|        return false;
  603|     69|    }
  604|  1.14M|    len = std::min(len, param->budget->left);
  605|  1.14M|    if (!param->readsrc->read(buf, len, readres)) {
  ------------------
  |  Branch (605:9): [True: 14.2k, False: 1.13M]
  ------------------
  606|  14.2k|        return false;
  607|  14.2k|    }
  608|  1.13M|    param->budget->left -= *readres;
  609|  1.13M|    return true;
  610|  1.14M|}
stream-dump.cpp:_ZN3rnpL22dump_limited_src_closeEP12pgp_source_t:
  614|  37.9k|{
  615|  37.9k|    free(src->param);
  616|  37.9k|}
stream-dump.cpp:_ZL14dst_print_zalgR10pgp_dest_tPKc22pgp_compression_type_t:
  407|  19.4k|{
  408|  19.4k|    const char *zalg_name = id_str_pair::lookup(z_alg_map, zalg, "Unknown");
  409|  19.4k|    if (!name) {
  ------------------
  |  Branch (409:9): [True: 19.4k, False: 0]
  ------------------
  410|  19.4k|        name = "compression algorithm";
  411|  19.4k|    }
  412|       |
  413|  19.4k|    dst_printf(dst, "%s: %d (%s)\n", name, (int) zalg, zalg_name);
  414|  19.4k|}
stream-dump.cpp:_ZL11dst_hexdumpR10pgp_dest_tPKhm:
  551|   901k|{
  552|   901k|    size_t i;
  553|   901k|    char   line[LINELEN + 1];
  554|       |
  555|  84.5M|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (555:17): [True: 83.6M, False: 901k]
  ------------------
  556|  83.6M|        if (i % LINELEN == 0) {
  ------------------
  |  |  547|  83.6M|#define LINELEN 16
  ------------------
  |  Branch (556:13): [True: 5.50M, False: 78.1M]
  ------------------
  557|  5.50M|            dst_printf(dst, "%.5zu | ", i);
  558|  5.50M|        }
  559|  83.6M|        dst_printf(dst, "%.02x ", (uint8_t) src[i]);
  560|  83.6M|        line[i % LINELEN] = (isprint(src[i])) ? src[i] : '.';
  ------------------
  |  |  547|  83.6M|#define LINELEN 16
  ------------------
  |  Branch (560:29): [True: 5.25M, False: 78.4M]
  ------------------
  561|  83.6M|        if (i % LINELEN == LINELEN - 1) {
  ------------------
  |  |  547|  83.6M|#define LINELEN 16
  ------------------
                      if (i % LINELEN == LINELEN - 1) {
  ------------------
  |  |  547|  83.6M|#define LINELEN 16
  ------------------
  |  Branch (561:13): [True: 4.69M, False: 78.9M]
  ------------------
  562|  4.69M|            line[LINELEN] = 0x0;
  ------------------
  |  |  547|  4.69M|#define LINELEN 16
  ------------------
  563|  4.69M|            dst_printf(dst, " | %s\n", line);
  564|  4.69M|        }
  565|  83.6M|    }
  566|   901k|    if (i % LINELEN != 0) {
  ------------------
  |  |  547|   901k|#define LINELEN 16
  ------------------
  |  Branch (566:9): [True: 813k, False: 88.5k]
  ------------------
  567|  5.27M|        for (; i % LINELEN != 0; i++) {
  ------------------
  |  |  547|  5.27M|#define LINELEN 16
  ------------------
  |  Branch (567:16): [True: 4.45M, False: 813k]
  ------------------
  568|  4.45M|            dst_printf(dst, "   ");
  569|  4.45M|            line[i % LINELEN] = ' ';
  ------------------
  |  |  547|  4.45M|#define LINELEN 16
  ------------------
  570|  4.45M|        }
  571|   813k|        line[LINELEN] = 0x0;
  ------------------
  |  |  547|   813k|#define LINELEN 16
  ------------------
  572|   813k|        dst_printf(dst, " | %s\n", line);
  573|   813k|    }
  574|   901k|}
stream-dump.cpp:_ZN3rnpL22subpacket_obj_add_algsERN8nlohmann16json_abi_v3_11_310basic_jsonINS1_11ordered_mapENSt3__16vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdS9_NS1_14adl_serializerENS5_IhNS9_IhEEEEvEEPKcRKSE_PK11id_str_pair:
 1838|  9.61k|{
 1839|  9.61k|    auto &jso_algs = obj[name] = nlohmann::ordered_json::array();
 1840|  47.0k|    for (auto &alg : algs) {
  ------------------
  |  Branch (1840:20): [True: 47.0k, False: 9.61k]
  ------------------
 1841|  47.0k|        jso_algs.push_back((int) alg);
 1842|  47.0k|    }
 1843|  9.61k|    if (!map) {
  ------------------
  |  Branch (1843:9): [True: 0, False: 9.61k]
  ------------------
 1844|      0|        return true;
 1845|      0|    }
 1846|       |
 1847|  9.61k|    char strname[64] = {0};
 1848|  9.61k|    snprintf(strname, sizeof(strname), "%s.str", name);
 1849|       |
 1850|  9.61k|    auto &jso_str = obj[strname] = nlohmann::ordered_json::array();
 1851|  47.0k|    for (auto &alg : algs) {
  ------------------
  |  Branch (1851:20): [True: 47.0k, False: 9.61k]
  ------------------
 1852|  47.0k|        if (!rnp::json::array_add(jso_str, id_str_pair::lookup(map, alg, "Unknown"))) {
  ------------------
  |  Branch (1852:13): [True: 0, False: 47.0k]
  ------------------
 1853|      0|            return false; // LCOV_EXCL_LINE
 1854|      0|        }
 1855|  47.0k|    }
 1856|  9.61k|    return true;
 1857|  9.61k|}
stream-dump.cpp:_ZN3rnpL19obj_add_intstr_jsonERN8nlohmann16json_abi_v3_11_310basic_jsonINS1_11ordered_mapENSt3__16vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdS9_NS1_14adl_serializerENS5_IhNS9_IhEEEEvEEPKciPK11id_str_pair:
 1785|  1.49M|{
 1786|  1.49M|    if (!rnp::json::add(obj, name, val)) {
  ------------------
  |  Branch (1786:9): [True: 0, False: 1.49M]
  ------------------
 1787|      0|        return false; // LCOV_EXCL_LINE
 1788|      0|    }
 1789|  1.49M|    if (!map) {
  ------------------
  |  Branch (1789:9): [True: 0, False: 1.49M]
  ------------------
 1790|      0|        return true;
 1791|      0|    }
 1792|  1.49M|    char        namestr[64] = {0};
 1793|  1.49M|    const char *str = id_str_pair::lookup(map, val, "Unknown");
 1794|  1.49M|    snprintf(namestr, sizeof(namestr), "%s.str", name);
 1795|  1.49M|    return rnp::json::add(obj, namestr, str);
 1796|  1.49M|}
stream-dump.cpp:_ZN3rnpL16obj_add_mpi_jsonERN8nlohmann16json_abi_v3_11_310basic_jsonINS1_11ordered_mapENSt3__16vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdS9_NS1_14adl_serializerENS5_IhNS9_IhEEEEvEEPKcRKN3pgp3mpiEb:
 1800|   547k|{
 1801|   547k|    char strname[64] = {0};
 1802|   547k|    snprintf(strname, sizeof(strname), "%s.bits", name);
 1803|   547k|    if (!rnp::json::add(obj, strname, (int) mpi.bits())) {
  ------------------
  |  Branch (1803:9): [True: 0, False: 547k]
  ------------------
 1804|      0|        return false; // LCOV_EXCL_LINE
 1805|      0|    }
 1806|   547k|    if (!contents) {
  ------------------
  |  Branch (1806:9): [True: 547k, False: 0]
  ------------------
 1807|   547k|        return true;
 1808|   547k|    }
 1809|      0|    snprintf(strname, sizeof(strname), "%s.raw", name);
 1810|      0|    return rnp::json::add_hex(obj, strname, mpi.data(), mpi.size());
 1811|   547k|}
stream-dump.cpp:_ZN3rnpL16obj_add_vec_jsonERN8nlohmann16json_abi_v3_11_310basic_jsonINS1_11ordered_mapENSt3__16vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdS9_NS1_14adl_serializerENS5_IhNS9_IhEEEEvEEPKcRKSE_b:
 1819|  5.03k|{
 1820|  5.03k|    char strname[64] = {0};
 1821|  5.03k|    snprintf(strname, sizeof(strname), "%s.bytes", name);
 1822|  5.03k|    if (!rnp::json::add(obj, strname, (int) vec.size())) {
  ------------------
  |  Branch (1822:9): [True: 0, False: 5.03k]
  ------------------
 1823|      0|        return false; // LCOV_EXCL_LINE
 1824|      0|    }
 1825|  5.03k|    if (!contents) {
  ------------------
  |  Branch (1825:9): [True: 5.03k, False: 0]
  ------------------
 1826|  5.03k|        return true;
 1827|  5.03k|    }
 1828|      0|    snprintf(strname, sizeof(strname), "%s.raw", name);
 1829|      0|    return rnp::json::add_hex(obj, strname, vec);
 1830|  5.03k|}
stream-dump.cpp:_ZN3rnpL16obj_add_s2k_jsonERN8nlohmann16json_abi_v3_11_310basic_jsonINS1_11ordered_mapENSt3__16vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdS9_NS1_14adl_serializerENS5_IhNS9_IhEEEEvEEP9pgp_s2k_t:
 1861|  17.1k|{
 1862|  17.1k|    auto &s2k_obj = obj["s2k"] = nlohmann::ordered_json::object();
 1863|  17.1k|    if (!rnp::json::add(s2k_obj, "specifier", (int) s2k->specifier)) {
  ------------------
  |  Branch (1863:9): [True: 0, False: 17.1k]
  ------------------
 1864|      0|        return false; // LCOV_EXCL_LINE
 1865|      0|    }
 1866|  17.1k|    if ((s2k->specifier == PGP_S2KS_EXPERIMENTAL) && s2k->gpg_ext_num) {
  ------------------
  |  Branch (1866:9): [True: 3.11k, False: 14.0k]
  |  Branch (1866:54): [True: 1.30k, False: 1.80k]
  ------------------
 1867|  1.30k|        if (!rnp::json::add(s2k_obj, "gpg extension", (int) s2k->gpg_ext_num)) {
  ------------------
  |  Branch (1867:13): [True: 0, False: 1.30k]
  ------------------
 1868|      0|            return false; // LCOV_EXCL_LINE
 1869|      0|        }
 1870|  1.30k|        if (s2k->gpg_ext_num == PGP_S2K_GPG_SMARTCARD) {
  ------------------
  |  Branch (1870:13): [True: 992, False: 317]
  ------------------
 1871|    992|            size_t slen = s2k->gpg_serial_len > 16 ? 16 : s2k->gpg_serial_len;
  ------------------
  |  Branch (1871:27): [True: 212, False: 780]
  ------------------
 1872|    992|            if (!rnp::json::add_hex(s2k_obj, "card serial number", s2k->gpg_serial, slen)) {
  ------------------
  |  Branch (1872:17): [True: 0, False: 992]
  ------------------
 1873|      0|                return false; // LCOV_EXCL_LINE
 1874|      0|            }
 1875|    992|        }
 1876|  1.30k|    }
 1877|  17.1k|    if (s2k->specifier == PGP_S2KS_EXPERIMENTAL) {
  ------------------
  |  Branch (1877:9): [True: 3.11k, False: 14.0k]
  ------------------
 1878|  3.11k|        return rnp::json::add_hex(s2k_obj, "unknown experimental", s2k->experimental);
 1879|  3.11k|    }
 1880|  14.0k|    if (!obj_add_intstr_json(s2k_obj, "hash algorithm", s2k->hash_alg, hash_alg_map)) {
  ------------------
  |  Branch (1880:9): [True: 0, False: 14.0k]
  ------------------
 1881|      0|        return false; // LCOV_EXCL_LINE
 1882|      0|    }
 1883|  14.0k|    if (((s2k->specifier == PGP_S2KS_SALTED) ||
  ------------------
  |  Branch (1883:10): [True: 417, False: 13.6k]
  ------------------
 1884|  13.6k|         (s2k->specifier == PGP_S2KS_ITERATED_AND_SALTED)) &&
  ------------------
  |  Branch (1884:10): [True: 380, False: 13.2k]
  ------------------
 1885|    797|        !rnp::json::add_hex(s2k_obj, "salt", s2k->salt, PGP_SALT_SIZE)) {
  ------------------
  |  |   92|    797|#define PGP_SALT_SIZE 8
  ------------------
  |  Branch (1885:9): [True: 0, False: 797]
  ------------------
 1886|      0|        return false; // LCOV_EXCL_LINE
 1887|      0|    }
 1888|  14.0k|    if (s2k->specifier == PGP_S2KS_ITERATED_AND_SALTED) {
  ------------------
  |  Branch (1888:9): [True: 380, False: 13.6k]
  ------------------
 1889|    380|        size_t real_iter = pgp_s2k_decode_iterations(s2k->iterations);
 1890|    380|        if (!rnp::json::add(s2k_obj, "iterations", (uint64_t) real_iter)) {
  ------------------
  |  Branch (1890:13): [True: 0, False: 380]
  ------------------
 1891|      0|            return false; // LCOV_EXCL_LINE
 1892|      0|        }
 1893|    380|    }
 1894|  14.0k|    return true;
 1895|  14.0k|}

_ZN3rnp11DumpContextC2ER12pgp_source_t:
   72|   104k|        : zbudget(std::make_shared<dump_budget_t>(
   73|   104k|            dump_budget_t{MAXIMUM_DUMP_DECOMPRESSED_SIZE, false})),
  ------------------
  |  |   67|   104k|#define MAXIMUM_DUMP_DECOMPRESSED_SIZE (256 * 1024 * 1024)
  ------------------
   74|   104k|          src(asrc){};
_ZN3rnp11DumpContextD2Ev:
   75|   104k|    virtual ~DumpContext(){};
_ZN3rnp15DumpContextJsonC2ER12pgp_source_tPN8nlohmann16json_abi_v3_11_310basic_jsonINS4_11ordered_mapENSt3__16vectorENS7_12basic_stringIcNS7_11char_traitsIcEENS7_9allocatorIcEEEEblmdSC_NS4_14adl_serializerENS8_IhNSC_IhEEEEvEE:
  149|  47.0k|        : DumpContext(asrc), json(ajson){};
_ZN3rnp11DumpContext14set_dump_gripsEb:
   79|  18.2k|    {
   80|  18.2k|        dump_grips = value;
   81|  18.2k|    }
_ZN3rnp11DumpContext12set_dump_mpiEb:
   85|  18.2k|    {
   86|  18.2k|        dump_mpi = value;
   87|  18.2k|    }
_ZN3rnp11DumpContext16set_dump_packetsEb:
   91|  18.2k|    {
   92|  18.2k|        dump_packets = value;
   93|  18.2k|    }

_ZN16pgp_userid_pkt_t5parseER12pgp_source_t:
  967|   231k|{
  968|       |    /* check the tag */
  969|   231k|    int stag = stream_pkt_type(src);
  970|   231k|    if ((stag != PGP_PKT_USER_ID) && (stag != PGP_PKT_USER_ATTR)) {
  ------------------
  |  Branch (970:9): [True: 52.7k, False: 179k]
  |  Branch (970:38): [True: 17, False: 52.6k]
  ------------------
  971|     17|        RNP_LOG("wrong userid tag: %d", stag);
  ------------------
  |  |   84|     17|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     17|    do {                                                                                 \
  |  |  |  |   77|     17|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 17, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     17|            break;                                                                       \
  |  |  |  |   79|     17|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  972|     17|        return RNP_ERROR_BAD_FORMAT;
  973|     17|    }
  974|       |
  975|   231k|    pgp_packet_body_t pkt(PGP_PKT_RESERVED);
  976|   231k|    rnp_result_t      res = pkt.read(src);
  977|   231k|    if (res) {
  ------------------
  |  Branch (977:9): [True: 1.48k, False: 230k]
  ------------------
  978|  1.48k|        return res;
  979|  1.48k|    }
  980|       |
  981|       |    /* userid type, i.e. tag */
  982|   230k|    tag = (pgp_pkt_type_t) stag;
  983|   230k|    uid.resize(pkt.size());
  984|   230k|    if (pkt.size()) {
  ------------------
  |  Branch (984:9): [True: 227k, False: 3.24k]
  ------------------
  985|   227k|        std::memcpy(uid.data(), pkt.data(), pkt.size());
  986|   227k|    }
  987|   230k|    return RNP_SUCCESS;
  988|   231k|}
_ZN13pgp_key_pkt_tD2Ev:
 1075|  76.9k|{
 1076|  76.9k|    secure_clear(sec_data.data(), sec_data.size());
 1077|  76.9k|}
_ZN13pgp_key_pkt_t5parseER12pgp_source_t:
 1170|  76.9k|{
 1171|       |    /* check the key tag */
 1172|  76.9k|    int atag = stream_pkt_type(src);
 1173|  76.9k|    if (!is_key_pkt(atag)) {
  ------------------
  |  Branch (1173:9): [True: 60, False: 76.9k]
  ------------------
 1174|     60|        RNP_LOG("wrong key packet tag: %d", atag);
  ------------------
  |  |   84|     60|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     60|    do {                                                                                 \
  |  |  |  |   77|     60|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 60, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     60|            break;                                                                       \
  |  |  |  |   79|     60|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1175|     60|        return RNP_ERROR_BAD_FORMAT;
 1176|     60|    }
 1177|       |
 1178|  76.9k|    pgp_packet_body_t pkt((pgp_pkt_type_t) atag);
 1179|       |    /* Read the packet into memory */
 1180|  76.9k|    rnp_result_t res = pkt.read(src);
 1181|  76.9k|    if (res) {
  ------------------
  |  Branch (1181:9): [True: 6.51k, False: 70.3k]
  ------------------
 1182|  6.51k|        return res;
 1183|  6.51k|    }
 1184|       |    /* key type, i.e. tag */
 1185|  70.3k|    tag = (pgp_pkt_type_t) atag;
 1186|       |    /* version */
 1187|  70.3k|    uint8_t ver = 0;
 1188|  70.3k|    if (!pkt.get(ver)) {
  ------------------
  |  Branch (1188:9): [True: 449, False: 69.9k]
  ------------------
 1189|    449|        RNP_LOG("unable to retrieve key packet version");
  ------------------
  |  |   84|    449|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    449|    do {                                                                                 \
  |  |  |  |   77|    449|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 449, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    449|            break;                                                                       \
  |  |  |  |   79|    449|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|    449|        return RNP_ERROR_BAD_FORMAT;
 1191|    449|    }
 1192|  69.9k|    switch (ver) {
 1193|  2.87k|    case PGP_V2:
  ------------------
  |  Branch (1193:5): [True: 2.87k, False: 67.0k]
  ------------------
 1194|  2.87k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  2.87k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1195|  5.72k|    case PGP_V3:
  ------------------
  |  Branch (1195:5): [True: 2.84k, False: 67.0k]
  ------------------
 1196|  5.72k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  5.72k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1197|  50.2k|    case PGP_V4:
  ------------------
  |  Branch (1197:5): [True: 44.5k, False: 25.4k]
  ------------------
 1198|  50.2k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  50.2k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1199|  54.2k|    case PGP_V5:
  ------------------
  |  Branch (1199:5): [True: 3.97k, False: 65.9k]
  ------------------
 1200|  54.2k|        break;
 1201|      0|#if defined(ENABLE_CRYPTO_REFRESH)
 1202|  13.3k|    case PGP_V6:
  ------------------
  |  Branch (1202:5): [True: 13.3k, False: 56.6k]
  ------------------
 1203|  13.3k|        break;
 1204|      0|#endif
 1205|  2.39k|    default:
  ------------------
  |  Branch (1205:5): [True: 2.39k, False: 67.5k]
  ------------------
 1206|  2.39k|        RNP_LOG("wrong key packet version");
  ------------------
  |  |   84|  2.39k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  2.39k|    do {                                                                                 \
  |  |  |  |   77|  2.39k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 2.39k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  2.39k|            break;                                                                       \
  |  |  |  |   79|  2.39k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1207|  2.39k|        return RNP_ERROR_BAD_FORMAT;
 1208|  69.9k|    }
 1209|  67.5k|    version = (pgp_version_t) ver;
 1210|       |    /* creation time */
 1211|  67.5k|    if (!pkt.get(creation_time)) {
  ------------------
  |  Branch (1211:9): [True: 272, False: 67.2k]
  ------------------
 1212|    272|        return RNP_ERROR_BAD_FORMAT;
 1213|    272|    }
 1214|       |    /* v3: validity days */
 1215|  67.2k|    if ((version < PGP_V4) && !pkt.get(v3_days)) {
  ------------------
  |  Branch (1215:9): [True: 5.57k, False: 61.6k]
  |  Branch (1215:31): [True: 236, False: 5.34k]
  ------------------
 1216|    236|        return RNP_ERROR_BAD_FORMAT;
 1217|    236|    }
 1218|       |    /* key algorithm */
 1219|  67.0k|    uint8_t analg = 0;
 1220|  67.0k|    if (!pkt.get(analg)) {
  ------------------
  |  Branch (1220:9): [True: 238, False: 66.7k]
  ------------------
 1221|    238|        return RNP_ERROR_BAD_FORMAT;
 1222|    238|    }
 1223|  66.7k|    alg = (pgp_pubkey_alg_t) analg;
 1224|  66.7k|    material = pgp::KeyMaterial::create(alg);
 1225|  66.7k|    if (!material) {
  ------------------
  |  Branch (1225:9): [True: 759, False: 66.0k]
  ------------------
 1226|       |        /* Unknown or unsupported-in-this-build algorithm (for example a PQC
 1227|       |         * algorithm when the build has ENABLE_PQC off, issue #2370). The whole
 1228|       |         * packet is already framed and read, so skip the rest of it and let the
 1229|       |         * caller skip the key while continuing with the rest of the keyring. */
 1230|    759|        RNP_LOG("unknown key algorithm: %d", (int) alg);
  ------------------
  |  |   84|    759|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    759|    do {                                                                                 \
  |  |  |  |   77|    759|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 759, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    759|            break;                                                                       \
  |  |  |  |   79|    759|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|    759|        pkt.skip(pkt.left());
 1232|    759|        return RNP_ERROR_NOT_SUPPORTED;
 1233|    759|    }
 1234|  66.0k|    switch (version) {
 1235|  2.57k|    case PGP_V2:
  ------------------
  |  Branch (1235:5): [True: 2.57k, False: 63.4k]
  ------------------
 1236|  4.99k|    case PGP_V3:
  ------------------
  |  Branch (1236:5): [True: 2.42k, False: 63.6k]
  ------------------
 1237|       |        /* v3 keys must be RSA-only */
 1238|  4.99k|        if (!is_rsa_key_alg(alg)) {
  ------------------
  |  Branch (1238:13): [True: 415, False: 4.58k]
  ------------------
 1239|    415|            RNP_LOG("wrong v3 pk algorithm");
  ------------------
  |  |   84|    415|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    415|    do {                                                                                 \
  |  |  |  |   77|    415|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 415, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    415|            break;                                                                       \
  |  |  |  |   79|    415|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1240|    415|            return RNP_ERROR_BAD_FORMAT;
 1241|    415|        }
 1242|  4.58k|        break;
 1243|  4.58k|    case PGP_V5:
  ------------------
  |  Branch (1243:5): [True: 3.88k, False: 62.1k]
  ------------------
 1244|  3.88k|#if defined(ENABLE_CRYPTO_REFRESH)
 1245|  17.1k|    case PGP_V6:
  ------------------
  |  Branch (1245:5): [True: 13.2k, False: 52.7k]
  ------------------
 1246|  17.1k|#endif
 1247|       |        /* v5-v6 public key material length  */
 1248|  17.1k|        if (!pkt.get(v5_pub_len)) {
  ------------------
  |  Branch (1248:13): [True: 1.28k, False: 15.8k]
  ------------------
 1249|  1.28k|            RNP_LOG("failed to get v5 octet count field");
  ------------------
  |  |   84|  1.28k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.28k|    do {                                                                                 \
  |  |  |  |   77|  1.28k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.28k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.28k|            break;                                                                       \
  |  |  |  |   79|  1.28k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1250|  1.28k|            return RNP_ERROR_BAD_FORMAT;
 1251|  1.28k|        }
 1252|  15.8k|        if (is_public_key_pkt(atag) && (v5_pub_len != pkt.left())) {
  ------------------
  |  Branch (1252:13): [True: 755, False: 15.0k]
  |  Branch (1252:40): [True: 478, False: 277]
  ------------------
 1253|    478|            RNP_LOG("v5 octet count mismatch");
  ------------------
  |  |   84|    478|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    478|    do {                                                                                 \
  |  |  |  |   77|    478|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 478, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    478|            break;                                                                       \
  |  |  |  |   79|    478|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1254|    478|            return RNP_ERROR_BAD_FORMAT;
 1255|    478|        }
 1256|  15.3k|        break;
 1257|  43.9k|    default:;
  ------------------
  |  Branch (1257:5): [True: 43.9k, False: 22.1k]
  ------------------
 1258|  66.0k|    }
 1259|       |
 1260|  63.8k|#if defined(ENABLE_PQC) && defined(ENABLE_CRYPTO_REFRESH)
 1261|       |    /* PQC only for v6 keys aside from MLKEM768+X25519 */
 1262|  63.8k|    if (rnp::Key::is_pqc_alg(alg) && version < PGP_V6 && alg != PGP_PKA_KYBER768_X25519) {
  ------------------
  |  Branch (1262:9): [True: 9.39k, False: 54.4k]
  |  Branch (1262:38): [True: 1.65k, False: 7.73k]
  |  Branch (1262:58): [True: 1.42k, False: 232]
  ------------------
 1263|  1.42k|        RNP_LOG("Invalid algorithm for key version");
  ------------------
  |  |   84|  1.42k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.42k|    do {                                                                                 \
  |  |  |  |   77|  1.42k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.42k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.42k|            break;                                                                       \
  |  |  |  |   79|  1.42k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1264|  1.42k|        return RNP_ERROR_BAD_FORMAT;
 1265|  1.42k|    }
 1266|  62.4k|#endif
 1267|       |
 1268|       |    /* algorithm specific fields */
 1269|  62.4k|    if (!material->parse(pkt)) {
  ------------------
  |  Branch (1269:9): [True: 13.3k, False: 49.1k]
  ------------------
 1270|  13.3k|        return RNP_ERROR_BAD_FORMAT;
 1271|  13.3k|    }
 1272|       |
 1273|       |    /* fill hashed data used for signatures */
 1274|  49.1k|    pub_data.assign(pkt.data(), pkt.data() + pkt.size() - pkt.left());
 1275|       |
 1276|       |    /* the algorithm-specific fields must exactly fill a public key packet
 1277|       |     * body; secret key packets continue with the protection fields below */
 1278|  49.1k|    if (!is_secret_key_pkt(tag) && pkt.left()) {
  ------------------
  |  Branch (1278:9): [True: 18.5k, False: 30.5k]
  |  Branch (1278:36): [True: 232, False: 18.3k]
  ------------------
 1279|    232|        RNP_LOG("extra data at the end of the key packet");
  ------------------
  |  |   84|    232|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    232|    do {                                                                                 \
  |  |  |  |   77|    232|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 232, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    232|            break;                                                                       \
  |  |  |  |   79|    232|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1280|    232|        return RNP_ERROR_BAD_FORMAT;
 1281|    232|    }
 1282|       |
 1283|       |    /* secret key fields if any */
 1284|  48.9k|    if (is_secret_key_pkt(tag)) {
  ------------------
  |  Branch (1284:9): [True: 30.5k, False: 18.3k]
  ------------------
 1285|  30.5k|        uint8_t usage = 0;
 1286|  30.5k|        if (!pkt.get(usage)) {
  ------------------
  |  Branch (1286:13): [True: 234, False: 30.3k]
  ------------------
 1287|    234|            RNP_LOG("failed to read key protection");
  ------------------
  |  |   84|    234|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    234|    do {                                                                                 \
  |  |  |  |   77|    234|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 234, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    234|            break;                                                                       \
  |  |  |  |   79|    234|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|    234|            return RNP_ERROR_BAD_FORMAT;
 1289|    234|        }
 1290|  30.3k|#if defined(ENABLE_CRYPTO_REFRESH)
 1291|  30.3k|        if (version == PGP_V6 && usage == 255) {
  ------------------
  |  Branch (1291:13): [True: 9.78k, False: 20.5k]
  |  Branch (1291:34): [True: 202, False: 9.58k]
  ------------------
 1292|    202|            RNP_LOG(
  ------------------
  |  |   84|    202|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    202|    do {                                                                                 \
  |  |  |  |   77|    202|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 202, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    202|            break;                                                                       \
  |  |  |  |   79|    202|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1293|    202|              "Error when parsing S2K usage: A version 6 packet MUST NOT use the value 255.");
 1294|    202|            return RNP_ERROR_BAD_FORMAT;
 1295|    202|        }
 1296|  30.1k|#endif
 1297|  30.1k|        sec_protection.s2k.usage = (pgp_s2k_usage_t) usage;
 1298|  30.1k|        sec_protection.cipher_mode = PGP_CIPHER_MODE_CFB;
 1299|       |
 1300|       |        /* v5 s2k length, ignored for now */
 1301|  30.1k|        if (version == PGP_V5) {
  ------------------
  |  Branch (1301:13): [True: 2.36k, False: 27.7k]
  ------------------
 1302|  2.36k|            if (!pkt.get(v5_s2k_len)) {
  ------------------
  |  Branch (1302:17): [True: 219, False: 2.14k]
  ------------------
 1303|    219|                RNP_LOG("failed to read v5 s2k len");
  ------------------
  |  |   84|    219|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    219|    do {                                                                                 \
  |  |  |  |   77|    219|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 219, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    219|            break;                                                                       \
  |  |  |  |   79|    219|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|    219|                return RNP_ERROR_BAD_FORMAT;
 1305|    219|            }
 1306|  2.36k|        }
 1307|  29.9k|#if defined(ENABLE_CRYPTO_REFRESH)
 1308|  29.9k|        if (version == PGP_V6 && sec_protection.s2k.usage != PGP_S2KU_NONE) {
  ------------------
  |  Branch (1308:13): [True: 9.58k, False: 20.3k]
  |  Branch (1308:34): [True: 8.51k, False: 1.06k]
  ------------------
 1309|       |            // v6 packets contain the count of the following parameters
 1310|       |            // ignored for now
 1311|  8.51k|            uint8_t bt;
 1312|  8.51k|            if (!pkt.get(bt)) {
  ------------------
  |  Branch (1312:17): [True: 208, False: 8.30k]
  ------------------
 1313|    208|                RNP_LOG("failed to read s2k parameter length");
  ------------------
  |  |   84|    208|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    208|    do {                                                                                 \
  |  |  |  |   77|    208|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 208, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    208|            break;                                                                       \
  |  |  |  |   79|    208|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|    208|                return RNP_ERROR_BAD_FORMAT;
 1315|    208|            }
 1316|  8.51k|        }
 1317|  29.7k|#endif
 1318|       |
 1319|  29.7k|        switch (sec_protection.s2k.usage) {
 1320|  10.0k|        case PGP_S2KU_NONE:
  ------------------
  |  Branch (1320:9): [True: 10.0k, False: 19.6k]
  ------------------
 1321|  10.0k|            break;
 1322|    525|        case PGP_S2KU_ENCRYPTED:
  ------------------
  |  Branch (1322:9): [True: 525, False: 29.1k]
  ------------------
 1323|  2.47k|        case PGP_S2KU_ENCRYPTED_AND_HASHED: {
  ------------------
  |  Branch (1323:9): [True: 1.94k, False: 27.7k]
  ------------------
 1324|       |            /* we have s2k */
 1325|  2.47k|            uint8_t salg = 0;
 1326|  2.47k|            if (!pkt.get(salg)) {
  ------------------
  |  Branch (1326:17): [True: 202, False: 2.27k]
  ------------------
 1327|    202|                RNP_LOG("failed to read key protection (symmetric alg)");
  ------------------
  |  |   84|    202|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    202|    do {                                                                                 \
  |  |  |  |   77|    202|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 202, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    202|            break;                                                                       \
  |  |  |  |   79|    202|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1328|    202|                return RNP_ERROR_BAD_FORMAT;
 1329|    202|            }
 1330|  2.27k|#if defined(ENABLE_CRYPTO_REFRESH)
 1331|  2.27k|            if (version == PGP_V6) {
  ------------------
  |  Branch (1331:17): [True: 391, False: 1.88k]
  ------------------
 1332|       |                // V6 packages contain the length of the following field
 1333|    391|                uint8_t s2k_specifier_len;
 1334|    391|                if (!pkt.get(s2k_specifier_len)) {
  ------------------
  |  Branch (1334:21): [True: 196, False: 195]
  ------------------
 1335|    196|                    RNP_LOG("failed to read key protection (s2k specifier length)");
  ------------------
  |  |   84|    196|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    196|    do {                                                                                 \
  |  |  |  |   77|    196|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 196, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    196|            break;                                                                       \
  |  |  |  |   79|    196|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1336|    196|                    return RNP_ERROR_BAD_FORMAT;
 1337|    196|                }
 1338|    391|            }
 1339|  2.07k|#endif
 1340|  2.07k|            if (!pkt.get(sec_protection.s2k)) {
  ------------------
  |  Branch (1340:17): [True: 397, False: 1.67k]
  ------------------
 1341|    397|                RNP_LOG("failed to read key protection (s2k)");
  ------------------
  |  |   84|    397|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    397|    do {                                                                                 \
  |  |  |  |   77|    397|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 397, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    397|            break;                                                                       \
  |  |  |  |   79|    397|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|    397|                return RNP_ERROR_BAD_FORMAT;
 1343|    397|            }
 1344|  1.67k|            sec_protection.symm_alg = (pgp_symm_alg_t) salg;
 1345|  1.67k|            break;
 1346|  2.07k|        }
 1347|      0|#if defined(ENABLE_CRYPTO_REFRESH)
 1348|  1.33k|        case PGP_S2KU_AEAD: {
  ------------------
  |  Branch (1348:9): [True: 1.33k, False: 28.3k]
  ------------------
 1349|  1.33k|            uint8_t symm_alg = 0;
 1350|  1.33k|            uint8_t aead_alg = 0;
 1351|  1.33k|            if (!pkt.get(symm_alg)) {
  ------------------
  |  Branch (1351:17): [True: 42, False: 1.29k]
  ------------------
 1352|     42|                RNP_LOG("failed to read key protection (symmetric alg)");
  ------------------
  |  |   84|     42|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     42|    do {                                                                                 \
  |  |  |  |   77|     42|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 42, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     42|            break;                                                                       \
  |  |  |  |   79|     42|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1353|     42|                return RNP_ERROR_BAD_FORMAT;
 1354|     42|            }
 1355|  1.29k|            if (!pkt.get(aead_alg)) {
  ------------------
  |  Branch (1355:17): [True: 196, False: 1.09k]
  ------------------
 1356|    196|                RNP_LOG("failed to read key protection (aead alg)");
  ------------------
  |  |   84|    196|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    196|    do {                                                                                 \
  |  |  |  |   77|    196|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 196, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    196|            break;                                                                       \
  |  |  |  |   79|    196|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|    196|                return RNP_ERROR_BAD_FORMAT;
 1358|    196|            }
 1359|  1.09k|            if (version == PGP_V6) {
  ------------------
  |  Branch (1359:17): [True: 98, False: 1.00k]
  ------------------
 1360|       |                // V6 packages contain the length of the following field
 1361|     98|                uint8_t s2k_specifier_len;
 1362|     98|                if (!pkt.get(s2k_specifier_len)) {
  ------------------
  |  Branch (1362:21): [True: 65, False: 33]
  ------------------
 1363|     65|                    RNP_LOG("failed to read key protection (s2k specifier length)");
  ------------------
  |  |   84|     65|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     65|    do {                                                                                 \
  |  |  |  |   77|     65|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 65, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     65|            break;                                                                       \
  |  |  |  |   79|     65|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|     65|                    return RNP_ERROR_BAD_FORMAT;
 1365|     65|                }
 1366|     98|            }
 1367|  1.03k|            if (!pkt.get(sec_protection.s2k)) {
  ------------------
  |  Branch (1367:17): [True: 234, False: 799]
  ------------------
 1368|    234|                RNP_LOG("failed to read key protection (s2k)");
  ------------------
  |  |   84|    234|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    234|    do {                                                                                 \
  |  |  |  |   77|    234|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 234, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    234|            break;                                                                       \
  |  |  |  |   79|    234|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1369|    234|                return RNP_ERROR_BAD_FORMAT;
 1370|    234|            }
 1371|    799|            sec_protection.symm_alg = (pgp_symm_alg_t) symm_alg;
 1372|    799|            sec_protection.aead_alg = (pgp_aead_alg_t) aead_alg;
 1373|    799|            break;
 1374|  1.03k|        }
 1375|      0|#endif
 1376|  15.8k|        default:
  ------------------
  |  Branch (1376:9): [True: 15.8k, False: 13.8k]
  ------------------
 1377|       |            /* old-style: usage is symmetric algorithm identifier */
 1378|  15.8k|            sec_protection.symm_alg = (pgp_symm_alg_t) usage;
 1379|  15.8k|            sec_protection.s2k.usage = PGP_S2KU_ENCRYPTED;
 1380|  15.8k|            sec_protection.s2k.specifier = PGP_S2KS_SIMPLE;
 1381|  15.8k|            sec_protection.s2k.hash_alg = PGP_HASH_MD5;
 1382|  15.8k|            break;
 1383|  29.7k|        }
 1384|       |
 1385|       |        /* iv */
 1386|  28.3k|        if ((sec_protection.s2k.usage != PGP_S2KU_NONE)
  ------------------
  |  Branch (1386:13): [True: 18.3k, False: 10.0k]
  ------------------
 1387|  18.3k|#if defined(ENABLE_CRYPTO_REFRESH)
 1388|  18.3k|            && (sec_protection.s2k.usage != PGP_S2KU_AEAD)
  ------------------
  |  Branch (1388:16): [True: 17.5k, False: 799]
  ------------------
 1389|  17.5k|#endif
 1390|  17.5k|            && (sec_protection.s2k.specifier != PGP_S2KS_EXPERIMENTAL)) {
  ------------------
  |  Branch (1390:16): [True: 16.9k, False: 564]
  ------------------
 1391|  16.9k|            size_t bl_size = pgp_block_size(sec_protection.symm_alg);
 1392|  16.9k|            if (!bl_size || !pkt.get(sec_protection.iv, bl_size)) {
  ------------------
  |  Branch (1392:17): [True: 1.87k, False: 15.1k]
  |  Branch (1392:29): [True: 749, False: 14.3k]
  ------------------
 1393|  2.62k|                RNP_LOG("failed to read iv");
  ------------------
  |  |   84|  2.62k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  2.62k|    do {                                                                                 \
  |  |  |  |   77|  2.62k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 2.62k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  2.62k|            break;                                                                       \
  |  |  |  |   79|  2.62k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|  2.62k|                return RNP_ERROR_BAD_FORMAT;
 1395|  2.62k|            }
 1396|  16.9k|        }
 1397|  11.3k|#if defined(ENABLE_CRYPTO_REFRESH)
 1398|  11.3k|        else if ((sec_protection.s2k.usage == PGP_S2KU_AEAD) &&
  ------------------
  |  Branch (1398:18): [True: 799, False: 10.5k]
  ------------------
 1399|    799|                 (sec_protection.s2k.specifier != PGP_S2KS_EXPERIMENTAL)) {
  ------------------
  |  Branch (1399:18): [True: 590, False: 209]
  ------------------
 1400|    590|            size_t nonce_len = pgp_cipher_aead_nonce_len(sec_protection.aead_alg);
 1401|    590|            if (!nonce_len || !pkt.get(sec_protection.iv, nonce_len)) {
  ------------------
  |  Branch (1401:17): [True: 202, False: 388]
  |  Branch (1401:31): [True: 191, False: 197]
  ------------------
 1402|    393|                RNP_LOG("failed to read iv");
  ------------------
  |  |   84|    393|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    393|    do {                                                                                 \
  |  |  |  |   77|    393|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 393, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    393|            break;                                                                       \
  |  |  |  |   79|    393|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|    393|                return RNP_ERROR_BAD_FORMAT;
 1404|    393|            }
 1405|    590|        }
 1406|  25.3k|#endif
 1407|       |
 1408|       |        /* v5 secret key fields length */
 1409|  25.3k|        if (version == PGP_V5) {
  ------------------
  |  Branch (1409:13): [True: 1.87k, False: 23.4k]
  ------------------
 1410|  1.87k|            if (!pkt.get(v5_sec_len)) {
  ------------------
  |  Branch (1410:17): [True: 210, False: 1.66k]
  ------------------
 1411|    210|                RNP_LOG("failed to read v5 secret fields length");
  ------------------
  |  |   84|    210|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    210|    do {                                                                                 \
  |  |  |  |   77|    210|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 210, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    210|            break;                                                                       \
  |  |  |  |   79|    210|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1412|    210|                return RNP_ERROR_BAD_FORMAT;
 1413|    210|            }
 1414|  1.66k|            if (v5_sec_len != pkt.left()) {
  ------------------
  |  Branch (1414:17): [True: 338, False: 1.32k]
  ------------------
 1415|    338|                RNP_LOG("v5 secret fields length mismatch");
  ------------------
  |  |   84|    338|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    338|    do {                                                                                 \
  |  |  |  |   77|    338|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 338, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    338|            break;                                                                       \
  |  |  |  |   79|    338|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1416|    338|                return RNP_ERROR_BAD_FORMAT;
 1417|    338|            }
 1418|  1.66k|        }
 1419|       |
 1420|       |        /* encrypted/cleartext secret MPIs are left */
 1421|  24.8k|        size_t sec_len = pkt.left();
 1422|  24.8k|        sec_data.resize(sec_len);
 1423|  24.8k|        if (sec_len && !pkt.get(sec_data.data(), sec_len)) {
  ------------------
  |  Branch (1423:13): [True: 22.0k, False: 2.71k]
  |  Branch (1423:24): [True: 0, False: 22.0k]
  ------------------
 1424|      0|            return RNP_ERROR_BAD_STATE;
 1425|      0|        }
 1426|  24.8k|    }
 1427|       |
 1428|  43.1k|    if (pkt.left()) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 43.1k]
  ------------------
 1429|      0|        RNP_LOG("extra %zu bytes in key packet", pkt.left());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      0|        return RNP_ERROR_BAD_FORMAT;
 1431|      0|    }
 1432|  43.1k|    return RNP_SUCCESS;
 1433|  43.1k|}

_ZN13pgp_key_pkt_tC2Ev:
   59|  76.9k|        : tag(PGP_PKT_RESERVED), version(PGP_VUNKNOWN), creation_time(0), alg(PGP_PKA_NOTHING),
   60|  76.9k|          v3_days(0), v5_pub_len(0), material(nullptr), sec_protection({}), v5_s2k_len(0),
   61|  76.9k|          v5_sec_len(0){};

_Z15get_packet_typeh:
   67|  3.68M|{
   68|  3.68M|    if (!(ptag & PGP_PTAG_ALWAYS_SET)) {
  ------------------
  |  |   47|  3.68M|#define PGP_PTAG_ALWAYS_SET 0x80
  ------------------
  |  Branch (68:9): [True: 0, False: 3.68M]
  ------------------
   69|      0|        return -1;
   70|      0|    }
   71|       |
   72|  3.68M|    if (ptag & PGP_PTAG_NEW_FORMAT) {
  ------------------
  |  |   56|  3.68M|#define PGP_PTAG_NEW_FORMAT 0x40
  ------------------
  |  Branch (72:9): [True: 2.79M, False: 888k]
  ------------------
   73|  2.79M|        return (int) (ptag & PGP_PTAG_NF_CONTENT_TAG_MASK);
  ------------------
  |  |  137|  2.79M|#define PGP_PTAG_NF_CONTENT_TAG_MASK 0x3f
  ------------------
   74|  2.79M|    } else {
   75|   888k|        return (int) ((ptag & PGP_PTAG_OF_CONTENT_TAG_MASK) >> PGP_PTAG_OF_CONTENT_TAG_SHIFT);
  ------------------
  |  |   66|   888k|#define PGP_PTAG_OF_CONTENT_TAG_MASK 0x3c
  ------------------
                      return (int) ((ptag & PGP_PTAG_OF_CONTENT_TAG_MASK) >> PGP_PTAG_OF_CONTENT_TAG_SHIFT);
  ------------------
  |  |   74|   888k|#define PGP_PTAG_OF_CONTENT_TAG_SHIFT 2
  ------------------
   76|   888k|    }
   77|  3.68M|}
_Z15stream_pkt_typeR12pgp_source_t:
   81|   308k|{
   82|   308k|    if (src.eof()) {
  ------------------
  |  Branch (82:9): [True: 0, False: 308k]
  ------------------
   83|      0|        return 0;
   84|      0|    }
   85|   308k|    size_t hdrneed = 0;
   86|   308k|    if (!stream_pkt_hdr_len(src, hdrneed)) {
  ------------------
  |  Branch (86:9): [True: 77, False: 308k]
  ------------------
   87|     77|        return -1;
   88|     77|    }
   89|   308k|    uint8_t hdr[PGP_MAX_HEADER_SIZE];
   90|   308k|    if (!src.peek_eq(hdr, hdrneed)) {
  ------------------
  |  Branch (90:9): [True: 0, False: 308k]
  ------------------
   91|      0|        return -1;
   92|      0|    }
   93|   308k|    return get_packet_type(hdr[0]);
   94|   308k|}
_Z18stream_pkt_hdr_lenR12pgp_source_tRm:
   98|  5.34M|{
   99|  5.34M|    uint8_t buf[2];
  100|       |
  101|  5.34M|    if (!src.peek_eq(buf, 2) || !(buf[0] & PGP_PTAG_ALWAYS_SET)) {
  ------------------
  |  |   47|  5.32M|#define PGP_PTAG_ALWAYS_SET 0x80
  ------------------
  |  Branch (101:9): [True: 15.8k, False: 5.32M]
  |  Branch (101:33): [True: 3.32k, False: 5.32M]
  ------------------
  102|  19.2k|        return false;
  103|  19.2k|    }
  104|       |
  105|  5.32M|    if (buf[0] & PGP_PTAG_NEW_FORMAT) {
  ------------------
  |  |   56|  5.32M|#define PGP_PTAG_NEW_FORMAT 0x40
  ------------------
  |  Branch (105:9): [True: 4.10M, False: 1.21M]
  ------------------
  106|  4.10M|        if (buf[1] < 192) {
  ------------------
  |  Branch (106:13): [True: 3.83M, False: 273k]
  ------------------
  107|  3.83M|            hdrlen = 2;
  108|  3.83M|        } else if (buf[1] < 224) {
  ------------------
  |  Branch (108:20): [True: 213k, False: 60.0k]
  ------------------
  109|   213k|            hdrlen = 3;
  110|   213k|        } else if (buf[1] < 255) {
  ------------------
  |  Branch (110:20): [True: 57.0k, False: 2.98k]
  ------------------
  111|  57.0k|            hdrlen = 2;
  112|  57.0k|        } else {
  113|  2.98k|            hdrlen = 6;
  114|  2.98k|        }
  115|  4.10M|        return true;
  116|  4.10M|    }
  117|       |
  118|  1.21M|    switch (buf[0] & PGP_PTAG_OF_LENGTH_TYPE_MASK) {
  ------------------
  |  |   83|  1.21M|#define PGP_PTAG_OF_LENGTH_TYPE_MASK 0x03
  ------------------
  119|  1.04M|    case PGP_PTAG_OLD_LEN_1:
  ------------------
  |  Branch (119:5): [True: 1.04M, False: 169k]
  ------------------
  120|  1.04M|        hdrlen = 2;
  121|  1.04M|        return true;
  122|  55.1k|    case PGP_PTAG_OLD_LEN_2:
  ------------------
  |  Branch (122:5): [True: 55.1k, False: 1.15M]
  ------------------
  123|  55.1k|        hdrlen = 3;
  124|  55.1k|        return true;
  125|  38.5k|    case PGP_PTAG_OLD_LEN_4:
  ------------------
  |  Branch (125:5): [True: 38.5k, False: 1.17M]
  ------------------
  126|  38.5k|        hdrlen = 5;
  127|  38.5k|        return true;
  128|  76.1k|    case PGP_PTAG_OLD_LEN_INDETERMINATE:
  ------------------
  |  Branch (128:5): [True: 76.1k, False: 1.13M]
  ------------------
  129|  76.1k|        hdrlen = 1;
  130|  76.1k|        return true;
  131|      0|    default:
  ------------------
  |  Branch (131:5): [True: 0, False: 1.21M]
  ------------------
  132|      0|        return false;
  133|  1.21M|    }
  134|  1.21M|}
_Z19stream_read_pkt_lenR12pgp_source_tPm:
  176|  1.63M|{
  177|  1.63M|    uint8_t buf[6] = {};
  178|  1.63M|    size_t  read = 0;
  179|       |
  180|  1.63M|    if (!stream_pkt_hdr_len(src, read)) {
  ------------------
  |  Branch (180:9): [True: 0, False: 1.63M]
  ------------------
  181|      0|        return false;
  182|      0|    }
  183|       |
  184|  1.63M|    if (!src.read_eq(buf, read)) {
  ------------------
  |  Branch (184:9): [True: 0, False: 1.63M]
  ------------------
  185|      0|        return false;
  186|      0|    }
  187|       |
  188|  1.63M|    return get_pkt_len(buf, pktlen);
  189|  1.63M|}
_Z29stream_read_partial_chunk_lenP12pgp_source_tPmPb:
  193|  17.4M|{
  194|  17.4M|    uint8_t hdr[5] = {};
  195|  17.4M|    size_t  read = 0;
  196|       |
  197|  17.4M|    if (!src->read(hdr, 1, &read)) {
  ------------------
  |  Branch (197:9): [True: 20, False: 17.4M]
  ------------------
  198|     20|        RNP_LOG("failed to read header");
  ------------------
  |  |   84|     20|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     20|    do {                                                                                 \
  |  |  |  |   77|     20|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     20|            break;                                                                       \
  |  |  |  |   79|     20|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|     20|        return false;
  200|     20|    }
  201|  17.4M|    if (read < 1) {
  ------------------
  |  Branch (201:9): [True: 148, False: 17.4M]
  ------------------
  202|    148|        RNP_LOG("wrong eof");
  ------------------
  |  |   84|    148|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    148|    do {                                                                                 \
  |  |  |  |   77|    148|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 148, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    148|            break;                                                                       \
  |  |  |  |   79|    148|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  203|    148|        return false;
  204|    148|    }
  205|       |
  206|  17.4M|    *last = true;
  207|       |    // partial length
  208|  17.4M|    if ((hdr[0] >= 224) && (hdr[0] < 255)) {
  ------------------
  |  Branch (208:9): [True: 17.4M, False: 10.4k]
  |  Branch (208:28): [True: 17.4M, False: 651]
  ------------------
  209|  17.4M|        *last = false;
  210|  17.4M|        *clen = get_partial_pkt_len(hdr[0]);
  211|  17.4M|        return true;
  212|  17.4M|    }
  213|       |    // 1-byte length
  214|  11.0k|    if (hdr[0] < 192) {
  ------------------
  |  Branch (214:9): [True: 9.03k, False: 2.02k]
  ------------------
  215|  9.03k|        *clen = hdr[0];
  216|  9.03k|        return true;
  217|  9.03k|    }
  218|       |    // 2-byte length
  219|  2.02k|    if (hdr[0] < 224) {
  ------------------
  |  Branch (219:9): [True: 1.37k, False: 651]
  ------------------
  220|  1.37k|        if (!src->read_eq(&hdr[1], 1)) {
  ------------------
  |  Branch (220:13): [True: 71, False: 1.29k]
  ------------------
  221|     71|            RNP_LOG("wrong 2-byte length");
  ------------------
  |  |   84|     71|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     71|    do {                                                                                 \
  |  |  |  |   77|     71|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 71, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     71|            break;                                                                       \
  |  |  |  |   79|     71|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  222|     71|            return false;
  223|     71|        }
  224|  1.29k|        *clen = ((size_t)(hdr[0] - 192) << 8) + (size_t) hdr[1] + 192;
  225|  1.29k|        return true;
  226|  1.37k|    }
  227|       |    // 4-byte length
  228|    651|    if (!src->read_eq(&hdr[1], 4)) {
  ------------------
  |  Branch (228:9): [True: 77, False: 574]
  ------------------
  229|     77|        RNP_LOG("wrong 4-byte length");
  ------------------
  |  |   84|     77|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     77|    do {                                                                                 \
  |  |  |  |   77|     77|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 77, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     77|            break;                                                                       \
  |  |  |  |   79|     77|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|     77|        return false;
  231|     77|    }
  232|    574|    *clen = ((size_t) hdr[1] << 24) | ((size_t) hdr[2] << 16) | ((size_t) hdr[3] << 8) |
  233|    574|            (size_t) hdr[4];
  234|    574|    return true;
  235|    651|}
_Z32stream_old_indeterminate_pkt_lenP12pgp_source_t:
  239|  1.91M|{
  240|  1.91M|    uint8_t ptag = 0;
  241|  1.91M|    if (!src->peek_eq(&ptag, 1)) {
  ------------------
  |  Branch (241:9): [True: 45, False: 1.91M]
  ------------------
  242|     45|        return false;
  243|     45|    }
  244|  1.91M|    return !(ptag & PGP_PTAG_NEW_FORMAT) &&
  ------------------
  |  |   56|  1.91M|#define PGP_PTAG_NEW_FORMAT 0x40
  ------------------
  |  Branch (244:12): [True: 430k, False: 1.48M]
  ------------------
  245|   430k|           ((ptag & PGP_PTAG_OF_LENGTH_TYPE_MASK) == PGP_PTAG_OLD_LEN_INDETERMINATE);
  ------------------
  |  |   83|   430k|#define PGP_PTAG_OF_LENGTH_TYPE_MASK 0x03
  ------------------
  |  Branch (245:12): [True: 39.2k, False: 391k]
  ------------------
  246|  1.91M|}
_Z22stream_partial_pkt_lenP12pgp_source_t:
  250|  1.97M|{
  251|  1.97M|    uint8_t hdr[2] = {};
  252|  1.97M|    if (!src->peek_eq(hdr, 2)) {
  ------------------
  |  Branch (252:9): [True: 45, False: 1.97M]
  ------------------
  253|     45|        return false;
  254|     45|    }
  255|  1.97M|    return (hdr[0] & PGP_PTAG_NEW_FORMAT) && (hdr[1] >= 224) && (hdr[1] < 255);
  ------------------
  |  |   56|  1.97M|#define PGP_PTAG_NEW_FORMAT 0x40
  ------------------
  |  Branch (255:12): [True: 1.54M, False: 430k]
  |  Branch (255:46): [True: 62.5k, False: 1.48M]
  |  Branch (255:65): [True: 61.2k, False: 1.37k]
  ------------------
  256|  1.97M|}
_Z19get_partial_pkt_lenh:
  260|  17.4M|{
  261|  17.4M|    return 1 << (blen & 0x1f);
  262|  17.4M|}
_Z22stream_peek_packet_hdrP12pgp_source_tP16pgp_packet_hdr_t:
  266|  1.76M|{
  267|  1.76M|    size_t hlen = 0;
  268|  1.76M|    memset(hdr, 0, sizeof(*hdr));
  269|  1.76M|    if (!stream_pkt_hdr_len(*src, hlen)) {
  ------------------
  |  Branch (269:9): [True: 19.1k, False: 1.74M]
  ------------------
  270|  19.1k|        uint8_t hdr2[2] = {0};
  271|  19.1k|        if (!src->peek_eq(hdr2, 2)) {
  ------------------
  |  Branch (271:13): [True: 15.8k, False: 3.32k]
  ------------------
  272|  15.8k|            RNP_LOG("pkt header read failed");
  ------------------
  |  |   84|  15.8k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  15.8k|    do {                                                                                 \
  |  |  |  |   77|  15.8k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 15.8k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  15.8k|            break;                                                                       \
  |  |  |  |   79|  15.8k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  273|  15.8k|            return RNP_ERROR_READ;
  274|  15.8k|        }
  275|       |
  276|  3.32k|        RNP_LOG("bad packet header: 0x%02x%02x", hdr2[0], hdr2[1]);
  ------------------
  |  |   84|  3.32k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  3.32k|    do {                                                                                 \
  |  |  |  |   77|  3.32k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 3.32k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  3.32k|            break;                                                                       \
  |  |  |  |   79|  3.32k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|  3.32k|        return RNP_ERROR_BAD_FORMAT;
  278|  19.1k|    }
  279|       |
  280|  1.74M|    if (!src->peek_eq(hdr->hdr, hlen)) {
  ------------------
  |  Branch (280:9): [True: 184, False: 1.74M]
  ------------------
  281|    184|        RNP_LOG("failed to read pkt header");
  ------------------
  |  |   84|    184|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    184|    do {                                                                                 \
  |  |  |  |   77|    184|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 184, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    184|            break;                                                                       \
  |  |  |  |   79|    184|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|    184|        return RNP_ERROR_READ;
  283|    184|    }
  284|       |
  285|  1.74M|    hdr->hdr_len = hlen;
  286|  1.74M|    hdr->tag = (pgp_pkt_type_t) get_packet_type(hdr->hdr[0]);
  287|       |
  288|       |    /* RFC 4880, section 4.3: packet tag 0 is reserved and must not be used. */
  289|  1.74M|    if (hdr->tag == PGP_PKT_RESERVED) {
  ------------------
  |  Branch (289:9): [True: 121, False: 1.74M]
  ------------------
  290|    121|        RNP_LOG("bad packet tag 0 (reserved)");
  ------------------
  |  |   84|    121|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    121|    do {                                                                                 \
  |  |  |  |   77|    121|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 121, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    121|            break;                                                                       \
  |  |  |  |   79|    121|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  291|    121|        return RNP_ERROR_BAD_FORMAT;
  292|    121|    }
  293|       |
  294|  1.74M|    if (stream_partial_pkt_len(src)) {
  ------------------
  |  Branch (294:9): [True: 55.9k, False: 1.68M]
  ------------------
  295|  55.9k|        hdr->partial = true;
  296|  1.68M|    } else if (stream_old_indeterminate_pkt_len(src)) {
  ------------------
  |  Branch (296:16): [True: 39.1k, False: 1.64M]
  ------------------
  297|  39.1k|        hdr->indeterminate = true;
  298|  1.64M|    } else {
  299|  1.64M|        (void) get_pkt_len(hdr->hdr, &hdr->pkt_len);
  300|  1.64M|    }
  301|       |
  302|  1.74M|    return RNP_SUCCESS;
  303|  1.74M|}
_Z18stream_read_packetP12pgp_source_tP10pgp_dest_t:
  351|   231k|{
  352|   231k|    if (stream_old_indeterminate_pkt_len(src)) {
  ------------------
  |  Branch (352:9): [True: 137, False: 231k]
  ------------------
  353|    137|        return dst_write_src(src, dst, PGP_MAX_OLD_LEN_INDETERMINATE_PKT_SIZE);
  ------------------
  |  |   43|    137|#define PGP_MAX_OLD_LEN_INDETERMINATE_PKT_SIZE 0x40000000
  ------------------
  354|    137|    }
  355|       |
  356|   231k|    if (stream_partial_pkt_len(src)) {
  ------------------
  |  Branch (356:9): [True: 5.30k, False: 226k]
  ------------------
  357|  5.30k|        return stream_read_packet_partial(src, dst);
  358|  5.30k|    }
  359|       |
  360|   226k|    try {
  361|   226k|        pgp_packet_body_t body(PGP_PKT_RESERVED);
  362|   226k|        rnp_result_t      ret = body.read(*src);
  363|   226k|        if (dst) {
  ------------------
  |  Branch (363:13): [True: 882, False: 225k]
  ------------------
  364|    882|            body.write(*dst, false);
  365|    882|        }
  366|   226k|        return ret;
  367|   226k|    } catch (const std::exception &e) {
  368|      0|        RNP_LOG("%s", e.what());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  369|      0|        return RNP_ERROR_GENERIC;
  370|      0|    }
  371|   226k|}
_Z18stream_skip_packetP12pgp_source_t:
  375|   230k|{
  376|       |    return stream_read_packet(src, NULL);
  377|   230k|}
_Z19stream_parse_markerR12pgp_source_t:
  381|  10.0k|{
  382|  10.0k|    try {
  383|  10.0k|        pgp_packet_body_t pkt(PGP_PKT_MARKER);
  384|  10.0k|        rnp_result_t      res = pkt.read(src);
  385|  10.0k|        if (res) {
  ------------------
  |  Branch (385:13): [True: 7.99k, False: 2.05k]
  ------------------
  386|  7.99k|            return res;
  387|  7.99k|        }
  388|  2.05k|        if ((pkt.size() != PGP_MARKER_LEN) ||
  ------------------
  |  |  109|  2.05k|#define PGP_MARKER_LEN 3
  ------------------
  |  Branch (388:13): [True: 1.10k, False: 947]
  ------------------
  389|  1.73k|            memcmp(pkt.data(), PGP_MARKER_CONTENTS, PGP_MARKER_LEN)) {
  ------------------
  |  |  108|    947|#define PGP_MARKER_CONTENTS "PGP"
  ------------------
                          memcmp(pkt.data(), PGP_MARKER_CONTENTS, PGP_MARKER_LEN)) {
  ------------------
  |  |  109|    947|#define PGP_MARKER_LEN 3
  ------------------
  |  Branch (389:13): [True: 626, False: 321]
  ------------------
  390|  1.73k|            return RNP_ERROR_BAD_FORMAT;
  391|  1.73k|        }
  392|    321|        return RNP_SUCCESS;
  393|  2.05k|    } catch (const std::exception &e) {
  394|      0|        RNP_LOG("%s", e.what());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|      0|        return RNP_ERROR_OUT_OF_MEMORY;
  396|      0|    }
  397|  10.0k|}
_Z10is_key_pkti:
  401|  76.9k|{
  402|  76.9k|    switch (tag) {
  403|  17.2k|    case PGP_PKT_PUBLIC_KEY:
  ------------------
  |  Branch (403:5): [True: 17.2k, False: 59.6k]
  ------------------
  404|  30.1k|    case PGP_PKT_PUBLIC_SUBKEY:
  ------------------
  |  Branch (404:5): [True: 12.8k, False: 64.1k]
  ------------------
  405|  53.0k|    case PGP_PKT_SECRET_KEY:
  ------------------
  |  Branch (405:5): [True: 22.9k, False: 54.0k]
  ------------------
  406|  76.9k|    case PGP_PKT_SECRET_SUBKEY:
  ------------------
  |  Branch (406:5): [True: 23.8k, False: 53.1k]
  ------------------
  407|  76.9k|        return true;
  408|     60|    default:
  ------------------
  |  Branch (408:5): [True: 60, False: 76.9k]
  ------------------
  409|     60|        return false;
  410|  76.9k|    }
  411|  76.9k|}
_Z17is_public_key_pkti:
  427|  15.8k|{
  428|  15.8k|    switch (tag) {
  429|    651|    case PGP_PKT_PUBLIC_KEY:
  ------------------
  |  Branch (429:5): [True: 651, False: 15.2k]
  ------------------
  430|    755|    case PGP_PKT_PUBLIC_SUBKEY:
  ------------------
  |  Branch (430:5): [True: 104, False: 15.7k]
  ------------------
  431|    755|        return true;
  432|  15.0k|    default:
  ------------------
  |  Branch (432:5): [True: 15.0k, False: 755]
  ------------------
  433|  15.0k|        return false;
  434|  15.8k|    }
  435|  15.8k|}
_Z17is_secret_key_pkti:
  439|   141k|{
  440|   141k|    switch (tag) {
  441|  47.5k|    case PGP_PKT_SECRET_KEY:
  ------------------
  |  Branch (441:5): [True: 47.5k, False: 93.6k]
  ------------------
  442|  85.9k|    case PGP_PKT_SECRET_SUBKEY:
  ------------------
  |  Branch (442:5): [True: 38.4k, False: 102k]
  ------------------
  443|  85.9k|        return true;
  444|  55.2k|    default:
  ------------------
  |  Branch (444:5): [True: 55.2k, False: 85.9k]
  ------------------
  445|  55.2k|        return false;
  446|   141k|    }
  447|   141k|}
_Z14is_rsa_key_alg16pgp_pubkey_alg_t:
  451|  8.73k|{
  452|  8.73k|    switch (alg) {
  453|  4.77k|    case PGP_PKA_RSA:
  ------------------
  |  Branch (453:5): [True: 4.77k, False: 3.95k]
  ------------------
  454|  7.55k|    case PGP_PKA_RSA_ENCRYPT_ONLY:
  ------------------
  |  Branch (454:5): [True: 2.77k, False: 5.95k]
  ------------------
  455|  8.31k|    case PGP_PKA_RSA_SIGN_ONLY:
  ------------------
  |  Branch (455:5): [True: 766, False: 7.96k]
  ------------------
  456|  8.31k|        return true;
  457|    415|    default:
  ------------------
  |  Branch (457:5): [True: 415, False: 8.31k]
  ------------------
  458|    415|        return false;
  459|  8.73k|    }
  460|  8.73k|}
_ZN17pgp_packet_body_tC2E14pgp_pkt_type_t:
  463|  1.63M|{
  464|  1.63M|    data_.reserve(16);
  465|  1.63M|    tag_ = tag;
  466|  1.63M|}
_ZN17pgp_packet_body_tC2EPKhm:
  469|  2.06M|{
  470|  2.06M|    data_.assign(data, data + len);
  471|  2.06M|    tag_ = PGP_PKT_RESERVED;
  472|  2.06M|}
_ZN17pgp_packet_body_tC2ERKNSt3__16vectorIhNS0_9allocatorIhEEEE:
  475|  2.05M|    : pgp_packet_body_t(data.data(), data.size())
  476|  2.05M|{
  477|  2.05M|}
_ZN17pgp_packet_body_t4dataEv:
  481|   326k|{
  482|   326k|    return data_.data();
  483|   326k|}
_ZN17pgp_packet_body_t3curEv:
  487|   112k|{
  488|   112k|    return data_.data() + pos_;
  489|   112k|}
_ZNK17pgp_packet_body_t4sizeEv:
  493|   745k|{
  494|   745k|    return data_.size();
  495|   745k|}
_ZNK17pgp_packet_body_t4leftEv:
  499|  4.35M|{
  500|  4.35M|    return data_.size() - pos_;
  501|  4.35M|}
_ZN17pgp_packet_body_t4skipEm:
  505|  33.4k|{
  506|  33.4k|    pos_ += bt;
  507|  33.4k|}
_ZN17pgp_packet_body_t9skip_backEm:
  511|  38.1k|{
  512|  38.1k|    pos_ = bt > pos_ ? 0 : pos_ - bt;
  ------------------
  |  Branch (512:12): [True: 0, False: 38.1k]
  ------------------
  513|  38.1k|}
_ZN17pgp_packet_body_t3getERh:
  517|  2.37M|{
  518|  2.37M|    if (pos_ >= data_.size()) {
  ------------------
  |  Branch (518:9): [True: 9.66k, False: 2.36M]
  ------------------
  519|  9.66k|        return false;
  520|  9.66k|    }
  521|  2.36M|    val = data_[pos_++];
  522|  2.36M|    return true;
  523|  2.37M|}
_ZN17pgp_packet_body_t3getERt:
  527|  2.22M|{
  528|  2.22M|    if (pos_ + 2 > data_.size()) {
  ------------------
  |  Branch (528:9): [True: 3.44k, False: 2.22M]
  ------------------
  529|  3.44k|        return false;
  530|  3.44k|    }
  531|  2.22M|    val = read_uint16(data_.data() + pos_);
  532|  2.22M|    pos_ += 2;
  533|  2.22M|    return true;
  534|  2.22M|}
_ZN17pgp_packet_body_t3getERj:
  538|  89.6k|{
  539|  89.6k|    if (pos_ + 4 > data_.size()) {
  ------------------
  |  Branch (539:9): [True: 2.01k, False: 87.5k]
  ------------------
  540|  2.01k|        return false;
  541|  2.01k|    }
  542|  87.5k|    val = read_uint32(data_.data() + pos_);
  543|  87.5k|    pos_ += 4;
  544|  87.5k|    return true;
  545|  89.6k|}
_ZN17pgp_packet_body_t3getEPhm:
  549|  4.36M|{
  550|  4.36M|    if (!len) {
  ------------------
  |  Branch (550:9): [True: 1.94k, False: 4.35M]
  ------------------
  551|       |        /* Do not memcpy with a null destination and zero length, which is
  552|       |         * undefined behavior - callers may pass data() of an empty vector. */
  553|  1.94k|        return true;
  554|  1.94k|    }
  555|  4.35M|    if (pos_ + len > data_.size()) {
  ------------------
  |  Branch (555:9): [True: 13.4k, False: 4.34M]
  ------------------
  556|  13.4k|        return false;
  557|  13.4k|    }
  558|  4.34M|    memcpy(val, data_.data() + pos_, len);
  559|  4.34M|    pos_ += len;
  560|  4.34M|    return true;
  561|  4.35M|}
_ZN17pgp_packet_body_t3getERNSt3__16vectorIhNS0_9allocatorIhEEEEm:
  565|  54.0k|{
  566|  54.0k|    if (pos_ + len > data_.size()) {
  ------------------
  |  Branch (566:9): [True: 3.50k, False: 50.5k]
  ------------------
  567|  3.50k|        return false;
  568|  3.50k|    }
  569|  50.5k|    val.assign(data_.data() + pos_, data_.data() + pos_ + len);
  570|  50.5k|    pos_ += len;
  571|  50.5k|    return true;
  572|  54.0k|}
_ZN17pgp_packet_body_t3getERNSt3__15arrayIhLm8EEE:
  576|   997k|{
  577|   997k|    static_assert(std::tuple_size<pgp::KeyID>::value == PGP_KEY_ID_SIZE,
  578|   997k|                  "pgp::KeyID size mismatch");
  579|   997k|    return get(val.data(), val.size());
  580|   997k|}
_ZN17pgp_packet_body_t3getERN3pgp3mpiE:
  584|  2.15M|{
  585|  2.15M|    uint16_t bits = 0;
  586|  2.15M|    if (!get(bits)) {
  ------------------
  |  Branch (586:9): [True: 2.61k, False: 2.14M]
  ------------------
  587|  2.61k|        return false;
  588|  2.61k|    }
  589|  2.14M|    size_t len = (bits + 7) >> 3;
  590|  2.14M|    if (len > PGP_MPINT_SIZE) {
  ------------------
  |  |   36|  2.14M|#define PGP_MPINT_SIZE (PGP_MPINT_BITS >> 3)
  |  |  ------------------
  |  |  |  |   35|  2.14M|#define PGP_MPINT_BITS (16384)
  |  |  ------------------
  ------------------
  |  Branch (590:9): [True: 1.91k, False: 2.14M]
  ------------------
  591|  1.91k|        RNP_LOG("too large mpi");
  ------------------
  |  |   84|  1.91k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.91k|    do {                                                                                 \
  |  |  |  |   77|  1.91k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.91k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.91k|            break;                                                                       \
  |  |  |  |   79|  1.91k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|  1.91k|        return false;
  593|  1.91k|    }
  594|  2.14M|    if (!len) {
  ------------------
  |  Branch (594:9): [True: 830, False: 2.14M]
  ------------------
  595|    830|        RNP_LOG("0 mpi");
  ------------------
  |  |   84|    830|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    830|    do {                                                                                 \
  |  |  |  |   77|    830|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 830, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    830|            break;                                                                       \
  |  |  |  |   79|    830|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|    830|        return false;
  597|    830|    }
  598|  2.14M|    val.resize(len);
  599|  2.14M|    if (!get(val.data(), len)) {
  ------------------
  |  Branch (599:9): [True: 2.88k, False: 2.14M]
  ------------------
  600|  2.88k|        RNP_LOG("failed to read mpi body");
  ------------------
  |  |   84|  2.88k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  2.88k|    do {                                                                                 \
  |  |  |  |   77|  2.88k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 2.88k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  2.88k|            break;                                                                       \
  |  |  |  |   79|  2.88k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|  2.88k|        return false;
  602|  2.88k|    }
  603|       |    /* check the mpi bit count */
  604|  2.14M|    size_t mbits = val.bits();
  605|  2.14M|    if (mbits != bits) {
  ------------------
  |  Branch (605:9): [True: 2.07M, False: 63.8k]
  ------------------
  606|  2.07M|        RNP_LOG(
  ------------------
  |  |   84|  2.07M|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  2.07M|    do {                                                                                 \
  |  |  |  |   77|  2.07M|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 2.07M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  2.07M|            break;                                                                       \
  |  |  |  |   79|  2.07M|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|  2.07M|          "Warning! Wrong mpi bit count: got %" PRIu16 ", but actual is %zu", bits, mbits);
  608|  2.07M|    }
  609|  2.14M|    return true;
  610|  2.14M|}
_ZN17pgp_packet_body_t3getER11pgp_curve_t:
  614|  14.3k|{
  615|  14.3k|    uint8_t oidlen = 0;
  616|  14.3k|    if (!get(oidlen)) {
  ------------------
  |  Branch (616:9): [True: 352, False: 13.9k]
  ------------------
  617|    352|        return false;
  618|    352|    }
  619|  13.9k|    if (!oidlen || (oidlen == 0xff)) {
  ------------------
  |  Branch (619:9): [True: 252, False: 13.7k]
  |  Branch (619:20): [True: 216, False: 13.5k]
  ------------------
  620|    468|        RNP_LOG("unsupported curve oid len: %" PRIu8, oidlen);
  ------------------
  |  |   84|    468|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    468|    do {                                                                                 \
  |  |  |  |   77|    468|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 468, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    468|            break;                                                                       \
  |  |  |  |   79|    468|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|    468|        return false;
  622|    468|    }
  623|  13.5k|    std::vector<uint8_t> oid(oidlen, 0);
  624|  13.5k|    if (!get(oid, oidlen)) {
  ------------------
  |  Branch (624:9): [True: 857, False: 12.6k]
  ------------------
  625|    857|        return false;
  626|    857|    }
  627|  12.6k|    pgp_curve_t res = pgp::ec::Curve::by_OID(oid);
  628|  12.6k|    if (res == PGP_CURVE_MAX) {
  ------------------
  |  Branch (628:9): [True: 3.20k, False: 9.45k]
  ------------------
  629|  3.20k|        RNP_LOG("unsupported curve");
  ------------------
  |  |   84|  3.20k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  3.20k|    do {                                                                                 \
  |  |  |  |   77|  3.20k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 3.20k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  3.20k|            break;                                                                       \
  |  |  |  |   79|  3.20k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  630|  3.20k|        return false;
  631|  3.20k|    }
  632|  9.45k|    val = res;
  633|  9.45k|    return true;
  634|  12.6k|}
_ZN17pgp_packet_body_t3getER9pgp_s2k_t:
  638|  17.6k|{
  639|  17.6k|    uint8_t spec = 0, halg = 0;
  640|  17.6k|    if (!get(spec)) {
  ------------------
  |  Branch (640:9): [True: 523, False: 17.1k]
  ------------------
  641|    523|        return false;
  642|    523|    }
  643|  17.1k|    s2k.specifier = (pgp_s2k_specifier_t) spec;
  644|       |
  645|  17.1k|#if defined(ENABLE_CRYPTO_REFRESH)
  646|  17.1k|    if (s2k.specifier != PGP_S2KS_ARGON2)
  ------------------
  |  Branch (646:9): [True: 15.3k, False: 1.70k]
  ------------------
  647|  15.3k|#endif
  648|  15.3k|    {
  649|  15.3k|        if (!get(halg)) {
  ------------------
  |  Branch (649:13): [True: 417, False: 14.9k]
  ------------------
  650|    417|            return false;
  651|    417|        }
  652|  14.9k|        s2k.hash_alg = (pgp_hash_alg_t) halg;
  653|  14.9k|    }
  654|       |
  655|  16.6k|    switch (s2k.specifier) {
  656|  4.18k|    case PGP_S2KS_SIMPLE:
  ------------------
  |  Branch (656:5): [True: 4.18k, False: 12.5k]
  ------------------
  657|  4.18k|        return true;
  658|  1.61k|    case PGP_S2KS_SALTED:
  ------------------
  |  Branch (658:5): [True: 1.61k, False: 15.0k]
  ------------------
  659|  1.61k|        return get(s2k.salt, s2k.salt_size(s2k.specifier));
  660|  1.33k|    case PGP_S2KS_ITERATED_AND_SALTED: {
  ------------------
  |  Branch (660:5): [True: 1.33k, False: 15.3k]
  ------------------
  661|  1.33k|        uint8_t iter = 0;
  662|  1.33k|        if (!get(s2k.salt, s2k.salt_size(s2k.specifier)) || !get(iter)) {
  ------------------
  |  Branch (662:13): [True: 266, False: 1.07k]
  |  Branch (662:61): [True: 211, False: 860]
  ------------------
  663|    477|            return false;
  664|    477|        }
  665|    860|        s2k.iterations = iter;
  666|    860|        return true;
  667|  1.33k|    }
  668|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  669|  1.70k|    case PGP_S2KS_ARGON2:
  ------------------
  |  Branch (669:5): [True: 1.70k, False: 14.9k]
  ------------------
  670|  1.70k|        if (!get(s2k.salt, s2k.salt_size(s2k.specifier))) {
  ------------------
  |  Branch (670:13): [True: 260, False: 1.44k]
  ------------------
  671|    260|            return false;
  672|    260|        }
  673|  1.44k|        if (!get(s2k.argon2_t)) {
  ------------------
  |  Branch (673:13): [True: 35, False: 1.41k]
  ------------------
  674|     35|            return false;
  675|     35|        }
  676|  1.41k|        if (!get(s2k.argon2_p)) {
  ------------------
  |  Branch (676:13): [True: 15, False: 1.39k]
  ------------------
  677|     15|            return false;
  678|     15|        }
  679|  1.39k|        if (!get(s2k.argon2_encoded_m)) {
  ------------------
  |  Branch (679:13): [True: 199, False: 1.19k]
  ------------------
  680|    199|            return false;
  681|    199|        }
  682|  1.19k|        return true;
  683|      0|#endif
  684|  6.72k|    case PGP_S2KS_EXPERIMENTAL: {
  ------------------
  |  Branch (684:5): [True: 6.72k, False: 9.96k]
  ------------------
  685|  6.72k|        try {
  686|  6.72k|            s2k.experimental = {data_.begin() + pos_, data_.end()};
  687|  6.72k|        } catch (const std::exception &e) {
  688|      0|            RNP_LOG("%s", e.what());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  689|      0|            return false;
  690|      0|        }
  691|  6.72k|        uint8_t gnu[3] = {0};
  692|  6.72k|        if (!get(gnu, 3) || memcmp(gnu, "GNU", 3)) {
  ------------------
  |  Branch (692:13): [True: 1.57k, False: 5.15k]
  |  Branch (692:29): [True: 1.77k, False: 3.37k]
  ------------------
  693|  3.34k|            RNP_LOG("Unknown experimental s2k. Skipping.");
  ------------------
  |  |   84|  3.34k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  3.34k|    do {                                                                                 \
  |  |  |  |   77|  3.34k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 3.34k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  3.34k|            break;                                                                       \
  |  |  |  |   79|  3.34k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  694|  3.34k|            pos_ = data_.size();
  695|  3.34k|            s2k.gpg_ext_num = PGP_S2K_GPG_NONE;
  696|  3.34k|            return true;
  697|  3.34k|        }
  698|  3.37k|        uint8_t ext_num = 0;
  699|  3.37k|        if (!get(ext_num)) {
  ------------------
  |  Branch (699:13): [True: 94, False: 3.28k]
  ------------------
  700|     94|            return false;
  701|     94|        }
  702|  3.28k|        if ((ext_num != PGP_S2K_GPG_NO_SECRET) && (ext_num != PGP_S2K_GPG_SMARTCARD)) {
  ------------------
  |  Branch (702:13): [True: 2.64k, False: 636]
  |  Branch (702:51): [True: 288, False: 2.36k]
  ------------------
  703|    288|            RNP_LOG("Unsupported gpg extension num: %" PRIu8 ", skipping", ext_num);
  ------------------
  |  |   84|    288|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    288|    do {                                                                                 \
  |  |  |  |   77|    288|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 288, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    288|            break;                                                                       \
  |  |  |  |   79|    288|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  704|    288|            pos_ = data_.size();
  705|    288|            s2k.gpg_ext_num = PGP_S2K_GPG_NONE;
  706|    288|            return true;
  707|    288|        }
  708|  2.99k|        s2k.gpg_ext_num = (pgp_s2k_gpg_extension_t) ext_num;
  709|  2.99k|        if (s2k.gpg_ext_num == PGP_S2K_GPG_NO_SECRET) {
  ------------------
  |  Branch (709:13): [True: 636, False: 2.36k]
  ------------------
  710|    636|            return true;
  711|    636|        }
  712|  2.36k|        if (!get(s2k.gpg_serial_len)) {
  ------------------
  |  Branch (712:13): [True: 94, False: 2.26k]
  ------------------
  713|     94|            RNP_LOG("Failed to get GPG serial len");
  ------------------
  |  |   84|     94|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     94|    do {                                                                                 \
  |  |  |  |   77|     94|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 94, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     94|            break;                                                                       \
  |  |  |  |   79|     94|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|     94|            return false;
  715|     94|        }
  716|  2.26k|        size_t len = s2k.gpg_serial_len;
  717|  2.26k|        if (s2k.gpg_serial_len > 16) {
  ------------------
  |  Branch (717:13): [True: 678, False: 1.58k]
  ------------------
  718|    678|            RNP_LOG("Warning: gpg_serial_len is %d", (int) len);
  ------------------
  |  |   84|    678|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    678|    do {                                                                                 \
  |  |  |  |   77|    678|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 678, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    678|            break;                                                                       \
  |  |  |  |   79|    678|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  719|    678|            len = 16;
  720|    678|        }
  721|  2.26k|        if (!get(s2k.gpg_serial, len)) {
  ------------------
  |  Branch (721:13): [True: 236, False: 2.03k]
  ------------------
  722|    236|            RNP_LOG("Failed to get GPG serial");
  ------------------
  |  |   84|    236|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    236|    do {                                                                                 \
  |  |  |  |   77|    236|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 236, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    236|            break;                                                                       \
  |  |  |  |   79|    236|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|    236|            return false;
  724|    236|        }
  725|  2.03k|        return true;
  726|  2.26k|    }
  727|  1.12k|    default:
  ------------------
  |  Branch (727:5): [True: 1.12k, False: 15.5k]
  ------------------
  728|  1.12k|        RNP_LOG("unknown s2k specifier: %d", (int) s2k.specifier);
  ------------------
  |  |   84|  1.12k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.12k|    do {                                                                                 \
  |  |  |  |   77|  1.12k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.12k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.12k|            break;                                                                       \
  |  |  |  |   79|  1.12k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|  1.12k|        return false;
  730|  16.6k|    }
  731|  16.6k|}
_ZN17pgp_packet_body_t4readER12pgp_source_t:
  907|  1.63M|{
  908|       |    /* Make sure we have enough data for packet header */
  909|  1.63M|    if (!src.peek_eq(hdr_, 2)) {
  ------------------
  |  Branch (909:9): [True: 60, False: 1.63M]
  ------------------
  910|     60|        return RNP_ERROR_READ;
  911|     60|    }
  912|       |
  913|       |    /* Read the packet header and length */
  914|  1.63M|    size_t len = 0;
  915|  1.63M|    if (!stream_pkt_hdr_len(src, len)) {
  ------------------
  |  Branch (915:9): [True: 0, False: 1.63M]
  ------------------
  916|      0|        return RNP_ERROR_BAD_FORMAT;
  917|      0|    }
  918|  1.63M|    if (!src.peek_eq(hdr_, len)) {
  ------------------
  |  Branch (918:9): [True: 0, False: 1.63M]
  ------------------
  919|      0|        return RNP_ERROR_READ;
  920|      0|    }
  921|  1.63M|    hdr_len_ = len;
  922|       |
  923|  1.63M|    int ptag = get_packet_type(hdr_[0]);
  924|  1.63M|    if ((ptag < 0) || ((tag_ != PGP_PKT_RESERVED) && (tag_ != ptag))) {
  ------------------
  |  Branch (924:9): [True: 0, False: 1.63M]
  |  Branch (924:24): [True: 1.17M, False: 457k]
  |  Branch (924:54): [True: 0, False: 1.17M]
  ------------------
  925|      0|        RNP_LOG("tag mismatch: %d vs %d", (int) tag_, ptag);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|      0|        return RNP_ERROR_BAD_FORMAT;
  927|      0|    }
  928|  1.63M|    tag_ = (pgp_pkt_type_t) ptag;
  929|       |
  930|  1.63M|    if (!stream_read_pkt_len(src, &len)) {
  ------------------
  |  Branch (930:9): [True: 17.8k, False: 1.61M]
  ------------------
  931|  17.8k|        return RNP_ERROR_READ;
  932|  17.8k|    }
  933|       |
  934|       |    /* early exit for the empty packet */
  935|  1.61M|    if (!len) {
  ------------------
  |  Branch (935:9): [True: 143k, False: 1.47M]
  ------------------
  936|   143k|        return RNP_SUCCESS;
  937|   143k|    }
  938|       |
  939|  1.47M|    if (len > PGP_MAX_PKT_SIZE) {
  ------------------
  |  |   40|  1.47M|#define PGP_MAX_PKT_SIZE 0x100000
  ------------------
  |  Branch (939:9): [True: 11.5k, False: 1.46M]
  ------------------
  940|  11.5k|        RNP_LOG("too large packet");
  ------------------
  |  |   84|  11.5k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  11.5k|    do {                                                                                 \
  |  |  |  |   77|  11.5k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 11.5k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  11.5k|            break;                                                                       \
  |  |  |  |   79|  11.5k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|  11.5k|        return RNP_ERROR_BAD_FORMAT;
  942|  11.5k|    }
  943|       |
  944|       |    /* Read the packet contents */
  945|  1.46M|    try {
  946|  1.46M|        data_.resize(len);
  947|  1.46M|    } catch (const std::exception &e) {
  948|      0|        RNP_LOG("malloc of %d bytes failed, %s", (int) len, e.what());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|      0|        return RNP_ERROR_OUT_OF_MEMORY;
  950|      0|    }
  951|       |
  952|  1.46M|    size_t read = 0;
  953|  1.46M|    if (!src.read(data_.data(), len, &read) || (read != len)) {
  ------------------
  |  Branch (953:9): [True: 191, False: 1.46M]
  |  Branch (953:48): [True: 7.75k, False: 1.45M]
  ------------------
  954|  7.94k|        RNP_LOG("read %d instead of %d", (int) read, (int) len);
  ------------------
  |  |   84|  7.94k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  7.94k|    do {                                                                                 \
  |  |  |  |   77|  7.94k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 7.94k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  7.94k|            break;                                                                       \
  |  |  |  |   79|  7.94k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  955|  7.94k|        return RNP_ERROR_READ;
  956|  7.94k|    }
  957|  1.45M|    pos_ = 0;
  958|  1.45M|    return RNP_SUCCESS;
  959|  1.46M|}
_ZN17pgp_packet_body_t5writeER10pgp_dest_tb:
  963|    882|{
  964|    882|    if (hdr) {
  ------------------
  |  Branch (964:9): [True: 0, False: 882]
  ------------------
  965|      0|        uint8_t hdrbt[6] = {
  966|      0|          (uint8_t)(tag_ | PGP_PTAG_ALWAYS_SET | PGP_PTAG_NEW_FORMAT), 0, 0, 0, 0, 0};
  ------------------
  |  |   47|      0|#define PGP_PTAG_ALWAYS_SET 0x80
  ------------------
                        (uint8_t)(tag_ | PGP_PTAG_ALWAYS_SET | PGP_PTAG_NEW_FORMAT), 0, 0, 0, 0, 0};
  ------------------
  |  |   56|      0|#define PGP_PTAG_NEW_FORMAT 0x40
  ------------------
  967|      0|        size_t hlen = 1 + write_packet_len(&hdrbt[1], data_.size());
  968|      0|        dst_write(&dst, hdrbt, hlen);
  969|      0|    }
  970|    882|    dst_write(&dst, data_.data(), data_.size());
  971|    882|}
_ZN16pgp_sk_sesskey_t8parse_v6ER17pgp_packet_body_t:
 1051|  2.82k|{
 1052|  2.82k|    uint8_t bt;
 1053|  2.82k|    uint8_t octet_count;
 1054|  2.82k|    uint8_t s2k_len;
 1055|       |
 1056|       |    /* A one-octet scalar octet count for the 5 fields following this octet. */
 1057|       |    /* TODO: do we need to check octet_count? */
 1058|  2.82k|    if (!pkt.get(octet_count)) {
  ------------------
  |  Branch (1058:9): [True: 527, False: 2.29k]
  ------------------
 1059|    527|        RNP_LOG("failed to get octet count of next 5 fields");
  ------------------
  |  |   84|    527|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    527|    do {                                                                                 \
  |  |  |  |   77|    527|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 527, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    527|            break;                                                                       \
  |  |  |  |   79|    527|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|    527|        return RNP_ERROR_BAD_FORMAT;
 1061|    527|    }
 1062|       |
 1063|       |    /* symmetric algorithm */
 1064|  2.29k|    if (!pkt.get(bt)) {
  ------------------
  |  Branch (1064:9): [True: 208, False: 2.08k]
  ------------------
 1065|    208|        RNP_LOG("failed to get symm alg");
  ------------------
  |  |   84|    208|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    208|    do {                                                                                 \
  |  |  |  |   77|    208|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 208, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    208|            break;                                                                       \
  |  |  |  |   79|    208|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|    208|        return RNP_ERROR_BAD_FORMAT;
 1067|    208|    }
 1068|  2.08k|    alg = (pgp_symm_alg_t) bt;
 1069|       |
 1070|       |    /* aead algorithm */
 1071|  2.08k|    if (!pkt.get(bt)) {
  ------------------
  |  Branch (1071:9): [True: 272, False: 1.81k]
  ------------------
 1072|    272|        RNP_LOG("failed to get aead alg");
  ------------------
  |  |   84|    272|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    272|    do {                                                                                 \
  |  |  |  |   77|    272|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 272, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    272|            break;                                                                       \
  |  |  |  |   79|    272|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|    272|        return RNP_ERROR_BAD_FORMAT;
 1074|    272|    }
 1075|  1.81k|    aalg = (pgp_aead_alg_t) bt;
 1076|  1.81k|    if ((aalg != PGP_AEAD_EAX) && (aalg != PGP_AEAD_OCB)
  ------------------
  |  Branch (1076:9): [True: 1.19k, False: 625]
  |  Branch (1076:35): [True: 682, False: 510]
  ------------------
 1077|    682|#if defined(ENABLE_AEAD_GCM)
 1078|    682|        && (aalg != PGP_AEAD_GCM)
  ------------------
  |  Branch (1078:12): [True: 290, False: 392]
  ------------------
 1079|  1.81k|#endif
 1080|  1.81k|    ) {
 1081|    290|        RNP_LOG("unsupported AEAD algorithm : %d", (int) aalg);
  ------------------
  |  |   84|    290|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    290|    do {                                                                                 \
  |  |  |  |   77|    290|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 290, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    290|            break;                                                                       \
  |  |  |  |   79|    290|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|    290|        return RNP_ERROR_BAD_PARAMETERS;
 1083|    290|    }
 1084|       |
 1085|       |    /* A one-octet scalar octet count of the following field. */
 1086|       |    /* TODO: do we need to check s2k_len? */
 1087|  1.52k|    if (!pkt.get(s2k_len)) {
  ------------------
  |  Branch (1087:9): [True: 692, False: 835]
  ------------------
 1088|    692|        RNP_LOG("failed to get octet count of next 5 fields");
  ------------------
  |  |   84|    692|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    692|    do {                                                                                 \
  |  |  |  |   77|    692|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 692, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    692|            break;                                                                       \
  |  |  |  |   79|    692|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|    692|        return RNP_ERROR_BAD_FORMAT;
 1090|    692|    }
 1091|       |
 1092|       |    /* s2k */
 1093|    835|    if (!pkt.get(s2k)) {
  ------------------
  |  Branch (1093:9): [True: 280, False: 555]
  ------------------
 1094|    280|        RNP_LOG("failed to parse s2k");
  ------------------
  |  |   84|    280|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    280|    do {                                                                                 \
  |  |  |  |   77|    280|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 280, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    280|            break;                                                                       \
  |  |  |  |   79|    280|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1095|    280|        return RNP_ERROR_BAD_FORMAT;
 1096|    280|    }
 1097|       |
 1098|    555|    size_t noncelen = pgp_cipher_aead_nonce_len(aalg);
 1099|    555|    size_t taglen = pgp_cipher_aead_tag_len(aalg);
 1100|    555|    size_t keylen = 0;
 1101|       |
 1102|    555|    if (pkt.left() > noncelen + taglen + PGP_MAX_KEY_SIZE) {
  ------------------
  |  |   89|    555|#define PGP_MAX_KEY_SIZE 32
  ------------------
  |  Branch (1102:9): [True: 91, False: 464]
  ------------------
 1103|     91|        RNP_LOG("too long esk");
  ------------------
  |  |   84|     91|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     91|    do {                                                                                 \
  |  |  |  |   77|     91|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 91, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     91|            break;                                                                       \
  |  |  |  |   79|     91|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1104|     91|        return RNP_ERROR_BAD_FORMAT;
 1105|     91|    }
 1106|    464|    if (pkt.left() < noncelen + taglen + 8) {
  ------------------
  |  Branch (1106:9): [True: 224, False: 240]
  ------------------
 1107|    224|        RNP_LOG("too short esk");
  ------------------
  |  |   84|    224|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    224|    do {                                                                                 \
  |  |  |  |   77|    224|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 224, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    224|            break;                                                                       \
  |  |  |  |   79|    224|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|    224|        return RNP_ERROR_BAD_FORMAT;
 1109|    224|    }
 1110|       |    /* iv */
 1111|    240|    if (!pkt.get(iv, noncelen)) {
  ------------------
  |  Branch (1111:9): [True: 0, False: 240]
  ------------------
 1112|      0|        RNP_LOG("failed to get iv");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1113|      0|        return RNP_ERROR_BAD_FORMAT;
 1114|      0|    }
 1115|    240|    ivlen = noncelen;
 1116|       |
 1117|       |    /* key */
 1118|    240|    keylen = pkt.left();
 1119|    240|    if (!pkt.get(enckey, keylen)) {
  ------------------
  |  Branch (1119:9): [True: 0, False: 240]
  ------------------
 1120|      0|        RNP_LOG("failed to get key");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1121|      0|        return RNP_ERROR_BAD_FORMAT;
 1122|      0|    }
 1123|    240|    enckeylen = keylen;
 1124|    240|    return RNP_SUCCESS;
 1125|    240|}
_ZN16pgp_sk_sesskey_t5parseER12pgp_source_t:
 1130|  21.5k|{
 1131|  21.5k|    pgp_packet_body_t pkt(PGP_PKT_SK_SESSION_KEY);
 1132|  21.5k|    rnp_result_t      res = pkt.read(src);
 1133|  21.5k|    if (res) {
  ------------------
  |  Branch (1133:9): [True: 3.50k, False: 18.0k]
  ------------------
 1134|  3.50k|        return res;
 1135|  3.50k|    }
 1136|       |
 1137|       |    /* version */
 1138|  18.0k|    uint8_t bt;
 1139|  18.0k|    if (!pkt.get(bt) || ((bt != PGP_SKSK_V4) && (bt != PGP_SKSK_V5))) {
  ------------------
  |  Branch (1139:9): [True: 378, False: 17.7k]
  |  Branch (1139:26): [True: 6.88k, False: 10.8k]
  |  Branch (1139:49): [True: 3.02k, False: 3.86k]
  ------------------
 1140|  3.40k|#if defined(ENABLE_CRYPTO_REFRESH)
 1141|  3.40k|        if (bt == PGP_SKSK_V6) {
  ------------------
  |  Branch (1141:13): [True: 2.82k, False: 579]
  ------------------
 1142|  2.82k|            version = bt;
 1143|  2.82k|            return parse_v6(pkt);
 1144|  2.82k|        }
 1145|    579|#endif
 1146|    579|        RNP_LOG("wrong packet version");
  ------------------
  |  |   84|    579|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    579|    do {                                                                                 \
  |  |  |  |   77|    579|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 579, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    579|            break;                                                                       \
  |  |  |  |   79|    579|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1147|    579|        return RNP_ERROR_BAD_FORMAT;
 1148|  3.40k|    }
 1149|  14.6k|    version = bt;
 1150|       |    /* symmetric algorithm */
 1151|  14.6k|    if (!pkt.get(bt)) {
  ------------------
  |  Branch (1151:9): [True: 417, False: 14.2k]
  ------------------
 1152|    417|        RNP_LOG("failed to get symm alg");
  ------------------
  |  |   84|    417|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    417|    do {                                                                                 \
  |  |  |  |   77|    417|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 417, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    417|            break;                                                                       \
  |  |  |  |   79|    417|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1153|    417|        return RNP_ERROR_BAD_FORMAT;
 1154|    417|    }
 1155|  14.2k|    alg = (pgp_symm_alg_t) bt;
 1156|       |
 1157|  14.2k|    if (version == PGP_SKSK_V5) {
  ------------------
  |  Branch (1157:9): [True: 3.58k, False: 10.6k]
  ------------------
 1158|       |        /* aead algorithm */
 1159|  3.58k|        if (!pkt.get(bt)) {
  ------------------
  |  Branch (1159:13): [True: 208, False: 3.37k]
  ------------------
 1160|    208|            RNP_LOG("failed to get aead alg");
  ------------------
  |  |   84|    208|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    208|    do {                                                                                 \
  |  |  |  |   77|    208|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 208, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    208|            break;                                                                       \
  |  |  |  |   79|    208|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|    208|            return RNP_ERROR_BAD_FORMAT;
 1162|    208|        }
 1163|  3.37k|        aalg = (pgp_aead_alg_t) bt;
 1164|  3.37k|        if ((aalg != PGP_AEAD_EAX) && (aalg != PGP_AEAD_OCB)
  ------------------
  |  Branch (1164:13): [True: 2.15k, False: 1.22k]
  |  Branch (1164:39): [True: 626, False: 1.53k]
  ------------------
 1165|    626|#if defined(ENABLE_AEAD_GCM)
 1166|    626|            && (aalg != PGP_AEAD_GCM)
  ------------------
  |  Branch (1166:16): [True: 370, False: 256]
  ------------------
 1167|  3.37k|#endif
 1168|  3.37k|        ) {
 1169|    370|            RNP_LOG("unsupported AEAD algorithm : %d", (int) aalg);
  ------------------
  |  |   84|    370|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    370|    do {                                                                                 \
  |  |  |  |   77|    370|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 370, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    370|            break;                                                                       \
  |  |  |  |   79|    370|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1170|    370|            return RNP_ERROR_BAD_PARAMETERS;
 1171|    370|        }
 1172|  3.37k|    }
 1173|       |
 1174|       |    /* s2k */
 1175|  13.6k|    if (!pkt.get(s2k)) {
  ------------------
  |  Branch (1175:9): [True: 2.96k, False: 10.7k]
  ------------------
 1176|  2.96k|        RNP_LOG("failed to parse s2k");
  ------------------
  |  |   84|  2.96k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  2.96k|    do {                                                                                 \
  |  |  |  |   77|  2.96k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 2.96k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  2.96k|            break;                                                                       \
  |  |  |  |   79|  2.96k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|  2.96k|        return RNP_ERROR_BAD_FORMAT;
 1178|  2.96k|    }
 1179|       |
 1180|       |    /* v4 key */
 1181|  10.7k|    if (version == PGP_SKSK_V4) {
  ------------------
  |  Branch (1181:9): [True: 8.60k, False: 2.11k]
  ------------------
 1182|       |        /* encrypted session key if present */
 1183|  8.60k|        size_t keylen = pkt.left();
 1184|  8.60k|        if (keylen) {
  ------------------
  |  Branch (1184:13): [True: 5.17k, False: 3.43k]
  ------------------
 1185|  5.17k|            if (keylen > PGP_MAX_KEY_SIZE + 1) {
  ------------------
  |  |   89|  5.17k|#define PGP_MAX_KEY_SIZE 32
  ------------------
  |  Branch (1185:17): [True: 311, False: 4.86k]
  ------------------
 1186|    311|                RNP_LOG("too long esk");
  ------------------
  |  |   84|    311|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    311|    do {                                                                                 \
  |  |  |  |   77|    311|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 311, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    311|            break;                                                                       \
  |  |  |  |   79|    311|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1187|    311|                return RNP_ERROR_BAD_FORMAT;
 1188|    311|            }
 1189|  4.86k|            if (!pkt.get(enckey, keylen)) {
  ------------------
  |  Branch (1189:17): [True: 0, False: 4.86k]
  ------------------
 1190|      0|                RNP_LOG("failed to get key");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1191|      0|                return RNP_ERROR_BAD_FORMAT;
 1192|      0|            }
 1193|  4.86k|        }
 1194|  8.29k|        enckeylen = keylen;
 1195|  8.29k|        return RNP_SUCCESS;
 1196|  8.60k|    }
 1197|       |
 1198|       |    /* v5: iv + esk + tag. For both EAX and OCB ivlen and taglen are 16 octets */
 1199|  2.11k|    size_t noncelen = pgp_cipher_aead_nonce_len(aalg);
 1200|  2.11k|    size_t taglen = pgp_cipher_aead_tag_len(aalg);
 1201|  2.11k|    size_t keylen = 0;
 1202|       |
 1203|  2.11k|    if (pkt.left() > noncelen + taglen + PGP_MAX_KEY_SIZE) {
  ------------------
  |  |   89|  2.11k|#define PGP_MAX_KEY_SIZE 32
  ------------------
  |  Branch (1203:9): [True: 265, False: 1.85k]
  ------------------
 1204|    265|        RNP_LOG("too long esk");
  ------------------
  |  |   84|    265|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    265|    do {                                                                                 \
  |  |  |  |   77|    265|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 265, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    265|            break;                                                                       \
  |  |  |  |   79|    265|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|    265|        return RNP_ERROR_BAD_FORMAT;
 1206|    265|    }
 1207|  1.85k|    if (pkt.left() < noncelen + taglen + 8) {
  ------------------
  |  Branch (1207:9): [True: 252, False: 1.60k]
  ------------------
 1208|    252|        RNP_LOG("too short esk");
  ------------------
  |  |   84|    252|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    252|    do {                                                                                 \
  |  |  |  |   77|    252|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 252, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    252|            break;                                                                       \
  |  |  |  |   79|    252|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1209|    252|        return RNP_ERROR_BAD_FORMAT;
 1210|    252|    }
 1211|       |    /* iv */
 1212|  1.60k|    if (!pkt.get(iv, noncelen)) {
  ------------------
  |  Branch (1212:9): [True: 0, False: 1.60k]
  ------------------
 1213|      0|        RNP_LOG("failed to get iv");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1214|      0|        return RNP_ERROR_BAD_FORMAT;
 1215|      0|    }
 1216|  1.60k|    ivlen = noncelen;
 1217|       |
 1218|       |    /* key */
 1219|  1.60k|    keylen = pkt.left();
 1220|  1.60k|    if (!pkt.get(enckey, keylen)) {
  ------------------
  |  Branch (1220:9): [True: 0, False: 1.60k]
  ------------------
 1221|      0|        RNP_LOG("failed to get key");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|      0|        return RNP_ERROR_BAD_FORMAT;
 1223|      0|    }
 1224|  1.60k|    enckeylen = keylen;
 1225|  1.60k|    return RNP_SUCCESS;
 1226|  1.60k|}
_ZN16pgp_pk_sesskey_t5parseER12pgp_source_t:
 1258|  1.00M|{
 1259|  1.00M|    pgp_packet_body_t pkt(PGP_PKT_PK_SESSION_KEY);
 1260|  1.00M|    rnp_result_t      res = pkt.read(src);
 1261|  1.00M|    if (res) {
  ------------------
  |  Branch (1261:9): [True: 1.95k, False: 1.00M]
  ------------------
 1262|  1.95k|        return res;
 1263|  1.95k|    }
 1264|       |    /* version */
 1265|  1.00M|    uint8_t bt = 0;
 1266|  1.00M|    if (!pkt.get(bt)) {
  ------------------
  |  Branch (1266:9): [True: 622, False: 1.00M]
  ------------------
 1267|    622|        RNP_LOG("Error when reading packet version");
  ------------------
  |  |   84|    622|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    622|    do {                                                                                 \
  |  |  |  |   77|    622|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 622, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    622|            break;                                                                       \
  |  |  |  |   79|    622|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1268|    622|        return RNP_ERROR_BAD_FORMAT;
 1269|    622|    }
 1270|  1.00M|#if defined(ENABLE_CRYPTO_REFRESH)
 1271|  1.00M|    if ((bt != PGP_PKSK_V3) && (bt != PGP_PKSK_V6)) {
  ------------------
  |  Branch (1271:9): [True: 6.96k, False: 997k]
  |  Branch (1271:32): [True: 837, False: 6.12k]
  ------------------
 1272|       |#else
 1273|       |    if ((bt != PGP_PKSK_V3)) {
 1274|       |#endif
 1275|    837|        RNP_LOG("wrong packet version");
  ------------------
  |  |   84|    837|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    837|    do {                                                                                 \
  |  |  |  |   77|    837|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 837, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    837|            break;                                                                       \
  |  |  |  |   79|    837|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1276|    837|        return RNP_ERROR_BAD_FORMAT;
 1277|    837|    }
 1278|  1.00M|    version = (pgp_pkesk_version_t) bt;
 1279|       |
 1280|  1.00M|#if defined(ENABLE_CRYPTO_REFRESH)
 1281|  1.00M|    if (version == PGP_PKSK_V3)
  ------------------
  |  Branch (1281:9): [True: 997k, False: 6.12k]
  ------------------
 1282|   997k|#endif
 1283|   997k|    {
 1284|       |        /* key id */
 1285|   997k|        if (!pkt.get(key_id)) {
  ------------------
  |  Branch (1285:13): [True: 234, False: 997k]
  ------------------
 1286|    234|            RNP_LOG("failed to get key id");
  ------------------
  |  |   84|    234|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    234|    do {                                                                                 \
  |  |  |  |   77|    234|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 234, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    234|            break;                                                                       \
  |  |  |  |   79|    234|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|    234|            return RNP_ERROR_BAD_FORMAT;
 1288|    234|        }
 1289|   997k|    }
 1290|  6.12k|#if defined(ENABLE_CRYPTO_REFRESH)
 1291|  6.12k|    else {                          // PGP_PKSK_V6
 1292|  6.12k|        uint8_t fp_and_key_ver_len; // A one-octet size of the following two fields.
 1293|  6.12k|        if (!pkt.get(fp_and_key_ver_len)) {
  ------------------
  |  Branch (1293:13): [True: 214, False: 5.91k]
  ------------------
 1294|    214|            RNP_LOG("Error when reading length of next two fields");
  ------------------
  |  |   84|    214|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    214|    do {                                                                                 \
  |  |  |  |   77|    214|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 214, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    214|            break;                                                                       \
  |  |  |  |   79|    214|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|    214|            return RNP_ERROR_BAD_FORMAT;
 1296|    214|        }
 1297|       |        /* RFC 9580 §5.1.2: a zero size omits the key version and the
 1298|       |         * fingerprint. That is an anonymous recipient (§5.1.8). */
 1299|  5.91k|        if (!fp_and_key_ver_len) {
  ------------------
  |  Branch (1299:13): [True: 562, False: 5.34k]
  ------------------
 1300|    562|            fp = pgp::Fingerprint();
 1301|  5.34k|        } else {
 1302|  5.34k|            if ((fp_and_key_ver_len != 1 + PGP_FINGERPRINT_V4_SIZE) &&
  ------------------
  |  |   43|  5.34k|#define PGP_FINGERPRINT_V4_SIZE 20
  ------------------
  |  Branch (1302:17): [True: 4.73k, False: 613]
  ------------------
 1303|  4.73k|                (fp_and_key_ver_len != 1 + PGP_FINGERPRINT_V6_SIZE)) {
  ------------------
  |  |   51|  4.73k|#define PGP_FINGERPRINT_V6_SIZE 32
  ------------------
  |  Branch (1303:17): [True: 276, False: 4.46k]
  ------------------
 1304|    276|                RNP_LOG("Invalid size for key version + length field");
  ------------------
  |  |   84|    276|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    276|    do {                                                                                 \
  |  |  |  |   77|    276|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 276, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    276|            break;                                                                       \
  |  |  |  |   79|    276|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1305|    276|                return RNP_ERROR_BAD_FORMAT;
 1306|    276|            }
 1307|       |
 1308|  5.07k|            size_t  fp_len;
 1309|  5.07k|            uint8_t fp_key_version;
 1310|  5.07k|            if (!pkt.get(fp_key_version)) {
  ------------------
  |  Branch (1310:17): [True: 340, False: 4.73k]
  ------------------
 1311|    340|                RNP_LOG("Error when reading key version");
  ------------------
  |  |   84|    340|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    340|    do {                                                                                 \
  |  |  |  |   77|    340|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 340, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    340|            break;                                                                       \
  |  |  |  |   79|    340|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1312|    340|                return RNP_ERROR_BAD_FORMAT;
 1313|    340|            }
 1314|  4.73k|            switch (fp_key_version) {
 1315|    559|            case PGP_V4:
  ------------------
  |  Branch (1315:13): [True: 559, False: 4.17k]
  ------------------
 1316|    559|                fp_len = PGP_FINGERPRINT_V4_SIZE;
  ------------------
  |  |   43|    559|#define PGP_FINGERPRINT_V4_SIZE 20
  ------------------
 1317|    559|                break;
 1318|  3.88k|            case PGP_V6:
  ------------------
  |  Branch (1318:13): [True: 3.88k, False: 852]
  ------------------
 1319|  3.88k|                fp_len = PGP_FINGERPRINT_V6_SIZE;
  ------------------
  |  |   51|  3.88k|#define PGP_FINGERPRINT_V6_SIZE 32
  ------------------
 1320|  3.88k|                break;
 1321|    293|            default:
  ------------------
  |  Branch (1321:13): [True: 293, False: 4.44k]
  ------------------
 1322|    293|                RNP_LOG("wrong key version used with PKESK v6");
  ------------------
  |  |   84|    293|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    293|    do {                                                                                 \
  |  |  |  |   77|    293|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 293, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    293|            break;                                                                       \
  |  |  |  |   79|    293|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1323|    293|                return RNP_ERROR_BAD_FORMAT;
 1324|  4.73k|            }
 1325|  4.44k|            if (fp_len + 1 != fp_and_key_ver_len) {
  ------------------
  |  Branch (1325:17): [True: 260, False: 4.18k]
  ------------------
 1326|    260|                RNP_LOG("size mismatch (fingerprint size and fp+key version length field)");
  ------------------
  |  |   84|    260|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    260|    do {                                                                                 \
  |  |  |  |   77|    260|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 260, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    260|            break;                                                                       \
  |  |  |  |   79|    260|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1327|    260|                return RNP_ERROR_BAD_FORMAT;
 1328|    260|            }
 1329|  4.18k|            std::vector<uint8_t> vec(fp_len, 0);
 1330|  4.18k|            if (!pkt.get(vec.data(), vec.size())) {
  ------------------
  |  Branch (1330:17): [True: 293, False: 3.88k]
  ------------------
 1331|    293|                RNP_LOG("Error when reading fingerprint");
  ------------------
  |  |   84|    293|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    293|    do {                                                                                 \
  |  |  |  |   77|    293|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 293, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    293|            break;                                                                       \
  |  |  |  |   79|    293|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1332|    293|                return RNP_ERROR_BAD_FORMAT;
 1333|    293|            }
 1334|  3.88k|            fp = pgp::Fingerprint(vec.data(), vec.size());
 1335|       |            /* A v6 PKESK has no Key ID field. Derive one so recipient
 1336|       |             * reporting matches the key (RFC 9580 §5.5.4): the low 64 bits
 1337|       |             * of a v4 fingerprint, the high 64 bits of a v6 fingerprint.
 1338|       |             * An anonymous packet leaves the all-zero sentinel in place. */
 1339|  3.88k|            if (fp_key_version == PGP_V4) {
  ------------------
  |  Branch (1339:17): [True: 313, False: 3.57k]
  ------------------
 1340|    313|                memcpy(key_id.data(), vec.data() + fp_len - PGP_KEY_ID_SIZE, key_id.size());
  ------------------
  |  |   39|    313|#define PGP_KEY_ID_SIZE 8
  ------------------
 1341|  3.57k|            } else {
 1342|  3.57k|                memcpy(key_id.data(), vec.data(), key_id.size());
 1343|  3.57k|            }
 1344|  3.88k|        }
 1345|  5.91k|    }
 1346|  1.00M|#endif
 1347|       |
 1348|       |    /* public key algorithm */
 1349|  1.00M|    if (!pkt.get(bt)) {
  ------------------
  |  Branch (1349:9): [True: 246, False: 1.00M]
  ------------------
 1350|    246|        RNP_LOG("failed to get palg");
  ------------------
  |  |   84|    246|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    246|    do {                                                                                 \
  |  |  |  |   77|    246|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 246, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    246|            break;                                                                       \
  |  |  |  |   79|    246|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|    246|        return RNP_ERROR_BAD_FORMAT;
 1352|    246|    }
 1353|  1.00M|    alg = (pgp_pubkey_alg_t) bt;
 1354|       |
 1355|       |    /* symmetric algorithm */
 1356|  1.00M|    salg = PGP_SA_UNKNOWN;
 1357|       |
 1358|       |    /* raw encrypted material */
 1359|  1.00M|    if (!pkt.left()) {
  ------------------
  |  Branch (1359:9): [True: 211, False: 1.00M]
  ------------------
 1360|    211|        RNP_LOG("No encrypted material");
  ------------------
  |  |   84|    211|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    211|    do {                                                                                 \
  |  |  |  |   77|    211|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 211, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    211|            break;                                                                       \
  |  |  |  |   79|    211|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1361|    211|        return RNP_ERROR_BAD_FORMAT;
 1362|    211|    }
 1363|  1.00M|    try {
 1364|  1.00M|        material_buf.resize(pkt.left());
 1365|  1.00M|    } catch (const std::exception &e) {
 1366|      0|        RNP_LOG("%s", e.what());
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1367|      0|        return RNP_ERROR_OUT_OF_MEMORY;
 1368|      0|    }
 1369|       |    /* we cannot fail here */
 1370|  1.00M|    pkt.get(material_buf.data(), material_buf.size());
 1371|       |    /* check whether it can be parsed */
 1372|  1.00M|    if (!parse_material()) {
  ------------------
  |  Branch (1372:9): [True: 5.98k, False: 995k]
  ------------------
 1373|  5.98k|        return RNP_ERROR_BAD_FORMAT;
 1374|  5.98k|    }
 1375|   995k|    return RNP_SUCCESS;
 1376|  1.00M|}
_ZNK16pgp_pk_sesskey_t14parse_materialEv:
 1380|  1.99M|{
 1381|  1.99M|    auto enc = pgp::EncMaterial::create(alg);
 1382|  1.99M|    if (!enc) {
  ------------------
  |  Branch (1382:9): [True: 518, False: 1.99M]
  ------------------
 1383|    518|        return nullptr;
 1384|    518|    }
 1385|  1.99M|#if defined(ENABLE_CRYPTO_REFRESH)
 1386|  1.99M|    enc->version = version;
 1387|  1.99M|#endif
 1388|  1.99M|    pgp_packet_body_t pkt(material_buf);
 1389|  1.99M|    if (!enc->parse(pkt)) {
  ------------------
  |  Branch (1389:9): [True: 4.24k, False: 1.99M]
  ------------------
 1390|  4.24k|        return nullptr;
 1391|  4.24k|    }
 1392|  1.99M|    if (pkt.left()) {
  ------------------
  |  Branch (1392:9): [True: 1.21k, False: 1.99M]
  ------------------
 1393|  1.21k|        RNP_LOG("extra %zu bytes in pk packet", pkt.left());
  ------------------
  |  |   84|  1.21k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.21k|    do {                                                                                 \
  |  |  |  |   77|  1.21k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.21k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.21k|            break;                                                                       \
  |  |  |  |   79|  1.21k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|  1.21k|        return nullptr;
 1395|  1.21k|    }
 1396|  1.99M|    return enc;
 1397|  1.99M|}
_ZN18pgp_one_pass_sig_t5parseER12pgp_source_t:
 1435|  4.99k|{
 1436|  4.99k|    pgp_packet_body_t pkt(PGP_PKT_ONE_PASS_SIG);
 1437|       |    /* Read the packet into memory */
 1438|  4.99k|    rnp_result_t res = pkt.read(src);
 1439|  4.99k|    if (res) {
  ------------------
  |  Branch (1439:9): [True: 1.40k, False: 3.59k]
  ------------------
 1440|  1.40k|        return res;
 1441|  1.40k|    }
 1442|       |
 1443|       |    /* version */
 1444|  3.59k|    if ((pkt.size() < 1) || !pkt.get(version)) {
  ------------------
  |  Branch (1444:9): [True: 240, False: 3.35k]
  |  Branch (1444:29): [True: 0, False: 3.35k]
  ------------------
 1445|    240|        return RNP_ERROR_BAD_FORMAT;
 1446|    240|    }
 1447|  3.35k|    switch ((pgp_ops_version_t) version) {
 1448|  1.04k|    case PGP_OPS_V3:
  ------------------
  |  Branch (1448:5): [True: 1.04k, False: 2.30k]
  ------------------
 1449|  1.04k|        return parse_v3(pkt);
 1450|      0|#if defined(ENABLE_CRYPTO_REFRESH)
 1451|  2.05k|    case PGP_OPS_V6:
  ------------------
  |  Branch (1451:5): [True: 2.05k, False: 1.29k]
  ------------------
 1452|  2.05k|        return parse_v6(pkt);
 1453|      0|#endif
 1454|    253|    default:
  ------------------
  |  Branch (1454:5): [True: 253, False: 3.09k]
  ------------------
 1455|    253|        RNP_LOG("wrong packet version");
  ------------------
  |  |   84|    253|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    253|    do {                                                                                 \
  |  |  |  |   77|    253|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 253, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    253|            break;                                                                       \
  |  |  |  |   79|    253|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1456|    253|        return RNP_ERROR_BAD_FORMAT;
 1457|  3.35k|    }
 1458|  3.35k|}
_ZN18pgp_one_pass_sig_t8parse_v6ER17pgp_packet_body_t:
 1463|  2.05k|{
 1464|  2.05k|    uint8_t buf[4];
 1465|  2.05k|    uint8_t salt_size;
 1466|       |
 1467|       |    /* packet can't be smaller for v6 */
 1468|  2.05k|    const size_t min_size = 54;
 1469|  2.05k|    if ((pkt.size() < min_size)) {
  ------------------
  |  Branch (1469:9): [True: 262, False: 1.79k]
  ------------------
 1470|    262|        return RNP_ERROR_BAD_FORMAT;
 1471|    262|    }
 1472|       |    /* version */
 1473|  1.79k|    version = PGP_OPS_V6;
 1474|  1.79k|    if (!pkt.get(buf, 4)) {
  ------------------
  |  Branch (1474:9): [True: 0, False: 1.79k]
  ------------------
 1475|      0|        return RNP_ERROR_BAD_FORMAT;
 1476|      0|    }
 1477|       |    /* signature type */
 1478|  1.79k|    type = (pgp_sig_type_t) buf[0];
 1479|       |    /* hash algorithm */
 1480|  1.79k|    halg = (pgp_hash_alg_t) buf[1];
 1481|       |    /* pk algorithm */
 1482|  1.79k|    palg = (pgp_pubkey_alg_t) buf[2];
 1483|       |
 1484|       |    /* salt */
 1485|  1.79k|    salt_size = buf[3];
 1486|  1.79k|    size_t expect_salt_size;
 1487|  1.79k|    if (!pgp::pkt::Signature::v6_salt_size(halg, &expect_salt_size)) {
  ------------------
  |  Branch (1487:9): [True: 347, False: 1.44k]
  ------------------
 1488|    347|        RNP_LOG("invalid halg");
  ------------------
  |  |   84|    347|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    347|    do {                                                                                 \
  |  |  |  |   77|    347|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 347, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    347|            break;                                                                       \
  |  |  |  |   79|    347|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1489|    347|        return RNP_ERROR_BAD_FORMAT;
 1490|    347|    }
 1491|  1.44k|    if (salt_size != expect_salt_size) {
  ------------------
  |  Branch (1491:9): [True: 960, False: 486]
  ------------------
 1492|    960|        RNP_LOG("invalid salt size");
  ------------------
  |  |   84|    960|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    960|    do {                                                                                 \
  |  |  |  |   77|    960|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 960, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    960|            break;                                                                       \
  |  |  |  |   79|    960|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1493|    960|        return RNP_ERROR_BAD_FORMAT;
 1494|    960|    }
 1495|    486|    salt.resize(salt_size);
 1496|    486|    if (!pkt.get(salt.data(), salt.size())) {
  ------------------
  |  Branch (1496:9): [True: 0, False: 486]
  ------------------
 1497|      0|        RNP_LOG("failed to get salt");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1498|      0|        return RNP_ERROR_BAD_FORMAT;
 1499|      0|    }
 1500|       |
 1501|       |    /* fingerprint */
 1502|    486|    std::vector<uint8_t> fp_vec;
 1503|    486|    fp_vec.resize(PGP_FINGERPRINT_V6_SIZE);
  ------------------
  |  |   51|    486|#define PGP_FINGERPRINT_V6_SIZE 32
  ------------------
 1504|    486|    if (!pkt.get(fp_vec.data(), fp_vec.size())) {
  ------------------
  |  Branch (1504:9): [True: 207, False: 279]
  ------------------
 1505|    207|        RNP_LOG("failed to get fingerprint");
  ------------------
  |  |   84|    207|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    207|    do {                                                                                 \
  |  |  |  |   77|    207|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 207, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    207|            break;                                                                       \
  |  |  |  |   79|    207|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|    207|        return RNP_ERROR_BAD_FORMAT;
 1507|    207|    }
 1508|    279|    fp = pgp::Fingerprint(fp_vec.data(), fp_vec.size());
 1509|       |
 1510|       |    /* nested flag */
 1511|    279|    if (!pkt.get(buf, 1)) {
  ------------------
  |  Branch (1511:9): [True: 18, False: 261]
  ------------------
 1512|     18|        RNP_LOG("failed to get nested flag");
  ------------------
  |  |   84|     18|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     18|    do {                                                                                 \
  |  |  |  |   77|     18|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 18, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     18|            break;                                                                       \
  |  |  |  |   79|     18|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1513|     18|        return RNP_ERROR_BAD_FORMAT;
 1514|     18|    }
 1515|    261|    nested = buf[0];
 1516|       |
 1517|    261|    if (pkt.left()) {
  ------------------
  |  Branch (1517:9): [True: 261, False: 0]
  ------------------
 1518|    261|        RNP_LOG("trailing bytes in V6 OPS packet.");
  ------------------
  |  |   84|    261|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    261|    do {                                                                                 \
  |  |  |  |   77|    261|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 261, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    261|            break;                                                                       \
  |  |  |  |   79|    261|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1519|    261|        return RNP_ERROR_BAD_FORMAT;
 1520|    261|    }
 1521|      0|    return RNP_SUCCESS;
 1522|    261|}
_ZN18pgp_one_pass_sig_t8parse_v3ER17pgp_packet_body_t:
 1527|  1.04k|{
 1528|  1.04k|    uint8_t buf[12] = {0};
 1529|  1.04k|    if ((pkt.size() != 13) || !pkt.get(buf, 12)) {
  ------------------
  |  Branch (1529:9): [True: 224, False: 819]
  |  Branch (1529:31): [True: 0, False: 819]
  ------------------
 1530|    224|        return RNP_ERROR_BAD_FORMAT;
 1531|    224|    }
 1532|       |    /* signature type */
 1533|    819|    type = (pgp_sig_type_t) buf[0];
 1534|       |    /* hash algorithm */
 1535|    819|    halg = (pgp_hash_alg_t) buf[1];
 1536|       |    /* pk algorithm */
 1537|    819|    palg = (pgp_pubkey_alg_t) buf[2];
 1538|       |    /* key id */
 1539|    819|    static_assert(std::tuple_size<decltype(keyid)>::value == PGP_KEY_ID_SIZE,
 1540|    819|                  "pgp_one_pass_sig_t.keyid size mismatch");
 1541|    819|    memcpy(keyid.data(), &buf[3], PGP_KEY_ID_SIZE);
  ------------------
  |  |   39|    819|#define PGP_KEY_ID_SIZE 8
  ------------------
 1542|       |    /* nested flag */
 1543|    819|    nested = buf[11];
 1544|    819|    return RNP_SUCCESS;
 1545|  1.04k|}
stream-packet.cpp:_ZL11get_pkt_lenPhPm:
  138|  3.28M|{
  139|  3.28M|    if (hdr[0] & PGP_PTAG_NEW_FORMAT) {
  ------------------
  |  |   56|  3.28M|#define PGP_PTAG_NEW_FORMAT 0x40
  ------------------
  |  Branch (139:9): [True: 2.63M, False: 646k]
  ------------------
  140|       |        // 1-byte length
  141|  2.63M|        if (hdr[1] < 192) {
  ------------------
  |  Branch (141:13): [True: 2.52M, False: 111k]
  ------------------
  142|  2.52M|            *pktlen = hdr[1];
  143|  2.52M|            return true;
  144|  2.52M|        }
  145|       |        // 2-byte length
  146|   111k|        if (hdr[1] < 224) {
  ------------------
  |  Branch (146:13): [True: 109k, False: 2.24k]
  ------------------
  147|   109k|            *pktlen = ((size_t)(hdr[1] - 192) << 8) + (size_t) hdr[2] + 192;
  148|   109k|            return true;
  149|   109k|        }
  150|       |        // partial length - we do not allow it here
  151|  2.24k|        if (hdr[1] < 255) {
  ------------------
  |  Branch (151:13): [True: 412, False: 1.83k]
  ------------------
  152|    412|            return false;
  153|    412|        }
  154|       |        // 4-byte length
  155|  1.83k|        *pktlen = read_uint32(&hdr[2]);
  156|  1.83k|        return true;
  157|  2.24k|    }
  158|       |
  159|   646k|    switch (hdr[0] & PGP_PTAG_OF_LENGTH_TYPE_MASK) {
  ------------------
  |  |   83|   646k|#define PGP_PTAG_OF_LENGTH_TYPE_MASK 0x03
  ------------------
  160|   568k|    case PGP_PTAG_OLD_LEN_1:
  ------------------
  |  Branch (160:5): [True: 568k, False: 78.3k]
  ------------------
  161|   568k|        *pktlen = hdr[1];
  162|   568k|        return true;
  163|  35.8k|    case PGP_PTAG_OLD_LEN_2:
  ------------------
  |  Branch (163:5): [True: 35.8k, False: 610k]
  ------------------
  164|  35.8k|        *pktlen = read_uint16(&hdr[1]);
  165|  35.8k|        return true;
  166|  24.9k|    case PGP_PTAG_OLD_LEN_4:
  ------------------
  |  Branch (166:5): [True: 24.9k, False: 621k]
  ------------------
  167|  24.9k|        *pktlen = read_uint32(&hdr[1]);
  168|  24.9k|        return true;
  169|  17.4k|    default:
  ------------------
  |  Branch (169:5): [True: 17.4k, False: 629k]
  ------------------
  170|  17.4k|        return false;
  171|   646k|    }
  172|   646k|}
stream-packet.cpp:_ZL26stream_read_packet_partialP12pgp_source_tP10pgp_dest_t:
  307|  5.30k|{
  308|  5.30k|    uint8_t hdr = 0;
  309|  5.30k|    if (!src->read_eq(&hdr, 1)) {
  ------------------
  |  Branch (309:9): [True: 0, False: 5.30k]
  ------------------
  310|      0|        return RNP_ERROR_READ;
  311|      0|    }
  312|       |
  313|  5.30k|    bool   last = false;
  314|  5.30k|    size_t partlen = 0;
  315|  5.30k|    if (!stream_read_partial_chunk_len(src, &partlen, &last)) {
  ------------------
  |  Branch (315:9): [True: 0, False: 5.30k]
  ------------------
  316|      0|        return RNP_ERROR_BAD_FORMAT;
  317|      0|    }
  318|       |
  319|  5.30k|    uint8_t *buf = (uint8_t *) malloc(PGP_INPUT_CACHE_SIZE);
  ------------------
  |  |   35|  5.30k|#define PGP_INPUT_CACHE_SIZE 32768
  ------------------
  320|  5.30k|    if (!buf) {
  ------------------
  |  Branch (320:9): [True: 0, False: 5.30k]
  ------------------
  321|      0|        return RNP_ERROR_OUT_OF_MEMORY;
  322|      0|    }
  323|       |
  324|  16.9M|    while (partlen > 0) {
  ------------------
  |  Branch (324:12): [True: 16.9M, False: 801]
  ------------------
  325|  16.9M|        size_t read = std::min(partlen, (size_t) PGP_INPUT_CACHE_SIZE);
  ------------------
  |  |   35|  16.9M|#define PGP_INPUT_CACHE_SIZE 32768
  ------------------
  326|  16.9M|        if (!src->read_eq(buf, read)) {
  ------------------
  |  Branch (326:13): [True: 742, False: 16.9M]
  ------------------
  327|    742|            free(buf);
  328|    742|            return RNP_ERROR_READ;
  329|    742|        }
  330|  16.9M|        if (dst) {
  ------------------
  |  Branch (330:13): [True: 14.1M, False: 2.88M]
  ------------------
  331|  14.1M|            dst_write(dst, buf, read);
  332|  14.1M|        }
  333|  16.9M|        partlen -= read;
  334|  16.9M|        if (partlen > 0) {
  ------------------
  |  Branch (334:13): [True: 392k, False: 16.5M]
  ------------------
  335|   392k|            continue;
  336|   392k|        }
  337|  16.5M|        if (last) {
  ------------------
  |  Branch (337:13): [True: 3.56k, False: 16.5M]
  ------------------
  338|  3.56k|            break;
  339|  3.56k|        }
  340|  16.5M|        if (!stream_read_partial_chunk_len(src, &partlen, &last)) {
  ------------------
  |  Branch (340:13): [True: 192, False: 16.5M]
  ------------------
  341|    192|            free(buf);
  342|    192|            return RNP_ERROR_BAD_FORMAT;
  343|    192|        }
  344|  16.5M|    }
  345|  4.36k|    free(buf);
  346|  4.36k|    return RNP_SUCCESS;
  347|  5.30k|}

_ZN16pgp_userid_pkt_tC2Ev:
  248|   231k|    pgp_userid_pkt_t() : tag(PGP_PKT_RESERVED){};

_Z16init_literal_srcP12pgp_source_tS0_:
 2037|  10.1k|{
 2038|  10.1k|    rnp_result_t                ret = RNP_ERROR_GENERIC;
 2039|  10.1k|    pgp_source_literal_param_t *param;
 2040|  10.1k|    uint8_t                     format = 0;
 2041|  10.1k|    uint8_t                     nlen = 0;
 2042|  10.1k|    uint8_t                     timestamp[4];
 2043|       |
 2044|  10.1k|    if (!init_src_common(src, sizeof(*param))) {
  ------------------
  |  Branch (2044:9): [True: 0, False: 10.1k]
  ------------------
 2045|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2046|      0|    }
 2047|       |
 2048|  10.1k|    param = (pgp_source_literal_param_t *) src->param;
 2049|  10.1k|    param->pkt.readsrc = readsrc;
 2050|  10.1k|    src->raw_read = literal_src_read;
 2051|  10.1k|    src->raw_close = literal_src_close;
 2052|  10.1k|    src->type = PGP_STREAM_LITERAL;
 2053|       |
 2054|       |    /* Reading packet length/checking whether it is partial */
 2055|  10.1k|    if ((ret = init_packet_params(param->pkt))) {
  ------------------
  |  Branch (2055:9): [True: 10, False: 10.1k]
  ------------------
 2056|     10|        goto finish;
 2057|     10|    }
 2058|       |
 2059|       |    /* data format */
 2060|  10.1k|    if (!param->pkt.readsrc->read_eq(&format, 1)) {
  ------------------
  |  Branch (2060:9): [True: 144, False: 9.97k]
  ------------------
 2061|    144|        RNP_LOG("failed to read data format");
  ------------------
  |  |   84|    144|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    144|    do {                                                                                 \
  |  |  |  |   77|    144|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 144, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    144|            break;                                                                       \
  |  |  |  |   79|    144|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2062|    144|        ret = RNP_ERROR_READ;
 2063|    144|        goto finish;
 2064|    144|    }
 2065|       |
 2066|  9.97k|    switch (format) {
 2067|    169|    case 'b':
  ------------------
  |  Branch (2067:5): [True: 169, False: 9.80k]
  ------------------
 2068|    263|    case 't':
  ------------------
  |  Branch (2068:5): [True: 94, False: 9.87k]
  ------------------
 2069|    360|    case 'u':
  ------------------
  |  Branch (2069:5): [True: 97, False: 9.87k]
  ------------------
 2070|    442|    case 'l':
  ------------------
  |  Branch (2070:5): [True: 82, False: 9.88k]
  ------------------
 2071|    584|    case '1':
  ------------------
  |  Branch (2071:5): [True: 142, False: 9.82k]
  ------------------
 2072|    672|    case 'm':
  ------------------
  |  Branch (2072:5): [True: 88, False: 9.88k]
  ------------------
 2073|    672|        break;
 2074|  9.29k|    default:
  ------------------
  |  Branch (2074:5): [True: 9.29k, False: 672]
  ------------------
 2075|  9.29k|        RNP_LOG("Warning: unknown data format %" PRIu8 ", ignoring.", format);
  ------------------
  |  |   84|  9.29k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  9.29k|    do {                                                                                 \
  |  |  |  |   77|  9.29k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 9.29k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  9.29k|            break;                                                                       \
  |  |  |  |   79|  9.29k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2076|  9.29k|        break;
 2077|  9.97k|    }
 2078|  9.97k|    param->hdr.format = format;
 2079|       |    /* file name */
 2080|  9.97k|    if (!param->pkt.readsrc->read_eq(&nlen, 1)) {
  ------------------
  |  Branch (2080:9): [True: 167, False: 9.80k]
  ------------------
 2081|    167|        RNP_LOG("failed to read file name length");
  ------------------
  |  |   84|    167|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    167|    do {                                                                                 \
  |  |  |  |   77|    167|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 167, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    167|            break;                                                                       \
  |  |  |  |   79|    167|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2082|    167|        ret = RNP_ERROR_READ;
 2083|    167|        goto finish;
 2084|    167|    }
 2085|  9.80k|    if (nlen && !param->pkt.readsrc->read_eq(param->hdr.fname, nlen)) {
  ------------------
  |  Branch (2085:9): [True: 7.20k, False: 2.59k]
  |  Branch (2085:17): [True: 6.11k, False: 1.09k]
  ------------------
 2086|  6.11k|        RNP_LOG("failed to read file name");
  ------------------
  |  |   84|  6.11k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  6.11k|    do {                                                                                 \
  |  |  |  |   77|  6.11k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 6.11k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  6.11k|            break;                                                                       \
  |  |  |  |   79|  6.11k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2087|  6.11k|        ret = RNP_ERROR_READ;
 2088|  6.11k|        goto finish;
 2089|  6.11k|    }
 2090|  3.69k|    param->hdr.fname[nlen] = 0;
 2091|  3.69k|    param->hdr.fname_len = nlen;
 2092|       |    /* timestamp */
 2093|  3.69k|    if (!param->pkt.readsrc->read_eq(timestamp, 4)) {
  ------------------
  |  Branch (2093:9): [True: 91, False: 3.60k]
  ------------------
 2094|     91|        RNP_LOG("failed to read file timestamp");
  ------------------
  |  |   84|     91|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     91|    do {                                                                                 \
  |  |  |  |   77|     91|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 91, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     91|            break;                                                                       \
  |  |  |  |   79|     91|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2095|     91|        ret = RNP_ERROR_READ;
 2096|     91|        goto finish;
 2097|     91|    }
 2098|  3.60k|    param->hdr.timestamp = read_uint32(timestamp);
 2099|       |
 2100|  3.60k|    if (!param->pkt.hdr.indeterminate && !param->pkt.hdr.partial) {
  ------------------
  |  Branch (2100:9): [True: 3.50k, False: 100]
  |  Branch (2100:42): [True: 3.33k, False: 164]
  ------------------
 2101|       |        /* format filename-length filename timestamp */
 2102|  3.33k|        const uint16_t nbytes = 1 + 1 + nlen + 4;
 2103|  3.33k|        if (param->pkt.hdr.pkt_len < nbytes) {
  ------------------
  |  Branch (2103:13): [True: 448, False: 2.89k]
  ------------------
 2104|    448|            ret = RNP_ERROR_BAD_FORMAT;
 2105|    448|            goto finish;
 2106|    448|        }
 2107|  2.89k|        src->size = param->pkt.hdr.pkt_len - nbytes;
 2108|  2.89k|        src->knownsize = 1;
 2109|  2.89k|    }
 2110|  3.15k|    ret = RNP_SUCCESS;
 2111|  10.1k|finish:
 2112|  10.1k|    if (ret) {
  ------------------
  |  Branch (2112:9): [True: 6.97k, False: 3.15k]
  ------------------
 2113|  6.97k|        src->close();
 2114|  6.97k|    }
 2115|  10.1k|    return ret;
 2116|  3.15k|}
_Z19get_literal_src_hdrR12pgp_source_t:
 2120|  3.15k|{
 2121|  3.15k|    return (static_cast<pgp_source_literal_param_t *>(src.param))->hdr;
 2122|  3.15k|}
_Z19init_compressed_srcP12pgp_source_tS0_Pm:
 2126|  40.0k|{
 2127|  40.0k|    rnp_result_t                   errcode = RNP_ERROR_GENERIC;
 2128|  40.0k|    pgp_source_compressed_param_t *param;
 2129|  40.0k|    uint8_t                        alg;
 2130|  40.0k|    int                            zret;
 2131|       |
 2132|  40.0k|    if (!init_src_common(src, sizeof(*param))) {
  ------------------
  |  Branch (2132:9): [True: 0, False: 40.0k]
  ------------------
 2133|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
 2134|      0|    }
 2135|       |
 2136|  40.0k|    param = (pgp_source_compressed_param_t *) src->param;
 2137|  40.0k|    param->pkt.readsrc = readsrc;
 2138|  40.0k|    param->decomp_left = decomp_left;
 2139|  40.0k|    src->raw_read = compressed_src_read;
 2140|  40.0k|    src->raw_close = compressed_src_close;
 2141|  40.0k|    src->type = PGP_STREAM_COMPRESSED;
 2142|       |
 2143|       |    /* Reading packet length/checking whether it is partial */
 2144|  40.0k|    errcode = init_packet_params(param->pkt);
 2145|  40.0k|    if (errcode != RNP_SUCCESS) {
  ------------------
  |  Branch (2145:9): [True: 11, False: 40.0k]
  ------------------
 2146|     11|        goto finish;
 2147|     11|    }
 2148|       |
 2149|       |    /* Reading compression algorithm */
 2150|  40.0k|    if (!param->pkt.readsrc->read_eq(&alg, 1)) {
  ------------------
  |  Branch (2150:9): [True: 282, False: 39.7k]
  ------------------
 2151|    282|        RNP_LOG("failed to read compression algorithm");
  ------------------
  |  |   84|    282|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    282|    do {                                                                                 \
  |  |  |  |   77|    282|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 282, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    282|            break;                                                                       \
  |  |  |  |   79|    282|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|    282|        errcode = RNP_ERROR_READ;
 2153|    282|        goto finish;
 2154|    282|    }
 2155|       |
 2156|       |    /* Initializing decompression */
 2157|  39.7k|    switch (alg) {
 2158|  9.07k|    case PGP_C_NONE:
  ------------------
  |  Branch (2158:5): [True: 9.07k, False: 30.6k]
  ------------------
 2159|  9.07k|        break;
 2160|  28.3k|    case PGP_C_ZIP:
  ------------------
  |  Branch (2160:5): [True: 28.3k, False: 11.3k]
  ------------------
 2161|  28.4k|    case PGP_C_ZLIB:
  ------------------
  |  Branch (2161:5): [True: 115, False: 39.6k]
  ------------------
 2162|  28.4k|        (void) memset(&param->z, 0x0, sizeof(param->z));
 2163|  28.4k|        zret =
 2164|  28.4k|          alg == PGP_C_ZIP ? (int) inflateInit2(&param->z, -15) : (int) inflateInit(&param->z);
  ------------------
  |  Branch (2164:11): [True: 28.3k, False: 115]
  ------------------
 2165|  28.4k|        if (zret != Z_OK) {
  ------------------
  |  Branch (2165:13): [True: 0, False: 28.4k]
  ------------------
 2166|      0|            RNP_LOG("failed to init zlib, error %d", zret);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2167|      0|            errcode = RNP_ERROR_READ;
 2168|      0|            goto finish;
 2169|      0|        }
 2170|  28.4k|        break;
 2171|  28.4k|#ifdef HAVE_BZLIB_H
 2172|  28.4k|    case PGP_C_BZIP2:
  ------------------
  |  Branch (2172:5): [True: 415, False: 39.3k]
  ------------------
 2173|    415|        (void) memset(&param->bz, 0x0, sizeof(param->bz));
 2174|    415|        zret = BZ2_bzDecompressInit(&param->bz, 0, 0);
 2175|    415|        if (zret != BZ_OK) {
  ------------------
  |  Branch (2175:13): [True: 0, False: 415]
  ------------------
 2176|      0|            RNP_LOG("failed to init bz, error %d", zret);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2177|      0|            errcode = RNP_ERROR_READ;
 2178|      0|            goto finish;
 2179|      0|        }
 2180|    415|        break;
 2181|    415|#endif
 2182|  1.77k|    default:
  ------------------
  |  Branch (2182:5): [True: 1.77k, False: 37.9k]
  ------------------
 2183|  1.77k|        RNP_LOG("unknown compression algorithm: %d", (int) alg);
  ------------------
  |  |   84|  1.77k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.77k|    do {                                                                                 \
  |  |  |  |   77|  1.77k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.77k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.77k|            break;                                                                       \
  |  |  |  |   79|  1.77k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2184|  1.77k|        errcode = RNP_ERROR_BAD_FORMAT;
 2185|  1.77k|        goto finish;
 2186|  39.7k|    }
 2187|  37.9k|    param->alg = (pgp_compression_type_t) alg;
 2188|  37.9k|    param->inlen = 0;
 2189|  37.9k|    param->inpos = 0;
 2190|       |
 2191|  37.9k|    errcode = RNP_SUCCESS;
 2192|  40.0k|finish:
 2193|  40.0k|    if (errcode != RNP_SUCCESS) {
  ------------------
  |  Branch (2193:9): [True: 2.06k, False: 37.9k]
  ------------------
 2194|  2.06k|        src->close();
 2195|  2.06k|    }
 2196|  40.0k|    return errcode;
 2197|  37.9k|}
_Z22get_compressed_src_algP12pgp_source_tPh:
 2201|  37.9k|{
 2202|  37.9k|    pgp_source_compressed_param_t *param;
 2203|       |
 2204|  37.9k|    if (src->type != PGP_STREAM_COMPRESSED) {
  ------------------
  |  Branch (2204:9): [True: 0, False: 37.9k]
  ------------------
 2205|      0|        RNP_LOG("wrong stream");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2206|      0|        return false;
 2207|      0|    }
 2208|       |
 2209|  37.9k|    param = (pgp_source_compressed_param_t *) src->param;
 2210|  37.9k|    *alg = param->alg;
 2211|  37.9k|    return true;
 2212|  37.9k|}
_Z16get_aead_src_hdrP12pgp_source_tP14pgp_aead_hdr_t:
 2250|    782|{
 2251|    782|    uint8_t hdrbt[4] = {0};
 2252|       |
 2253|    782|    if (!src->read_eq(hdrbt, 4)) {
  ------------------
  |  Branch (2253:9): [True: 176, False: 606]
  ------------------
 2254|    176|        return false;
 2255|    176|    }
 2256|       |
 2257|    606|    hdr->version = hdrbt[0];
 2258|    606|    hdr->ealg = (pgp_symm_alg_t) hdrbt[1];
 2259|    606|    hdr->aalg = (pgp_aead_alg_t) hdrbt[2];
 2260|    606|    hdr->csize = hdrbt[3];
 2261|       |
 2262|    606|    if (!(hdr->ivlen = pgp_cipher_aead_nonce_len(hdr->aalg))) {
  ------------------
  |  Branch (2262:9): [True: 413, False: 193]
  ------------------
 2263|    413|        RNP_LOG("wrong aead nonce length: alg %d", (int) hdr->aalg);
  ------------------
  |  |   84|    413|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    413|    do {                                                                                 \
  |  |  |  |   77|    413|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 413, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    413|            break;                                                                       \
  |  |  |  |   79|    413|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2264|    413|        return false;
 2265|    413|    }
 2266|       |
 2267|    193|    return src->read_eq(hdr->iv, hdr->ivlen);
 2268|    606|}
stream-parse.cpp:_ZL16literal_src_readP12pgp_source_tPvmPm:
  344|   493k|{
  345|   493k|    pgp_source_literal_param_t *param = (pgp_source_literal_param_t *) src->param;
  346|   493k|    if (!param) {
  ------------------
  |  Branch (346:9): [True: 0, False: 493k]
  ------------------
  347|      0|        return false;
  348|      0|    }
  349|   493k|    return param->pkt.readsrc->read(buf, len, read);
  350|   493k|}
stream-parse.cpp:_ZL17literal_src_closeP12pgp_source_t:
  354|  17.0k|{
  355|  17.0k|    pgp_source_literal_param_t *param = (pgp_source_literal_param_t *) src->param;
  356|  17.0k|    if (param) {
  ------------------
  |  Branch (356:9): [True: 10.1k, False: 6.97k]
  ------------------
  357|  10.1k|        if (param->pkt.hdr.partial) {
  ------------------
  |  Branch (357:13): [True: 499, False: 9.62k]
  ------------------
  358|    499|            param->pkt.readsrc->close();
  359|    499|            free(param->pkt.readsrc);
  360|    499|            param->pkt.readsrc = NULL;
  361|    499|        }
  362|       |
  363|  10.1k|        free(src->param);
  364|       |        src->param = NULL;
  365|  10.1k|    }
  366|  17.0k|}
stream-parse.cpp:_ZL18init_packet_paramsR25pgp_source_packet_param_t:
 2007|  50.1k|{
 2008|  50.1k|    param.origsrc = NULL;
 2009|       |
 2010|       |    /* save packet header */
 2011|  50.1k|    rnp_result_t ret = stream_peek_packet_hdr(param.readsrc, &param.hdr);
 2012|  50.1k|    if (ret) {
  ------------------
  |  Branch (2012:9): [True: 21, False: 50.1k]
  ------------------
 2013|     21|        return ret;
 2014|     21|    }
 2015|  50.1k|    param.readsrc->skip(param.hdr.hdr_len);
 2016|  50.1k|    if (!param.hdr.partial) {
  ------------------
  |  Branch (2016:9): [True: 25.0k, False: 25.0k]
  ------------------
 2017|  25.0k|        return RNP_SUCCESS;
 2018|  25.0k|    }
 2019|       |
 2020|       |    /* initialize partial reader if needed */
 2021|  25.0k|    pgp_source_t *partsrc = (pgp_source_t *) calloc(1, sizeof(*partsrc));
 2022|  25.0k|    if (!partsrc) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 25.0k]
  ------------------
 2023|      0|        return RNP_ERROR_OUT_OF_MEMORY;
 2024|      0|    }
 2025|  25.0k|    rnp_result_t errcode = init_partial_pkt_src(partsrc, param.readsrc, param.hdr);
 2026|  25.0k|    if (errcode) {
  ------------------
  |  Branch (2026:9): [True: 0, False: 25.0k]
  ------------------
 2027|      0|        free(partsrc);
 2028|      0|        return errcode;
 2029|      0|    }
 2030|  25.0k|    param.origsrc = param.readsrc;
 2031|  25.0k|    param.readsrc = partsrc;
 2032|  25.0k|    return RNP_SUCCESS;
 2033|  25.0k|}
stream-parse.cpp:_ZL20init_partial_pkt_srcP12pgp_source_tS0_R16pgp_packet_hdr_t:
  314|  25.0k|{
  315|  25.0k|    pgp_source_partial_param_t *param;
  316|  25.0k|    if (!init_src_common(src, sizeof(*param))) {
  ------------------
  |  Branch (316:9): [True: 0, False: 25.0k]
  ------------------
  317|      0|        return RNP_ERROR_OUT_OF_MEMORY; // LCOV_EXCL_LINE
  318|      0|    }
  319|       |
  320|  25.0k|    assert(hdr.partial);
  321|       |    /* we are sure that header is indeterminate */
  322|  25.0k|    param = (pgp_source_partial_param_t *) src->param;
  323|  25.0k|    param->type = hdr.tag;
  324|  25.0k|    param->psize = get_partial_pkt_len(hdr.hdr[1]);
  325|  25.0k|    param->pleft = param->psize;
  326|  25.0k|    param->last = false;
  327|  25.0k|    param->readsrc = readsrc;
  328|       |
  329|  25.0k|    src->raw_read = partial_pkt_src_read;
  330|  25.0k|    src->raw_close = partial_pkt_src_close;
  331|  25.0k|    src->type = PGP_STREAM_PARLEN_PACKET;
  332|       |
  333|  25.0k|    if (param->psize < PGP_PARTIAL_PKT_FIRST_PART_MIN_SIZE) {
  ------------------
  |  |   38|  25.0k|#define PGP_PARTIAL_PKT_FIRST_PART_MIN_SIZE 512
  ------------------
  |  Branch (333:9): [True: 8.20k, False: 16.8k]
  ------------------
  334|  8.20k|        RNP_LOG("first part of partial length packet sequence has size %d and that's less "
  ------------------
  |  |   84|  8.20k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  8.20k|    do {                                                                                 \
  |  |  |  |   77|  8.20k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 8.20k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  8.20k|            break;                                                                       \
  |  |  |  |   79|  8.20k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  335|  8.20k|                "than allowed by the protocol",
  336|  8.20k|                (int) param->psize);
  337|  8.20k|    }
  338|       |
  339|  25.0k|    return RNP_SUCCESS;
  340|  25.0k|}
stream-parse.cpp:_ZL20partial_pkt_src_readP12pgp_source_tPvmPm:
  249|   534k|{
  250|   534k|    if (src->eof_) {
  ------------------
  |  Branch (250:9): [True: 0, False: 534k]
  ------------------
  251|      0|        *readres = 0;
  252|      0|        return true;
  253|      0|    }
  254|       |
  255|   534k|    pgp_source_partial_param_t *param = (pgp_source_partial_param_t *) src->param;
  256|   534k|    if (!param) {
  ------------------
  |  Branch (256:9): [True: 0, False: 534k]
  ------------------
  257|      0|        return false;
  258|      0|    }
  259|       |
  260|   534k|    size_t read;
  261|   534k|    size_t write = 0;
  262|  1.84M|    while (len > 0) {
  ------------------
  |  Branch (262:12): [True: 1.36M, False: 485k]
  ------------------
  263|  1.36M|        if (!param->pleft && param->last) {
  ------------------
  |  Branch (263:13): [True: 864k, False: 498k]
  |  Branch (263:30): [True: 7.09k, False: 857k]
  ------------------
  264|       |            // we have the last chunk
  265|  7.09k|            *readres = write;
  266|  7.09k|            return true;
  267|  7.09k|        }
  268|  1.35M|        if (!param->pleft) {
  ------------------
  |  Branch (268:13): [True: 857k, False: 498k]
  ------------------
  269|       |            // reading next chunk
  270|   857k|            if (!stream_read_partial_chunk_len(param->readsrc, &read, &param->last)) {
  ------------------
  |  Branch (270:17): [True: 124, False: 857k]
  ------------------
  271|    124|                return false;
  272|    124|            }
  273|   857k|            param->psize = read;
  274|   857k|            param->pleft = read;
  275|   857k|        }
  276|       |
  277|  1.35M|        if (!param->pleft) {
  ------------------
  |  Branch (277:13): [True: 3.81k, False: 1.35M]
  ------------------
  278|  3.81k|            *readres = write;
  279|  3.81k|            return true;
  280|  3.81k|        }
  281|       |
  282|  1.35M|        read = param->pleft > len ? len : param->pleft;
  ------------------
  |  Branch (282:16): [True: 440k, False: 911k]
  ------------------
  283|  1.35M|        if (!param->readsrc->read(buf, read, &read)) {
  ------------------
  |  Branch (283:13): [True: 214, False: 1.35M]
  ------------------
  284|    214|            RNP_LOG("failed to read data chunk");
  ------------------
  |  |   84|    214|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    214|    do {                                                                                 \
  |  |  |  |   77|    214|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 214, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    214|            break;                                                                       \
  |  |  |  |   79|    214|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  285|    214|            return false;
  286|    214|        }
  287|  1.35M|        if (!read) {
  ------------------
  |  Branch (287:13): [True: 37.8k, False: 1.31M]
  ------------------
  288|  37.8k|            RNP_LOG("unexpected eof");
  ------------------
  |  |   84|  37.8k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  37.8k|    do {                                                                                 \
  |  |  |  |   77|  37.8k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 37.8k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  37.8k|            break;                                                                       \
  |  |  |  |   79|  37.8k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  289|  37.8k|            *readres = write;
  290|  37.8k|            return true;
  291|  37.8k|        }
  292|  1.31M|        write += read;
  293|  1.31M|        len -= read;
  294|  1.31M|        buf = (uint8_t *) buf + read;
  295|  1.31M|        param->pleft -= read;
  296|  1.31M|    }
  297|       |
  298|   485k|    *readres = write;
  299|   485k|    return true;
  300|   534k|}
stream-parse.cpp:_ZL21partial_pkt_src_closeP12pgp_source_t:
  304|  25.0k|{
  305|  25.0k|    pgp_source_partial_param_t *param = (pgp_source_partial_param_t *) src->param;
  306|  25.0k|    if (param) {
  ------------------
  |  Branch (306:9): [True: 25.0k, False: 0]
  ------------------
  307|  25.0k|        free(src->param);
  308|       |        src->param = NULL;
  309|  25.0k|    }
  310|  25.0k|}
stream-parse.cpp:_ZL19compressed_src_readP12pgp_source_tPvmPm:
  385|   981k|{
  386|   981k|    pgp_source_compressed_param_t *param = (pgp_source_compressed_param_t *) src->param;
  387|   981k|    if (!param) {
  ------------------
  |  Branch (387:9): [True: 0, False: 981k]
  ------------------
  388|      0|        return false; // LCOV_EXCL_LINE
  389|      0|    }
  390|       |
  391|   981k|    if (src->eof_ || param->zend) {
  ------------------
  |  Branch (391:9): [True: 0, False: 981k]
  |  Branch (391:22): [True: 12.2k, False: 968k]
  ------------------
  392|  12.2k|        *readres = 0;
  393|  12.2k|        return true;
  394|  12.2k|    }
  395|       |
  396|   968k|    if (param->alg == PGP_C_NONE) {
  ------------------
  |  Branch (396:9): [True: 30.4k, False: 938k]
  ------------------
  397|  30.4k|        if (!param->pkt.readsrc->read(buf, len, readres)) {
  ------------------
  |  Branch (397:13): [True: 462, False: 29.9k]
  ------------------
  398|    462|            RNP_LOG("failed to read uncompressed data");
  ------------------
  |  |   84|    462|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    462|    do {                                                                                 \
  |  |  |  |   77|    462|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 462, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    462|            break;                                                                       \
  |  |  |  |   79|    462|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|    462|            return false;
  400|    462|        }
  401|  29.9k|        return compressed_budget_consume(param, *readres);
  402|  30.4k|    }
  403|   938k|    if ((param->alg == PGP_C_ZIP) || (param->alg == PGP_C_ZLIB)) {
  ------------------
  |  Branch (403:9): [True: 445k, False: 493k]
  |  Branch (403:38): [True: 257, False: 492k]
  ------------------
  404|   445k|        param->z.next_out = (Bytef *) buf;
  405|   445k|        param->z.avail_out = len;
  406|   445k|        param->z.next_in = param->in + param->inpos;
  407|   445k|        param->z.avail_in = param->inlen - param->inpos;
  408|       |
  409|   876k|        while ((param->z.avail_out > 0) && (!param->zend)) {
  ------------------
  |  Branch (409:16): [True: 458k, False: 417k]
  |  Branch (409:44): [True: 458k, False: 0]
  ------------------
  410|   458k|            if (param->z.avail_in == 0) {
  ------------------
  |  Branch (410:17): [True: 41.2k, False: 417k]
  ------------------
  411|  41.2k|                size_t read = 0;
  412|  41.2k|                if (!param->pkt.readsrc->read(param->in, sizeof(param->in), &read)) {
  ------------------
  |  Branch (412:21): [True: 115, False: 41.1k]
  ------------------
  413|    115|                    RNP_LOG("failed to read data");
  ------------------
  |  |   84|    115|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    115|    do {                                                                                 \
  |  |  |  |   77|    115|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 115, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    115|            break;                                                                       \
  |  |  |  |   79|    115|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|    115|                    return false;
  415|    115|                }
  416|  41.1k|                param->z.next_in = param->in;
  417|  41.1k|                param->z.avail_in = read;
  418|  41.1k|                param->inlen = read;
  419|  41.1k|                param->inpos = 0;
  420|  41.1k|            }
  421|   458k|            int ret = inflate(&param->z, Z_SYNC_FLUSH);
  422|   458k|            if (ret == Z_STREAM_END) {
  ------------------
  |  Branch (422:17): [True: 14.4k, False: 443k]
  ------------------
  423|  14.4k|                param->zend = true;
  424|  14.4k|                if (param->z.avail_in > 0) {
  ------------------
  |  Branch (424:21): [True: 3.16k, False: 11.2k]
  ------------------
  425|  3.16k|                    RNP_LOG("data beyond the end of z stream");
  ------------------
  |  |   84|  3.16k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  3.16k|    do {                                                                                 \
  |  |  |  |   77|  3.16k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 3.16k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  3.16k|            break;                                                                       \
  |  |  |  |   79|  3.16k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|  3.16k|                }
  427|  14.4k|                break;
  428|  14.4k|            }
  429|   443k|            if (ret != Z_OK) {
  ------------------
  |  Branch (429:17): [True: 12.3k, False: 431k]
  ------------------
  430|  12.3k|                RNP_LOG("inflate error %d", ret);
  ------------------
  |  |   84|  12.3k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  12.3k|    do {                                                                                 \
  |  |  |  |   77|  12.3k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 12.3k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  12.3k|            break;                                                                       \
  |  |  |  |   79|  12.3k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  431|  12.3k|                return false;
  432|  12.3k|            }
  433|   431k|            if (!param->z.avail_in && param->pkt.readsrc->eof()) {
  ------------------
  |  Branch (433:17): [True: 13.8k, False: 417k]
  |  Branch (433:39): [True: 1.06k, False: 12.7k]
  ------------------
  434|  1.06k|                RNP_LOG("unexpected end of zlib stream");
  ------------------
  |  |   84|  1.06k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.06k|    do {                                                                                 \
  |  |  |  |   77|  1.06k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.06k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.06k|            break;                                                                       \
  |  |  |  |   79|  1.06k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  435|  1.06k|                return false;
  436|  1.06k|            }
  437|   431k|        }
  438|   432k|        param->inpos = param->z.next_in - param->in;
  439|   432k|        *readres = len - param->z.avail_out;
  440|   432k|        return compressed_budget_consume(param, *readres);
  441|   445k|    }
  442|   492k|#ifdef HAVE_BZLIB_H
  443|   492k|    if (param->alg == PGP_C_BZIP2) {
  ------------------
  |  Branch (443:9): [True: 492k, False: 0]
  ------------------
  444|   492k|        param->bz.next_out = (char *) buf;
  445|   492k|        param->bz.avail_out = len;
  446|   492k|        param->bz.next_in = (char *) (param->in + param->inpos);
  447|   492k|        param->bz.avail_in = param->inlen - param->inpos;
  448|       |
  449|   985k|        while ((param->bz.avail_out > 0) && (!param->zend)) {
  ------------------
  |  Branch (449:16): [True: 492k, False: 492k]
  |  Branch (449:45): [True: 492k, False: 0]
  ------------------
  450|   492k|            if (param->bz.avail_in == 0) {
  ------------------
  |  Branch (450:17): [True: 481, False: 492k]
  ------------------
  451|    481|                size_t read = 0;
  452|    481|                if (!param->pkt.readsrc->read(param->in, sizeof(param->in), &read)) {
  ------------------
  |  Branch (452:21): [True: 17, False: 464]
  ------------------
  453|     17|                    RNP_LOG("failed to read data");
  ------------------
  |  |   84|     17|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     17|    do {                                                                                 \
  |  |  |  |   77|     17|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 17, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     17|            break;                                                                       \
  |  |  |  |   79|     17|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|     17|                    return false;
  455|     17|                }
  456|    464|                param->bz.next_in = (char *) param->in;
  457|    464|                param->bz.avail_in = read;
  458|    464|                param->inlen = read;
  459|    464|                param->inpos = 0;
  460|    464|            }
  461|   492k|            int ret = BZ2_bzDecompress(&param->bz);
  462|   492k|            if (ret == BZ_STREAM_END) {
  ------------------
  |  Branch (462:17): [True: 22, False: 492k]
  ------------------
  463|     22|                param->zend = true;
  464|     22|                if (param->bz.avail_in > 0) {
  ------------------
  |  Branch (464:21): [True: 0, False: 22]
  ------------------
  465|      0|                    RNP_LOG("data beyond the end of z stream");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|      0|                }
  467|     22|                break;
  468|     22|            }
  469|   492k|            if (ret != BZ_OK) {
  ------------------
  |  Branch (469:17): [True: 196, False: 492k]
  ------------------
  470|    196|                RNP_LOG("bzdecompress error %d", ret);
  ------------------
  |  |   84|    196|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    196|    do {                                                                                 \
  |  |  |  |   77|    196|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 196, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    196|            break;                                                                       \
  |  |  |  |   79|    196|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|    196|                return false;
  472|    196|            }
  473|   492k|            if (!param->bz.avail_in && param->pkt.readsrc->eof()) {
  ------------------
  |  Branch (473:17): [True: 174, False: 492k]
  |  Branch (473:40): [True: 108, False: 66]
  ------------------
  474|    108|                RNP_LOG("unexpected end of bzip stream");
  ------------------
  |  |   84|    108|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    108|    do {                                                                                 \
  |  |  |  |   77|    108|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 108, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    108|            break;                                                                       \
  |  |  |  |   79|    108|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|    108|                return false;
  476|    108|            }
  477|   492k|        }
  478|       |
  479|   492k|        param->inpos = (uint8_t *) param->bz.next_in - param->in;
  480|   492k|        *readres = len - param->bz.avail_out;
  481|   492k|        return compressed_budget_consume(param, *readres);
  482|   492k|    }
  483|      0|#endif
  484|      0|    return false;
  485|   492k|}
stream-parse.cpp:_ZL25compressed_budget_consumeP29pgp_source_compressed_param_tm:
  370|   954k|{
  371|   954k|    if (!param->decomp_left) {
  ------------------
  |  Branch (371:9): [True: 954k, False: 0]
  ------------------
  372|       |        /* no budget set: the caller bounds the data itself (dump layer) */
  373|   954k|        return true;
  374|   954k|    }
  375|      0|    if (produced > *param->decomp_left) {
  ------------------
  |  Branch (375:9): [True: 0, False: 0]
  ------------------
  376|      0|        RNP_LOG("decompressed data exceeds the allowed limit");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  377|      0|        return false;
  378|      0|    }
  379|      0|    *param->decomp_left -= produced;
  380|      0|    return true;
  381|      0|}
stream-parse.cpp:_ZL20compressed_src_closeP12pgp_source_t:
  489|  42.1k|{
  490|  42.1k|    pgp_source_compressed_param_t *param = (pgp_source_compressed_param_t *) src->param;
  491|  42.1k|    if (!param) {
  ------------------
  |  Branch (491:9): [True: 2.06k, False: 40.0k]
  ------------------
  492|  2.06k|        return; // LCOV_EXCL_LINE
  493|  2.06k|    }
  494|       |
  495|  40.0k|    if (param->pkt.hdr.partial) {
  ------------------
  |  Branch (495:9): [True: 24.5k, False: 15.4k]
  ------------------
  496|  24.5k|        param->pkt.readsrc->close();
  497|  24.5k|        free(param->pkt.readsrc);
  498|  24.5k|        param->pkt.readsrc = NULL;
  499|  24.5k|    }
  500|       |
  501|  40.0k|#ifdef HAVE_BZLIB_H
  502|  40.0k|    if (param->alg == PGP_C_BZIP2) {
  ------------------
  |  Branch (502:9): [True: 415, False: 39.6k]
  ------------------
  503|    415|        BZ2_bzDecompressEnd(&param->bz);
  504|    415|    }
  505|  40.0k|#endif
  506|  40.0k|    if ((param->alg == PGP_C_ZIP) || (param->alg == PGP_C_ZLIB)) {
  ------------------
  |  Branch (506:9): [True: 28.3k, False: 11.6k]
  |  Branch (506:38): [True: 115, False: 11.5k]
  ------------------
  507|  28.4k|        inflateEnd(&param->z);
  508|  28.4k|    }
  509|       |
  510|  40.0k|    free(src->param);
  511|       |    src->param = NULL;
  512|  40.0k|}

_Z18signature_hash_keyRK13pgp_key_pkt_tRN3rnp4HashE13pgp_version_t:
   53|  39.4k|{
   54|  39.4k|    if (key.pub_data.empty()) {
  ------------------
  |  Branch (54:9): [True: 0, False: 39.4k]
  ------------------
   55|       |        /* call self recursively if hashed data is not filled, to overcome const restriction */
   56|      0|        pgp_key_pkt_t keycp(key, true);
   57|      0|        keycp.fill_hashed_data();
   58|      0|        signature_hash_key(keycp, hash, pgpver);
   59|      0|        return;
   60|      0|    }
   61|       |
   62|  39.4k|    switch (pgpver) {
   63|      0|    case PGP_V2:
  ------------------
  |  Branch (63:5): [True: 0, False: 39.4k]
  ------------------
   64|      0|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|      0|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   65|      0|    case PGP_V3:
  ------------------
  |  Branch (65:5): [True: 0, False: 39.4k]
  ------------------
   66|      0|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|      0|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
   67|  30.3k|    case PGP_V4: {
  ------------------
  |  Branch (67:5): [True: 30.3k, False: 9.05k]
  ------------------
   68|       |        /* A v4 fingerprint can only address up to 65535 octets of key data;
   69|       |         * larger key packets cannot have a valid v4 fingerprint. */
   70|  30.3k|        if (key.pub_data.size() > 0xffffu) {
  ------------------
  |  Branch (70:13): [True: 0, False: 30.3k]
  ------------------
   71|      0|            RNP_LOG("v4 key packet too large for a fingerprint");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|      0|            throw rnp::rnp_exception(RNP_ERROR_BAD_FORMAT);
   73|      0|        }
   74|  30.3k|        uint8_t hdr[3] = {0x99, 0x00, 0x00};
   75|  30.3k|        write_uint16(hdr + 1, key.pub_data.size());
   76|  30.3k|        hash.add(hdr, 3);
   77|  30.3k|        hash.add(key.pub_data);
   78|  30.3k|        break;
   79|  30.3k|    }
   80|  1.32k|    case PGP_V5: {
  ------------------
  |  Branch (80:5): [True: 1.32k, False: 38.0k]
  ------------------
   81|  1.32k|        if (key.pub_data.size() > 0xffffffffu) {
  ------------------
  |  Branch (81:13): [True: 0, False: 1.32k]
  ------------------
   82|      0|            RNP_LOG("key packet too large for a fingerprint");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|      0|            throw rnp::rnp_exception(RNP_ERROR_BAD_FORMAT);
   84|      0|        }
   85|  1.32k|        uint8_t hdr[5] = {0x9A, 0x00, 0x00, 0x00, 0x00};
   86|  1.32k|        write_uint32(hdr + 1, key.pub_data.size());
   87|  1.32k|        hash.add(&hdr, 5);
   88|  1.32k|        hash.add(key.pub_data);
   89|  1.32k|        break;
   90|  1.32k|    }
   91|      0|#if defined(ENABLE_CRYPTO_REFRESH)
   92|  7.73k|    case PGP_V6: {
  ------------------
  |  Branch (92:5): [True: 7.73k, False: 31.6k]
  ------------------
   93|  7.73k|        if (key.pub_data.size() > 0xffffffffu) {
  ------------------
  |  Branch (93:13): [True: 0, False: 7.73k]
  ------------------
   94|      0|            RNP_LOG("key packet too large for a fingerprint");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      0|            throw rnp::rnp_exception(RNP_ERROR_BAD_FORMAT);
   96|      0|        }
   97|  7.73k|        uint8_t hdr[5] = {0x9b, 0x00, 0x00, 0x00, 0x00};
   98|  7.73k|        write_uint32(hdr + 1, key.pub_data.size());
   99|  7.73k|        hash.add(hdr, sizeof(hdr));
  100|  7.73k|        hash.add(key.pub_data);
  101|  7.73k|        break;
  102|  7.73k|    }
  103|      0|#endif
  104|      0|    default:
  ------------------
  |  Branch (104:5): [True: 0, False: 39.4k]
  ------------------
  105|      0|        RNP_LOG("unknown key/sig version: %d", (int) pgpver);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|      0|        throw rnp::rnp_exception(RNP_ERROR_OUT_OF_MEMORY);
  107|  39.4k|    }
  108|  39.4k|}
_ZN3pgp3pkt9Signature10parse_v2v3ER17pgp_packet_body_t:
  853|  6.09k|{
  854|       |    /* parse v2/v3-specific fields, not the whole signature */
  855|  6.09k|    uint8_t buf[16] = {};
  856|  6.09k|    if (!pkt.get(buf, 16)) {
  ------------------
  |  Branch (856:9): [True: 492, False: 5.60k]
  ------------------
  857|    492|        RNP_LOG("cannot get enough bytes");
  ------------------
  |  |   84|    492|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    492|    do {                                                                                 \
  |  |  |  |   77|    492|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 492, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    492|            break;                                                                       \
  |  |  |  |   79|    492|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|    492|        return RNP_ERROR_BAD_FORMAT;
  859|    492|    }
  860|       |    /* length of hashed data, 5 */
  861|  5.60k|    if (buf[0] != 5) {
  ------------------
  |  Branch (861:9): [True: 365, False: 5.23k]
  ------------------
  862|    365|        RNP_LOG("wrong length of hashed data");
  ------------------
  |  |   84|    365|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    365|    do {                                                                                 \
  |  |  |  |   77|    365|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 365, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    365|            break;                                                                       \
  |  |  |  |   79|    365|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  863|    365|        return RNP_ERROR_BAD_FORMAT;
  864|    365|    }
  865|       |    /* hashed data */
  866|  5.23k|    hashed_data.assign(buf + 1, buf + 6);
  867|       |    /* signature type */
  868|  5.23k|    type_ = (pgp_sig_type_t) buf[1];
  869|       |    /* creation time */
  870|  5.23k|    creation_time = read_uint32(&buf[2]);
  871|       |    /* signer's key id */
  872|  5.23k|    static_assert(std::tuple_size<decltype(signer)>::value == PGP_KEY_ID_SIZE,
  873|  5.23k|                  "v3 signer field size mismatch");
  874|  5.23k|    memcpy(signer.data(), &buf[6], PGP_KEY_ID_SIZE);
  ------------------
  |  |   39|  5.23k|#define PGP_KEY_ID_SIZE 8
  ------------------
  875|       |    /* public key algorithm */
  876|  5.23k|    palg = (pgp_pubkey_alg_t) buf[14];
  877|       |    /* hash algorithm */
  878|  5.23k|    halg = (pgp_hash_alg_t) buf[15];
  879|  5.23k|    return RNP_SUCCESS;
  880|  5.60k|}
_ZN3pgp3pkt9Signature16parse_subpacketsEPhmbm:
  886|  71.3k|{
  887|  71.3k|    bool res = true;
  888|       |
  889|   285k|    while (len) {
  ------------------
  |  Branch (889:12): [True: 216k, False: 68.0k]
  ------------------
  890|   216k|        if (subpkts.size() >= MAX_SUBPACKETS) {
  ------------------
  |  |  882|   216k|#define MAX_SUBPACKETS 64
  ------------------
  |  Branch (890:13): [True: 190, False: 216k]
  ------------------
  891|    190|            RNP_LOG("too many signature subpackets");
  ------------------
  |  |   84|    190|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    190|    do {                                                                                 \
  |  |  |  |   77|    190|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 190, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    190|            break;                                                                       \
  |  |  |  |   79|    190|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|    190|            return false;
  893|    190|        }
  894|   216k|        if (len < 2) {
  ------------------
  |  Branch (894:13): [True: 486, False: 216k]
  ------------------
  895|    486|            RNP_LOG("got single byte %" PRIu8, *buf);
  ------------------
  |  |   84|    486|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    486|    do {                                                                                 \
  |  |  |  |   77|    486|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 486, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    486|            break;                                                                       \
  |  |  |  |   79|    486|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|    486|            return false;
  897|    486|        }
  898|       |
  899|       |        /* subpacket length */
  900|   216k|        size_t splen = *buf++;
  901|   216k|        len--;
  902|   216k|        if ((splen >= 192) && (splen < 255)) {
  ------------------
  |  Branch (902:13): [True: 1.54k, False: 214k]
  |  Branch (902:31): [True: 998, False: 551]
  ------------------
  903|    998|            splen = ((splen - 192) << 8) + *buf++ + 192;
  904|    998|            len--;
  905|   215k|        } else if (splen == 255) {
  ------------------
  |  Branch (905:20): [True: 551, False: 214k]
  ------------------
  906|    551|            if (len < 4) {
  ------------------
  |  Branch (906:17): [True: 210, False: 341]
  ------------------
  907|    210|                RNP_LOG("got 4-byte len but only %zu bytes in buffer", len);
  ------------------
  |  |   84|    210|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    210|    do {                                                                                 \
  |  |  |  |   77|    210|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 210, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    210|            break;                                                                       \
  |  |  |  |   79|    210|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|    210|                return false;
  909|    210|            }
  910|    341|            splen = read_uint32(buf);
  911|    341|            buf += 4;
  912|    341|            len -= 4;
  913|    341|        }
  914|       |
  915|   216k|        if (!splen) {
  ------------------
  |  Branch (915:13): [True: 695, False: 215k]
  ------------------
  916|    695|            RNP_LOG("got subpacket with 0 length");
  ------------------
  |  |   84|    695|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    695|    do {                                                                                 \
  |  |  |  |   77|    695|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 695, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    695|            break;                                                                       \
  |  |  |  |   79|    695|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  917|    695|            return false;
  918|    695|        }
  919|       |
  920|       |        /* subpacket data */
  921|   215k|        if (len < splen) {
  ------------------
  |  Branch (921:13): [True: 1.72k, False: 213k]
  ------------------
  922|  1.72k|            RNP_LOG("got subpacket len %zu, while only %zu bytes left", splen, len);
  ------------------
  |  |   84|  1.72k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.72k|    do {                                                                                 \
  |  |  |  |   77|  1.72k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.72k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.72k|            break;                                                                       \
  |  |  |  |   79|  1.72k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|  1.72k|            return false;
  924|  1.72k|        }
  925|       |
  926|   213k|        auto subpkt = sigsub::Raw::create(buf, splen, hashed, depth);
  927|   213k|        if (!subpkt) {
  ------------------
  |  Branch (927:13): [True: 78.1k, False: 135k]
  ------------------
  928|  78.1k|            res = false;
  929|   135k|        } else {
  930|   135k|            subpkts.items.push_back(std::move(subpkt));
  931|   135k|        }
  932|   213k|        len -= splen;
  933|   213k|        buf += splen;
  934|   213k|    }
  935|  68.0k|    return res;
  936|  71.3k|}
_ZN3pgp3pkt9Signature14get_subpkt_lenER17pgp_packet_body_tRm:
  940|  75.0k|{
  941|  75.0k|    switch (version) {
  942|  61.4k|    case PGP_V4:
  ------------------
  |  Branch (942:5): [True: 61.4k, False: 13.6k]
  ------------------
  943|  72.0k|    case PGP_V5: {
  ------------------
  |  Branch (943:5): [True: 10.5k, False: 64.4k]
  ------------------
  944|  72.0k|        uint16_t len = 0;
  945|  72.0k|        if (!pkt.get(len)) {
  ------------------
  |  Branch (945:13): [True: 589, False: 71.4k]
  ------------------
  946|    589|            return false;
  947|    589|        }
  948|  71.4k|        splen = len;
  949|  71.4k|        return true;
  950|  72.0k|    }
  951|      0|#if defined(ENABLE_CRYPTO_REFRESH)
  952|  3.05k|    case PGP_V6: {
  ------------------
  |  Branch (952:5): [True: 3.05k, False: 72.0k]
  ------------------
  953|  3.05k|        uint32_t len = 0;
  954|  3.05k|        if (!pkt.get(len)) {
  ------------------
  |  Branch (954:13): [True: 252, False: 2.80k]
  ------------------
  955|    252|            return false;
  956|    252|        }
  957|  2.80k|        splen = len;
  958|  2.80k|        return true;
  959|  3.05k|    }
  960|      0|#endif
  961|      0|    default:
  ------------------
  |  Branch (961:5): [True: 0, False: 75.0k]
  ------------------
  962|      0|        RNP_LOG("unsupported signature version: %d", (int) version);
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  963|      0|        return false;
  964|  75.0k|    }
  965|  75.0k|}
_ZN3pgp3pkt9Signature10parse_v4upER17pgp_packet_body_tm:
  993|  40.7k|{
  994|       |    /* parse v4 (and up) specific fields, not the whole signature */
  995|  40.7k|    uint8_t buf[3];
  996|  40.7k|    if (!pkt.get(buf, 3)) {
  ------------------
  |  Branch (996:9): [True: 570, False: 40.1k]
  ------------------
  997|    570|        RNP_LOG("cannot get first 3 bytes");
  ------------------
  |  |   84|    570|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    570|    do {                                                                                 \
  |  |  |  |   77|    570|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 570, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    570|            break;                                                                       \
  |  |  |  |   79|    570|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  998|    570|        return RNP_ERROR_BAD_FORMAT;
  999|    570|    }
 1000|       |
 1001|       |    /* signature type */
 1002|  40.1k|    type_ = (pgp_sig_type_t) buf[0];
 1003|       |    /* public key algorithm */
 1004|  40.1k|    palg = (pgp_pubkey_alg_t) buf[1];
 1005|       |    /* hash algorithm */
 1006|  40.1k|    halg = (pgp_hash_alg_t) buf[2];
 1007|       |    /* hashed subpackets length */
 1008|       |
 1009|  40.1k|    size_t splen = 0;
 1010|  40.1k|    auto   hash_begin = pkt.cur();
 1011|  40.1k|    if (!get_subpkt_len(pkt, splen)) {
  ------------------
  |  Branch (1011:9): [True: 841, False: 39.3k]
  ------------------
 1012|    841|        RNP_LOG("cannot get hashed len");
  ------------------
  |  |   84|    841|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    841|    do {                                                                                 \
  |  |  |  |   77|    841|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 841, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    841|            break;                                                                       \
  |  |  |  |   79|    841|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1013|    841|        return RNP_ERROR_BAD_FORMAT;
 1014|    841|    }
 1015|  39.3k|    size_t splen_size = pkt.cur() - hash_begin;
 1016|       |    /* hashed subpackets length + splen_size bytes of length of unhashed subpackets. v6 splen
 1017|       |     * is 32-bit, so do not add it to anything: the sum may wrap with a 32-bit size_t. */
 1018|  39.3k|    if ((splen > pkt.left()) || (pkt.left() - splen < splen_size)) {
  ------------------
  |  Branch (1018:9): [True: 990, False: 38.3k]
  |  Branch (1018:33): [True: 215, False: 38.1k]
  ------------------
 1019|  1.20k|        RNP_LOG("wrong packet or hashed subpackets length");
  ------------------
  |  |   84|  1.20k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.20k|    do {                                                                                 \
  |  |  |  |   77|  1.20k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.20k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.20k|            break;                                                                       \
  |  |  |  |   79|  1.20k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1020|  1.20k|        return RNP_ERROR_BAD_FORMAT;
 1021|  1.20k|    }
 1022|       |    /* building hashed data */
 1023|  38.1k|    size_t hlen = 4 + splen + splen_size;
 1024|  38.1k|    hashed_data.resize(hlen);
 1025|  38.1k|    hashed_data[0] = version;
 1026|  38.1k|    static_assert(sizeof(buf) == 3, "Wrong signature header size.");
 1027|  38.1k|    pkt.skip_back(3 + splen_size);
 1028|       |
 1029|  38.1k|    if (!pkt.get(hashed_data.data() + 1, hlen - 1)) {
  ------------------
  |  Branch (1029:9): [True: 0, False: 38.1k]
  ------------------
 1030|      0|        RNP_LOG("cannot get hashed subpackets data");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|      0|        return RNP_ERROR_BAD_FORMAT;
 1032|      0|    }
 1033|       |    /* parsing hashed subpackets */
 1034|  38.1k|    if (!parse_subpackets(hashed_data.data() + 4 + splen_size, splen, true, depth)) {
  ------------------
  |  Branch (1034:9): [True: 3.25k, False: 34.8k]
  ------------------
 1035|  3.25k|        RNP_LOG("failed to parse hashed subpackets");
  ------------------
  |  |   84|  3.25k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  3.25k|    do {                                                                                 \
  |  |  |  |   77|  3.25k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 3.25k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  3.25k|            break;                                                                       \
  |  |  |  |   79|  3.25k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|  3.25k|        return RNP_ERROR_BAD_FORMAT;
 1037|  3.25k|    }
 1038|       |
 1039|       |    /* reading unhashed subpackets */
 1040|  34.8k|    if (!get_subpkt_len(pkt, splen)) {
  ------------------
  |  Branch (1040:9): [True: 0, False: 34.8k]
  ------------------
 1041|      0|        RNP_LOG("cannot get unhashed len");
  ------------------
  |  |   84|      0|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|      0|    do {                                                                                 \
  |  |  |  |   77|      0|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|      0|            break;                                                                       \
  |  |  |  |   79|      0|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|      0|        return RNP_ERROR_BAD_FORMAT;
 1043|      0|    }
 1044|  34.8k|    if (pkt.left() < splen) {
  ------------------
  |  Branch (1044:9): [True: 1.70k, False: 33.1k]
  ------------------
 1045|  1.70k|        RNP_LOG("not enough data for unhashed subpackets");
  ------------------
  |  |   84|  1.70k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.70k|    do {                                                                                 \
  |  |  |  |   77|  1.70k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.70k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.70k|            break;                                                                       \
  |  |  |  |   79|  1.70k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|  1.70k|        return RNP_ERROR_BAD_FORMAT;
 1047|  1.70k|    }
 1048|  33.1k|    if (!parse_subpackets(pkt.cur(), splen, false, depth)) {
  ------------------
  |  Branch (1048:9): [True: 529, False: 32.6k]
  ------------------
 1049|    529|        RNP_LOG("failed to parse unhashed subpackets");
  ------------------
  |  |   84|    529|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    529|    do {                                                                                 \
  |  |  |  |   77|    529|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 529, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    529|            break;                                                                       \
  |  |  |  |   79|    529|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|    529|        return RNP_ERROR_BAD_FORMAT;
 1051|    529|    }
 1052|  32.6k|    pkt.skip(splen);
 1053|  32.6k|    return RNP_SUCCESS;
 1054|  33.1k|}
_ZN3pgp3pkt9Signature5parseER17pgp_packet_body_tm:
 1058|  48.2k|{
 1059|  48.2k|    uint8_t ver = 0;
 1060|  48.2k|    if (!pkt.get(ver)) {
  ------------------
  |  Branch (1060:9): [True: 210, False: 48.0k]
  ------------------
 1061|    210|        return RNP_ERROR_BAD_FORMAT;
 1062|    210|    }
 1063|  48.0k|    version = (pgp_version_t) ver;
 1064|       |
 1065|       |    /* v3 or v4 or v6 signature body */
 1066|  48.0k|    rnp_result_t res;
 1067|  48.0k|    switch (ver) {
 1068|  2.62k|    case PGP_V2:
  ------------------
  |  Branch (1068:5): [True: 2.62k, False: 45.4k]
  ------------------
 1069|  2.62k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  2.62k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1070|  6.09k|    case PGP_V3:
  ------------------
  |  Branch (1070:5): [True: 3.46k, False: 44.5k]
  ------------------
 1071|  6.09k|        res = parse_v2v3(pkt);
 1072|  6.09k|        break;
 1073|  32.1k|    case PGP_V4:
  ------------------
  |  Branch (1073:5): [True: 32.1k, False: 15.9k]
  ------------------
 1074|  32.1k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  32.1k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1075|  38.8k|    case PGP_V5:
  ------------------
  |  Branch (1075:5): [True: 6.69k, False: 41.3k]
  ------------------
 1076|  38.8k|#if defined(ENABLE_CRYPTO_REFRESH)
 1077|  38.8k|        FALLTHROUGH_STATEMENT;
  ------------------
  |  |  109|  38.8k|# define FALLTHROUGH_STATEMENT [[fallthrough]]
  ------------------
 1078|  40.7k|    case PGP_V6:
  ------------------
  |  Branch (1078:5): [True: 1.94k, False: 46.1k]
  ------------------
 1079|  40.7k|#endif
 1080|  40.7k|        res = parse_v4up(pkt, depth);
 1081|  40.7k|        break;
 1082|  1.19k|    default:
  ------------------
  |  Branch (1082:5): [True: 1.19k, False: 46.8k]
  ------------------
 1083|  1.19k|        RNP_LOG("unknown signature version: %d", (int) ver);
  ------------------
  |  |   84|  1.19k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.19k|    do {                                                                                 \
  |  |  |  |   77|  1.19k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.19k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.19k|            break;                                                                       \
  |  |  |  |   79|  1.19k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1084|  1.19k|        res = RNP_ERROR_BAD_FORMAT;
 1085|  48.0k|    }
 1086|       |
 1087|  48.0k|    if (res) {
  ------------------
  |  Branch (1087:9): [True: 10.1k, False: 37.8k]
  ------------------
 1088|  10.1k|        return res;
 1089|  10.1k|    }
 1090|       |
 1091|       |    /* left 16 bits of the hash */
 1092|  37.8k|    if (!pkt.get(lbits.data(), 2)) {
  ------------------
  |  Branch (1092:9): [True: 234, False: 37.6k]
  ------------------
 1093|    234|        RNP_LOG("not enough data for hash left bits");
  ------------------
  |  |   84|    234|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    234|    do {                                                                                 \
  |  |  |  |   77|    234|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 234, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    234|            break;                                                                       \
  |  |  |  |   79|    234|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1094|    234|        return RNP_ERROR_BAD_FORMAT;
 1095|    234|    }
 1096|       |
 1097|  37.6k|#if defined(ENABLE_CRYPTO_REFRESH)
 1098|  37.6k|    if (ver == PGP_V6) {
  ------------------
  |  Branch (1098:9): [True: 1.17k, False: 36.4k]
  ------------------
 1099|  1.17k|        uint8_t salt_size = 0;
 1100|  1.17k|        if (!pkt.get(salt_size)) {
  ------------------
  |  Branch (1100:13): [True: 69, False: 1.10k]
  ------------------
 1101|     69|            RNP_LOG("not enough data for v6 salt size octet");
  ------------------
  |  |   84|     69|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     69|    do {                                                                                 \
  |  |  |  |   77|     69|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 69, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     69|            break;                                                                       \
  |  |  |  |   79|     69|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|     69|            return RNP_ERROR_BAD_FORMAT;
 1103|     69|        }
 1104|  1.10k|        size_t expect_salt_size;
 1105|  1.10k|        if (!pgp::pkt::Signature::v6_salt_size(halg, &expect_salt_size)) {
  ------------------
  |  Branch (1105:13): [True: 557, False: 550]
  ------------------
 1106|    557|            RNP_LOG("invalid halg");
  ------------------
  |  |   84|    557|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    557|    do {                                                                                 \
  |  |  |  |   77|    557|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 557, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    557|            break;                                                                       \
  |  |  |  |   79|    557|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|    557|            return RNP_ERROR_BAD_FORMAT;
 1108|    557|        }
 1109|    550|        if (salt_size != expect_salt_size) {
  ------------------
  |  Branch (1109:13): [True: 268, False: 282]
  ------------------
 1110|    268|            RNP_LOG("invalid salt size");
  ------------------
  |  |   84|    268|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    268|    do {                                                                                 \
  |  |  |  |   77|    268|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 268, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    268|            break;                                                                       \
  |  |  |  |   79|    268|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|    268|            return RNP_ERROR_BAD_FORMAT;
 1112|    268|        }
 1113|    282|        salt.resize(salt_size);
 1114|    282|        if (!pkt.get(salt.data(), salt_size)) {
  ------------------
  |  Branch (1114:13): [True: 71, False: 211]
  ------------------
 1115|     71|            RNP_LOG("not enough data for v6 signature salt");
  ------------------
  |  |   84|     71|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|     71|    do {                                                                                 \
  |  |  |  |   77|     71|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 71, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|     71|            break;                                                                       \
  |  |  |  |   79|     71|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1116|     71|            return RNP_ERROR_BAD_FORMAT;
 1117|     71|        }
 1118|    282|    }
 1119|  36.6k|#endif
 1120|       |
 1121|       |    /* raw signature material */
 1122|       |    /* we cannot fail here */
 1123|  36.6k|    pkt.get(material_buf, pkt.left());
 1124|       |    /* check whether it can be parsed */
 1125|  36.6k|    if (!parse_material()) {
  ------------------
  |  Branch (1125:9): [True: 7.01k, False: 29.6k]
  ------------------
 1126|  7.01k|        return RNP_ERROR_BAD_FORMAT;
 1127|  7.01k|    }
 1128|  29.6k|    return RNP_SUCCESS;
 1129|  36.6k|}
_ZN3pgp3pkt9Signature5parseER12pgp_source_t:
 1133|  57.2k|{
 1134|  57.2k|    pgp_packet_body_t pkt(PGP_PKT_SIGNATURE);
 1135|  57.2k|    rnp_result_t      res = pkt.read(src);
 1136|  57.2k|    if (res) {
  ------------------
  |  Branch (1136:9): [True: 12.7k, False: 44.4k]
  ------------------
 1137|  12.7k|        return res;
 1138|  12.7k|    }
 1139|  44.4k|    return parse(pkt);
 1140|  57.2k|}
_ZNK3pgp3pkt9Signature14parse_materialEv:
 1144|  64.7k|{
 1145|  64.7k|    auto sig = SigMaterial::create(palg, halg);
 1146|  64.7k|    if (!sig) {
  ------------------
  |  Branch (1146:9): [True: 648, False: 64.0k]
  ------------------
 1147|    648|        return nullptr;
 1148|    648|    }
 1149|  64.0k|    pgp_packet_body_t pkt(material_buf);
 1150|  64.0k|    if (!sig->parse(pkt)) {
  ------------------
  |  Branch (1150:9): [True: 5.15k, False: 58.9k]
  ------------------
 1151|  5.15k|        return nullptr;
 1152|  5.15k|    }
 1153|  58.9k|    if (pkt.left()) {
  ------------------
  |  Branch (1153:9): [True: 1.21k, False: 57.7k]
  ------------------
 1154|  1.21k|        RNP_LOG("extra %zu bytes in pk packet", pkt.left());
  ------------------
  |  |   84|  1.21k|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|  1.21k|    do {                                                                                 \
  |  |  |  |   77|  1.21k|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 1.21k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|  1.21k|            break;                                                                       \
  |  |  |  |   79|  1.21k|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1155|  1.21k|        return nullptr;
 1156|  1.21k|    }
 1157|  57.7k|    return sig;
 1158|  58.9k|}
_ZN3pgp3pkt9Signature12v6_salt_sizeE14pgp_hash_alg_tPm:
 1236|  2.90k|{
 1237|  2.90k|    switch (halg) {
 1238|    241|    case PGP_HASH_SHA256:
  ------------------
  |  Branch (1238:5): [True: 241, False: 2.65k]
  ------------------
 1239|    241|        *salt_size = 16;
 1240|    241|        break;
 1241|    425|    case PGP_HASH_SHA224:
  ------------------
  |  Branch (1241:5): [True: 425, False: 2.47k]
  ------------------
 1242|    425|        *salt_size = 16;
 1243|    425|        break;
 1244|    300|    case PGP_HASH_SHA384:
  ------------------
  |  Branch (1244:5): [True: 300, False: 2.60k]
  ------------------
 1245|    300|        *salt_size = 24;
 1246|    300|        break;
 1247|    304|    case PGP_HASH_SHA512:
  ------------------
  |  Branch (1247:5): [True: 304, False: 2.59k]
  ------------------
 1248|    304|        *salt_size = 32;
 1249|    304|        break;
 1250|    423|    case PGP_HASH_SHA3_256:
  ------------------
  |  Branch (1250:5): [True: 423, False: 2.47k]
  ------------------
 1251|    423|        *salt_size = 16;
 1252|    423|        break;
 1253|    303|    case PGP_HASH_SHA3_512:
  ------------------
  |  Branch (1253:5): [True: 303, False: 2.59k]
  ------------------
 1254|    303|        *salt_size = 32;
 1255|    303|        break;
 1256|    904|    default:
  ------------------
  |  Branch (1256:5): [True: 904, False: 1.99k]
  ------------------
 1257|    904|        RNP_LOG("no V6 salt size for algorithm");
  ------------------
  |  |   84|    904|#define RNP_LOG(...) RNP_LOG_FD(stderr, __VA_ARGS__)
  |  |  ------------------
  |  |  |  |   76|    904|    do {                                                                                 \
  |  |  |  |   77|    904|        if (!rnp_log_switch())                                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (77:13): [True: 904, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   78|    904|            break;                                                                       \
  |  |  |  |   79|    904|        (void) fprintf((fd), "[%s() %s:%d] ", __func__, __SOURCE_PATH_FILE__, __LINE__); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   72|      0|#define __SOURCE_PATH_FILE__ (__FILE__)
  |  |  |  |  ------------------
  |  |  |  |   80|      0|        (void) fprintf((fd), __VA_ARGS__);                                               \
  |  |  |  |   81|      0|        (void) fprintf((fd), "\n");                                                      \
  |  |  |  |   82|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (82:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1258|    904|        return false;
 1259|  2.90k|    }
 1260|  1.99k|    return true;
 1261|  2.90k|}

_ZN3pgp3pkt9SignatureC2Ev:
   80|  61.0k|        : type_(PGP_SIG_BINARY), version(PGP_VUNKNOWN), palg(PGP_PKA_NOTHING),
   81|  61.0k|          halg(PGP_HASH_UNKNOWN), creation_time(0){};
_ZNK3pgp3pkt9Signature4typeEv:
   88|  28.0k|    {
   89|  28.0k|        return type_;
   90|  28.0k|    };

