8#ifndef BOTAN_UTILS_SAFE_INT_H__
9#define BOTAN_UTILS_SAFE_INT_H__
11#include <botan/exceptn.h>
24inline size_t checked_add(
size_t x,
size_t y,
const char* file,
int line)
35#define BOTAN_CHECKED_ADD(x,y) checked_add(x,y,__FILE__,__LINE__)
Integer_Overflow_Detected(const std::string &file, int line)
std::string to_string(u64bit n, size_t min_len)
std::runtime_error Exception
size_t checked_add(size_t x, size_t y, const char *file, int line)