Lines Matching refs:base

34     if (!CRYPTO_NEW_REF(&encoder->base.refcnt, 1)) {  in ossl_encoder_new()
46 CRYPTO_UP_REF(&encoder->base.refcnt, &ref); in OSSL_ENCODER_up_ref()
57 CRYPTO_DOWN_REF(&encoder->base.refcnt, &ref); in OSSL_ENCODER_free()
60 OPENSSL_free(encoder->base.name); in OSSL_ENCODER_free()
61 ossl_property_free(encoder->base.parsed_propdef); in OSSL_ENCODER_free()
62 ossl_provider_free(encoder->base.prov); in OSSL_ENCODER_free()
63 CRYPTO_FREE_REF(&encoder->base.refcnt); in OSSL_ENCODER_free()
208 encoder->base.id = id; in encoder_from_algorithm()
209 if ((encoder->base.name = ossl_algorithm_get1_first_name(algodef)) == NULL) { in encoder_from_algorithm()
213 encoder->base.algodef = algodef; in encoder_from_algorithm()
214 if ((encoder->base.parsed_propdef in encoder_from_algorithm()
293 encoder->base.prov = prov; in encoder_from_algorithm()
470 return encoder->base.prov; in OSSL_ENCODER_get0_provider()
480 return encoder->base.algodef->property_definition; in OSSL_ENCODER_get0_properties()
491 return encoder->base.parsed_propdef; in ossl_encoder_parsed_properties()
501 return encoder->base.id; in ossl_encoder_get_number()
506 return encoder->base.name; in OSSL_ENCODER_get0_name()
511 return encoder->base.algodef->algorithm_description; in OSSL_ENCODER_get0_description()
516 if (encoder->base.prov != NULL) { in OSSL_ENCODER_is_a()
517 OSSL_LIB_CTX *libctx = ossl_provider_libctx(encoder->base.prov); in OSSL_ENCODER_is_a()
520 return ossl_namemap_name2num(namemap, name) == encoder->base.id; in OSSL_ENCODER_is_a()
564 if (encoder->base.prov != NULL) { in OSSL_ENCODER_names_do_all()
565 OSSL_LIB_CTX *libctx = ossl_provider_libctx(encoder->base.prov); in OSSL_ENCODER_names_do_all()
568 return ossl_namemap_doall_names(namemap, encoder->base.id, fn, data); in OSSL_ENCODER_names_do_all()