Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_clnt.c155 retval = pkinit_get_kdc_cert(context, plgctx->cryptoctx, reqctx->cryptoctx,
324 retval = create_krb5_supportedCMSTypes(context, plgctx->cryptoctx,
325 reqctx->cryptoctx, reqctx->idctx,
347 if ((retval = client_create_dh(context, plgctx->cryptoctx,
348 reqctx->cryptoctx, reqctx->idctx, reqctx->opts->dh_size,
404 retval = cms_signeddata_create(context, plgctx->cryptoctx,
405 reqctx->cryptoctx, reqctx->idctx, CMS_SIGN_CLIENT, 1,
420 retval = cms_signeddata_create(context, plgctx->cryptoctx,
421 reqctx->cryptoctx, reqctx->idctx, CMS_SIGN_DRAFT9, 1,
440 retval = create_krb5_trustedCertifiers(context, plgctx->cryptoctx,
[all …]
H A Dpkinit_srv.c180 retval = crypto_retrieve_cert_sans(context, plgctx->cryptoctx, in verify_client_san()
181 reqctx->cryptoctx, plgctx->idctx, in verify_client_san()
302 retval = crypto_check_cert_eku(context, plgctx->cryptoctx, in verify_client_eku()
303 reqctx->cryptoctx, plgctx->idctx, in verify_client_eku()
390 retval = cms_signeddata_verify(context, plgctx->cryptoctx, in pkinit_server_verify_padata()
391 reqctx->cryptoctx, plgctx->idctx, CMS_SIGN_CLIENT, in pkinit_server_verify_padata()
411 retval = cms_signeddata_verify(context, plgctx->cryptoctx, in pkinit_server_verify_padata()
412 reqctx->cryptoctx, plgctx->idctx, CMS_SIGN_DRAFT9, in pkinit_server_verify_padata()
464 retval = server_check_dh(context, plgctx->cryptoctx, in pkinit_server_verify_padata()
465 reqctx->cryptoctx, plgctx->idctx, in pkinit_server_verify_padata()
[all …]
H A Dpkinit.h213 pkinit_plg_crypto_context cryptoctx; member
224 pkinit_req_crypto_context cryptoctx; member
237 pkinit_plg_crypto_context cryptoctx; member
251 pkinit_req_crypto_context cryptoctx; member
H A Dpkinit_crypto_openssl.c377 pkinit_init_plg_crypto(pkinit_plg_crypto_context *cryptoctx) { in pkinit_init_plg_crypto() argument
403 *cryptoctx = ctx; in pkinit_init_plg_crypto()
413 pkinit_fini_plg_crypto(pkinit_plg_crypto_context cryptoctx) in pkinit_fini_plg_crypto() argument
415 pkiDebug("%s: freeing context at %p\n", __FUNCTION__, cryptoctx); in pkinit_fini_plg_crypto()
417 if (cryptoctx == NULL) in pkinit_fini_plg_crypto()
419 pkinit_fini_pkinit_oids(cryptoctx); in pkinit_fini_plg_crypto()
420 pkinit_fini_dh_params(cryptoctx); in pkinit_fini_plg_crypto()
421 free(cryptoctx); in pkinit_fini_plg_crypto()
468 pkinit_init_req_crypto(pkinit_req_crypto_context *cryptoctx) in pkinit_init_req_crypto() argument
474 if (cryptoctx == NULL) in pkinit_init_req_crypto()
[all …]
H A Dpkinit_crypto_openssl.h172 (krb5_context context, pkinit_identity_crypto_context cryptoctx,
181 (krb5_context context, pkinit_identity_crypto_context cryptoctx,