Skip to content

AES_ctr128_encrypt: Some action required #55

@carblue

Description

@carblue

Function AES_ctr128_encrypt was removed from aes.h since version OpenSSL_1.1.0, but it's part of binding's aes.d, and even translated wrong there.

I propose to remove AES_ctr128_encrypt from aes.d. Otherwise, the function parameters ivec and ecount_buf must be: ref ubyte[AES_BLOCK_SIZE]
(As explained in http://dlang.org/spec/interfaceToC.html, static arrays must be passed by ref to C functions. See also https://abi-laboratory.pro/index.php?view=compat_report&l=openssl&v1=1.0.2s&v2=1.1.0&obj=a1517&kind=abi#Removed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions