Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_x509.c233 uint8_t extValue[MAX_EXT_INT_VAL_LEN]; in CC_CommonX509AddIntegerExtension() local
259 writtenBytes = snprintf(extValue, MAX_EXT_INT_VAL_LEN, "critical,ASN1:INTEGER:0x%X",val); in CC_CommonX509AddIntegerExtension()
261 ext = X509V3_EXT_conf_nid(NULL, NULL, nid, extValue); in CC_CommonX509AddIntegerExtension()
308 uint8_t extValue[MAX_EXT_VAL_LEN]; in CC_CommonX509AddStringExtension() local
330 writtenBytes = snprintf(extValue, MAX_EXT_VAL_LEN, "critical,DER: %02X",pVal[pValIdx++]); in CC_CommonX509AddStringExtension()
331 UTIL_LOG_INFO("writtenBytes %d, extValue %s\n",writtenBytes, extValue); in CC_CommonX509AddStringExtension()
333 writtenBytes += snprintf((extValue+writtenBytes), CHAR_STR_LEN, ":%02X", pVal[pValIdx++]); in CC_CommonX509AddStringExtension()
334 UTIL_LOG_INFO("writtenBytes %d, extValue %s\n",writtenBytes, extValue); in CC_CommonX509AddStringExtension()
345 ext = X509V3_EXT_conf_nid(NULL, NULL, nid, extValue); in CC_CommonX509AddStringExtension()