diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-24 01:23:49 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-07-24 01:23:49 +0200 |
commit | 9ea47f5b396bb1e767d4a231bc7166efd3dffd3e (patch) | |
tree | 4af8aeed00c3cb2aa47c67367abc58d2bb33d352 /ncr.c | |
parent | 7188e485061fc6bbad9075333a289941f38a131e (diff) | |
download | cryptodev-linux-9ea47f5b396bb1e767d4a231bc7166efd3dffd3e.tar.gz cryptodev-linux-9ea47f5b396bb1e767d4a231bc7166efd3dffd3e.tar.xz cryptodev-linux-9ea47f5b396bb1e767d4a231bc7166efd3dffd3e.zip |
Use algo_properties_st in ncr_algorithm_to_key_type
An intermediary patch, the function will be removed in next commit.
Diffstat (limited to 'ncr.c')
-rw-r--r-- | ncr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,9 +177,9 @@ ncr_ioctl(struct ncr_lists* lst, struct file *filp, /* Returns NCR_KEY_TYPE_SECRET if a secret key algorithm or MAC is given, * and NCR_KEY_TYPE_PUBLIC if a public key algorithm is given. */ -ncr_key_type_t ncr_algorithm_to_key_type(ncr_algorithm_t algo) +ncr_key_type_t ncr_algorithm_to_key_type(const struct algo_properties_st *algo) { - switch(algo) { + switch(algo->algo) { case NCR_ALG_3DES_CBC: case NCR_ALG_AES_CBC: case NCR_ALG_CAMELLIA_CBC: |