| 739 | const unsigned RSA_CRYPT_ARG_MAX = 5; |
| 740 | |
| 741 | void setParamsRsaEncrypt(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args) |
| 742 | { |
| 743 | fb_assert(argsCount == RSA_CRYPT_ARG_MAX || argsCount == RSA_CRYPT_ARG_MAX - 1); |
| 744 | |
| 745 | setParamVarying(args[RSA_CRYPT_ARG_VALUE], ttype_binary); |
| 746 | setParamVarying(args[RSA_CRYPT_ARG_KEY], ttype_binary); |
| 747 | |
| 748 | if (args[RSA_CRYPT_ARG_LPARAM]->dsc_length) |
| 749 | args[RSA_CRYPT_ARG_LPARAM]->makeVarying(args[RSA_CRYPT_ARG_LPARAM]->getStringLength(), ttype_binary); |
| 750 | |
| 751 | if (args[RSA_CRYPT_ARG_HASH]->dsc_length) |
| 752 | args[RSA_CRYPT_ARG_HASH]->makeVarying(args[RSA_CRYPT_ARG_HASH]->getStringLength(), ttype_binary); |
| 753 | |
| 754 | if (argsCount == RSA_CRYPT_ARG_MAX) |
| 755 | args[RSA_CRYPT_ARG_PKCS_1_5]->makeShort(0); |
| 756 | } |
| 757 | |
| 758 | |
| 759 | const unsigned RSA_SIGN_ARG_VALUE = 0; |
nothing calls this directly
no test coverage detected