Home
last modified time | relevance | path

Searched refs:pder (Results 1 – 18 of 18) sorted by relevance

/openssl/test/
H A Dasn1_dsa_internal_test.c89 const unsigned char *pder; in test_decode() local
95 pder = t_dsa_sig; in test_decode()
105 pder = t_dsa_sig_extra; in test_decode()
107 || !TEST_ptr_eq(pder, in test_decode()
116 pder = t_dsa_sig_msb; in test_decode()
126 pder = t_dsa_sig_two; in test_decode()
135 pder = t_invalid_int_zero; in test_decode()
143 pder = t_invalid_int; in test_decode()
151 pder = t_neg_int; in test_decode()
159 pder = t_trunc_der; in test_decode()
[all …]
H A Dtls-provider.c1659 static int xorx_spki_pub_to_der(const void *vecxkey, unsigned char **pder) in xorx_spki_pub_to_der() argument
1676 *pder = keyblob; in xorx_spki_pub_to_der()
1680 static int xorx_pki_priv_to_der(const void *vecxkey, unsigned char **pder) in xorx_pki_priv_to_der() argument
1699 keybloblen = i2d_ASN1_OCTET_STRING(&oct, pder); in xorx_pki_priv_to_der()
/openssl/providers/implementations/encode_decode/
H A Ddecode_epki2pki.c90 const unsigned char *pder = NULL; in epki2pki_decode() local
108 pder = der = (unsigned char *)mem->data; in epki2pki_decode()
114 if ((p8 = d2i_X509_SIG(NULL, &pder, der_len)) != NULL) { in epki2pki_decode()
148 pder = der; in epki2pki_decode()
149 p8inf = d2i_PKCS8_PRIV_KEY_INFO(NULL, &pder, der_len); in epki2pki_decode()
H A Dencode_key2any.c470 static int dh_spki_pub_to_der(const void *dh, unsigned char **pder) in dh_spki_pub_to_der() argument
485 ret = i2d_ASN1_INTEGER(pub_key, pder); in dh_spki_pub_to_der()
506 ret = i2d_ASN1_INTEGER(priv_key, pder); in dh_pki_priv_to_der()
517 return i2d_DHxparams(dh, pder); in dh_type_specific_params_to_der()
518 return i2d_DHparams(dh, pder); in dh_type_specific_params_to_der()
600 ret = i2d_ASN1_INTEGER(pub_key, pder); in dsa_spki_pub_to_der()
621 ret = i2d_ASN1_INTEGER(priv_key, pder); in dsa_pki_priv_to_der()
708 return i2o_ECPublicKey(eckey, pder); in ec_spki_pub_to_der()
726 ret = i2d_ECPrivateKey(eckey, pder); in ec_pki_priv_to_der()
776 *pder = keyblob; in ecx_spki_pub_to_der()
[all …]
/openssl/include/crypto/
H A Dasn1.h42 const unsigned char **pder, int derlen);
43 int (*param_encode) (const EVP_PKEY *pkey, unsigned char **pder);
56 const unsigned char **pder, int derlen);
57 int (*old_priv_encode) (const EVP_PKEY *pkey, unsigned char **pder);
/openssl/crypto/dsa/
H A Ddsa_ameth.c321 const unsigned char **pder, int derlen) in dsa_param_decode() argument
325 if ((dsa = d2i_DSAparams(NULL, pder, derlen)) == NULL) in dsa_param_decode()
333 static int dsa_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dsa_param_encode() argument
335 return i2d_DSAparams(pkey->pkey.dsa, pder); in dsa_param_encode()
357 const unsigned char **pder, int derlen) in old_dsa_priv_decode() argument
361 if ((dsa = d2i_DSAPrivateKey(NULL, pder, derlen)) == NULL) { in old_dsa_priv_decode()
370 static int old_dsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_dsa_priv_encode() argument
372 return i2d_DSAPrivateKey(pkey->pkey.dsa, pder); in old_dsa_priv_encode()
/openssl/crypto/ec/
H A Dec_ameth.c347 const unsigned char **pder, int derlen) in eckey_param_decode() argument
351 if ((eckey = d2i_ECParameters(NULL, pder, derlen)) == NULL) in eckey_param_decode()
357 static int eckey_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in eckey_param_encode() argument
359 return i2d_ECParameters(pkey->pkey.ec, pder); in eckey_param_encode()
381 const unsigned char **pder, int derlen) in old_ec_priv_decode() argument
385 if ((ec = d2i_ECPrivateKey(NULL, pder, derlen)) == NULL) in old_ec_priv_decode()
391 static int old_ec_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_ec_priv_encode() argument
393 return i2d_ECPrivateKey(pkey->pkey.ec, pder); in old_ec_priv_encode()
/openssl/doc/man3/
H A DX509_NAME_get0_der.pod11 int X509_NAME_get0_der(const X509_NAME *nm, const unsigned char **pder,
18 encoding of an B<X509_NAME> structure in B<*pder> and consisting of
H A DEVP_PKEY_ASN1_METHOD.pod68 const unsigned char **pder,
71 unsigned char **pder),
206 const unsigned char **pder, int derlen);
207 int (*param_encode) (const EVP_PKEY *pkey, unsigned char **pder);
265 const unsigned char **pder, int derlen);
266 int (*old_priv_encode) (const EVP_PKEY *pkey, unsigned char **pder);
/openssl/crypto/dh/
H A Ddh_ameth.c228 const unsigned char **pder, int derlen) in dh_param_decode() argument
232 if ((dh = d2i_dhp(pkey, pder, derlen)) == NULL) in dh_param_decode()
239 static int dh_param_encode(const EVP_PKEY *pkey, unsigned char **pder) in dh_param_encode() argument
241 return i2d_dhp(pkey, pkey->pkey.dh, pder); in dh_param_encode()
/openssl/crypto/x509/
H A Dx_name.c546 int X509_NAME_get0_der(const X509_NAME *nm, const unsigned char **pder, in X509_NAME_get0_der() argument
552 if (pder != NULL) in X509_NAME_get0_der()
553 *pder = (unsigned char *)nm->bytes->data; in X509_NAME_get0_der()
H A Dx_pubkey.c355 const unsigned char *pder = der; in X509_PUBKEY_set() local
357 pk = d2i_X509_PUBKEY(NULL, &pder, (long)derlen); in X509_PUBKEY_set()
/openssl/crypto/asn1/
H A Dameth_lib.c318 const unsigned char **pder, in EVP_PKEY_asn1_set_param() argument
321 unsigned char **pder), in EVP_PKEY_asn1_set_param() argument
/openssl/crypto/rsa/
H A Drsa_ameth.c130 const unsigned char **pder, int derlen) in old_rsa_priv_decode() argument
134 if ((rsa = d2i_RSAPrivateKey(NULL, pder, derlen)) == NULL) in old_rsa_priv_decode()
140 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) in old_rsa_priv_encode() argument
142 return i2d_RSAPrivateKey(pkey->pkey.rsa, pder); in old_rsa_priv_encode()
/openssl/crypto/cms/
H A Dcms_asn1.c403 int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,
430 return ASN1_item_i2d(intsi.a, pder, ASN1_ITEM_rptr(CMS_SharedInfo));
/openssl/include/openssl/
H A Dcms.h.in398 int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,
H A Devp.h1620 const unsigned char **pder,
1623 unsigned char **pder),
H A Dx509.h.in893 int X509_NAME_get0_der(const X509_NAME *nm, const unsigned char **pder,

Completed in 63 milliseconds