Searched refs:ciph_ctx (Results 1 - 21 of 21) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/ssl/
H A Dd1_clnt.c885 EVP_CIPHER_CTX ciph_ctx; local
893 EVP_CIPHER_CTX_init(&ciph_ctx);
974 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
975 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
977 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
981 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
983 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
985 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
992 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Dkssl.c2004 EVP_CIPHER_CTX ciph_ctx; local
2013 EVP_CIPHER_CTX_init(&ciph_ctx);
2078 if (!EVP_CipherInit(&ciph_ctx,enc,kssl_ctx->key,iv,0))
2086 if (!EVP_Cipher(&ciph_ctx,unenc_authent,dec_authent->cipher->data,outl))
2093 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2145 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2198 EVP_CIPHER_CTX ciph_ctx; local
2206 EVP_CIPHER_CTX_init(&ciph_ctx);
2289 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2290 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2292 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2296 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
2298 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
2300 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
2307 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2212 EVP_CIPHER_CTX ciph_ctx; local
2221 EVP_CIPHER_CTX_init(&ciph_ctx);
2321 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
2327 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl,
2340 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl))
2371 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/ssl/
H A Dd1_clnt.c885 EVP_CIPHER_CTX ciph_ctx; local
893 EVP_CIPHER_CTX_init(&ciph_ctx);
974 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
975 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
977 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
981 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
983 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
985 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
992 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Dkssl.c2004 EVP_CIPHER_CTX ciph_ctx; local
2013 EVP_CIPHER_CTX_init(&ciph_ctx);
2078 if (!EVP_CipherInit(&ciph_ctx,enc,kssl_ctx->key,iv,0))
2086 if (!EVP_Cipher(&ciph_ctx,unenc_authent,dec_authent->cipher->data,outl))
2093 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2145 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2198 EVP_CIPHER_CTX ciph_ctx; local
2206 EVP_CIPHER_CTX_init(&ciph_ctx);
2289 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2290 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2292 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2296 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
2298 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
2300 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
2307 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2212 EVP_CIPHER_CTX ciph_ctx; local
2221 EVP_CIPHER_CTX_init(&ciph_ctx);
2321 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
2327 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl,
2340 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl))
2371 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/ssl/
H A Dd1_clnt.c885 EVP_CIPHER_CTX ciph_ctx; local
893 EVP_CIPHER_CTX_init(&ciph_ctx);
974 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
975 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
977 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
981 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
983 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
985 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
992 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Dkssl.c2004 EVP_CIPHER_CTX ciph_ctx; local
2013 EVP_CIPHER_CTX_init(&ciph_ctx);
2078 if (!EVP_CipherInit(&ciph_ctx,enc,kssl_ctx->key,iv,0))
2086 if (!EVP_Cipher(&ciph_ctx,unenc_authent,dec_authent->cipher->data,outl))
2093 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2145 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2198 EVP_CIPHER_CTX ciph_ctx; local
2206 EVP_CIPHER_CTX_init(&ciph_ctx);
2289 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2290 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2292 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2296 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
2298 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
2300 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
2307 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2212 EVP_CIPHER_CTX ciph_ctx; local
2221 EVP_CIPHER_CTX_init(&ciph_ctx);
2321 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
2327 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl,
2340 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl))
2371 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/ssl/
H A Dkssl.c2021 EVP_CIPHER_CTX ciph_ctx; local
2030 EVP_CIPHER_CTX_init(&ciph_ctx);
2096 if (!EVP_CipherInit(&ciph_ctx, enc, kssl_ctx->key, iv, 0)) {
2104 (&ciph_ctx, unenc_authent, dec_authent->cipher->data, outl)) {
2110 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2167 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2407 EVP_CIPHER_CTX ciph_ctx; local
2416 EVP_CIPHER_CTX_init(&ciph_ctx);
2508 if (!EVP_DecryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv)) {
2513 if (!EVP_DecryptUpdate(&ciph_ctx, pms, &outl,
2527 if (!EVP_DecryptFinal_ex(&ciph_ctx, &(pms[outl]), &padl)) {
2560 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2518 EVP_CIPHER_CTX ciph_ctx; local
2525 EVP_CIPHER_CTX_init(&ciph_ctx);
2605 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2606 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2608 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2612 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
2613 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
2615 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
2622 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/ssl/
H A Dkssl.c2021 EVP_CIPHER_CTX ciph_ctx; local
2030 EVP_CIPHER_CTX_init(&ciph_ctx);
2096 if (!EVP_CipherInit(&ciph_ctx, enc, kssl_ctx->key, iv, 0)) {
2104 (&ciph_ctx, unenc_authent, dec_authent->cipher->data, outl)) {
2110 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2167 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2407 EVP_CIPHER_CTX ciph_ctx; local
2416 EVP_CIPHER_CTX_init(&ciph_ctx);
2508 if (!EVP_DecryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv)) {
2513 if (!EVP_DecryptUpdate(&ciph_ctx, pms, &outl,
2527 if (!EVP_DecryptFinal_ex(&ciph_ctx, &(pms[outl]), &padl)) {
2560 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2518 EVP_CIPHER_CTX ciph_ctx; local
2525 EVP_CIPHER_CTX_init(&ciph_ctx);
2605 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2606 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2608 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2612 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
2613 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
2615 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
2622 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/ssl/
H A Dkssl.c2021 EVP_CIPHER_CTX ciph_ctx; local
2030 EVP_CIPHER_CTX_init(&ciph_ctx);
2096 if (!EVP_CipherInit(&ciph_ctx, enc, kssl_ctx->key, iv, 0)) {
2104 (&ciph_ctx, unenc_authent, dec_authent->cipher->data, outl)) {
2110 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2167 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c2407 EVP_CIPHER_CTX ciph_ctx; local
2416 EVP_CIPHER_CTX_init(&ciph_ctx);
2508 if (!EVP_DecryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv)) {
2513 if (!EVP_DecryptUpdate(&ciph_ctx, pms, &outl,
2527 if (!EVP_DecryptFinal_ex(&ciph_ctx, &(pms[outl]), &padl)) {
2560 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2518 EVP_CIPHER_CTX ciph_ctx; local
2525 EVP_CIPHER_CTX_init(&ciph_ctx);
2605 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2606 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2608 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2612 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
2613 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
2615 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
2622 EVP_CIPHER_CTX_cleanup(&ciph_ctx);

Completed in 339 milliseconds