Home
last modified time | relevance | path

Searched refs:HCF_MAX_STR_LEN (Results 1 – 6 of 6) sorted by relevance

/base/security/crypto_framework/common/inc/
Dconfig.h19 #define HCF_MAX_STR_LEN 1024 // input string parameter max length limit, include \0 macro
/base/security/certificate_framework/frameworks/common/v1.0/inc/
Dconfig.h19 #define HCF_MAX_STR_LEN 1024 // input string parameter max length limit, include \0 macro
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_certificate_openssl.c351 char *issuer = (char *)HcfMalloc(HCF_MAX_STR_LEN + 1, 0); in GetIssuerDNX509Openssl()
359 X509_NAME_oneline(issuerName, issuer, HCF_MAX_STR_LEN); in GetIssuerDNX509Openssl()
391 char *subject = (char *)HcfMalloc(HCF_MAX_STR_LEN + 1, 0); in GetSubjectDNX509Openssl()
399 X509_NAME_oneline(subjectName, subject, HCF_MAX_STR_LEN); in GetSubjectDNX509Openssl()
437 if ((date == NULL) || (strlen(date) > HCF_MAX_STR_LEN)) { in GetNotBeforeX509Openssl()
469 if ((date == NULL) || (strlen(date) > HCF_MAX_STR_LEN)) { in GetNotAfterX509Openssl()
643 if ((keyUsage == NULL) || (keyUsage->length <= 0)|| (keyUsage->length >= HCF_MAX_STR_LEN)) { in GetKeyUsageX509Openssl()
763 if ((str == NULL) || (strlen(str) > HCF_MAX_STR_LEN)) { in DeepCopyAlternativeNames()
Dx509_crl_openssl.c241 if ((issuer == NULL) || (strlen(issuer) > HCF_MAX_STR_LEN)) { in GetIssuerName()
290 if (thisUpdate == NULL || strlen(thisUpdate) > HCF_MAX_STR_LEN) { in GetLastUpdate()
323 if ((nextUpdate == NULL) || (strlen(nextUpdate) > HCF_MAX_STR_LEN)) { in GetNextUpdate()
Dx509_crl_entry_openssl.c167 if ((revTime == NULL) || (strlen(revTime) > HCF_MAX_STR_LEN)) { in GetRevocationDate()
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dcert_chain_validator.c176 if (!IsStrValid(algorithm, HCF_MAX_STR_LEN) || (pathValidator == NULL)) { in HcfCertChainValidatorCreate()