Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
0 votes
0 answers
30 views

I am working on an application (Linux based) that uses AES-256 encryption and observed a significant increase in RAM usage during encryption. Initially, the process consumes about 3 MB of RAM (checked ...
DanglingPointer's user avatar
0 votes
1 answer
210 views

I have read the manual of the two APIs: OpenSSL BIO and EVP, but I have questions that I cannot answer. I have searched the net without finding any documents about them. We can say that the BIO API ...
rguibuesretpo's user avatar
0 votes
1 answer
107 views

Reading the openssl documentation I realized that you can use the openssl EVP API, to replicate what you can do with the commands: $ openssl aes-256-cbc -in text.txt -out text_out.txt -e -kfile ...
rguibuesretpo's user avatar
0 votes
1 answer
735 views

I have a small c++ code to encrypt a file using EVP_Cipher_ APIs.I have a requirement to decrypte the encrypted file using Openssl (command line). When tried to decrypt, it always ends up in Bad ...
Sourabh Pandit's user avatar
1 vote
0 answers
186 views

I am trying to use the evp encryption and decryption libraries for encryption/ decryption of message data over tcp sockets. I first create the cipher context using EVP_CIPHER_CTX_new(), then init it ...
nashar1's user avatar
  • 1,087
-2 votes
1 answer
273 views

OSSL_STORE_CTX *ctx = OSSL_STORE_open(tpm_key_path, nullptr, nullptr, nullptr, nullptr); OSSL_STORE_INFO *info; while (!OSSL_STORE_eof(ctx)) { if ((info = OSSL_STORE_load(ctx)) == nullptr) { printf(&...
vidyadhar's user avatar
1 vote
0 answers
703 views

im trying to write a program that disable padding when it encrypts a message in C language. I figured out, by reading the documentation, that the correct function to use is EVP_CIPHER_CTX_set_padding()...
FilResto's user avatar
0 votes
1 answer
552 views

I am trying to encrypt and decrypt a buffer using openssl. I took some example code from here (see the 2nd do_crypt function towards the end of the page) and modified it to take the message to encrypt/...
Simpsons's user avatar
  • 536
0 votes
1 answer
488 views

I have a custom ARM gateway on which I am trying to run a greengrass v2 component. This requires python awsiotsdk. But when I import the awsiotsdk I am getting this error: ImportError: /usr/lib/...
Kiran G's user avatar
  • 137
1 vote
3 answers
2k views

So I'm trying to reproduce an encryption and encoding operation in C, that I've managed to make work in C#, JScript, Python and Java. Now, it's mostly just for obfuscating data - not actual encryption ...
krzychostal's user avatar
0 votes
0 answers
1k views

For some reason, I am getting 0 from EVP_DecryptUpdate() function when I am passing 32 as its last parameter but when I changed it to 64 it returns 1. The buffer size is 32. According to the ...
Kivuos's user avatar
  • 13
1 vote
1 answer
2k views

Using the OpenSSL C API , I want to decrypt a file using a password, in order to do that I need to manually derive the key and iv from the given password using EVP_BytesToKey() , but the function ...
user avatar
1 vote
0 answers
598 views

I'm doing the following procedure to encrypt: EVP_CIPHER_CTX * ctx; if (! (ctx = EVP_CIPHER_CTX_new ())) handleErrors (); if (1! = EVP_EncryptInit_ex (ctx, EVP_aes_128_cbc (), NULL, key, ...
FlaskDev's user avatar
0 votes
0 answers
396 views

can you tell me what the C++ equivalent is for the command line OpenSSL commands for encrypting a file: openssl enc -nosalt -aes-256-cbc -kfile c:\temp\key -in c:\temp\binary.png -out c:\temp\binary....
xyfix's user avatar
  • 71
0 votes
1 answer
142 views

I am restructuring a legacy code to be compatiable with OpenSSL 1.1.1, During the upgrade of OpenSSL from 1.0.2 -> 1.1.1, serveral structs were made opaque and direct member access is no longer ...
Kethiri Sundar's user avatar

15 30 50 per page
1
2 3 4 5