Home
last modified time | relevance | path

Searched refs:derlen (Results 1 – 19 of 19) 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.c438 const unsigned char **pder, int derlen), in EVP_PKEY_asn1_set_param() argument
/external/chromium_org/third_party/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()
175 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_prefix()
217 int derlen; in ndef_suffix() local
236 derlen = ASN1_item_ndef_i2d(ndef_aux->val, NULL, ndef_aux->it); in ndef_suffix()
237 p = OPENSSL_malloc(derlen); in ndef_suffix()
240 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_suffix()
245 *plen = derlen - (*ndef_aux->boundary - ndef_aux->derbuf); in ndef_suffix()
/external/openssl/crypto/rsa/
Drsa_sign.c161 int derlen; in rsa_check_digestinfo() local
163 derlen = i2d_X509_SIG(sig, &der); in rsa_check_digestinfo()
164 if (derlen <= 0) in rsa_check_digestinfo()
166 if (derlen == dinfolen && !memcmp(dinfo, der, derlen)) in rsa_check_digestinfo()
168 OPENSSL_cleanse(der, derlen); in rsa_check_digestinfo()
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/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/chromium_org/third_party/boringssl/src/crypto/x509/
Dt_x509.c260 int derlen; in X509_ocspid_print() local
268 derlen = i2d_X509_NAME(x->cert_info->subject, NULL); in X509_ocspid_print()
269 if ((der = dertmp = (unsigned char *)OPENSSL_malloc (derlen)) == NULL) in X509_ocspid_print()
273 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
Dasn1_gen.c457 int derlen; in asn1_multi() local
482 derlen = i2d_ASN1_SET_ANY(sk, &der); in asn1_multi()
484 derlen = i2d_ASN1_SEQUENCE_ANY(sk, &der); in asn1_multi()
486 if (derlen < 0) in asn1_multi()
498 ret->value.asn1_string->length = derlen; in asn1_multi()
/external/chromium_org/third_party/boringssl/src/crypto/evp/
Dinternal.h97 int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, int derlen);
114 int derlen);
Dp_ec_asn1.c492 int derlen) { in eckey_param_decode() argument
494 if (!(eckey = d2i_ECParameters(NULL, pder, derlen))) { in eckey_param_decode()
527 int derlen) { in old_ec_priv_decode() argument
529 if (!(ec = d2i_ECPrivateKey(NULL, pder, derlen))) { in old_ec_priv_decode()
Dp_rsa_asn1.c431 int derlen) { in old_rsa_priv_decode() argument
432 RSA *rsa = d2i_RSAPrivateKey(NULL, pder, derlen); in old_rsa_priv_decode()
/external/openssl/crypto/ec/
Dec_ameth.c526 const unsigned char **pder, int derlen) in eckey_param_decode() argument
529 if (!(eckey = d2i_ECParameters(NULL, pder, derlen))) in eckey_param_decode()
563 const unsigned char **pder, int derlen) in old_ec_priv_decode() argument
566 if (!(ec = d2i_ECPrivateKey (NULL, pder, derlen))) in old_ec_priv_decode()
/external/openssl/crypto/dsa/
Ddsa_ameth.c497 const unsigned char **pder, int derlen) in dsa_param_decode() argument
500 if (!(dsa = d2i_DSAparams(NULL, pder, derlen))) in dsa_param_decode()
534 const unsigned char **pder, int derlen) in old_dsa_priv_decode() argument
537 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/evp/
Devp.h1040 const unsigned char **pder, int derlen),
/external/openssl/include/openssl/
Devp.h1040 const unsigned char **pder, int derlen),