#include <emsa4.h>
EMSA4 aka PSS-R
Definition at line 20 of file emsa4.h.
- Parameters
-
hash | the hash object to use |
Definition at line 130 of file emsa4.cpp.
References Botan::HashFunction::clone().
131 SALT_SIZE(
h->output_length()), hash(
h)
133 mgf =
new MGF1(hash->
clone());
macro_name HP_ACC binary_name aCC compile_option c output_to_option o add_include_dir_option I add_lib_dir_option L add_lib_option l lib_opt_flags O2 check_opt_flags O2 debug_flags g no_debug_flags lang_flags AA ext eh z warning_flags shared_flags Z makefile_style unix< mach_abi_linking > hppa1 DAportable hppa1 DA1 hppa2 DA2</mach_abi_linking >< so_link_flags > h
virtual HashFunction * clone() const =0
Botan::EMSA4::EMSA4 |
( |
HashFunction * |
hash, |
|
|
size_t |
salt_size |
|
) |
| |
- Parameters
-
hash | the hash object to use |
salt_size | the size of the salt to use in bytes |
Definition at line 139 of file emsa4.cpp.
References Botan::HashFunction::clone().
140 SALT_SIZE(salt_size), hash(
h)
142 mgf =
new MGF1(hash->
clone());
macro_name HP_ACC binary_name aCC compile_option c output_to_option o add_include_dir_option I add_lib_dir_option L add_lib_option l lib_opt_flags O2 check_opt_flags O2 debug_flags g no_debug_flags lang_flags AA ext eh z warning_flags shared_flags Z makefile_style unix< mach_abi_linking > hppa1 DAportable hppa1 DA1 hppa2 DA2</mach_abi_linking >< so_link_flags > h
virtual HashFunction * clone() const =0
Definition at line 34 of file emsa4.h.
34 {
delete hash;
delete mgf; }
The documentation for this class was generated from the following files: