Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/asn1/
Dbio_ndef.c164 int derlen; in ndef_prefix() local
171 derlen = ASN1_item_ndef_i2d(ndef_aux->val, NULL, ndef_aux->it); in ndef_prefix()
172 p = OPENSSL_malloc(derlen); in ndef_prefix()
178 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_prefix()
220 int derlen; in ndef_suffix() local
239 derlen = ASN1_item_ndef_i2d(ndef_aux->val, NULL, ndef_aux->it); in ndef_suffix()
240 p = OPENSSL_malloc(derlen); in ndef_suffix()
246 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_suffix()
251 *plen = derlen - (*ndef_aux->boundary - ndef_aux->derbuf); in ndef_suffix()
/external/boringssl/src/crypto/x509/
Dt_x509.c252 int derlen; in X509_ocspid_print() local
260 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
261 if ((der = dertmp = (unsigned char *)OPENSSL_malloc (derlen)) == NULL) in X509_ocspid_print()
265 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
Dasn1_gen.c473 int derlen; in asn1_multi() local
498 derlen = i2d_ASN1_SET_ANY(sk, &der); in asn1_multi()
500 derlen = i2d_ASN1_SEQUENCE_ANY(sk, &der); in asn1_multi()
502 if (derlen < 0) in asn1_multi()
514 ret->value.asn1_string->length = derlen; in asn1_multi()
/external/boringssl/src/crypto/evp/
Dp_ec_asn1.c491 int derlen) { in eckey_param_decode() argument
493 if (!(eckey = d2i_ECParameters(NULL, pder, derlen))) { in eckey_param_decode()
526 int derlen) { in old_ec_priv_decode() argument
528 if (!(ec = d2i_ECPrivateKey(NULL, pder, derlen))) { in old_ec_priv_decode()
Dp_dsa_asn1.c449 static int dsa_param_decode(EVP_PKEY *pkey, const uint8_t **pder, int derlen) { in dsa_param_decode() argument
451 dsa = d2i_DSAparams(NULL, pder, derlen); in dsa_param_decode()
480 int derlen) { in old_dsa_priv_decode() argument
482 dsa = d2i_DSAPrivateKey(NULL, pder, derlen); in old_dsa_priv_decode()
Dinternal.h118 int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, int derlen);
134 int derlen);
Dp_rsa_asn1.c411 int derlen) { in old_rsa_priv_decode() argument
412 RSA *rsa = d2i_RSAPrivateKey(NULL, pder, derlen); in old_rsa_priv_decode()