Searched refs:cctx (Results 1 - 20 of 20) sorted by relevance

/freebsd-10-stable/crypto/openssl/crypto/cmac/
H A Dcmac.c67 EVP_CIPHER_CTX cctx; member in struct:CMAC_CTX_st
101 EVP_CIPHER_CTX_init(&ctx->cctx);
109 if (FIPS_mode() && !ctx->cctx.engine) {
114 EVP_CIPHER_CTX_cleanup(&ctx->cctx);
124 return &ctx->cctx;
140 if (!EVP_CIPHER_CTX_copy(&out->cctx, &in->cctx))
142 bl = EVP_CIPHER_CTX_block_size(&in->cctx);
158 if ((impl || ctx->cctx.engine)
159 && !(ctx->cctx
[all...]
/freebsd-10-stable/crypto/heimdal/kcm/
H A Dconnect.c42 heim_sipc_call cctx)
60 (*complete)(cctx, EINVAL, NULL);
71 (*complete)(cctx, EINVAL, NULL);
82 (*complete)(cctx, ret, &rep);
39 kcm_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
/freebsd-10-stable/crypto/heimdal/lib/gssapi/
H A Dtest_context.c114 gss_ctx_id_t *sctx, gss_ctx_id_t *cctx,
161 cctx,
246 wrapunwrap(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) argument
256 maj_stat = gss_wrap(&min_stat, cctx, flags, 0, &input_token,
283 wrapunwrap_iov(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) argument
358 maj_stat = gss_wrap_iov(&min_stat, cctx, dce_style_flag || flags & USE_CONF, 0, &conf_state,
419 getverifymic(gss_ctx_id_t cctx, gss_ctx_id_t sctx, gss_OID mechoid) argument
428 maj_stat = gss_get_mic(&min_stat, cctx, 0, &input_token,
506 gss_ctx_id_t cctx, sctx; local
520 cctx
111 loop(gss_OID mechoid, gss_OID nameoid, const char *target, gss_cred_id_t init_cred, gss_ctx_id_t *sctx, gss_ctx_id_t *cctx, gss_OID *actual_mech, gss_cred_id_t *deleg_cred) argument
[all...]
/freebsd-10-stable/crypto/openssl/crypto/evp/
H A De_aes.c371 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; local
375 aesni_set_encrypt_key(key, ctx->key_len * 8, &cctx->ks);
376 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L,
377 &cctx->ks, (block128_f) aesni_encrypt);
378 cctx->str = enc ? (ccm128_f) aesni_ccm64_encrypt_blocks :
380 cctx->key_set = 1;
383 memcpy(ctx->iv, iv, 15 - cctx->L);
384 cctx
1127 EVP_AES_CCM_CTX *cctx = c->cipher_data; local
1189 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; local
1220 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; local
[all...]
H A Dp5_crpt.c74 int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, argument
140 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de))
/freebsd-10-stable/crypto/openssl/engines/ccgost/
H A Dgost_md.c44 gost_init(&(c->cctx), &GostR3411_94_CryptoProParamSet);
45 c->dctx.cipher_ctx = &(c->cctx);
66 md_ctx->dctx.cipher_ctx = &(md_ctx->cctx);
H A Dgost94_keyx.c105 gost_ctx cctx; local
149 gost_init(&cctx, param->sblock);
150 keyWrapCryptoPro(&cctx, shared_key, ukm, key, crypted_key);
217 gost_ctx cctx; local
259 gost_init(&cctx, param->sblock);
267 if (!keyUnwrapCryptoPro(&cctx, sharedKey, wrappedKey, key)) {
H A Dgost_crypt.c178 gost_init(&(c->cctx), param->sblock);
195 gost_key(&(c->cctx), key);
206 gost_init(&(c->cctx), &Gost28147_CryptoProParamSetA);
210 gost_key(&(c->cctx), key);
234 cryptopro_key_meshing(&(c->cctx), iv);
236 gostcrypt(&(c->cctx), iv, buf);
247 cryptopro_key_meshing(&(c->cctx), iv);
250 gostcrypt(&(c->cctx), iv, buf1);
270 gostcrypt(&(c->cctx), buf1, buf);
392 gost_destroy(&((struct ossl_gost_cipher_ctx *)ctx->cipher_data)->cctx);
[all...]
H A Dgost_lcl.h131 gost_ctx cctx; member in struct:ossl_gost_digest_ctx
142 gost_ctx cctx; member in struct:ossl_gost_cipher_ctx
152 gost_ctx cctx; member in struct:ossl_gost_imit_ctx
H A Dgost2001_keyx.c126 gost_ctx cctx; local
165 gost_init(&cctx, param->sblock);
166 keyWrapCryptoPro(&cctx, shared_key, ukm, key, crypted_key);
/freebsd-10-stable/crypto/heimdal/lib/ipc/
H A Dts.c64 heim_sipc_call cctx)
70 (*complete)(cctx, 0, &rep);
61 test_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
H A Dts-http.c64 heim_sipc_call cctx)
70 (*complete)(cctx, 0, &rep);
61 test_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
/freebsd-10-stable/crypto/openssh/
H A Dmux.c310 struct mux_session_confirm_ctx *cctx; local
316 cctx = xcalloc(1, sizeof(*cctx));
317 cctx->term = NULL;
318 cctx->rid = rid;
320 cctx->env = NULL;
323 buffer_get_int_ret(&cctx->want_tty, m) != 0 ||
324 buffer_get_int_ret(&cctx->want_x_fwd, m) != 0 ||
325 buffer_get_int_ret(&cctx->want_agent_fwd, m) != 0 ||
326 buffer_get_int_ret(&cctx
947 struct mux_stdio_confirm_ctx *cctx; local
1040 struct mux_stdio_confirm_ctx *cctx = arg; local
1327 struct mux_session_confirm_ctx *cctx = arg; local
[all...]
H A Dchannels.c3630 /* Try to start non-blocking connect to next host in cctx list */
3632 connect_next(struct channel_connect *cctx) argument
3638 for (; cctx->ai; cctx->ai = cctx->ai->ai_next) {
3639 switch (cctx->ai->ai_family) {
3642 sunaddr = (struct sockaddr_un *)cctx->ai->ai_addr;
3648 if (getnameinfo(cctx->ai->ai_addr, cctx->ai->ai_addrlen,
3658 if ((sock = socket(cctx
3689 channel_connect_ctx_free(struct channel_connect *cctx) argument
3709 struct channel_connect cctx; local
[all...]
/freebsd-10-stable/crypto/openssl/crypto/pem/
H A Dpvkfmt.c695 EVP_CIPHER_CTX cctx; local
696 EVP_CIPHER_CTX_init(&cctx);
727 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, NULL))
729 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen))
731 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, &enctmplen))
737 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, NULL))
740 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen))
742 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, &enctmplen))
756 EVP_CIPHER_CTX_cleanup(&cctx);
803 EVP_CIPHER_CTX cctx; local
[all...]
/freebsd-10-stable/crypto/heimdal/kdc/
H A Ddigest-service.c55 heim_sipc_call cctx)
72 (*complete)(cctx, EPERM, NULL);
208 (*complete)(cctx, ret, &rep);
52 ntlm_service(void *ctx, const heim_idata *req, const heim_icred cred, heim_ipc_complete complete, heim_sipc_call cctx) argument
/freebsd-10-stable/contrib/ntp/libntp/
H A Da_md5encrypt.c33 EVP_CIPHER_CTX * cctx; local
34 if (NULL != (cctx = CMAC_CTX_get0_cipher_ctx (ctx)))
35 mlen = EVP_CIPHER_CTX_block_size(cctx);
/freebsd-10-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_zip.c141 archive_crypto_ctx cctx; member in struct:zip
572 archive_encrypto_aes_ctr_release(&zip->cctx);
1057 &zip->cctx,
1099 &zip->cctx,
1160 &zip->cctx, zip->buf, remainder,
1365 archive_encrypto_aes_ctr_release(&zip->cctx);
1636 ret = archive_encrypto_aes_ctr_init(&zip->cctx, derived_key, key_len);
1645 archive_encrypto_aes_ctr_release(&zip->cctx);
1671 archive_crypto_ctx cctx; local
1690 ret = archive_encrypto_aes_ctr_init(&cctx, derived_ke
[all...]
H A Darchive_read_support_format_zip.c228 archive_crypto_ctx cctx; member in struct:zip
1544 archive_decrypto_aes_ctr_update(&zip->cctx,
2406 &zip->cctx,
2827 r = archive_decrypto_aes_ctr_init(&zip->cctx, derived_key, key_len);
2835 archive_decrypto_aes_ctr_release(&zip->cctx);
3025 archive_decrypto_aes_ctr_release(&zip->cctx);
3195 archive_decrypto_aes_ctr_release(&zip->cctx);
4073 archive_decrypto_aes_ctr_release(&zip->cctx);
/freebsd-10-stable/contrib/sendmail/src/
H A Dratectrl.c299 hv = ((hv << 1) ^ (*p & 0377)) % cctx->cc_size;

Completed in 403 milliseconds