Home
last modified time | relevance | path

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

/external/openssl/crypto/asn1/
Dbio_ndef.c159 int derlen; in ndef_prefix() local
166 derlen = ASN1_item_ndef_i2d(ndef_aux->val, NULL, ndef_aux->it); in ndef_prefix()
167 p = OPENSSL_malloc(derlen); in ndef_prefix()
170 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_prefix()
212 int derlen; in ndef_suffix() local
231 derlen = ASN1_item_ndef_i2d(ndef_aux->val, NULL, ndef_aux->it); in ndef_suffix()
232 p = OPENSSL_malloc(derlen); in ndef_suffix()
235 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_suffix()
240 *plen = derlen - (*ndef_aux->boundary - ndef_aux->derbuf); in ndef_suffix()
Dasn1_locl.h98 const unsigned char **pder, int derlen);
116 const unsigned char **pder, int derlen);
Dt_x509.c250 int derlen; in X509_ocspid_print() local
258 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
259 if ((der = dertmp = (unsigned char *)OPENSSL_malloc (derlen)) == NULL) in X509_ocspid_print()
263 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
Dasn1_gen.c454 int derlen; in asn1_multi() local
479 derlen = i2d_ASN1_SET_ANY(sk, &der); in asn1_multi()
481 derlen = i2d_ASN1_SEQUENCE_ANY(sk, &der); in asn1_multi()
483 if (derlen < 0) in asn1_multi()
495 ret->value.asn1_string->length = derlen; in asn1_multi()
Dameth_lib.c433 const unsigned char **pder, int derlen), in EVP_PKEY_asn1_set_param() argument
/external/openssl/crypto/hmac/
Dhm_ameth.c107 const unsigned char **pder, int derlen) in old_hmac_decode() argument
111 if (!os || !ASN1_OCTET_STRING_set(os, *pder, derlen)) in old_hmac_decode()
/external/openssl/crypto/ec/
Dec_ameth.c523 const unsigned char **pder, int derlen) in eckey_param_decode() argument
526 if (!(eckey = d2i_ECParameters(NULL, pder, derlen))) in eckey_param_decode()
560 const unsigned char **pder, int derlen) in old_ec_priv_decode() argument
563 if (!(ec = d2i_ECPrivateKey (NULL, pder, derlen))) in old_ec_priv_decode()
/external/openssl/crypto/dsa/
Ddsa_ameth.c491 const unsigned char **pder, int derlen) in dsa_param_decode() argument
494 if (!(dsa = d2i_DSAparams(NULL, pder, derlen))) in dsa_param_decode()
528 const unsigned char **pder, int derlen) in old_dsa_priv_decode() argument
531 if (!(dsa = d2i_DSAPrivateKey (NULL, pder, derlen))) in old_dsa_priv_decode()
/external/openssl/crypto/dh/
Ddh_ameth.c299 const unsigned char **pder, int derlen) in dh_param_decode() argument
302 if (!(dh = d2i_DHparams(NULL, pder, derlen))) in dh_param_decode()
/external/openssl/crypto/rsa/
Drsa_ameth.c110 const unsigned char **pder, int derlen) in old_rsa_priv_decode() argument
113 if (!(rsa = d2i_RSAPrivateKey (NULL, pder, derlen))) in old_rsa_priv_decode()
/external/openssl/crypto/evp/
Devp.h1040 const unsigned char **pder, int derlen),
/external/openssl/include/openssl/
Devp.h1040 const unsigned char **pder, int derlen),