📄 lookup.h
字号:
/************************************************** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -