diff options
author | Michael Brown | 2009-02-18 22:56:02 +0100 |
---|---|---|
committer | Michael Brown | 2009-02-18 23:17:41 +0100 |
commit | a3219b24a8ea4699e7b04cf1f1131aade9fcd855 (patch) | |
tree | df3d4cc515e6a02203e8560ff881351daf48111d /src/crypto/chap.c | |
parent | [crypto] Move AES_convert_key() hack into axtls_aes.c (diff) | |
download | ipxe-a3219b24a8ea4699e7b04cf1f1131aade9fcd855.tar.gz ipxe-a3219b24a8ea4699e7b04cf1f1131aade9fcd855.tar.xz ipxe-a3219b24a8ea4699e7b04cf1f1131aade9fcd855.zip |
[crypto] Split crypto_algorithm into {digest,cipher,pubkey}_algorithm
The various types of cryptographic algorithm are fundamentally
different, and it was probably a mistake to try to handle them via a
single common type.
pubkey_algorithm is a placeholder type for now.
Diffstat (limited to 'src/crypto/chap.c')
-rw-r--r-- | src/crypto/chap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/chap.c b/src/crypto/chap.c index 59b70e39..d0784d25 100644 --- a/src/crypto/chap.c +++ b/src/crypto/chap.c @@ -42,7 +42,7 @@ * eventually be freed by a call to chap_finish(). */ int chap_init ( struct chap_response *chap, - struct crypto_algorithm *digest ) { + struct digest_algorithm *digest ) { size_t state_len; void *state; |