Lines Matching refs:algctx

144          && ctx->op.kex.algctx != NULL)  in evp_pkey_ctx_state()
146 && ctx->op.sig.algctx != NULL) in evp_pkey_ctx_state()
148 && ctx->op.ciph.algctx != NULL) in evp_pkey_ctx_state()
152 && ctx->op.encap.algctx != NULL)) in evp_pkey_ctx_state()
357 if (ctx->op.sig.algctx != NULL && ctx->op.sig.signature != NULL) in evp_pkey_ctx_free_old_ops()
358 ctx->op.sig.signature->freectx(ctx->op.sig.algctx); in evp_pkey_ctx_free_old_ops()
360 ctx->op.sig.algctx = NULL; in evp_pkey_ctx_free_old_ops()
363 if (ctx->op.kex.algctx != NULL && ctx->op.kex.exchange != NULL) in evp_pkey_ctx_free_old_ops()
364 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
366 ctx->op.kex.algctx = NULL; in evp_pkey_ctx_free_old_ops()
369 if (ctx->op.encap.algctx != NULL && ctx->op.encap.kem != NULL) in evp_pkey_ctx_free_old_ops()
370 ctx->op.encap.kem->freectx(ctx->op.encap.algctx); in evp_pkey_ctx_free_old_ops()
372 ctx->op.encap.algctx = NULL; in evp_pkey_ctx_free_old_ops()
376 if (ctx->op.ciph.algctx != NULL && ctx->op.ciph.cipher != NULL) in evp_pkey_ctx_free_old_ops()
377 ctx->op.ciph.cipher->freectx(ctx->op.ciph.algctx); in evp_pkey_ctx_free_old_ops()
379 ctx->op.ciph.algctx = NULL; in evp_pkey_ctx_free_old_ops()
484 if (pctx->op.kex.algctx != NULL) { in EVP_PKEY_CTX_dup()
489 rctx->op.kex.algctx in EVP_PKEY_CTX_dup()
490 = pctx->op.kex.exchange->dupctx(pctx->op.kex.algctx); in EVP_PKEY_CTX_dup()
492 if (rctx->op.kex.algctx == NULL) { in EVP_PKEY_CTX_dup()
505 if (pctx->op.sig.algctx != NULL) { in EVP_PKEY_CTX_dup()
510 rctx->op.sig.algctx in EVP_PKEY_CTX_dup()
511 = pctx->op.sig.signature->dupctx(pctx->op.sig.algctx); in EVP_PKEY_CTX_dup()
513 if (rctx->op.sig.algctx == NULL) { in EVP_PKEY_CTX_dup()
526 if (pctx->op.ciph.algctx != NULL) { in EVP_PKEY_CTX_dup()
531 rctx->op.ciph.algctx in EVP_PKEY_CTX_dup()
532 = pctx->op.ciph.cipher->dupctx(pctx->op.ciph.algctx); in EVP_PKEY_CTX_dup()
534 if (rctx->op.ciph.algctx == NULL) { in EVP_PKEY_CTX_dup()
547 if (pctx->op.encap.algctx != NULL) { in EVP_PKEY_CTX_dup()
552 rctx->op.encap.algctx in EVP_PKEY_CTX_dup()
553 = pctx->op.encap.kem->dupctx(pctx->op.encap.algctx); in EVP_PKEY_CTX_dup()
555 if (rctx->op.encap.algctx == NULL) { in EVP_PKEY_CTX_dup()
671 ctx->op.kex.exchange->set_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_set_params()
677 ctx->op.sig.signature->set_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_set_params()
683 ctx->op.ciph.cipher->set_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_set_params()
695 ctx->op.encap.kem->set_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_set_params()
715 ctx->op.kex.exchange->get_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_get_params()
721 ctx->op.sig.signature->get_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_get_params()
727 ctx->op.ciph.cipher->get_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_get_params()
733 ctx->op.encap.kem->get_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_get_params()
760 return ctx->op.kex.exchange->gettable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_gettable_params()
768 return ctx->op.sig.signature->gettable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_gettable_params()
776 return ctx->op.ciph.cipher->gettable_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_gettable_params()
783 return ctx->op.encap.kem->gettable_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_gettable_params()
804 return ctx->op.kex.exchange->settable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_settable_params()
812 return ctx->op.sig.signature->settable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_settable_params()
820 return ctx->op.ciph.cipher->settable_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_settable_params()
834 return ctx->op.encap.kem->settable_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_settable_params()
915 if (ctx->op.sig.algctx == NULL) in EVP_PKEY_CTX_get_signature_md()
971 return evp_pkey_ctx_set_md(ctx, md, ctx->op.sig.algctx == NULL, in EVP_PKEY_CTX_set_signature_md()
978 return evp_pkey_ctx_set_md(ctx, md, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set_tls1_prf_md()
1093 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_tls1_prf_secret()
1103 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_add1_tls1_prf_seed()
1112 return evp_pkey_ctx_set_md(ctx, md, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set_hkdf_md()
1120 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_hkdf_salt()
1130 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_hkdf_key()
1140 return evp_pkey_ctx_add1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_add1_hkdf_info()
1158 if (ctx->op.kex.algctx == NULL) in EVP_PKEY_CTX_set_hkdf_mode()
1177 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_pbe_pass()
1187 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_scrypt_salt()
1206 if (ctx->op.kex.algctx == NULL) in evp_pkey_ctx_set_uint64()