Home
last modified time | relevance | path

Searched refs:HCF_MAX_ALGO_NAME_LEN (Results 1 – 11 of 11) sorted by relevance

/base/security/crypto_framework/common/inc/
Dconfig.h20 #define HCF_MAX_ALGO_NAME_LEN 128 // input algoName parameter max length limit, include \0 macro
/base/security/certificate_framework/frameworks/common/v1.0/inc/
Dconfig.h20 #define HCF_MAX_ALGO_NAME_LEN 128 // input algoName parameter max length limit, include \0 macro
/base/security/crypto_framework/frameworks/crypto_operation/
Dmd.c36 char algoName[HCF_MAX_ALGO_NAME_LEN];
143 if (!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN) || (md == NULL)) { in HcfMdCreate()
157 if (strcpy_s(returnMdApi->algoName, HCF_MAX_ALGO_NAME_LEN, algoName) != EOK) { in HcfMdCreate()
Dkey_agreement.c35 char algoName[HCF_MAX_ALGO_NAME_LEN];
156 if ((!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) { in HcfKeyAgreementCreate()
176 if (strcpy_s(returnGenerator->algoName, HCF_MAX_ALGO_NAME_LEN, algoName) != EOK) { in HcfKeyAgreementCreate()
Dmac.c35 char algoName[HCF_MAX_ALGO_NAME_LEN];
155 if (!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN) || (mac == NULL)) { in HcfMacCreate()
169 if (strcpy_s(returnMacApi->algoName, HCF_MAX_ALGO_NAME_LEN, algoName) != EOK) { in HcfMacCreate()
Dsignature.c39 char algoName[HCF_MAX_ALGO_NAME_LEN];
47 char algoName[HCF_MAX_ALGO_NAME_LEN];
402 if ((!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) { in HcfSignCreate()
423 if (strcpy_s(returnSign->algoName, HCF_MAX_ALGO_NAME_LEN, algoName) != EOK) { in HcfSignCreate()
454 if ((!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) { in HcfVerifyCreate()
473 if (strcpy_s(returnVerify->algoName, HCF_MAX_ALGO_NAME_LEN, algoName) != EOK) { in HcfVerifyCreate()
Dcipher.c34 char algoName[HCF_MAX_ALGO_NAME_LEN];
345 if (!IsStrValid(transformation, HCF_MAX_ALGO_NAME_LEN) || (returnObj == NULL)) { in HcfCipherCreate()
364 if (strcpy_s(returnGenerator->algoName, HCF_MAX_ALGO_NAME_LEN, transformation) != EOK) { in HcfCipherCreate()
/base/security/crypto_framework/frameworks/key/
Dsym_key_generator.c48 char algoName[HCF_MAX_ALGO_NAME_LEN];
184 if (!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN) || (returnObj == NULL)) { in HcfSymKeyGeneratorCreate()
205 if (strcpy_s(returnGenerator->algoName, HCF_MAX_ALGO_NAME_LEN, algoName)) { in HcfSymKeyGeneratorCreate()
Dasy_key_generator.c47 char algoName[HCF_MAX_ALGO_NAME_LEN];
1036 if ((!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) { in HcfAsyKeyGeneratorCreate()
1056 if (strcpy_s(returnGenerator->algoName, HCF_MAX_ALGO_NAME_LEN, algoName) != EOK) { in HcfAsyKeyGeneratorCreate()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/hmac/src/
Dmac_openssl.c32 char opensslAlgoName[HCF_MAX_ALGO_NAME_LEN];
170 if (strcpy_s(returnSpiImpl->opensslAlgoName, HCF_MAX_ALGO_NAME_LEN, opensslAlgoName) != EOK) { in OpensslMacSpiCreate()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/md/src/
Dmd_openssl.c31 char opensslAlgoName[HCF_MAX_ALGO_NAME_LEN];