Home
last modified time | relevance | path

Searched refs:newctx (Results 1 - 25 of 41) sorted by relevance

12

/third_party/selinux/libselinux/src/
H A Davc_sidtab.c52 char * newctx; in sidtab_insert() local
59 newctx = strdup(ctx); in sidtab_insert()
60 if (!newctx) { in sidtab_insert()
66 hvalue = sidtab_hash(newctx); in sidtab_insert()
68 newnode->sid_s.ctx = newctx; in sidtab_insert()
/third_party/node/deps/openssl/openssl/crypto/encode_decode/
H A Dencoder_local.h33 OSSL_FUNC_encoder_newctx_fn *newctx; member
47 OSSL_FUNC_decoder_newctx_fn *newctx; member
H A Ddecoder_meth.c244 if (decoder->newctx == NULL) in ossl_decoder_from_algorithm()
245 decoder->newctx = OSSL_FUNC_decoder_newctx(fns); in ossl_decoder_from_algorithm()
291 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm()
292 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
H A Dencoder_meth.c244 if (encoder->newctx == NULL) in encoder_from_algorithm()
245 encoder->newctx = in encoder_from_algorithm()
299 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm()
300 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
/third_party/openssl/crypto/encode_decode/
H A Dencoder_local.h33 OSSL_FUNC_encoder_newctx_fn *newctx; member
47 OSSL_FUNC_decoder_newctx_fn *newctx; member
H A Ddecoder_meth.c244 if (decoder->newctx == NULL) in ossl_decoder_from_algorithm()
245 decoder->newctx = OSSL_FUNC_decoder_newctx(fns); in ossl_decoder_from_algorithm()
291 if (!((decoder->newctx == NULL && decoder->freectx == NULL) in ossl_decoder_from_algorithm()
292 || (decoder->newctx != NULL && decoder->freectx != NULL)) in ossl_decoder_from_algorithm()
H A Dencoder_meth.c244 if (encoder->newctx == NULL) in encoder_from_algorithm()
245 encoder->newctx = in encoder_from_algorithm()
299 if (!((encoder->newctx == NULL && encoder->freectx == NULL) in encoder_from_algorithm()
300 || (encoder->newctx != NULL && encoder->freectx != NULL) in encoder_from_algorithm()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Devp_local.h144 OSSL_FUNC_keyexch_newctx_fn *newctx; member
164 OSSL_FUNC_signature_newctx_fn *newctx; member
199 OSSL_FUNC_asym_cipher_newctx_fn *newctx; member
220 OSSL_FUNC_kem_newctx_fn *newctx; member
H A Dkdf_meth.c81 if (kdf->newctx != NULL) in evp_kdf_from_algorithm()
83 kdf->newctx = OSSL_FUNC_kdf_newctx(fns); in evp_kdf_from_algorithm()
H A Dmac_meth.c82 if (mac->newctx != NULL) in evp_mac_from_algorithm()
84 mac->newctx = OSSL_FUNC_mac_newctx(fns); in evp_mac_from_algorithm()
H A Devp_rand.c33 OSSL_FUNC_rand_newctx_fn *newctx; member
140 if (rand->newctx != NULL) in evp_rand_from_algorithm()
142 rand->newctx = OSSL_FUNC_rand_newctx(fns); in evp_rand_from_algorithm()
357 if ((ctx->algctx = rand->newctx(ossl_provider_ctx(rand->prov), parent_ctx, in EVP_RAND_CTX_new()
H A Dexchange.c64 if (exchange->newctx != NULL) in evp_keyexch_from_algorithm()
66 exchange->newctx = OSSL_FUNC_keyexch_newctx(fns); in evp_keyexch_from_algorithm()
130 * a complete set of "exchange" functions: init, derive, newctx, in evp_keyexch_from_algorithm()
336 ctx->op.kex.algctx = exchange->newctx(ossl_provider_ctx(exchange->prov)); in EVP_PKEY_derive_init_ex()
H A Dkem.c138 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init()
280 if (kem->newctx != NULL) in evp_kem_from_algorithm()
282 kem->newctx = OSSL_FUNC_kem_newctx(fns); in evp_kem_from_algorithm()
358 * a set of context functions (newctx and freectx) as well as a pair of in evp_kem_from_algorithm()
H A Dasymcipher.c145 ctx->op.ciph.algctx = cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_pkey_asym_cipher_init()
346 if (cipher->newctx != NULL) in evp_asym_cipher_from_algorithm()
348 cipher->newctx = OSSL_FUNC_asym_cipher_newctx(fns); in evp_asym_cipher_from_algorithm()
424 * a set of context functions (newctx and freectx) as well as a pair of in evp_asym_cipher_from_algorithm()
H A Dsignature.c66 if (signature->newctx != NULL) in evp_signature_from_algorithm()
68 signature->newctx = OSSL_FUNC_signature_newctx(fns); in evp_signature_from_algorithm()
255 * a set of context functions (newctx and freectx) as well as a set of in evp_signature_from_algorithm()
520 signature->newctx(ossl_provider_ctx(signature->prov), ctx->propquery); in evp_pkey_signature_init()
/third_party/openssl/crypto/evp/
H A Devp_local.h144 OSSL_FUNC_keyexch_newctx_fn *newctx; member
164 OSSL_FUNC_signature_newctx_fn *newctx; member
199 OSSL_FUNC_asym_cipher_newctx_fn *newctx; member
220 OSSL_FUNC_kem_newctx_fn *newctx; member
H A Dkdf_meth.c81 if (kdf->newctx != NULL) in evp_kdf_from_algorithm()
83 kdf->newctx = OSSL_FUNC_kdf_newctx(fns); in evp_kdf_from_algorithm()
H A Dmac_meth.c82 if (mac->newctx != NULL) in evp_mac_from_algorithm()
84 mac->newctx = OSSL_FUNC_mac_newctx(fns); in evp_mac_from_algorithm()
H A Devp_rand.c33 OSSL_FUNC_rand_newctx_fn *newctx; member
140 if (rand->newctx != NULL) in evp_rand_from_algorithm()
142 rand->newctx = OSSL_FUNC_rand_newctx(fns); in evp_rand_from_algorithm()
357 if ((ctx->algctx = rand->newctx(ossl_provider_ctx(rand->prov), parent_ctx, in EVP_RAND_CTX_new()
H A Dasymcipher.c145 ctx->op.ciph.algctx = cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_pkey_asym_cipher_init()
346 if (cipher->newctx != NULL) in evp_asym_cipher_from_algorithm()
348 cipher->newctx = OSSL_FUNC_asym_cipher_newctx(fns); in evp_asym_cipher_from_algorithm()
424 * a set of context functions (newctx and freectx) as well as a pair of in evp_asym_cipher_from_algorithm()
H A Dexchange.c64 if (exchange->newctx != NULL) in evp_keyexch_from_algorithm()
66 exchange->newctx = OSSL_FUNC_keyexch_newctx(fns); in evp_keyexch_from_algorithm()
130 * a complete set of "exchange" functions: init, derive, newctx, in evp_keyexch_from_algorithm()
336 ctx->op.kex.algctx = exchange->newctx(ossl_provider_ctx(exchange->prov)); in EVP_PKEY_derive_init_ex()
H A Dkem.c138 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init()
280 if (kem->newctx != NULL) in evp_kem_from_algorithm()
282 kem->newctx = OSSL_FUNC_kem_newctx(fns); in evp_kem_from_algorithm()
358 * a set of context functions (newctx and freectx) as well as a pair of in evp_kem_from_algorithm()
H A Dsignature.c66 if (signature->newctx != NULL) in evp_signature_from_algorithm()
68 signature->newctx = OSSL_FUNC_signature_newctx(fns); in evp_signature_from_algorithm()
255 * a set of context functions (newctx and freectx) as well as a set of in evp_signature_from_algorithm()
520 signature->newctx(ossl_provider_ctx(signature->prov), ctx->propquery); in evp_pkey_signature_init()
/third_party/node/deps/openssl/openssl/include/crypto/
H A Devp.h208 OSSL_FUNC_mac_newctx_fn *newctx; member
230 OSSL_FUNC_kdf_newctx_fn *newctx; member
274 OSSL_FUNC_digest_newctx_fn *newctx; member
330 OSSL_FUNC_cipher_newctx_fn *newctx; member
/third_party/openssl/include/crypto/
H A Devp.h208 OSSL_FUNC_mac_newctx_fn *newctx; member
230 OSSL_FUNC_kdf_newctx_fn *newctx; member
274 OSSL_FUNC_digest_newctx_fn *newctx; member
330 OSSL_FUNC_cipher_newctx_fn *newctx; member

Completed in 21 milliseconds

12