Home
last modified time | relevance | path

Searched refs:returnSignatureData (Results 1 – 9 of 9) sorted by relevance

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Ddsa_openssl.c100 static bool IsSignDoFinalInputValid(HcfSignSpi *self, HcfBlob *returnSignatureData) in IsSignDoFinalInputValid() argument
102 if ((self == NULL) || (returnSignatureData == NULL)) { in IsSignDoFinalInputValid()
349 static HcfResult EngineDsaSignDoFinal(HcfSignSpi *self, HcfBlob *data, HcfBlob *returnSignatureData) in EngineDsaSignDoFinal() argument
351 if (!IsSignDoFinalInputValid(self, returnSignatureData)) { in EngineDsaSignDoFinal()
388 returnSignatureData->data = signatureData; in EngineDsaSignDoFinal()
389 returnSignatureData->len = (uint32_t)actualLen; in EngineDsaSignDoFinal()
393 …lt EngineDsaSignWithoutDigestDoFinal(HcfSignSpi *self, HcfBlob *data, HcfBlob *returnSignatureData) in EngineDsaSignWithoutDigestDoFinal() argument
395 if (!IsSignDoFinalInputValid(self, returnSignatureData)) { in EngineDsaSignWithoutDigestDoFinal()
431 returnSignatureData->data = signatureData; in EngineDsaSignWithoutDigestDoFinal()
432 returnSignatureData->len = (uint32_t)actualLen; in EngineDsaSignWithoutDigestDoFinal()
Decdsa_openssl.c169 static HcfResult EngineSignDoFinal(HcfSignSpi *self, HcfBlob *data, HcfBlob *returnSignatureData) in EngineSignDoFinal() argument
171 if ((self == NULL) || (returnSignatureData == NULL)) { in EngineSignDoFinal()
213 returnSignatureData->data = outData; in EngineSignDoFinal()
214 returnSignatureData->len = (uint32_t)actualLen; in EngineSignDoFinal()
Dsm2_openssl.c189 static HcfResult EngineSignDoFinal(HcfSignSpi *self, HcfBlob *data, HcfBlob *returnSignatureData) in EngineSignDoFinal() argument
191 if ((self == NULL) || (returnSignatureData == NULL)) { in EngineSignDoFinal()
233 returnSignatureData->data = outData; in EngineSignDoFinal()
234 returnSignatureData->len = (uint32_t)actualLen; in EngineSignDoFinal()
Dsignature_rsa_openssl.c379 static HcfResult EngineSign(HcfSignSpi *self, HcfBlob *data, HcfBlob *returnSignatureData) in EngineSign() argument
381 if (self == NULL || returnSignatureData == NULL) { in EngineSign()
424 returnSignatureData->data = outData; in EngineSign()
425 returnSignatureData->len = (uint32_t)actualLen; in EngineSign()
/base/security/crypto_framework/frameworks/spi/
Dsignature_spi.h39 HcfResult (*engineSign)(HcfSignSpi *self, HcfBlob *data, HcfBlob *returnSignatureData);
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/
Dsignature.h42 HcfResult (*sign)(HcfSign *self, HcfBlob *data, HcfBlob *returnSignatureData);
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_sign.cpp76 HcfBlob returnSignatureData; member
133 if (ctx->returnSignatureData.data != nullptr) { in FreeSignDoFinalCtx()
134 HcfFree(ctx->returnSignatureData.data); in FreeSignDoFinalCtx()
135 ctx->returnSignatureData.data = nullptr; in FreeSignDoFinalCtx()
136 ctx->returnSignatureData.len = 0; in FreeSignDoFinalCtx()
396 ctx->errCode = ctx->sign->sign(ctx->sign, ctx->data, &ctx->returnSignatureData); in SignJsDoFinalAsyncWorkProcess()
409 dataBlob = ConvertBlobToNapiValue(env, &ctx->returnSignatureData); in SignJsDoFinalAsyncWorkReturn()
Dnapi_verify.cpp223 HcfBlob **returnData, HcfBlob **returnSignatureData) in GetDataBlobAndSignatureFromInput() argument
245 *returnSignatureData = signatureData; in GetDataBlobAndSignatureFromInput()
/base/security/crypto_framework/frameworks/crypto_operation/
Dsignature.c309 static HcfResult SignDoFinal(HcfSign *self, HcfBlob *data, HcfBlob *returnSignatureData) in SignDoFinal() argument
319 …(HcfSignImpl *)self)->spiObj->engineSign(((HcfSignImpl *)self)->spiObj, data, returnSignatureData); in SignDoFinal()