Question about error codes

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a question about the meaning of the error codes returned by the
Linux kernel crypto API.  In particular, I am interested in the codes
returned by crypto_ablkcipher_encrypt() & crypto_ablkcipher_decrypt().
I am receiving a return value of 22 from crypto_ablkcipher_encrypt.  I
would like to find what this means.  I don't get this error code
consistently, so I'm trying to find out if I am using the API
incorrectly; I'm using the test code, tcrypt.c, as a guide.

I looked through the source, but it was not obvious in the code where
these error codes were coming from; I did not see them enumerated in a
header file either.

Any help would be greatly appreciated.

Regards,

Erik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAko3zJMACgkQY21D/n6bGwc6QACgoXNEKl1xWtADpXzBexeJfokT
N4cAoJdEElT7Ko1sjEoPfxkh5DCg14YD
=2kfv
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux