diff options
author | Ben Laurie <ben@openssl.org> | 2003-08-29 18:58:03 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2003-08-29 18:58:03 +0000 |
commit | e0162fa7456a620624d75eab2fcda0560d91fa85 (patch) | |
tree | 1a6c51a5eeee8c8ccf2b14c76c1e1aea96929c6e /crypto/engine | |
parent | a8e319508306ddbab58a4ede1d4db5e5c4befc51 (diff) |
Remove unused functions/data.
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/hw_cryptodev.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/engine/hw_cryptodev.c b/crypto/engine/hw_cryptodev.c index 40af97ac24..b0ac5fb04a 100644 --- a/crypto/engine/hw_cryptodev.c +++ b/crypto/engine/hw_cryptodev.c @@ -80,7 +80,7 @@ static int cryptodev_max_iv(int cipher); static int cryptodev_key_length_valid(int cipher, int len); static int cipher_nid_to_cryptodev(int nid); static int get_cryptodev_ciphers(const int **cnids); -static int get_cryptodev_digests(const int **cnids); +/*static int get_cryptodev_digests(const int **cnids);*/ static int cryptodev_usable_ciphers(const int **nids); static int cryptodev_usable_digests(const int **nids); static int cryptodev_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, @@ -140,6 +140,7 @@ static struct { { 0, NID_undef, 0, 0, }, }; +#if 0 /* UNUSED */ static struct { int id; int nid; @@ -152,6 +153,7 @@ static struct { { CRYPTO_SHA1, NID_undef, }, { 0, NID_undef, }, }; +#endif /* * Return a fd if /dev/crypto seems usable, 0 otherwise. @@ -292,6 +294,7 @@ get_cryptodev_ciphers(const int **cnids) * returning them here is harmless, as long as we return NULL * when asked for a handler in the cryptodev_engine_digests routine */ +#if 0 /* UNUSED */ static int get_cryptodev_digests(const int **cnids) { @@ -321,6 +324,7 @@ get_cryptodev_digests(const int **cnids) *cnids = NULL; return (count); } +#endif /* * Find the useable ciphers|digests from dev/crypto - this is the first @@ -626,7 +630,7 @@ static int bn2crparam(const BIGNUM *a, struct crparam *crp) { int i, j, k; - ssize_t words, bytes, bits; + ssize_t bytes, bits; u_char *b; crp->crp_p = NULL; |