Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/x509/
Dt_x509.c253 int derlen; in X509_ocspid_print() local
262 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
263 if ((der = dertmp = (unsigned char *)OPENSSL_malloc(derlen)) == NULL) in X509_ocspid_print()
267 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
Dasn1_gen.c476 int derlen; in asn1_multi() local
503 derlen = i2d_ASN1_SET_ANY(sk, &der); in asn1_multi()
505 derlen = i2d_ASN1_SEQUENCE_ANY(sk, &der); in asn1_multi()
507 if (derlen < 0) in asn1_multi()
519 ret->value.asn1_string->length = derlen; in asn1_multi()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dt_x509.c253 int derlen; in X509_ocspid_print() local
262 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
263 if ((der = dertmp = (unsigned char *)OPENSSL_malloc(derlen)) == NULL) in X509_ocspid_print()
267 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
Dasn1_gen.c476 int derlen; in asn1_multi() local
503 derlen = i2d_ASN1_SET_ANY(sk, &der); in asn1_multi()
505 derlen = i2d_ASN1_SEQUENCE_ANY(sk, &der); in asn1_multi()
507 if (derlen < 0) in asn1_multi()
519 ret->value.asn1_string->length = derlen; in asn1_multi()
/external/curl/lib/vtls/
Dsectransp.c2157 size_t buflen, derlen, offset = 0; local
2188 res = pem_to_der((const char *)certbuf + offset, &der, &derlen);
2214 rc = append_cert_to_array(data, der, derlen, array);