| 790 | const unsigned RSA_VERIFY_ARG_MAX = 6; |
| 791 | |
| 792 | void setParamsRsaVerify(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args) |
| 793 | { |
| 794 | fb_assert(argsCount == RSA_VERIFY_ARG_MAX || argsCount == RSA_VERIFY_ARG_MAX - 1); |
| 795 | |
| 796 | setParamVarying(args[RSA_VERIFY_ARG_VALUE], ttype_binary); |
| 797 | setParamVarying(args[RSA_VERIFY_ARG_KEY], ttype_binary); |
| 798 | setParamVarying(args[RSA_VERIFY_ARG_SIGNATURE], ttype_binary); |
| 799 | |
| 800 | if (args[RSA_VERIFY_ARG_HASH]->dsc_length) |
| 801 | args[RSA_VERIFY_ARG_HASH]->makeVarying(args[RSA_VERIFY_ARG_HASH]->getStringLength(), ttype_binary); |
| 802 | |
| 803 | if (args[RSA_VERIFY_ARG_SALTLEN]->dsc_length) |
| 804 | args[RSA_VERIFY_ARG_SALTLEN]->makeShort(0); |
| 805 | |
| 806 | if (argsCount == RSA_VERIFY_ARG_MAX) |
| 807 | args[RSA_VERIFY_ARG_PKCS_1_5]->makeShort(0); |
| 808 | } |
| 809 | |
| 810 | |
| 811 | void setParamsRsaPublic(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args) |
nothing calls this directly
no test coverage detected