Go to the documentation of this file.
79 if (dsa == NULL ||
CBS_len(params) != 0) {
105 const DSA *dsa =
key->pkey.dsa;
106 const int has_params = dsa->
p != NULL && dsa->
q != NULL && dsa->
g != NULL;
109 CBB spki, algorithm,
oid, key_bitstring;
133 if (dsa == NULL ||
CBS_len(params) != 0) {
174 const DSA *dsa =
key->pkey.dsa;
175 if (dsa == NULL || dsa->
priv_key == NULL) {
209 if (dsa->
p == NULL || dsa->
q == NULL || dsa->
g == NULL) {
239 return BN_cmp(
a->pkey.dsa->p,
b->pkey.dsa->p) == 0 &&
240 BN_cmp(
a->pkey.dsa->q,
b->pkey.dsa->q) == 0 &&
241 BN_cmp(
a->pkey.dsa->g,
b->pkey.dsa->g) == 0;
245 return BN_cmp(
b->pkey.dsa->pub_key,
a->pkey.dsa->pub_key) == 0;
253 {0x2a, 0x86, 0x48, 0xce, 0x38, 0x04, 0x01}, 7,
static int dsa_bits(const EVP_PKEY *pkey)
static void int_dsa_free(EVP_PKEY *pkey)
const EVP_PKEY_ASN1_METHOD dsa_asn1_meth
static int int_dsa_size(const EVP_PKEY *pkey)
#define OPENSSL_PUT_ERROR(library, reason)
#define CBS_ASN1_OCTETSTRING
static int dsa_priv_decode(EVP_PKEY *out, CBS *params, CBS *key)
#define DSA_parse_parameters
#define EVP_R_ENCODE_ERROR
#define EVP_R_DECODE_ERROR
static int dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
#define DSA_marshal_parameters
static int dsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b)
static int dsa_pub_decode(EVP_PKEY *out, CBS *params, CBS *key)
static int dsa_priv_encode(CBB *out, const EVP_PKEY *key)
#define EVP_R_MISSING_PARAMETERS
union evp_pkey_st::@364 pkey
#define CBS_ASN1_BITSTRING
#define BN_mod_exp_mont_consttime
#define BN_parse_asn1_unsigned
static int dsa_pub_encode(CBB *out, const EVP_PKEY *key)
#define EVP_PKEY_assign_DSA
#define CBS_ASN1_SEQUENCE
static int dup_bn_into(BIGNUM **out, BIGNUM *src)
static int dsa_missing_parameters(const EVP_PKEY *pkey)
static int dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b)
#define CBB_add_asn1_uint64
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:38