28 #include <openssl/err.h>
29 #include <openssl/rsa.h>
33 #ifdef __DEVELOPMENT_ASSERTIONS__
84 pib.setResultSize(key);
87 std::string
sign = calcHash(bundle, key, pib);
93 EVP_PKEY *pkey = key.
getEVP();
100 int return_code = rs2s.getSign().first;
101 std::string sign_string = rs2s.getSign().second;
109 ERR_print_errors_fp(stderr);
110 return std::string(
"");
119 while (it.next(bundle.
end()))
133 EVP_PKEY *pkey = key.
getEVP();
164 void PayloadIntegrityBlock::setResultSize(
const SecurityKey &key)
166 EVP_PKEY *pkey = key.
getEVP();
169 if ((result_size = EVP_PKEY_size(pkey)) > 0)