diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:40:29 +0000 |
commit | a25ec0b132c44c9e341e08464ff830de06b81126 (patch) | |
tree | e20842d80f9e25cb6cf09525abea63f7bf655dd7 /openbsd-compat/openssl-compat.h | |
parent | 1b816ea846aca3ee89e7995373ace609e9518424 (diff) | |
parent | 70847d299887abb96f8703ca99db6d817b78960e (diff) |
import openssh-4.7p1-gsskex-20070927.patch
Diffstat (limited to 'openbsd-compat/openssl-compat.h')
-rw-r--r-- | openbsd-compat/openssl-compat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h index 9b5ccff5f..f1d2f19fc 100644 --- a/openbsd-compat/openssl-compat.h +++ b/openbsd-compat/openssl-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openssl-compat.h,v 1.7 2007/03/05 07:25:20 dtucker Exp $ */ | 1 | /* $Id: openssl-compat.h,v 1.10 2007/06/14 13:47:31 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> | 4 | * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> |
@@ -29,6 +29,11 @@ | |||
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | #ifdef USE_BUILTIN_RIJNDAEL | 31 | #ifdef USE_BUILTIN_RIJNDAEL |
32 | # include "rijndael.h" | ||
33 | # define AES_KEY rijndael_ctx | ||
34 | # define AES_BLOCK_SIZE 16 | ||
35 | # define AES_encrypt(a, b, c) rijndael_encrypt(c, a, b) | ||
36 | # define AES_set_encrypt_key(a, b, c) rijndael_set_key(c, (char *)a, b, 1) | ||
32 | # define EVP_aes_128_cbc evp_rijndael | 37 | # define EVP_aes_128_cbc evp_rijndael |
33 | # define EVP_aes_192_cbc evp_rijndael | 38 | # define EVP_aes_192_cbc evp_rijndael |
34 | # define EVP_aes_256_cbc evp_rijndael | 39 | # define EVP_aes_256_cbc evp_rijndael |