/external/chromium_org/third_party/openssl/openssl/crypto/cmac/ |
D | cmac.c | 67 EVP_CIPHER_CTX cctx; member 103 EVP_CIPHER_CTX_init(&ctx->cctx); in CMAC_CTX_new() 111 if (FIPS_mode() && !ctx->cctx.engine) in CMAC_CTX_cleanup() 117 EVP_CIPHER_CTX_cleanup(&ctx->cctx); in CMAC_CTX_cleanup() 127 return &ctx->cctx; in CMAC_CTX_get0_cipher_ctx() 141 if (!EVP_CIPHER_CTX_copy(&out->cctx, &in->cctx)) in CMAC_CTX_copy() 143 bl = EVP_CIPHER_CTX_block_size(&in->cctx); in CMAC_CTX_copy() 160 if ((impl || ctx->cctx.engine) in CMAC_Init() 161 && !(ctx->cctx.flags & EVP_CIPH_FLAG_NON_FIPS_ALLOW)) in CMAC_Init() 170 if (!impl && !ctx->cctx.engine) in CMAC_Init() [all …]
|
/external/openssl/crypto/cmac/ |
D | cmac.c | 67 EVP_CIPHER_CTX cctx; member 103 EVP_CIPHER_CTX_init(&ctx->cctx); in CMAC_CTX_new() 111 if (FIPS_mode() && !ctx->cctx.engine) in CMAC_CTX_cleanup() 117 EVP_CIPHER_CTX_cleanup(&ctx->cctx); in CMAC_CTX_cleanup() 127 return &ctx->cctx; in CMAC_CTX_get0_cipher_ctx() 141 if (!EVP_CIPHER_CTX_copy(&out->cctx, &in->cctx)) in CMAC_CTX_copy() 143 bl = EVP_CIPHER_CTX_block_size(&in->cctx); in CMAC_CTX_copy() 160 if ((impl || ctx->cctx.engine) in CMAC_Init() 161 && !(ctx->cctx.flags & EVP_CIPH_FLAG_NON_FIPS_ALLOW)) in CMAC_Init() 170 if (!impl && !ctx->cctx.engine) in CMAC_Init() [all …]
|
/external/openssl/crypto/evp/ |
D | e_aes.c | 392 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; in aesni_ccm_init_key() local 397 aesni_set_encrypt_key(key, ctx->key_len * 8, &cctx->ks); in aesni_ccm_init_key() 398 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aesni_ccm_init_key() 399 &cctx->ks, (block128_f)aesni_encrypt); in aesni_ccm_init_key() 400 cctx->str = enc?(ccm128_f)aesni_ccm64_encrypt_blocks : in aesni_ccm_init_key() 402 cctx->key_set = 1; in aesni_ccm_init_key() 406 memcpy(ctx->iv, iv, 15 - cctx->L); in aesni_ccm_init_key() 407 cctx->iv_set = 1; in aesni_ccm_init_key() 1157 EVP_AES_CCM_CTX *cctx = c->cipher_data; in aes_ccm_ctrl() local 1161 cctx->key_set = 0; in aes_ccm_ctrl() [all …]
|
D | p5_crpt.c | 72 int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, in PKCS5_PBE_keyivgen() argument 134 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen()
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
D | e_aes.c | 392 EVP_AES_CCM_CTX *cctx = ctx->cipher_data; in aesni_ccm_init_key() local 397 aesni_set_encrypt_key(key, ctx->key_len * 8, &cctx->ks); in aesni_ccm_init_key() 398 CRYPTO_ccm128_init(&cctx->ccm, cctx->M, cctx->L, in aesni_ccm_init_key() 399 &cctx->ks, (block128_f)aesni_encrypt); in aesni_ccm_init_key() 400 cctx->str = enc?(ccm128_f)aesni_ccm64_encrypt_blocks : in aesni_ccm_init_key() 402 cctx->key_set = 1; in aesni_ccm_init_key() 406 memcpy(ctx->iv, iv, 15 - cctx->L); in aesni_ccm_init_key() 407 cctx->iv_set = 1; in aesni_ccm_init_key() 1158 EVP_AES_CCM_CTX *cctx = c->cipher_data; in aes_ccm_ctrl() local 1162 cctx->key_set = 0; in aes_ccm_ctrl() [all …]
|
D | p5_crpt.c | 72 int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, in PKCS5_PBE_keyivgen() argument 134 if (!EVP_CipherInit_ex(cctx, cipher, NULL, key, iv, en_de)) in PKCS5_PBE_keyivgen()
|
/external/openssh/ |
D | mux.c | 309 struct mux_session_confirm_ctx *cctx; in process_mux_new_session() local 315 cctx = xcalloc(1, sizeof(*cctx)); in process_mux_new_session() 316 cctx->term = NULL; in process_mux_new_session() 317 cctx->rid = rid; in process_mux_new_session() 320 buffer_get_int_ret(&cctx->want_tty, m) != 0 || in process_mux_new_session() 321 buffer_get_int_ret(&cctx->want_x_fwd, m) != 0 || in process_mux_new_session() 322 buffer_get_int_ret(&cctx->want_agent_fwd, m) != 0 || in process_mux_new_session() 323 buffer_get_int_ret(&cctx->want_subsys, m) != 0 || in process_mux_new_session() 325 (cctx->term = buffer_get_string_ret(m, &len)) == NULL || in process_mux_new_session() 332 if (cctx->term != NULL) in process_mux_new_session() [all …]
|
D | channels.c | 3078 connect_next(struct channel_connect *cctx) argument 3083 for (; cctx->ai; cctx->ai = cctx->ai->ai_next) { 3084 if (cctx->ai->ai_family != AF_INET && 3085 cctx->ai->ai_family != AF_INET6) 3087 if (getnameinfo(cctx->ai->ai_addr, cctx->ai->ai_addrlen, 3093 if ((sock = socket(cctx->ai->ai_family, cctx->ai->ai_socktype, 3094 cctx->ai->ai_protocol)) == -1) { 3095 if (cctx->ai->ai_next == NULL) 3103 if (connect(sock, cctx->ai->ai_addr, 3104 cctx->ai->ai_addrlen) == -1 && errno != EINPROGRESS) { [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
D | pvkfmt.c | 733 EVP_CIPHER_CTX cctx; in do_PVK_body() local 734 EVP_CIPHER_CTX_init(&cctx); in do_PVK_body() 764 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, NULL)) in do_PVK_body() 766 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) in do_PVK_body() 768 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, &enctmplen)) in do_PVK_body() 775 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, in do_PVK_body() 779 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) in do_PVK_body() 781 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, in do_PVK_body() 798 EVP_CIPHER_CTX_cleanup(&cctx); in do_PVK_body() 852 EVP_CIPHER_CTX cctx; in i2b_PVK() local [all …]
|
/external/openssl/crypto/pem/ |
D | pvkfmt.c | 733 EVP_CIPHER_CTX cctx; in do_PVK_body() local 734 EVP_CIPHER_CTX_init(&cctx); in do_PVK_body() 764 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, NULL)) in do_PVK_body() 766 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) in do_PVK_body() 768 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, &enctmplen)) in do_PVK_body() 775 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, in do_PVK_body() 779 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) in do_PVK_body() 781 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, in do_PVK_body() 798 EVP_CIPHER_CTX_cleanup(&cctx); in do_PVK_body() 852 EVP_CIPHER_CTX cctx; in i2b_PVK() local [all …]
|
/external/chromium_org/third_party/mesa/src/src/egl/drivers/glx/ |
D | egl_glx.c | 767 GLXContext cctx; in GLX_eglMakeCurrent() local 776 cctx = (GLX_ctx) ? GLX_ctx->context : NULL; in GLX_eglMakeCurrent() 779 ret = GLX_drv->glXMakeContextCurrent(GLX_dpy->dpy, ddraw, rdraw, cctx); in GLX_eglMakeCurrent() 781 ret = GLX_drv->glXMakeCurrent(GLX_dpy->dpy, ddraw, cctx); in GLX_eglMakeCurrent()
|
/external/mesa3d/src/egl/drivers/glx/ |
D | egl_glx.c | 767 GLXContext cctx; in GLX_eglMakeCurrent() local 776 cctx = (GLX_ctx) ? GLX_ctx->context : NULL; in GLX_eglMakeCurrent() 779 ret = GLX_drv->glXMakeContextCurrent(GLX_dpy->dpy, ddraw, rdraw, cctx); in GLX_eglMakeCurrent() 781 ret = GLX_drv->glXMakeCurrent(GLX_dpy->dpy, ddraw, cctx); in GLX_eglMakeCurrent()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | egl_dri2.c | 896 __DRIcontext *cctx; in dri2_make_current() local 908 cctx = (dri2_ctx) ? dri2_ctx->dri_context : NULL; in dri2_make_current() 915 if ((cctx == NULL && ddraw == NULL && rdraw == NULL) || in dri2_make_current() 916 dri2_dpy->core->bindContext(cctx, ddraw, rdraw)) { in dri2_make_current()
|
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
D | egl_dri2.c | 896 __DRIcontext *cctx; in dri2_make_current() local 908 cctx = (dri2_ctx) ? dri2_ctx->dri_context : NULL; in dri2_make_current() 915 if ((cctx == NULL && ddraw == NULL && rdraw == NULL) || in dri2_make_current() 916 dri2_dpy->core->bindContext(cctx, ddraw, rdraw)) { in dri2_make_current()
|