lookup.h

来自「含有多种公开密钥算法、多种块加密、多种数据流加密、多种HASH函数、多种Chec」· C头文件 代码 · 共 60 行

H
60
字号
/************************************************** Algorithm Lookup Header File                   ** (C) 1999-2002 The Botan Project                **************************************************/#ifndef BOTAN_LOOKUP_H__#define BOTAN_LOOKUP_H__#include <botan/base.h>#include <botan/mode_pad.h>namespace Botan {/************************************************** Retrieve an object from the lookup table       **************************************************/const BlockCipher*                  retrieve_block_cipher(const std::string&);const StreamCipher*                 retrieve_stream_cipher(const std::string&);const HashFunction*                 retrieve_hash(const std::string&);const MessageAuthenticationCode*    retrieve_mac(const std::string&);const BlockCipherModePaddingMethod* retrieve_bc_pad(const std::string&);/************************************************** Get an algorithm object                        **************************************************/BlockCipher*                        get_block_cipher(const std::string&);StreamCipher*                       get_stream_cipher(const std::string&);HashFunction*                       get_hash(const std::string&);MessageAuthenticationCode*          get_mac(const std::string&);const BlockCipherModePaddingMethod* get_bc_pad(const std::string&);/************************************************** Check to see if an algorithm exists            **************************************************/bool have_algorithm(const std::string&);bool have_block_cipher(const std::string&);bool have_stream_cipher(const std::string&);bool have_hash(const std::string&);bool have_mac(const std::string&);/************************************************** Dereference an alias                           **************************************************/std::string deref_alias(const std::string&);/************************************************** Query information about an algorithm           **************************************************/u32bit block_size_of(const std::string&);u32bit output_length_of(const std::string&);u32bit min_keylength_of(const std::string&);u32bit max_keylength_of(const std::string&);u32bit keylength_multiple_of(const std::string&);}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?