[openssl-users] FIPS: Converting AES_ctr128_encrypt() to EVP_ methods
Dr. Stephen Henson
steve at openssl.org
Mon Mar 16 18:19:17 UTC 2015
On Mon, Mar 16, 2015, jonetsu wrote:
> Hello,
>
> An application that needs converting to FIPS is currently using
> AES_ctr128_encrypt(). That function calls in turn
> CRYPTO_ctr128_encrypt() which then does some internal
> computations. They are not documented in the 'full list of
> crypto APIs'. What would be the FIPS-compatible EVP
> equivalent(s) ?
>
The EVP cipher is called EVP_aes_128_ctr(): once you pass that as the
EVP_CIPHER argument (for example to EVP_EncryptInit_ex) you can use EVP like
any other cipher.
Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
More information about the openssl-users
mailing list