From 6f794d47392aabf8d84194f7fa9aae4196814654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 21 Mar 2017 13:22:08 +0100 Subject: [PATCH] Fix typo, add missing declarations. --- include/cryb/des.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/cryb/des.h b/include/cryb/des.h index bf71147..bb1661c 100644 --- a/include/cryb/des.h +++ b/include/cryb/des.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2015-2016 Dag-Erling Smørgrav + * Copyright (c) 2015-2017 Dag-Erling Smørgrav * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -43,14 +43,16 @@ CRYB_BEGIN #define des_cipher cryb_des56_cipher #define des56_cipher cryb_des56_cipher #define des112_cipher cryb_des112_cipher -#define des268_cipher cryb_des168_cipher +#define des168_cipher cryb_des168_cipher #define des_ctx cryb_des_ctx #define des_init cryb_des_init #define des_encrypt cryb_des_encrypt #define des_decrypt cryb_des_decrypt #define des_finish cryb_des_finish -extern cipher_algorithm des_cipher; +extern cipher_algorithm des56_cipher; +extern cipher_algorithm des112_cipher; +extern cipher_algorithm des168_cipher; typedef struct { uint32_t sk1[32];