/base/security/crypto_framework/frameworks/spi/ |
D | signature_spi.h | 45 HcfResult (*engineGetSignSpecInt)(HcfSignSpi *self, SignSpecItem item, int32_t *returnInt); 63 HcfResult (*engineGetVerifySpecInt)(HcfVerifySpi *self, SignSpecItem item, int32_t *returnInt);
|
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/ |
D | signature.h | 50 HcfResult (*getSignSpecInt)(HcfSign *self, SignSpecItem item, int32_t *returnInt); 70 HcfResult (*getVerifySpecInt)(HcfVerify *self, SignSpecItem item, int32_t *returnInt);
|
/base/security/crypto_framework/interfaces/innerkits/key/ |
D | pub_key.h | 32 HcfResult (*getAsyKeySpecInt)(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt);
|
D | pri_key.h | 32 HcfResult (*getAsyKeySpecInt)(const HcfPriKey *self, const AsyKeySpecItem item, int *returnInt);
|
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/ |
D | napi_utils.h | 63 bool GetInt32FromJSParams(napi_env env, napi_value arg, int32_t &returnInt); 64 bool GetUint32FromJSParams(napi_env env, napi_value arg, uint32_t &returnInt);
|
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
D | signature_rsa_openssl.c | 525 static HcfResult EngineGetSignSpecInt(HcfSignSpi *self, SignSpecItem item, int32_t *returnInt) in EngineGetSignSpecInt() argument 527 if (self == NULL || returnInt == NULL) { in EngineGetSignSpecInt() 545 *returnInt = PSS_TRAILER_FIELD_SUPPORTED_INT; in EngineGetSignSpecInt() 549 *returnInt = impl->saltLen; in EngineGetSignSpecInt() 553 if (Openssl_EVP_PKEY_CTX_get_rsa_pss_saltlen(impl->ctx, returnInt) != HCF_OPENSSL_SUCCESS) { in EngineGetSignSpecInt() 635 static HcfResult EngineGetVerifySpecInt(HcfVerifySpi *self, SignSpecItem item, int32_t *returnInt) in EngineGetVerifySpecInt() argument 637 if (self == NULL || returnInt == NULL) { in EngineGetVerifySpecInt() 655 *returnInt = PSS_TRAILER_FIELD_SUPPORTED_INT; in EngineGetVerifySpecInt() 659 *returnInt = impl->saltLen; in EngineGetVerifySpecInt() 663 if (Openssl_EVP_PKEY_CTX_get_rsa_pss_saltlen(impl->ctx, returnInt) != HCF_OPENSSL_SUCCESS) { in EngineGetVerifySpecInt()
|
D | dsa_openssl.c | 502 HcfResult EngineGetSignDsaSpecInt(HcfSignSpi *self, SignSpecItem item, int32_t *returnInt) in EngineGetSignDsaSpecInt() argument 506 (void)returnInt; in EngineGetSignDsaSpecInt() 510 HcfResult EngineGetVerifyDsaSpecInt(HcfVerifySpi *self, SignSpecItem item, int32_t *returnInt) in EngineGetVerifyDsaSpecInt() argument 514 (void)returnInt; in EngineGetVerifyDsaSpecInt()
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_dsa_verify_test.cpp | 98 int32_t returnInt; variable 99 ret = verify->getVerifySpecInt(verify, PSS_SALT_LEN_INT, &returnInt);
|
D | crypto_signature_exception_test.cpp | 175 int32_t returnInt = 0; variable 176 ret = EngineGetSignSpecInt((HcfSignSpi *)&g_obj, PSS_SALT_LEN_INT, &returnInt); 228 int32_t returnInt = 0; variable 229 ret =EngineGetVerifySpecInt((HcfVerifySpi *)&g_obj, PSS_SALT_LEN_INT, &returnInt);
|
D | crypto_dsa_sign_test.cpp | 502 int32_t returnInt; variable 503 ret = sign->getSignSpecInt(sign, PSS_SALT_LEN_INT, &returnInt);
|
/base/security/crypto_framework/frameworks/crypto_operation/ |
D | signature.c | 270 static HcfResult GetSignSpecInt(HcfSign *self, SignSpecItem item, int32_t *returnInt) in GetSignSpecInt() argument 272 if (self == NULL || returnInt == NULL) { in GetSignSpecInt() 280 return tmpSelf->spiObj->engineGetSignSpecInt(tmpSelf->spiObj, item, returnInt); in GetSignSpecInt() 348 static HcfResult GetVerifySpecInt(HcfVerify *self, SignSpecItem item, int32_t *returnInt) in GetVerifySpecInt() argument 350 if (self == NULL || returnInt == NULL) { in GetVerifySpecInt() 358 return tmpSelf->spiObj->engineGetVerifySpecInt(tmpSelf->spiObj, item, returnInt); in GetVerifySpecInt()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_pub_key.cpp | 114 int returnInt = 0; in GetAsyKeySpecNumber() local 115 HcfResult res = pubKey->getAsyKeySpecInt(pubKey, item, &returnInt); in GetAsyKeySpecNumber() 123 napi_create_int32(env, returnInt, &instance); in GetAsyKeySpecNumber()
|
D | napi_pri_key.cpp | 137 int returnInt = 0; in GetAsyKeySpecNumber() local 138 HcfResult res = priKey->getAsyKeySpecInt(priKey, item, &returnInt); in GetAsyKeySpecNumber() 146 napi_create_int32(env, returnInt, &instance); in GetAsyKeySpecNumber()
|
D | napi_sign.cpp | 703 int returnInt; in GetSignSpecNumber() local 704 HcfResult res = sign->getSignSpecInt(sign, item, &returnInt); in GetSignSpecNumber() 712 napi_create_int32(env, returnInt, &instance); in GetSignSpecNumber()
|
D | napi_verify.cpp | 729 int returnInt; in GetVerifySpecNumber() local 730 HcfResult res = verify->getVerifySpecInt(verify, item, &returnInt); in GetVerifySpecNumber() 738 napi_create_int32(env, returnInt, &instance); in GetVerifySpecNumber()
|
D | napi_utils.cpp | 1249 bool GetInt32FromJSParams(napi_env env, napi_value arg, int32_t &returnInt) in GetInt32FromJSParams() argument 1258 if (napi_get_value_int32(env, arg, &returnInt) != napi_ok) { in GetInt32FromJSParams() 1265 bool GetUint32FromJSParams(napi_env env, napi_value arg, uint32_t &returnInt) in GetUint32FromJSParams() argument 1274 if (napi_get_value_uint32(env, arg, &returnInt) != napi_ok) { in GetUint32FromJSParams()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/inc/ |
D | napi_cert_utils.h | 40 bool CertGetInt32FromJSParams(napi_env env, napi_value arg, int32_t &returnInt);
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | ecc_asy_key_generator_openssl.c | 1140 static HcfResult GetEcKeySpecInt(const HcfKey *self, const AsyKeySpecItem item, int *returnInt) in GetEcKeySpecInt() argument 1142 if (self == NULL || returnInt == NULL) { in GetEcKeySpecInt() 1160 res = GetCofactor(group, returnInt); in GetEcKeySpecInt() 1163 res = GetFieldSize(group, returnInt); in GetEcKeySpecInt() 1184 …atic HcfResult GetECPubKeySpecInt(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt) in GetECPubKeySpecInt() argument 1186 return GetEcKeySpecInt((HcfKey *)self, item, returnInt); in GetECPubKeySpecInt() 1200 …atic HcfResult GetECPriKeySpecInt(const HcfPriKey *self, const AsyKeySpecItem item, int *returnInt) in GetECPriKeySpecInt() argument 1202 return GetEcKeySpecInt((HcfKey *)self, item, returnInt); in GetECPriKeySpecInt()
|
D | dsa_asy_key_generator_openssl.c | 310 …HcfResult GetIntSpecFromDsaPubKey(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt) in GetIntSpecFromDsaPubKey() argument 313 (void)returnInt; in GetIntSpecFromDsaPubKey() 317 …HcfResult GetIntSpecFromDsaPriKey(const HcfPriKey *self, const AsyKeySpecItem item, int *returnInt) in GetIntSpecFromDsaPriKey() argument 320 (void)returnInt; in GetIntSpecFromDsaPriKey()
|
D | rsa_asy_key_generator_openssl.c | 131 int *returnInt) in GetRsaPubKeySpecInt() argument 134 (void)returnInt; in GetRsaPubKeySpecInt() 149 int *returnInt) in GetRsaPriKeySpecInt() argument 152 (void)returnInt; in GetRsaPriKeySpecInt()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_cert_utils.cpp | 414 bool CertGetInt32FromJSParams(napi_env env, napi_value arg, int32_t &returnInt) in CertGetInt32FromJSParams() argument 424 if (napi_get_value_int32(env, arg, &returnInt) != napi_ok) { in CertGetInt32FromJSParams()
|