EVP_EncryptInit_ex() with EVP__idea_* in FIPS mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Using fips_hmac.c and the do_crypt() example, compiling
EVP_EncryptInit_ex() with EVP__idea_* in FIPS mode yields:


fips_hmac.c:58:2: warning: passing argument 2 of
?EVP_EncryptInit_ex? makes pointer from integer without a cast
[enabled by default]

? EVP_EncryptInit_ex(&ctx, EVP_idea_cbc(), NULL, key, iv);
? ^

/usr/include/openssl/evp.h:582:5: note: expected ?const struct
EVP_CIPHER *? but argument is of type ?int?

?int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER
?*cipher, ENGINE *impl,


Others I've tried so far such as EVP_aes_256_cbc(), EVP_rc4(),
EVP_cast5_ecb(), EVP_aes_192_cbc, EVP_bf_cbc() compiles fine
without warning (I've thrown some non-FIPS in there only for
trying).

Regards.







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux