Home
last modified time | relevance | path

Searched refs:dh (Results 1 – 25 of 81) sorted by relevance

1234

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_dh.c82 if (dh == NULL) { in InitDhStruct()
94 DH_free(dh); in InitDhStruct()
98 return dh; in InitDhStruct()
120 DH_free(dh); in InitDhPubStruct()
124 return dh; in InitDhPubStruct()
172 DH_free(dh); in HksOpensslDhGenerateKey()
178 DH_free(dh); in HksOpensslDhGenerateKey()
253 DH *dh = NULL; in HksOpensslCheckDhKey() local
268 DH_free(dh); in HksOpensslCheckDhKey()
318 (void)memset_s(computeKey, DH_size(dh), 0, DH_size(dh)); in HksOpensslDhAgreeKey()
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_dh_helper.c90 if (dh == NULL) { in DhGenerateKey()
94 DH_free(dh); in DhGenerateKey()
100 DH_free(dh); in DhGenerateKey()
120 if (dh == NULL) { in InitDhStruct()
136 DH_free(dh); in InitDhStruct()
140 return dh; in InitDhStruct()
160 DH_free(dh); in DhAgreeKey()
167 DH_free(dh); in DhAgreeKey()
174 DH_free(dh); in DhAgreeKey()
189 (void)memset_s(computeKey, DH_size(dh), 0, DH_size(dh)); in DhAgreeKey()
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
H A Ddh_asy_key_generator_openssl.c278 DH *dh = NULL; in GetBigIntegerSpec() local
285 dh = impl->pk; in GetBigIntegerSpec()
292 dh = impl->sk; in GetBigIntegerSpec()
294 if (dh == NULL) { in GetBigIntegerSpec()
379 if (dh == NULL) { in GetIntSpecFromDhPriKey()
698 *returnDh = dh; in CreateOpensslDhKey()
775 DH *dh = NULL; in CreateDhKeyPairByCommSpec() local
814 DH *dh = NULL; in CreateDhPubKeyByKeyPairSpec() local
830 DH *dh = NULL; in CreateDhPriKeyByKeyPairSpec() local
880 DH *dh = NULL; in CreateDhPubKeyBySpec() local
[all …]
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dopenssl_adapter_mock.c1730 void OpensslDhFree(DH *dh) in OpensslDhFree() argument
1732 if (dh != NULL) { in OpensslDhFree()
1733 return DH_free(dh); in OpensslDhFree()
1737 int OpensslDhGenerateKey(DH *dh) in OpensslDhGenerateKey() argument
1742 return DH_generate_key(dh); in OpensslDhGenerateKey()
1750 return DH_get0_p(dh); in OpensslDhGet0P()
1758 return DH_get0_q(dh); in OpensslDhGet0Q()
1766 return DH_get0_g(dh); in OpensslDhGet0G()
1774 return DH_get_length(dh); in OpensslDhGetLength()
1790 return DH_get0_pub_key(dh); in OpensslDhGet0PubKey()
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Ddh_openssl_common.c81 EVP_PKEY *NewEvpPkeyByDh(DH *dh, bool withDuplicate) in NewEvpPkeyByDh() argument
83 if (dh == NULL) { in NewEvpPkeyByDh()
94 if (OpensslEvpPkeySet1Dh(pKey, dh) != HCF_OPENSSL_SUCCESS) { in NewEvpPkeyByDh()
101 if (OpensslEvpPkeyAssignDh(pKey, dh) != HCF_OPENSSL_SUCCESS) { in NewEvpPkeyByDh()
H A Dopenssl_adapter.c1226 void OpensslDhFree(DH *dh) in OpensslDhFree() argument
1228 DH_free(dh); in OpensslDhFree()
1231 int OpensslDhGenerateKey(DH *dh) in OpensslDhGenerateKey() argument
1233 return DH_generate_key(dh); in OpensslDhGenerateKey()
1238 return DH_get0_p(dh); in OpensslDhGet0P()
1243 return DH_get0_q(dh); in OpensslDhGet0Q()
1248 return DH_get0_g(dh); in OpensslDhGet0G()
1253 return DH_get_length(dh); in OpensslDhGetLength()
1263 return DH_get0_pub_key(dh); in OpensslDhGet0PubKey()
1268 return DH_get0_priv_key(dh); in OpensslDhGet0PrivKey()
[all …]
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Dopenssl_adapter.h316 void OpensslDhFree(DH *dh);
317 int OpensslDhGenerateKey(DH *dh);
318 const BIGNUM *OpensslDhGet0P(const DH *dh);
319 const BIGNUM *OpensslDhGet0Q(const DH *dh);
320 const BIGNUM *OpensslDhGet0G(const DH *dh);
321 long OpensslDhGetLength(const DH *dh);
322 int OpensslDhSetLength(DH *dh, long length);
323 const BIGNUM *OpensslDhGet0PubKey(const DH *dh);
324 const BIGNUM *OpensslDhGet0PrivKey(const DH *dh);
331 int OpensslDhSet0Pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
[all …]
H A Ddh_openssl_common.h28 EVP_PKEY *NewEvpPkeyByDh(DH *dh, bool withDuplicate);
/ohos5.0/foundation/arkui/ui_lite/frameworks/font/
H A Dui_line_break.cpp100 const DataHeader* dh = reinterpret_cast<const DataHeader*>(buf); in LoadRule() local
101 if (dh->dataHeader.headerSize >= static_cast<uint32_t>(size_)) { in LoadRule()
104 …const RBBIDataHeader* rbbidh = reinterpret_cast<const RBBIDataHeader*>(dataInBytes + dh->dataHeade… in LoadRule()
105 if (dh->dataHeader.headerSize + rbbidh->fFTable >= static_cast<uint32_t>(size_)) { in LoadRule()
110 … if (dh->dataHeader.headerSize + rbbidh->fTrie + rbbidh->fTrieLen > static_cast<uint32_t>(size_)) { in LoadRule()
/ohos5.0/base/security/huks/utils/crypto_adapter/
H A Dhks_client_service_adapter.c329 DH *dh = NULL; in DhToX509PublicKey() local
332 dh = DH_new_by_nid(nid); in DhToX509PublicKey()
333 …HKS_IF_NULL_LOGE_BREAK(dh, "DH_new_by_nid error %" LOG_PUBLIC "s", ERR_reason_error_string(ERR_get… in DhToX509PublicKey()
338 if (DH_set0_key(dh, pub, NULL) != 1) { in DhToX509PublicKey()
347 if (EVP_PKEY_set1_DH(pkey, dh) == 0) { in DhToX509PublicKey()
355 SELF_FREE_PTR(dh, DH_free) in DhToX509PublicKey()
696 const DH *dh = EVP_PKEY_get0_DH(pkey); in X509PublicKeyToDh() local
697 HKS_IF_NULL_LOGE_RETURN(dh, HKS_ERROR_NULL_POINTER, in X509PublicKeyToDh()
700 const BIGNUM *pubKey = DH_get0_pub_key(dh); in X509PublicKeyToDh()
715 keyMaterial->keySize = (uint32_t)DH_bits(dh); in X509PublicKeyToDh()
/ohos5.0/docs/zh-cn/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-key-agreement-using-dh.md4 对应的算法规格请查看[密钥协商算法规格:DH](crypto-key-agreement-overview.md#dh)。
10 …如何生成DH非对称密钥,开发者可参考下文示例,并结合[非对称密钥生成和转换规格:DH](crypto-asym-key-generation-conversion-spec.md#dh)和[随机生…
H A DReadme-CN.md76 - [使用DH进行密钥协商](crypto-key-agreement-using-dh.md)
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_render_thread_util.cpp57 uint32_t dh = currentHeight - newHeight; in SrcRectScaleDown() local
58 auto halfdh = dh / 2; in SrcRectScaleDown()
/ohos5.0/docs/en/application-dev/security/CryptoArchitectureKit/
H A Dcrypto-key-agreement-using-dh.md4 For details about the algorithm specifications, see [DH](crypto-key-agreement-overview.md#dh).
10 …In addition to the example in this topic, [DH](crypto-asym-key-generation-conversion-spec.md#dh) a…
H A DReadme-EN.md76 - [Key Agreement Using DH](crypto-key-agreement-using-dh.md)
/ohos5.0/build/docs/
H A D编译构建调试文档.md661 …obj/third_party/openssl/crypto/dh/crypto_source/dh_kdf.o: #deps 46, deps mtime 1681891589799107971…
662 ../../third_party/openssl/crypto/dh/dh_kdf.c
674 ../../third_party/openssl/include/openssl/dh.h
709 …obj/third_party/openssl/crypto/dh/crypto_source/dh_key.o: #deps 27, deps mtime 1681891589779107209…
710 ../../third_party/openssl/crypto/dh/dh_key.c
728 ../../third_party/openssl/crypto/dh/dh_local.h
729 ../../third_party/openssl/include/openssl/dh.h
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_composer_adapter.cpp930 uint32_t dh = currentHeight - newHeight; in LayerScaleDown() local
931 auto halfdh = dh / 2; in LayerScaleDown()
995 uint32_t dh = currentHeight - newHeight; in LayerScaleDown() local
996 auto halfdh = dh / 2; in LayerScaleDown()
1051 uint32_t dh = dstHeight - newHeight; in LayerScaleFit() local
1052 auto halfdh = dh / 2; in LayerScaleFit()
H A Drs_uni_render_util.cpp374 uint32_t dh = currentHeight - newHeight; in SrcRectScaleDown() local
375 auto halfdh = dh / 2; in SrcRectScaleDown()
1665 uint32_t dh = currentHeight - newHeight; in LayerScaleDown() local
1666 auto halfdh = dh / 2; in LayerScaleDown()
1721 uint32_t dh = dstHeight - newHeight; in LayerScaleFit() local
1722 auto halfdh = dh / 2; in LayerScaleFit()
H A Drs_composer_adapter.cpp748 int32_t dh = currentHeight - newHeight; in LayerScaleDown() local
749 auto halfdh = dh / 2; in LayerScaleDown()
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-arkui.md172 …br>函数:drawImage(image: image.PixelMap, dx: number, dy: number, dw: number, dh: number): void;|view…
173 …h: number,<br> dx: number,<br> dy: number,<br> dw: number,<br> dh: number,<br> ): voi…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-canvasrenderingcontext2d.md2751 drawImage(image: ImageBitmap | PixelMap, dx: number, dy: number, dw: number, dh: number): void
2769 | dh | number | 是 | 绘制区域的高度。当绘制区域的高度和裁剪图像的高度不一致时,将图像高度拉伸或压缩为绘…
2771 …: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void
2793 | dh | number | 是 | 绘制区域的高度。当绘制区域的高度和裁剪图像的高度不一致时,将图像高度拉伸或压缩为绘…
H A Dts-offscreencanvasrenderingcontext2d.md2853 drawImage(image: ImageBitmap | PixelMap, dx: number, dy: number, dw: number, dh: number): void
2871 | dh | number | 是 | 绘制区域的高度。<br>默认单位:vp。 |
2873 …: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void
2895 | dh | number | 是 | 绘制区域的高度。<br>默认单位:vp。 |
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/
H A Djs_url.cpp1719 char16_t dh = *(iter + 1); in HandleIllegalChar() local
1720 if ((dh & 0xFC00) == 0xDC00) { in HandleIllegalChar()
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-arkui.md172 …name: drawImage(image: image.PixelMap, dx: number, dy: number, dw: number, dh: number): void;|view…
173 …h: number,<br> dx: number,<br> dy: number,<br> dw: number,<br> dh: number,<br> ): voi…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-offscreencanvasrenderingcontext2d.md2842 drawImage(image: ImageBitmap | PixelMap, dx: number, dy: number, dw: number, dh: number): void
2860 | dh | number | Yes | Height of the drawing area.<br>Default unit: vp|
2862 …: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void
2884 | dh | number | Yes | Height of the drawing area.<br>Default unit: vp|

1234