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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/ssl/
H A Dd1_clnt.c772 EVP_CIPHER_CTX ciph_ctx; local
780 EVP_CIPHER_CTX_init(&ciph_ctx);
861 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
862 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
864 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
868 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
870 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
872 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
879 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Dkssl.c2005 EVP_CIPHER_CTX ciph_ctx; local
2014 EVP_CIPHER_CTX_init(&ciph_ctx);
2079 if (!EVP_CipherInit(&ciph_ctx,enc,kssl_ctx->key,iv,0))
2087 if (!EVP_Cipher(&ciph_ctx,unenc_authent,dec_authent->cipher->data,outl))
2094 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
2143 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c1714 EVP_CIPHER_CTX ciph_ctx; local
1722 EVP_CIPHER_CTX_init(&ciph_ctx);
1805 ** EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
1806 ** EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
1808 ** EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
1812 EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,
1814 EVP_EncryptUpdate(&ciph_ctx,epms,&outl,tmp_buf,
1816 EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl);
1823 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_srvr.c1859 EVP_CIPHER_CTX ciph_ctx; local
1868 EVP_CIPHER_CTX_init(&ciph_ctx);
1968 if (!EVP_DecryptInit_ex(&ciph_ctx,enc,NULL,kssl_ctx->key,iv))
1974 if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl,
1987 if (!EVP_DecryptFinal_ex(&ciph_ctx,&(pms[outl]),&padl))
2019 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/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.c2408 EVP_CIPHER_CTX ciph_ctx; local
2417 EVP_CIPHER_CTX_init(&ciph_ctx);
2509 if (!EVP_DecryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv)) {
2514 if (!EVP_DecryptUpdate(&ciph_ctx, pms, &outl,
2528 if (!EVP_DecryptFinal_ex(&ciph_ctx, &(pms[outl]), &padl)) {
2561 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2566 EVP_CIPHER_CTX ciph_ctx; local
2573 EVP_CIPHER_CTX_init(&ciph_ctx);
2653 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2654 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2656 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2660 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
2661 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
2663 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
2670 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/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.c2408 EVP_CIPHER_CTX ciph_ctx; local
2417 EVP_CIPHER_CTX_init(&ciph_ctx);
2509 if (!EVP_DecryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv)) {
2514 if (!EVP_DecryptUpdate(&ciph_ctx, pms, &outl,
2528 if (!EVP_DecryptFinal_ex(&ciph_ctx, &(pms[outl]), &padl)) {
2561 EVP_CIPHER_CTX_cleanup(&ciph_ctx);
H A Ds3_clnt.c2566 EVP_CIPHER_CTX ciph_ctx; local
2573 EVP_CIPHER_CTX_init(&ciph_ctx);
2653 * EVP_EncryptInit_ex(&ciph_ctx,enc, NULL,NULL);
2654 * EVP_CIPHER_CTX_set_key_length(&ciph_ctx,
2656 * EVP_EncryptInit_ex(&ciph_ctx,NULL, key,iv);
2660 EVP_EncryptInit_ex(&ciph_ctx, enc, NULL, kssl_ctx->key, iv);
2661 EVP_EncryptUpdate(&ciph_ctx, epms, &outl, tmp_buf,
2663 EVP_EncryptFinal_ex(&ciph_ctx, &(epms[outl]), &padl);
2670 EVP_CIPHER_CTX_cleanup(&ciph_ctx);

Completed in 199 milliseconds