Skip to content

Tag: c++

linux kernel crypto API for ECB AES

I am trying to write a sample code for using linux kernel crypto userspace interface. And I do found a example really helped me a lot, thanks to nibrunie: This is quite useful for CBC AES, but not for ECB AES. For What I understand, the variable iov is for Plaintext, iv for initialization Vector, and call ALG…

Building gRPC C++ with CMake on Linux

I’m trying to build gRPC (cpp) using CMake, but running into errors. I am able to successfully build gRPC with make per the instructions on the gRPC cpp page. Using make is deprecated, but CMake isn’t working for me. After following the instructions for downloading, cloning etc., I go to the &#822…

output from popen doesn’t capture the error return

I was trying to capture the output from popen. The command that I am using is If you execute the above command in shell, you will get a message Terminated. My objective is to get the message Terminated in a buffer. I used the code below, but it didn’t work. Any ideas why it is not working ? Or if

Make DateTime.Now Display European Format Globally on Linux

I’m running a .NET Core app which contains DateTime.Now.ToString(). When on my PC it displays European date format (dd/mm/yy) but when running on a Linux VM located in the US it displays American date format (mm/dd/yy) despite the timezone on the VM being GMT. How can I make it display only European dat…