| 718 | const unsigned CRYPT_ARG_MAX = 7; |
| 719 | |
| 720 | void setParamsEncrypt(DataTypeUtilBase*, const SysFunction*, int argsCount, dsc** args) |
| 721 | { |
| 722 | fb_assert(argsCount == CRYPT_ARG_MAX); |
| 723 | |
| 724 | setParamVarying(args[CRYPT_ARG_VALUE], ttype_binary); |
| 725 | fb_assert(args[CRYPT_ARG_ALGORITHM]->dsc_address && args[CRYPT_ARG_ALGORITHM]->isText()); |
| 726 | setParamVarying(args[CRYPT_ARG_KEY], ttype_binary); |
| 727 | setParamVarying(args[CRYPT_ARG_CTRTYPE], ttype_ascii, args[CRYPT_ARG_CTRTYPE]->dsc_length > 0); |
| 728 | |
| 729 | if (args[CRYPT_ARG_COUNTER]->dsc_length) |
| 730 | args[CRYPT_ARG_COUNTER]->makeInt64(0); |
| 731 | } |
| 732 | |
| 733 | |
| 734 | const unsigned RSA_CRYPT_ARG_VALUE = 0; |
nothing calls this directly
no test coverage detected