MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getMaxSaltlen

Function getMaxSaltlen

src/jrd/SysFunction.cpp:3912–3919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3910
3911
3912int getMaxSaltlen(int hashIdx, rsa_key* key)
3913{
3914 int maxSaltLen = rsa_sign_saltlen_get_max_ex(LTC_PKCS_1_PSS, hashIdx, key);
3915 if (maxSaltLen == INT_MAX)
3916 return 32; // fallback on error
3917
3918 return maxSaltLen;
3919}
3920
3921
3922dsc* evlRsaSign(thread_db* tdbb, const SysFunction* function, const NestValueArray& args, impure_value* impure)

Callers 2

evlRsaSignFunction · 0.85
evlRsaVerifyFunction · 0.85

Calls 1

Tested by

no test coverage detected