qca
QCA::Botan Namespace Reference
Namespaces | |
| namespace | Charset |
Classes | |
| struct | Algorithm_Not_Found |
| class | Allocator |
| class | BigInt |
| class | Builtin_Modules |
| class | Charset_Transcoder |
| struct | Config_Error |
| struct | Decoding_Error |
| class | Default_Mutex_Factory |
| class | del_fun |
| struct | Encoding_Error |
| class | Exception |
| struct | Format_Error |
| struct | Integrity_Failure |
| struct | Internal_Error |
| struct | Invalid_Algorithm_Name |
| struct | Invalid_Argument |
| struct | Invalid_Block_Size |
| struct | Invalid_IV_Length |
| struct | Invalid_Key_Length |
| struct | Invalid_Message_Number |
| struct | Invalid_OID |
| struct | Invalid_State |
| class | Library_State |
| class | Locking_Allocator |
| struct | Lookup_Error |
| class | Malloc_Allocator |
| struct | Memory_Exhaustion |
| class | MemoryMapping_Allocator |
| class | MemoryRegion |
| class | MemoryVector |
| class | MillerRabin_Test |
| class | Modules |
| class | Mutex |
| class | Mutex_Factory |
| class | Mutex_Holder |
| class | Named_Mutex_Holder |
| struct | Policy_Violation |
| class | Pooling_Allocator |
| struct | PRNG_Unseeded |
| class | Qt_Mutex_Factory |
| class | SecureBuffer |
| class | SecureVector |
| struct | Self_Test_Failure |
| struct | Stream_IO_Error |
Typedefs | |
| typedef unsigned char | byte |
| typedef signed int | s32bit |
| typedef unsigned short | u16bit |
| typedef unsigned int | u32bit |
| typedef unsigned long long | u64bit |
Functions | |
| BigInt | abs (const BigInt &n) |
| void | bigint_add2 (word[], u32bit, const word[], u32bit) |
| word | bigint_add2_nc (word[], u32bit, const word[], u32bit) |
| void | bigint_add3 (word[], const word[], u32bit, const word[], u32bit) |
| word | bigint_add3_nc (word[], const word[], u32bit, const word[], u32bit) |
| s32bit | bigint_cmp (const word[], u32bit, const word[], u32bit) |
| void | bigint_comba_mul4 (word[8], const word[4], const word[4]) |
| void | bigint_comba_mul6 (word[12], const word[6], const word[6]) |
| void | bigint_comba_mul8 (word[16], const word[8], const word[8]) |
| void | bigint_comba_sqr4 (word[8], const word[4]) |
| void | bigint_comba_sqr6 (word[12], const word[6]) |
| void | bigint_comba_sqr8 (word[16], const word[8]) |
| u32bit | bigint_divcore (word, word, word, word, word, word) |
| word | bigint_divop (word, word, word) |
| void | bigint_linmul2 (word[], u32bit, word) |
| void | bigint_linmul3 (word[], const word[], u32bit, word) |
| void | bigint_linmul_add (word[], u32bit, const word[], u32bit, word) |
| word | bigint_modop (word, word, word) |
| void | bigint_monty_redc (word[], u32bit, const word[], u32bit, word) |
| void | bigint_mul (word[], u32bit, word[], const word[], u32bit, u32bit, const word[], u32bit, u32bit) |
| word | bigint_mul_add_words (word[], const word[], u32bit, word) |
| void | bigint_shl1 (word[], u32bit, u32bit, u32bit) |
| void | bigint_shl2 (word[], const word[], u32bit, u32bit, u32bit) |
| void | bigint_shr1 (word[], u32bit, u32bit, u32bit) |
| void | bigint_shr2 (word[], const word[], u32bit, u32bit, u32bit) |
| void | bigint_sqr (word[], u32bit, word[], const word[], u32bit, u32bit) |
| void | bigint_sub2 (word[], u32bit, const word[], u32bit) |
| void | bigint_sub3 (word[], const word[], u32bit, const word[], u32bit) |
| void | bigint_wordmul (word, word, word *, word *) |
| bool | check_prime (const BigInt &) |
| template<typename T > | |
| void | clear_mem (T *ptr, u32bit n) |
| u64bit | combine_timers (u32bit, u32bit, u32bit) |
| template<typename InputIterator , typename OutputIterator , typename Predicate > | |
| OutputIterator | copy_if (InputIterator current, InputIterator end, OutputIterator dest, Predicate copy_p) |
| template<typename T > | |
| void | copy_mem (T *out, const T *in, u32bit n) |
| template<typename Pair > | |
| void | delete2nd (Pair &pair) |
| static void | delete_lock (std::pair< const std::string, Mutex * > &pair) |
| void | divide (const BigInt &, const BigInt &, BigInt &, BigInt &) |
| u32bit | dl_work_factor (u32bit) |
| u32bit | entropy_estimate (const byte[], u32bit) |
| BigInt | gcd (const BigInt &, const BigInt &) |
| bool | generate_dsa_primes (BigInt &, BigInt &, const byte[], u32bit, u32bit, u32bit=0) |
| SecureVector< byte > | generate_dsa_primes (BigInt &, BigInt &, u32bit) |
| template<typename T > | |
| byte | get_byte (u32bit byte_num, T input) |
| Library_State & | global_state () |
| u32bit | hamming_weight (u64bit n) |
| u32bit | high_bit (u64bit n) |
| BigInt | inverse_mod (const BigInt &, const BigInt &) |
| bool | is_prime (const BigInt &) |
| s32bit | jacobi (const BigInt &, const BigInt &) |
| BigInt | lcm (const BigInt &, const BigInt &) |
| void | lock_mem (void *, u32bit) |
| u32bit | low_bit (u64bit n) |
| u32bit | low_zero_bits (const BigInt &) |
| u16bit | make_u16bit (byte input0, byte input1) |
| u32bit | make_u32bit (byte input0, byte input1, byte input2, byte input3) |
| u64bit | make_u64bit (byte input0, byte input1, byte input2, byte input3, byte input4, byte input5, byte input6, byte input7) |
| BigInt | mul_add (const BigInt &, const BigInt &, const BigInt &) |
| template<typename K , typename V > | |
| void | multimap_insert (std::multimap< K, V > &multimap, const K &key, const V &value) |
| bool | operator!= (const BigInt &a, const BigInt &b) |
| word | operator% (const BigInt &n, word mod) |
| BigInt | operator% (const BigInt &n, const BigInt &mod) |
| BigInt | operator* (const BigInt &x, const BigInt &y) |
| BigInt | operator+ (const BigInt &x, const BigInt &y) |
| BigInt | operator- (const BigInt &x, const BigInt &y) |
| BigInt | operator/ (const BigInt &x, const BigInt &y) |
| bool | operator< (const BigInt &a, const BigInt &b) |
| BigInt | operator<< (const BigInt &x, u32bit shift) |
| std::ostream & | operator<< (std::ostream &stream, const BigInt &n) |
| bool | operator<= (const BigInt &a, const BigInt &b) |
| bool | operator== (const BigInt &a, const BigInt &b) |
| bool | operator> (const BigInt &a, const BigInt &b) |
| bool | operator>= (const BigInt &a, const BigInt &b) |
| BigInt | operator>> (const BigInt &x, u32bit shift) |
| std::istream & | operator>> (std::istream &stream, BigInt &n) |
| std::vector< std::string > | parse_algorithm_name (const std::string &) |
| std::vector< u32bit > | parse_asn1_oid (const std::string &) |
| u32bit | parse_expr (const std::string &) |
| bool | passes_mr_tests (const BigInt &, u32bit=1) |
| BigInt | power_mod (const BigInt &, const BigInt &, const BigInt &) |
| bool | power_of_2 (u64bit arg) |
| BigInt | random_integer (const BigInt &, const BigInt &) |
| BigInt | random_integer (u32bit) |
| BigInt | random_prime (u32bit, const BigInt &=1, u32bit=1, u32bit=2) |
| BigInt | random_safe_prime (u32bit) |
| template<typename T > | |
| T | rotate_left (T input, u32bit rot) |
| template<typename T > | |
| T | rotate_right (T input, u32bit rot) |
| u32bit | round_down (u32bit, u32bit) |
| u32bit | round_up (u32bit, u32bit) |
| bool | run_primality_tests (const BigInt &, u32bit=1) |
| template<typename T > | |
| bool | same_mem (const T *p1, const T *p2, u32bit n) |
| template<typename K , typename V , typename R > | |
| R | search_map (const std::map< K, V > &mapping, const K &key, const R &null_result, const R &found_result) |
| template<typename K , typename V > | |
| V | search_map (const std::map< K, V > &mapping, const K &key, const V &null_result=V()) |
| void | set_global_state (Library_State *) |
| template<typename T > | |
| void | set_mem (T *ptr, u32bit n, byte val) |
| u32bit | significant_bytes (u64bit n) |
| s32bit | simple_primality_tests (const BigInt &) |
| std::vector< std::string > | split_on (const std::string &, char) |
| BigInt | square (const BigInt &) |
| BigInt | sub_mul (const BigInt &, const BigInt &, const BigInt &) |
| Library_State * | swap_global_state (Library_State *) |
| u64bit | system_clock () |
| u64bit | system_time () |
| std::string | to_string (u64bit, u32bit=0) |
| u32bit | to_u32bit (const std::string &) |
| void | unlock_mem (void *, u32bit) |
| bool | verify_prime (const BigInt &) |
| void | word3_muladd (word *w2, word *w1, word *w0, word a, word b) |
| void | word3_muladd_2 (word *w2, word *w1, word *w0, word a, word b) |
| word | word8_add2 (word x[8], const word y[8], word carry) |
| word | word8_add3 (word z[8], const word x[8], const word y[8], word carry) |
| word | word8_linmul2 (word x[4], word y, word carry) |
| word | word8_linmul3 (word z[8], const word x[8], word y, word carry) |
| word | word8_madd3 (word z[8], const word x[8], word y, word carry) |
| word | word8_sub2 (word x[4], const word y[4], word carry) |
| word | word8_sub3 (word z[8], const word x[8], const word y[8], word carry) |
| word | word_add (word x, word y, word *carry) |
| word | word_madd2 (word a, word b, word c, word *carry) |
| word | word_madd3 (word a, word b, word c, word d, word *carry) |
| word | word_sub (word x, word y, word *carry) |
| bool | x500_name_cmp (const std::string &, const std::string &) |
| void | xor_buf (byte out[], const byte in[], const byte mask[], u32bit length) |
| void | xor_buf (byte data[], const byte mask[], u32bit length) |
Variables | |
| const u32bit | MP_WORD_BITS = BOTAN_MP_WORD_BITS |
| const word | MP_WORD_MASK = ~((word)0) |
| const word | MP_WORD_MAX = MP_WORD_MASK |
| const word | MP_WORD_TOP_BIT = (word)1 << (8*sizeof(word) - 1) |
| const u64bit | PRIME_PRODUCTS [] |
| const u32bit | PRIME_PRODUCTS_TABLE_SIZE = 256 |
| const u32bit | PRIME_TABLE_SIZE = 6541 |
| const u16bit | PRIMES [] |
Typedef Documentation
| typedef unsigned char QCA::Botan::byte |
| typedef signed int QCA::Botan::s32bit |
| typedef unsigned short QCA::Botan::u16bit |
| typedef unsigned int QCA::Botan::u32bit |
| typedef unsigned long long QCA::Botan::u64bit |
Function Documentation
| void QCA::Botan::bigint_add2 | ( | word | x[], | |
| u32bit | x_size, | |||
| const word | y[], | |||
| u32bit | y_size | |||
| ) |
Definition at line 108 of file mp_asm.cpp.
| word QCA::Botan::bigint_add2_nc | ( | word | x[], | |
| u32bit | x_size, | |||
| const word | y[], | |||
| u32bit | y_size | |||
| ) |
Definition at line 53 of file mp_asm.cpp.
| void QCA::Botan::bigint_add3 | ( | word | z[], | |
| const word | x[], | |||
| u32bit | x_size, | |||
| const word | y[], | |||
| u32bit | y_size | |||
| ) |
Definition at line 117 of file mp_asm.cpp.
| word QCA::Botan::bigint_add3_nc | ( | word | z[], | |
| const word | x[], | |||
| u32bit | x_size, | |||
| const word | y[], | |||
| u32bit | y_size | |||
| ) |
Definition at line 78 of file mp_asm.cpp.
| s32bit QCA::Botan::bigint_cmp | ( | const word | x[], | |
| u32bit | x_size, | |||
| const word | y[], | |||
| u32bit | y_size | |||
| ) |
Definition at line 66 of file mp_misc.cpp.
| void QCA::Botan::bigint_comba_mul4 | ( | word | z[8], | |
| const word | x[4], | |||
| const word | y[4] | |||
| ) |
Definition at line 47 of file mp_comba.cpp.
| void QCA::Botan::bigint_comba_mul6 | ( | word | z[12], | |
| const word | x[6], | |||
| const word | y[6] | |||
| ) |
Definition at line 86 of file mp_comba.cpp.
| void QCA::Botan::bigint_comba_mul8 | ( | word | z[16], | |
| const word | x[8], | |||
| const word | y[8] | |||
| ) |
Definition at line 153 of file mp_comba.cpp.
| void QCA::Botan::bigint_comba_sqr4 | ( | word | z[8], | |
| const word | x[4] | |||
| ) |
Definition at line 256 of file mp_comba.cpp.
| void QCA::Botan::bigint_comba_sqr6 | ( | word | z[12], | |
| const word | x[6] | |||
| ) |
Definition at line 289 of file mp_comba.cpp.
| void QCA::Botan::bigint_comba_sqr8 | ( | word | z[16], | |
| const word | x[8] | |||
| ) |
Definition at line 341 of file mp_comba.cpp.
| u32bit QCA::Botan::bigint_divcore | ( | word | q, | |
| word | y1, | |||
| word | y2, | |||
| word | x1, | |||
| word | x2, | |||
| word | x3 | |||
| ) |
Definition at line 47 of file mp_misc.cpp.
| word QCA::Botan::bigint_divop | ( | word | n1, | |
| word | n0, | |||
| word | d | |||
| ) |
Definition at line 88 of file mp_misc.cpp.
| void QCA::Botan::bigint_linmul2 | ( | word | x[], | |
| u32bit | x_size, | |||
| word | y | |||
| ) |
Definition at line 176 of file mp_asm.cpp.
| void QCA::Botan::bigint_linmul3 | ( | word | z[], | |
| const word | x[], | |||
| u32bit | x_size, | |||
| word | y | |||
| ) |
Definition at line 194 of file mp_asm.cpp.
| void QCA::Botan::bigint_linmul_add | ( | word | [], | |
| u32bit | , | |||
| const | word[], | |||
| u32bit | , | |||
| word | ||||
| ) |
| word QCA::Botan::bigint_modop | ( | word | n1, | |
| word | n0, | |||
| word | d | |||
| ) |
Definition at line 113 of file mp_misc.cpp.
| void QCA::Botan::bigint_monty_redc | ( | word | z[], | |
| u32bit | z_size, | |||
| const word | x[], | |||
| u32bit | x_size, | |||
| word | u | |||
| ) |
Definition at line 213 of file mp_asm.cpp.
| void QCA::Botan::bigint_mul | ( | word | z[], | |
| u32bit | z_size, | |||
| word | workspace[], | |||
| const word | x[], | |||
| u32bit | x_size, | |||
| u32bit | x_sw, | |||
| const word | y[], | |||
| u32bit | y_size, | |||
| u32bit | y_sw | |||
| ) |
Definition at line 190 of file mp_mul.cpp.
| word QCA::Botan::bigint_mul_add_words | ( | word | z[], | |
| const word | x[], | |||
| u32bit | x_size, | |||
| word | y | |||
| ) |
Definition at line 50 of file mp_mulop.cpp.
| void QCA::Botan::bigint_shl1 | ( | word | x[], | |
| u32bit | x_size, | |||
| u32bit | word_shift, | |||
| u32bit | bit_shift | |||
| ) |
Definition at line 47 of file mp_shift.cpp.
| void QCA::Botan::bigint_shl2 | ( | word | y[], | |
| const word | x[], | |||
| u32bit | x_size, | |||
| u32bit | word_shift, | |||
| u32bit | bit_shift | |||
| ) |
Definition at line 102 of file mp_shift.cpp.
| void QCA::Botan::bigint_shr1 | ( | word | x[], | |
| u32bit | x_size, | |||
| u32bit | word_shift, | |||
| u32bit | bit_shift | |||
| ) |
Definition at line 71 of file mp_shift.cpp.
| void QCA::Botan::bigint_shr2 | ( | word | y[], | |
| const word | x[], | |||
| u32bit | x_size, | |||
| u32bit | word_shift, | |||
| u32bit | bit_shift | |||
| ) |
Definition at line 122 of file mp_shift.cpp.
| void QCA::Botan::bigint_sqr | ( | word | [], | |
| u32bit | , | |||
| word | [], | |||
| const | word[], | |||
| u32bit | , | |||
| u32bit | ||||
| ) |
| void QCA::Botan::bigint_sub2 | ( | word | x[], | |
| u32bit | x_size, | |||
| const word | y[], | |||
| u32bit | y_size | |||
| ) |
Definition at line 127 of file mp_asm.cpp.
| void QCA::Botan::bigint_sub3 | ( | word | z[], | |
| const word | x[], | |||
| u32bit | x_size, | |||
| const word | y[], | |||
| u32bit | y_size | |||
| ) |
Definition at line 151 of file mp_asm.cpp.
| void QCA::Botan::bigint_wordmul | ( | word | a, | |
| word | b, | |||
| word * | out_low, | |||
| word * | out_high | |||
| ) |
Definition at line 124 of file mp_misc.cpp.
| bool QCA::Botan::check_prime | ( | const BigInt & | ) |
| void QCA::Botan::clear_mem | ( | T * | ptr, | |
| u32bit | n | |||
| ) | [inline] |
| u64bit QCA::Botan::combine_timers | ( | u32bit | , | |
| u32bit | , | |||
| u32bit | ||||
| ) |
| OutputIterator QCA::Botan::copy_if | ( | InputIterator | current, | |
| InputIterator | end, | |||
| OutputIterator | dest, | |||
| Predicate | copy_p | |||
| ) | [inline] |
Definition at line 46 of file stl_util.h.
| void QCA::Botan::copy_mem | ( | T * | out, | |
| const T * | in, | |||
| u32bit | n | |||
| ) | [inline] |
| void QCA::Botan::delete2nd | ( | Pair & | pair | ) | [inline] |
Definition at line 96 of file stl_util.h.
| static void QCA::Botan::delete_lock | ( | std::pair< const std::string, Mutex * > & | pair | ) | [static] |
Definition at line 453 of file libstate.cpp.
| void QCA::Botan::divide | ( | const BigInt & | x, | |
| const BigInt & | y_arg, | |||
| BigInt & | q, | |||
| BigInt & | r | |||
| ) |
Definition at line 63 of file divide.cpp.
| u32bit QCA::Botan::entropy_estimate | ( | const byte | buffer[], | |
| u32bit | length | |||
| ) |
| BigInt QCA::Botan::gcd | ( | const BigInt & | , | |
| const BigInt & | ||||
| ) |
| bool QCA::Botan::generate_dsa_primes | ( | BigInt & | , | |
| BigInt & | , | |||
| const | byte[], | |||
| u32bit | , | |||
| u32bit | , | |||
| u32bit | = 0 | |||
| ) |
| SecureVector<byte> QCA::Botan::generate_dsa_primes | ( | BigInt & | , | |
| BigInt & | , | |||
| u32bit | ||||
| ) |
| byte QCA::Botan::get_byte | ( | u32bit | byte_num, | |
| T | input | |||
| ) | [inline] |
| Library_State & QCA::Botan::global_state | ( | ) |
Definition at line 84 of file libstate.cpp.
| u32bit QCA::Botan::hamming_weight | ( | u64bit | n | ) |
| u32bit QCA::Botan::high_bit | ( | u64bit | n | ) |
| BigInt QCA::Botan::inverse_mod | ( | const BigInt & | , | |
| const BigInt & | ||||
| ) |
| bool QCA::Botan::is_prime | ( | const BigInt & | ) |
| s32bit QCA::Botan::jacobi | ( | const BigInt & | , | |
| const BigInt & | ||||
| ) |
| BigInt QCA::Botan::lcm | ( | const BigInt & | , | |
| const BigInt & | ||||
| ) |
| void QCA::Botan::lock_mem | ( | void * | ptr, | |
| u32bit | bytes | |||
| ) |
Definition at line 45 of file ml_win32/mlock.cpp.
| u32bit QCA::Botan::low_bit | ( | u64bit | n | ) |
| u32bit QCA::Botan::low_zero_bits | ( | const BigInt & | ) |
| u16bit QCA::Botan::make_u16bit | ( | byte | input0, | |
| byte | input1 | |||
| ) | [inline] |
| u32bit QCA::Botan::make_u32bit | ( | byte | input0, | |
| byte | input1, | |||
| byte | input2, | |||
| byte | input3 | |||
| ) | [inline] |
| u64bit QCA::Botan::make_u64bit | ( | byte | input0, | |
| byte | input1, | |||
| byte | input2, | |||
| byte | input3, | |||
| byte | input4, | |||
| byte | input5, | |||
| byte | input6, | |||
| byte | input7 | |||
| ) | [inline] |
| BigInt QCA::Botan::mul_add | ( | const BigInt & | , | |
| const BigInt & | , | |||
| const BigInt & | ||||
| ) |
| void QCA::Botan::multimap_insert | ( | std::multimap< K, V > & | multimap, | |
| const K & | key, | |||
| const V & | value | |||
| ) | [inline] |
Definition at line 105 of file stl_util.h.
| bool QCA::Botan::operator!= | ( | const BigInt & | a, | |
| const BigInt & | b | |||
| ) | [inline] |
| word QCA::Botan::operator% | ( | const BigInt & | n, | |
| word | mod | |||
| ) |
| BigInt QCA::Botan::operator% | ( | const BigInt & | n, | |
| const BigInt & | mod | |||
| ) |
| BigInt QCA::Botan::operator* | ( | const BigInt & | x, | |
| const BigInt & | y | |||
| ) |
| BigInt QCA::Botan::operator+ | ( | const BigInt & | x, | |
| const BigInt & | y | |||
| ) |
| BigInt QCA::Botan::operator- | ( | const BigInt & | x, | |
| const BigInt & | y | |||
| ) |
| BigInt QCA::Botan::operator/ | ( | const BigInt & | x, | |
| const BigInt & | y | |||
| ) |
| bool QCA::Botan::operator< | ( | const BigInt & | a, | |
| const BigInt & | b | |||
| ) | [inline] |
| BigInt QCA::Botan::operator<< | ( | const BigInt & | x, | |
| u32bit | shift | |||
| ) |
| std::ostream & QCA::Botan::operator<< | ( | std::ostream & | stream, | |
| const BigInt & | n | |||
| ) |
| bool QCA::Botan::operator<= | ( | const BigInt & | a, | |
| const BigInt & | b | |||
| ) | [inline] |
| bool QCA::Botan::operator== | ( | const BigInt & | a, | |
| const BigInt & | b | |||
| ) | [inline] |
| bool QCA::Botan::operator> | ( | const BigInt & | a, | |
| const BigInt & | b | |||
| ) | [inline] |
| bool QCA::Botan::operator>= | ( | const BigInt & | a, | |
| const BigInt & | b | |||
| ) | [inline] |
| BigInt QCA::Botan::operator>> | ( | const BigInt & | x, | |
| u32bit | shift | |||
| ) |
| std::istream & QCA::Botan::operator>> | ( | std::istream & | stream, | |
| BigInt & | n | |||
| ) |
| std::vector< std::string > QCA::Botan::parse_algorithm_name | ( | const std::string & | namex | ) |
Definition at line 95 of file parsing.cpp.
| std::vector< u32bit > QCA::Botan::parse_asn1_oid | ( | const std::string & | oid | ) |
Definition at line 179 of file parsing.cpp.
| u32bit QCA::Botan::parse_expr | ( | const std::string & | expr | ) |
Definition at line 251 of file parsing.cpp.
| bool QCA::Botan::passes_mr_tests | ( | const BigInt & | , | |
| u32bit | = 1 | |||
| ) |
| BigInt QCA::Botan::power_mod | ( | const BigInt & | , | |
| const BigInt & | , | |||
| const BigInt & | ||||
| ) |
| bool QCA::Botan::power_of_2 | ( | u64bit | arg | ) |
| BigInt QCA::Botan::random_integer | ( | const BigInt & | , | |
| const BigInt & | ||||
| ) |
| BigInt QCA::Botan::random_integer | ( | u32bit | ) |
| BigInt QCA::Botan::random_prime | ( | u32bit | , | |
| const BigInt & | = 1, |
|||
| u32bit | = 1, |
|||
| u32bit | = 2 | |||
| ) |
| BigInt QCA::Botan::random_safe_prime | ( | u32bit | ) |
| T QCA::Botan::rotate_left | ( | T | input, | |
| u32bit | rot | |||
| ) | [inline] |
| T QCA::Botan::rotate_right | ( | T | input, | |
| u32bit | rot | |||
| ) | [inline] |
| bool QCA::Botan::run_primality_tests | ( | const BigInt & | , | |
| u32bit | = 1 | |||
| ) |
| bool QCA::Botan::same_mem | ( | const T * | p1, | |
| const T * | p2, | |||
| u32bit | n | |||
| ) | [inline] |
| R QCA::Botan::search_map | ( | const std::map< K, V > & | mapping, | |
| const K & | key, | |||
| const R & | null_result, | |||
| const R & | found_result | |||
| ) | [inline] |
Definition at line 73 of file stl_util.h.
| V QCA::Botan::search_map | ( | const std::map< K, V > & | mapping, | |
| const K & | key, | |||
| const V & | null_result = V() | |||
| ) | [inline] |
Definition at line 62 of file stl_util.h.
| void QCA::Botan::set_global_state | ( | Library_State * | new_state | ) |
Definition at line 94 of file libstate.cpp.
| void QCA::Botan::set_mem | ( | T * | ptr, | |
| u32bit | n, | |||
| byte | val | |||
| ) | [inline] |
| u32bit QCA::Botan::significant_bytes | ( | u64bit | n | ) |
| s32bit QCA::Botan::simple_primality_tests | ( | const BigInt & | ) |
| std::vector< std::string > QCA::Botan::split_on | ( | const std::string & | str, | |
| char | delim | |||
| ) |
Definition at line 151 of file parsing.cpp.
| BigInt QCA::Botan::square | ( | const BigInt & | ) |
| BigInt QCA::Botan::sub_mul | ( | const BigInt & | , | |
| const BigInt & | , | |||
| const BigInt & | ||||
| ) |
| Library_State * QCA::Botan::swap_global_state | ( | Library_State * | new_state | ) |
Definition at line 102 of file libstate.cpp.
| u64bit QCA::Botan::system_clock | ( | ) |
| u64bit QCA::Botan::system_time | ( | ) |
| std::string QCA::Botan::to_string | ( | u64bit | n, | |
| u32bit | min_len = 0 | |||
| ) |
Definition at line 71 of file parsing.cpp.
| u32bit QCA::Botan::to_u32bit | ( | const std::string & | number | ) |
Definition at line 49 of file parsing.cpp.
| void QCA::Botan::unlock_mem | ( | void * | ptr, | |
| u32bit | bytes | |||
| ) |
Definition at line 53 of file ml_win32/mlock.cpp.
| bool QCA::Botan::verify_prime | ( | const BigInt & | ) |
| void QCA::Botan::word3_muladd | ( | word * | w2, | |
| word * | w1, | |||
| word * | w0, | |||
| word | a, | |||
| word | b | |||
| ) | [inline] |
| void QCA::Botan::word3_muladd_2 | ( | word * | w2, | |
| word * | w1, | |||
| word * | w0, | |||
| word | a, | |||
| word | b | |||
| ) | [inline] |
| word QCA::Botan::word8_add2 | ( | word | x[8], | |
| const word | y[8], | |||
| word | carry | |||
| ) | [inline] |
| word QCA::Botan::word8_add3 | ( | word | z[8], | |
| const word | x[8], | |||
| const word | y[8], | |||
| word | carry | |||
| ) | [inline] |
| word QCA::Botan::word8_linmul2 | ( | word | x[4], | |
| word | y, | |||
| word | carry | |||
| ) | [inline] |
| word QCA::Botan::word8_linmul3 | ( | word | z[8], | |
| const word | x[8], | |||
| word | y, | |||
| word | carry | |||
| ) | [inline] |
| word QCA::Botan::word8_madd3 | ( | word | z[8], | |
| const word | x[8], | |||
| word | y, | |||
| word | carry | |||
| ) | [inline] |
| word QCA::Botan::word8_sub2 | ( | word | x[4], | |
| const word | y[4], | |||
| word | carry | |||
| ) | [inline] |
| word QCA::Botan::word8_sub3 | ( | word | z[8], | |
| const word | x[8], | |||
| const word | y[8], | |||
| word | carry | |||
| ) | [inline] |
| word QCA::Botan::word_add | ( | word | x, | |
| word | y, | |||
| word * | carry | |||
| ) | [inline] |
| word QCA::Botan::word_madd2 | ( | word | a, | |
| word | b, | |||
| word | c, | |||
| word * | carry | |||
| ) | [inline] |
| word QCA::Botan::word_madd3 | ( | word | a, | |
| word | b, | |||
| word | c, | |||
| word | d, | |||
| word * | carry | |||
| ) | [inline] |
| word QCA::Botan::word_sub | ( | word | x, | |
| word | y, | |||
| word * | carry | |||
| ) | [inline] |
| bool QCA::Botan::x500_name_cmp | ( | const std::string & | name1, | |
| const std::string & | name2 | |||
| ) |
Definition at line 212 of file parsing.cpp.
| void QCA::Botan::xor_buf | ( | byte | out[], | |
| const byte | in[], | |||
| const byte | mask[], | |||
| u32bit | length | |||
| ) |
| void QCA::Botan::xor_buf | ( | byte | data[], | |
| const byte | mask[], | |||
| u32bit | length | |||
| ) |
Variable Documentation
| const u32bit QCA::Botan::MP_WORD_BITS = BOTAN_MP_WORD_BITS |
| const word QCA::Botan::MP_WORD_MASK = ~((word)0) |
Definition at line 54 of file mp_types.h.
| const word QCA::Botan::MP_WORD_MAX = MP_WORD_MASK |
Definition at line 56 of file mp_types.h.
| const word QCA::Botan::MP_WORD_TOP_BIT = (word)1 << (8*sizeof(word) - 1) |
Definition at line 55 of file mp_types.h.
| const u64bit QCA::Botan::PRIME_PRODUCTS[] |
| const u32bit QCA::Botan::PRIME_PRODUCTS_TABLE_SIZE = 256 |
| const u32bit QCA::Botan::PRIME_TABLE_SIZE = 6541 |
| const u16bit QCA::Botan::PRIMES[] |
KDE 4.4 API Reference