Searched refs:returnSignatureData (Results 1 – 9 of 9) sorted by relevance
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
D | dsa_openssl.c | 100 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()
|
D | ecdsa_openssl.c | 169 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()
|
D | sm2_openssl.c | 189 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()
|
D | signature_rsa_openssl.c | 379 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/ |
D | signature_spi.h | 39 HcfResult (*engineSign)(HcfSignSpi *self, HcfBlob *data, HcfBlob *returnSignatureData);
|
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/ |
D | signature.h | 42 HcfResult (*sign)(HcfSign *self, HcfBlob *data, HcfBlob *returnSignatureData);
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_sign.cpp | 76 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()
|
D | napi_verify.cpp | 223 HcfBlob **returnData, HcfBlob **returnSignatureData) in GetDataBlobAndSignatureFromInput() argument 245 *returnSignatureData = signatureData; in GetDataBlobAndSignatureFromInput()
|
/base/security/crypto_framework/frameworks/crypto_operation/ |
D | signature.c | 309 static HcfResult SignDoFinal(HcfSign *self, HcfBlob *data, HcfBlob *returnSignatureData) in SignDoFinal() argument 319 …(HcfSignImpl *)self)->spiObj->engineSign(((HcfSignImpl *)self)->spiObj, data, returnSignatureData); in SignDoFinal()
|