Home
last modified time | relevance | path

Searched refs:atav (Results 1 – 5 of 5) sorted by relevance

/openssl/doc/man3/
H A DOSSL_CMP_ATAV_set0.pod25 void OSSL_CMP_ATAV_set0(OSSL_CMP_ATAV *atav, ASN1_OBJECT *type,
27 ASN1_OBJECT *OSSL_CMP_ATAV_get0_type(const OSSL_CMP_ATAV *atav);
28 ASN1_TYPE *OSSL_CMP_ATAV_get0_value(const OSSL_CMP_ATAV *atav);
31 X509_ALGOR *OSSL_CMP_ATAV_get0_algId(const OSSL_CMP_ATAV *atav);
33 int OSSL_CMP_ATAV_get_rsaKeyLen(const OSSL_CMP_ATAV *atav);
37 void OSSL_CMP_ATAV_free(OSSL_CMP_ATAV *atav);
53 is transferred to I<atav>. The I<itav> pointer must not be NULL.
56 in the I<atav> unless it is NULL.
59 in the I<atav> as generic B<ASN1_TYPE> pointer unless I<atav> is NULL.
66 or NULL if I<atav> is NULL or does not contain an algId.
[all …]
/openssl/crypto/cmp/
H A Dcmp_asn.c478 OSSL_CMP_ATAV *atav; in OSSL_CMP_ATAV_create() local
483 return atav; in OSSL_CMP_ATAV_create()
489 atav->type = type; in OSSL_CMP_ATAV_set0()
490 atav->value.other = value; in OSSL_CMP_ATAV_set0()
495 if (atav == NULL) in OSSL_CMP_ATAV_get0_type()
497 return atav->type; in OSSL_CMP_ATAV_get0_type()
520 if (atav == NULL || OBJ_obj2nid(atav->type) != NID_id_regCtrl_algId) in OSSL_CMP_ATAV_get0_algId()
522 return atav->value.algId; in OSSL_CMP_ATAV_get0_algId()
547 if (atav == NULL || OBJ_obj2nid(atav->type) != NID_id_regCtrl_rsaKeyLen in OSSL_CMP_ATAV_get_rsaKeyLen()
557 if (atav == NULL) in OSSL_CMP_ATAV_get0_value()
[all …]
/openssl/crypto/crmf/
H A Dcrmf_lib.c51 OSSL_CRMF_ATTRIBUTETYPEANDVALUE *atav = NULL; \
57 atav = sk_OSSL_CRMF_ATTRIBUTETYPEANDVALUE_value(controls, i); \
58 if (OBJ_obj2nid(atav->type) == NID_id_##ctrlinf##_##atyp) \
59 return atav->value.atyp; \
66 OSSL_CRMF_ATTRIBUTETYPEANDVALUE *atav = NULL; \
70 if ((atav = OSSL_CRMF_ATTRIBUTETYPEANDVALUE_new()) == NULL) \
72 if ((atav->type = OBJ_nid2obj(NID_id_##ctrlinf##_##atyp)) == NULL) \
74 if ((atav->value.atyp = valt##_dup(in)) == NULL) \
76 if (!OSSL_CRMF_MSG_push0_##ctrlinf(msg, atav)) \
80 OSSL_CRMF_ATTRIBUTETYPEANDVALUE_free(atav); \
/openssl/include/openssl/
H A Dcmp.h.in325 X509_ALGOR *OSSL_CMP_ATAV_get0_algId(const OSSL_CMP_ATAV *atav);
327 int OSSL_CMP_ATAV_get_rsaKeyLen(const OSSL_CMP_ATAV *atav);
328 int OSSL_CMP_ATAV_push1(OSSL_CMP_ATAVS **sk_p, const OSSL_CMP_ATAV *atav);
/openssl/apps/
H A Dcmp.c3255 OSSL_CMP_ATAV *atav = sk_OSSL_CMP_ATAV_value(keySpec, i); in print_keyspec() local
3256 ASN1_OBJECT *type = OSSL_CMP_ATAV_get0_type(atav /* may be NULL */); in print_keyspec()
3262 X509_ALGOR *alg = OSSL_CMP_ATAV_get0_algId(atav); in print_keyspec()
3281 OSSL_CMP_ATAV_get_rsaKeyLen(atav)); in print_keyspec()

Completed in 30 milliseconds