Home
last modified time | relevance | path

Searched refs:ad (Results 1 – 25 of 47) sorted by relevance

12

/openssl/crypto/
H A Dex_data.c236 ad->ctx = ctx; in ossl_crypto_new_ex_data_ex()
237 ad->sk = NULL; in ossl_crypto_new_ex_data_ex()
414 sk_void_free(ad->sk); in CRYPTO_free_ex_data()
415 ad->sk = NULL; in CRYPTO_free_ex_data()
416 ad->ctx = NULL; in CRYPTO_free_ex_data()
428 curval = CRYPTO_get_ex_data(ad, idx); in CRYPTO_alloc_ex_data()
473 if (ad->sk == NULL) { in CRYPTO_set_ex_data()
481 if (!sk_void_push(ad->sk, NULL)) { in CRYPTO_set_ex_data()
500 if (ad->sk == NULL || idx >= sk_void_num(ad->sk)) in CRYPTO_get_ex_data()
502 return sk_void_value(ad->sk, idx); in CRYPTO_get_ex_data()
[all …]
/openssl/crypto/x509/
H A Dv3_attrdesc.c132 OSSL_ATTRIBUTE_DESCRIPTOR *ad, in i2r_OSSL_ATTRIBUTE_DESCRIPTOR() argument
138 if (OBJ_obj2txt(buf, sizeof(buf), ad->identifier, 1) <= 0) in i2r_OSSL_ATTRIBUTE_DESCRIPTOR()
145 ad->attributeSyntax->length, ad->attributeSyntax->data) <= 0) in i2r_OSSL_ATTRIBUTE_DESCRIPTOR()
149 if (ad->name != NULL) { in i2r_OSSL_ATTRIBUTE_DESCRIPTOR()
150 if (BIO_printf(out, "%*sName: %.*s\n", indent, "", ad->name->length, ad->name->data) <= 0) in i2r_OSSL_ATTRIBUTE_DESCRIPTOR()
153 if (ad->description != NULL) { in i2r_OSSL_ATTRIBUTE_DESCRIPTOR()
155 ad->description->length, ad->description->data) <= 0) in i2r_OSSL_ATTRIBUTE_DESCRIPTOR()
160 return i2r_OSSL_PRIVILEGE_POLICY_ID(method, ad->dominationRule, out, indent + 4); in i2r_OSSL_ATTRIBUTE_DESCRIPTOR()
/openssl/test/
H A Docspapitest.c159 ACCESS_DESCRIPTION *ad = ACCESS_DESCRIPTION_new(); in test_access_description() local
162 if (!TEST_ptr(ad)) in test_access_description()
169 if (!TEST_ptr(ad->location)) in test_access_description()
171 GENERAL_NAME_free(ad->location); in test_access_description()
172 ad->location = NULL; in test_access_description()
175 GENERAL_NAME_free(ad->location); in test_access_description()
176 ad->location = GENERAL_NAME_new(); in test_access_description()
177 if (!TEST_ptr(ad->location)) in test_access_description()
181 ACCESS_DESCRIPTION_free(ad); in test_access_description()
H A Dexdatatest.c29 static void exnew(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exnew() argument
50 static void exfree(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exfree() argument
71 static void exnew2(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exnew2() argument
81 || !TEST_true(CRYPTO_set_ex_data(ad, idx, ex_data))) { in exnew2()
114 static void exfree2(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exfree2() argument
117 MYOBJ_EX_DATA *ex_data = CRYPTO_get_ex_data(ad, idx); in exfree2()
122 || !TEST_true(CRYPTO_set_ex_data(ad, idx, NULL))) in exfree2()
/openssl/crypto/objects/
H A Dobj_dat.c332 ADDED_OBJ ad, *adp = NULL; in OBJ_nid2obj() local
339 ad.type = ADDED_NID; in OBJ_nid2obj()
340 ad.obj = &ob; in OBJ_nid2obj()
390 ADDED_OBJ ad, *adp; in ossl_obj_obj2nid() local
407 ad.type = ADDED_DATA; in ossl_obj_obj2nid()
640 ADDED_OBJ ad, *adp; in OBJ_ln2nid() local
653 ad.type = ADDED_LNAME; in OBJ_ln2nid()
654 ad.obj = &o; in OBJ_ln2nid()
667 ADDED_OBJ ad, *adp; in OBJ_sn2nid() local
680 ad.type = ADDED_SNAME; in OBJ_sn2nid()
[all …]
/openssl/demos/kdf/
H A Dargon2.c56 static unsigned char ad[] = { variable
124 *p++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_ARGON2_AD, ad, sizeof(ad)); in main()
/openssl/crypto/ocsp/
H A Docsp_ext.c438 ACCESS_DESCRIPTION *ad = NULL; in OCSP_url_svcloc_new() local
449 if ((ad = ACCESS_DESCRIPTION_new()) == NULL) in OCSP_url_svcloc_new()
451 if ((ad->method = OBJ_nid2obj(NID_ad_OCSP)) == NULL) in OCSP_url_svcloc_new()
458 ad->location->type = GEN_URI; in OCSP_url_svcloc_new()
459 ad->location->d.ia5 = ia5; in OCSP_url_svcloc_new()
461 if (!sk_ACCESS_DESCRIPTION_push(sloc->locator, ad)) in OCSP_url_svcloc_new()
463 ad = NULL; in OCSP_url_svcloc_new()
469 ACCESS_DESCRIPTION_free(ad); in OCSP_url_svcloc_new()
H A Dv3_ocsp.c244 ACCESS_DESCRIPTION *ad; in i2r_ocsp_serviceloc() local
251 ad = sk_ACCESS_DESCRIPTION_value(a->locator, i); in i2r_ocsp_serviceloc()
254 if (i2a_ASN1_OBJECT(bp, ad->method) <= 0) in i2r_ocsp_serviceloc()
258 if (GENERAL_NAME_print(bp, ad->location) <= 0) in i2r_ocsp_serviceloc()
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_argon2.txt10 Ctrl.ad = hexad:040404040404040404040404
20 Ctrl.ad = hexad:040404040404040404040404
31 Ctrl.ad = hexad:040404040404040404040404
41 Ctrl.ad = hexad:040404040404040404040404
/openssl/test/recipes/30-test_evp_pkey_provided/
H A DDSA.pub.txt25 58:34:d7:f6:a2:1b:ad:c8:12:52:b8:e8:2a:63:cc:
49 0c:5f:51:f5:d0:4c:55:3d:07:73:a6:57:ce:5a:ad:
52 67:80:60:ad:8b:55:1c:91:f0:72:9a:7e:ad:37:f1:
H A DDSA.priv.txt29 58:34:d7:f6:a2:1b:ad:c8:12:52:b8:e8:2a:63:cc:
53 0c:5f:51:f5:d0:4c:55:3d:07:73:a6:57:ce:5a:ad:
56 67:80:60:ad:8b:55:1c:91:f0:72:9a:7e:ad:37:f1:
H A DEC.priv.txt5 1b:ad
H A DDH.pub.txt16 7f:37:de:bc:09:c7:06:6b:12:bc:ad:2d:49:25:d5:
/openssl/test/helpers/
H A Dhandshake_srp.c28 static int server_srp_cb(SSL *s, int *ad, void *arg) in server_srp_cb() argument
36 *ad = SSL_AD_INTERNAL_ERROR; in server_srp_cb()
/openssl/include/internal/
H A Dcryptlib.h136 OSSL_LIB_CTX *ossl_crypto_ex_data_get_ossl_lib_ctx(const CRYPTO_EX_DATA *ad);
138 CRYPTO_EX_DATA *ad);
/openssl/ssl/
H A Dtls_srp.c193 int ssl_srp_server_param_with_username_intern(SSL_CONNECTION *s, int *ad) in ssl_srp_server_param_with_username_intern() argument
199 *ad = SSL_AD_UNKNOWN_PSK_IDENTITY; in ssl_srp_server_param_with_username_intern()
203 ad, in ssl_srp_server_param_with_username_intern()
208 *ad = SSL_AD_INTERNAL_ERROR; in ssl_srp_server_param_with_username_intern()
228 int SSL_srp_server_param_with_username(SSL *s, int *ad) in SSL_srp_server_param_with_username() argument
235 return ssl_srp_server_param_with_username_intern(sc, ad); in SSL_srp_server_param_with_username()
/openssl/crypto/ui/
H A Dui_util.c62 static void ui_new_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in ui_new_method_data() argument
82 static void ui_free_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in ui_free_method_data() argument
/openssl/test/certs/
H A DrootCA.pem23 ad:14:3e:25:9e:e5:1e:e6:cc:91:cd:95:0c:80:44:
29 ad:fd:df:8d:b4:0b:af:7e:41:e0:21:3c:c8:33:45:
48 89:06:b6:e5:b5:ba:6b:75:2b:16:ad:ca:88:26:25:73:9b:15:
H A Dncca-key.pem23 sgkZvYrlbwS+ad/Rcyfltr9G5iImVhOWmn4PGINPSzrZrTmkEuzL5q1bYCg1rb23
H A Droot-ed25519.pem17 96:c8:50:86:aa:30:b6:b6:cb:0c:5c:38:ad:70:31:
/openssl/include/crypto/
H A Dcryptlib.h37 CRYPTO_EX_DATA *ad, int idx);
/openssl/providers/implementations/kdfs/
H A Dargon2.c166 uint8_t *ad; member
713 if (ctx->ad != NULL) in initial_hash()
1001 if (ctx->ad != NULL) in kdf_argon2_free()
1002 OPENSSL_clear_free(ctx->ad, ctx->adlen); in kdf_argon2_free()
1142 if (ctx->ad != NULL) in kdf_argon2_reset()
1143 OPENSSL_clear_free(ctx->ad, ctx->adlen); in kdf_argon2_reset()
1336 if (ctx->ad != NULL) { in kdf_argon2_ctx_set_ad()
1337 OPENSSL_clear_free(ctx->ad, ctx->adlen); in kdf_argon2_ctx_set_ad()
1338 ctx->ad = NULL; in kdf_argon2_ctx_set_ad()
1346 OPENSSL_free(ctx->ad); in kdf_argon2_ctx_set_ad()
[all …]
/openssl/apps/lib/
H A Dtlssrp_depr.c158 static int ssl_srp_server_param_cb(SSL *s, int *ad, void *arg) in ssl_srp_server_param_cb() argument
177 *ad = SSL_AD_INTERNAL_ERROR; in ssl_srp_server_param_cb()
/openssl/include/openssl/
H A Dcrypto.h.in227 typedef void CRYPTO_EX_new (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
229 typedef void CRYPTO_EX_free (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
244 int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
248 void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
251 int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad,
258 int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val);
259 void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
/openssl/doc/man3/
H A DCRYPTO_get_ex_new_index.pod21 typedef void CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
23 typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
28 int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
30 int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad,

Completed in 41 milliseconds

12