Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

87
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda