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

/illumos-gate/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, reqct
[all...]
H A Dpkinit_srv.c180 retval = crypto_retrieve_cert_sans(context, plgctx->cryptoctx,
181 reqctx->cryptoctx, plgctx->idctx,
302 retval = crypto_check_cert_eku(context, plgctx->cryptoctx,
303 reqctx->cryptoctx, plgctx->idctx,
390 retval = cms_signeddata_verify(context, plgctx->cryptoctx,
391 reqctx->cryptoctx, plgctx->idctx, CMS_SIGN_CLIENT,
411 retval = cms_signeddata_verify(context, plgctx->cryptoctx,
412 reqctx->cryptoctx, plgctx->idctx, CMS_SIGN_DRAFT9,
464 retval = server_check_dh(context, plgctx->cryptoctx,
465 reqctx->cryptoctx, plgct
[all...]
H A Dpkinit.h213 pkinit_plg_crypto_context cryptoctx; member in struct:_pkinit_context
224 pkinit_req_crypto_context cryptoctx; member in struct:_pkinit_req_context
237 pkinit_plg_crypto_context cryptoctx; member in struct:_pkinit_kdc_context
251 pkinit_req_crypto_context cryptoctx; member in struct:_pkinit_kdc_req_context
H A Dpkinit_crypto_openssl.h172 (krb5_context context, pkinit_identity_crypto_context cryptoctx,
181 (krb5_context context, pkinit_identity_crypto_context cryptoctx,
H A Dpkinit_crypto_openssl.c377 pkinit_init_plg_crypto(pkinit_plg_crypto_context *cryptoctx) { argument
403 *cryptoctx = ctx;
413 pkinit_fini_plg_crypto(pkinit_plg_crypto_context cryptoctx) argument
415 pkiDebug("%s: freeing context at %p\n", __FUNCTION__, cryptoctx);
417 if (cryptoctx == NULL)
419 pkinit_fini_pkinit_oids(cryptoctx);
420 pkinit_fini_dh_params(cryptoctx);
421 free(cryptoctx);
468 pkinit_init_req_crypto(pkinit_req_crypto_context *cryptoctx) argument
474 if (cryptoctx
2153 client_create_dh(krb5_context context, pkinit_plg_crypto_context plg_cryptoctx, pkinit_req_crypto_context cryptoctx, pkinit_identity_crypto_context id_cryptoctx, int dh_size, unsigned char **dh_params, unsigned int *dh_params_len, unsigned char **dh_pubkey, unsigned int *dh_pubkey_len) argument
2274 client_process_dh(krb5_context context, pkinit_plg_crypto_context plg_cryptoctx, pkinit_req_crypto_context cryptoctx, pkinit_identity_crypto_context id_cryptoctx, unsigned char *subjectPublicKey_data, unsigned int subjectPublicKey_length, unsigned char **client_key, unsigned int *client_key_len) argument
2344 server_check_dh(krb5_context context, pkinit_plg_crypto_context cryptoctx, pkinit_req_crypto_context req_cryptoctx, pkinit_identity_crypto_context id_cryptoctx, krb5_octet_data *dh_params, int minbits) argument
2405 server_process_dh(krb5_context context, pkinit_plg_crypto_context plg_cryptoctx, pkinit_req_crypto_context cryptoctx, pkinit_identity_crypto_context id_cryptoctx, unsigned char *data, unsigned int data_len, unsigned char **dh_pubkey, unsigned int *dh_pubkey_len, unsigned char **server_key, unsigned int *server_key_len) argument
3012 pkinit_process_td_dh_params(krb5_context context, pkinit_plg_crypto_context cryptoctx, pkinit_req_crypto_context req_cryptoctx, pkinit_identity_crypto_context id_cryptoctx, krb5_algorithm_identifier **algId, int *new_dh_size) argument
3128 pkinit_pkcs7type2oid(pkinit_plg_crypto_context cryptoctx, int pkcs7_type) argument
[all...]

Completed in 103 milliseconds