| 764 | const unsigned RSA_SIGN_ARG_MAX = 5; |
| 765 | |
| 766 | void setParamsRsaSign(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args) |
| 767 | { |
| 768 | fb_assert(argsCount == RSA_SIGN_ARG_MAX || argsCount == RSA_SIGN_ARG_MAX - 1); |
| 769 | |
| 770 | setParamVarying(args[RSA_SIGN_ARG_VALUE], ttype_binary); |
| 771 | setParamVarying(args[RSA_SIGN_ARG_KEY], ttype_binary); |
| 772 | |
| 773 | if (args[RSA_SIGN_ARG_HASH]->dsc_length) |
| 774 | args[RSA_SIGN_ARG_HASH]->makeVarying(args[RSA_SIGN_ARG_HASH]->getStringLength(), ttype_binary); |
| 775 | |
| 776 | if (args[RSA_SIGN_ARG_SALTLEN]->dsc_length) |
| 777 | args[RSA_SIGN_ARG_SALTLEN]->makeShort(0); |
| 778 | |
| 779 | if (argsCount == RSA_SIGN_ARG_MAX) |
| 780 | args[RSA_SIGN_ARG_PKCS_1_5]->makeShort(0); |
| 781 | } |
| 782 | |
| 783 | |
| 784 | const unsigned RSA_VERIFY_ARG_VALUE = 0; |
nothing calls this directly
no test coverage detected