Searched refs:HCF_MAX_ALGO_NAME_LEN (Results 1 – 11 of 11) sorted by relevance
/base/security/crypto_framework/common/inc/ |
D | config.h | 20 #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/ |
D | config.h | 20 #define HCF_MAX_ALGO_NAME_LEN 128 // input algoName parameter max length limit, include \0 macro
|
/base/security/crypto_framework/frameworks/crypto_operation/ |
D | md.c | 36 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()
|
D | key_agreement.c | 35 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()
|
D | mac.c | 35 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()
|
D | signature.c | 39 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()
|
D | cipher.c | 34 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/ |
D | sym_key_generator.c | 48 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()
|
D | asy_key_generator.c | 47 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/ |
D | mac_openssl.c | 32 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/ |
D | md_openssl.c | 31 char opensslAlgoName[HCF_MAX_ALGO_NAME_LEN];
|