/third_party/openssl/crypto/dh/ |
D | dh_kdf.c | 54 int derlen; in dh_sharedinfo_encode() local 79 derlen = CMS_SharedInfo_encode(pder, &atmp, pukm_oct, outlen); in dh_sharedinfo_encode() 80 if (derlen <= 0) in dh_sharedinfo_encode() 83 tlen = derlen; in dh_sharedinfo_encode() 95 return derlen; in dh_sharedinfo_encode() 108 int derlen; in DH_KDF_X9_42() local 115 derlen = dh_sharedinfo_encode(&der, &ctr, key_oid, outlen, ukm, ukmlen); in DH_KDF_X9_42() 116 if (derlen == 0) in DH_KDF_X9_42() 127 if (!EVP_DigestUpdate(mctx, der, derlen)) in DH_KDF_X9_42()
|
D | dh_ameth.c | 250 const unsigned char **pder, int derlen) in dh_param_decode() argument 254 if ((dh = d2i_dhp(pkey, pder, derlen)) == NULL) { in dh_param_decode()
|
/third_party/openssl/crypto/asn1/ |
D | bio_ndef.c | 133 int derlen; in ndef_prefix() local 140 derlen = ASN1_item_ndef_i2d(ndef_aux->val, NULL, ndef_aux->it); in ndef_prefix() 141 if (derlen < 0) in ndef_prefix() 143 if ((p = OPENSSL_malloc(derlen)) == NULL) { in ndef_prefix() 150 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_prefix() 196 int derlen; in ndef_suffix() local 215 derlen = ASN1_item_ndef_i2d(ndef_aux->val, NULL, ndef_aux->it); in ndef_suffix() 216 if ((p = OPENSSL_malloc(derlen)) == NULL) { in ndef_suffix() 223 derlen = ASN1_item_ndef_i2d(ndef_aux->val, &p, ndef_aux->it); in ndef_suffix() 228 *plen = derlen - (*ndef_aux->boundary - ndef_aux->derbuf); in ndef_suffix()
|
D | asn1_gen.c | 412 int derlen; in asn1_multi() local 439 derlen = i2d_ASN1_SET_ANY(sk, &der); in asn1_multi() 441 derlen = i2d_ASN1_SEQUENCE_ANY(sk, &der); in asn1_multi() 443 if (derlen < 0) in asn1_multi() 452 ret->value.asn1_string->length = derlen; in asn1_multi()
|
D | ameth_lib.c | 336 int derlen), in EVP_PKEY_asn1_set_param() argument
|
/third_party/openssl/test/ |
D | d2i_test.c | 52 int derlen; in test_bad_asn1() local 81 derlen = ASN1_item_i2d(value, &der, item_type); in test_bad_asn1() 83 if (der == NULL || derlen < 0) { in test_bad_asn1() 89 if (derlen != len || memcmp(der, buf, derlen) != 0) { in test_bad_asn1()
|
D | v3nametest.c | 364 size_t derlen; member 679 namesa[i] = d2i_GENERAL_NAME(NULL, &derp, gennames[i].derlen); in test_GENERAL_NAME_cmp() 681 namesb[i] = d2i_GENERAL_NAME(NULL, &derp, gennames[i].derlen); in test_GENERAL_NAME_cmp()
|
/third_party/openssl/crypto/ct/ |
D | ct_vfy.c | 33 size_t derlen; in sct_ctx_update() local 63 derlen = sctx->certderlen; in sct_ctx_update() 68 derlen = sctx->prederlen; in sct_ctx_update() 77 l2n3(derlen, p); in sct_ctx_update() 81 if (!EVP_DigestUpdate(ctx, der, derlen)) in sct_ctx_update()
|
/third_party/openssl/crypto/dsa/ |
D | dsa_asn1.c | 138 int derlen = -1; in DSA_verify() local 147 derlen = i2d_DSA_SIG(s, &der); in DSA_verify() 148 if (derlen != siglen || memcmp(sigbuf, der, derlen)) in DSA_verify() 152 OPENSSL_clear_free(der, derlen); in DSA_verify()
|
D | dsa_ameth.c | 376 const unsigned char **pder, int derlen) in dsa_param_decode() argument 380 if ((dsa = d2i_DSAparams(NULL, pder, derlen)) == NULL) { in dsa_param_decode() 412 const unsigned char **pder, int derlen) in old_dsa_priv_decode() argument 416 if ((dsa = d2i_DSAPrivateKey(NULL, pder, derlen)) == NULL) { in old_dsa_priv_decode()
|
/third_party/openssl/crypto/x509/ |
D | t_x509.c | 225 int derlen; in X509_ocspid_print() local 237 derlen = i2d_X509_NAME(subj, NULL); in X509_ocspid_print() 238 if ((der = dertmp = OPENSSL_malloc(derlen)) == NULL) in X509_ocspid_print() 242 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
|
/third_party/openssl/crypto/ec/ |
D | ecdsa_ossl.c | 298 int derlen = -1; in ossl_ecdsa_verify() local 307 derlen = i2d_ECDSA_SIG(s, &der); in ossl_ecdsa_verify() 308 if (derlen != sig_len || memcmp(sigbuf, der, derlen) != 0) in ossl_ecdsa_verify()
|
D | ec_ameth.c | 423 const unsigned char **pder, int derlen) in eckey_param_decode() argument 427 if ((eckey = d2i_ECParameters(NULL, pder, derlen)) == NULL) { in eckey_param_decode() 459 const unsigned char **pder, int derlen) in old_ec_priv_decode() argument 463 if ((ec = d2i_ECPrivateKey(NULL, pder, derlen)) == NULL) { in old_ec_priv_decode()
|
/third_party/openssl/include/crypto/ |
D | asn1.h | 33 const unsigned char **pder, int derlen); 47 const unsigned char **pder, int derlen);
|
/third_party/openssl/crypto/sm2/ |
D | sm2_sign.c | 447 int derlen = -1; in sm2_verify() local 460 derlen = i2d_ECDSA_SIG(s, &der); in sm2_verify() 461 if (derlen != sig_len || memcmp(sig, der, derlen) != 0) { in sm2_verify()
|
/third_party/openssl/doc/man3/ |
D | EVP_PKEY_ASN1_METHOD.pod | 69 int derlen), 206 const unsigned char **pder, int derlen); 265 const unsigned char **pder, int derlen);
|
/third_party/openssl/apps/ |
D | s_server.c | 3541 int derlen; member 3553 sess->derlen = i2d_SSL_SESSION(session, NULL); in add_session() 3554 if (sess->derlen < 0) { in add_session() 3561 sess->der = app_malloc(sess->derlen, "get session buffer"); in add_session() 3572 if (i2d_SSL_SESSION(session, &p) != sess->derlen) { in add_session() 3595 return d2i_SSL_SESSION(NULL, &p, sess->derlen); in get_session()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_ameth.c | 137 const unsigned char **pder, int derlen) in old_rsa_priv_decode() argument 141 if ((rsa = d2i_RSAPrivateKey(NULL, pder, derlen)) == NULL) { in old_rsa_priv_decode()
|
/third_party/curl/lib/vtls/ |
D | sectransp.c | 2283 size_t derlen, offset = 0; local 2308 res = pem_to_der((const char *)certbuf + offset, &der, &derlen); 2331 rc = append_cert_to_array(data, der, derlen, array);
|
/third_party/openssl/include/openssl/ |
D | evp.h | 1189 int derlen),
|