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

Function makeCrypt

src/jrd/SysFunction.cpp:1595–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1593
1594
1595void makeCrypt(DataTypeUtilBase* dataTypeUtil, const SysFunction* function, dsc* result,
1596 int argsCount, const dsc** args)
1597{
1598 fb_assert(argsCount == CRYPT_ARG_MAX);
1599
1600 if (args[0]->isBlob())
1601 result->makeBlob(0, ttype_binary);
1602 else
1603 result->makeVarying(args[0]->getStringLength(), ttype_binary);
1604
1605 result->setNullable(args[0]->isNullable());
1606}
1607
1608
1609void makeRsaCrypt(DataTypeUtilBase* dataTypeUtil, const SysFunction* function, dsc* result,

Callers

nothing calls this directly

Calls 6

isBlobMethod · 0.80
makeBlobMethod · 0.80
makeVaryingMethod · 0.80
getStringLengthMethod · 0.80
setNullableMethod · 0.80
isNullableMethod · 0.45

Tested by

no test coverage detected