Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

86
Views
How to Handle Large Input Buffer in Linux CryptoAPI

I have large encrypted and authenticated files (a couple of MB each, which is more than 16 pages) that I want to decrypt using HW accelerator embed in the system via Linux CryptoAPI. I'm using libkcapi to handle the communication with the kernel.

To be able to decrypt such large files, I had to change the ALG_MAX_PAGES define to 256. It worked perfectly, but it didn't feel the right thing to do, since there are warnings everywhere that there is a limit of 16 pages.

My questions on the matter are:

  1. Why is there such a limit?
  2. What's the correct way to handle large inputs?
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!