Searched refs:pder (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/evp/ |
D | p_ec_asn1.c | 490 static int eckey_param_decode(EVP_PKEY *pkey, const uint8_t **pder, in eckey_param_decode() argument 493 if (!(eckey = d2i_ECParameters(NULL, pder, derlen))) { in eckey_param_decode() 501 static int eckey_param_encode(const EVP_PKEY *pkey, uint8_t **pder) { in eckey_param_encode() argument 502 return i2d_ECParameters(pkey->pkey.ec, pder); in eckey_param_encode() 525 static int old_ec_priv_decode(EVP_PKEY *pkey, const uint8_t **pder, in old_ec_priv_decode() argument 528 if (!(ec = d2i_ECPrivateKey(NULL, pder, derlen))) { in old_ec_priv_decode() 536 static int old_ec_priv_encode(const EVP_PKEY *pkey, uint8_t **pder) { in old_ec_priv_encode() argument 537 return i2d_ECPrivateKey(pkey->pkey.ec, pder); in old_ec_priv_encode()
|
D | p_dsa_asn1.c | 449 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() 460 static int dsa_param_encode(const EVP_PKEY *pkey, uint8_t **pder) { in dsa_param_encode() argument 461 return i2d_DSAparams(pkey->pkey.dsa, pder); in dsa_param_encode() 479 static int old_dsa_priv_decode(EVP_PKEY *pkey, const uint8_t **pder, in old_dsa_priv_decode() argument 482 dsa = d2i_DSAPrivateKey(NULL, pder, derlen); in old_dsa_priv_decode() 491 static int old_dsa_priv_encode(const EVP_PKEY *pkey, uint8_t **pder) { in old_dsa_priv_encode() argument 492 return i2d_DSAPrivateKey(pkey->pkey.dsa, pder); in old_dsa_priv_encode()
|
D | internal.h | 118 int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, int derlen); 119 int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder); 133 int (*old_priv_decode)(EVP_PKEY *pkey, const unsigned char **pder, 135 int (*old_priv_encode)(const EVP_PKEY *pkey, unsigned char **pder);
|
D | p_rsa_asn1.c | 410 static int old_rsa_priv_decode(EVP_PKEY *pkey, const unsigned char **pder, in old_rsa_priv_decode() argument 412 RSA *rsa = d2i_RSAPrivateKey(NULL, pder, derlen); in old_rsa_priv_decode() 421 static int old_rsa_priv_encode(const EVP_PKEY *pkey, unsigned char **pder) { in old_rsa_priv_encode() argument 422 return i2d_RSAPrivateKey(pkey->pkey.rsa, pder); in old_rsa_priv_encode()
|