Coder Social home page Coder Social logo

Add openssl 3.0.0 support about libcaes HOT 4 CLOSED

libyal avatar libyal commented on July 17, 2024
Add openssl 3.0.0 support

from libcaes.

Comments (4)

joachimmetz avatar joachimmetz commented on July 17, 2024

Looks like EVP_CIPHER_CTX_set_padding should be used after EVP_CipherInit_ex

This is mentioned in https://www.openssl.org/docs/man1.1.1/man3/EVP_CIPHER_CTX_set_padding.html

from libcaes.

joachimmetz avatar joachimmetz commented on July 17, 2024

AES-CBC decrypt tests failing

FAIL: test_library.sh
=====================

caes_test_context.c:12704 result (11) != 0
Unable to run test: libcaes_crypt_cbc
Testing: context (FAIL)
FAIL test_library.sh (exit status: 1)

Output not set?

test 0
0x76 0x49 0xab 0xac 0x81 0x19 0xb2 0x46 0xce 0xe9 0x8e 0x9b 0x12 0xe9 0x19 0x7d 
0x76 0x49 0xab 0xac 0x81 0x19 0xb2 0x46 0xce 0xe9 0x8e 0x9b 0x12 0xe9 0x19 0x7d 

test 1
0x76 0x49 0xab 0xac 0x81 0x19 0xb2 0x46 0xce 0xe9 0x8e 0x9b 0x12 0xe9 0x19 0x7d 
0x6b 0xc1 0xbe 0xe2 0x2e 0x40 0x9f 0x96 0xe9 0x3d 0x7e 0x11 0x73 0x93 0x17 0x2a 

from libcaes.

joachimmetz avatar joachimmetz commented on July 17, 2024

EVP_CipherInit_ex returns unable to initialize cipher with error: error:03000083:digital envelope routines::no cipher set due to missing cipher in error tests. Changed tests to make sure key is set before error tests are run.

from libcaes.

joachimmetz avatar joachimmetz commented on July 17, 2024

Issue looks to no longer happen with openssl 3.0.1

from libcaes.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.