version 1.44, 2014/01/25 10:12:50 |
version 1.45, 2014/04/29 18:01:49 |
|
|
|
|
#include <openssl/evp.h> |
#include <openssl/evp.h> |
#include "cipher-chachapoly.h" |
#include "cipher-chachapoly.h" |
|
#include "cipher-aesctr.h" |
|
|
/* |
/* |
* Cipher types for SSH-1. New types can be added, but old types should not |
* Cipher types for SSH-1. New types can be added, but old types should not |
|
|
int encrypt; |
int encrypt; |
EVP_CIPHER_CTX evp; |
EVP_CIPHER_CTX evp; |
struct chachapoly_ctx cp_ctx; /* XXX union with evp? */ |
struct chachapoly_ctx cp_ctx; /* XXX union with evp? */ |
|
struct aesctr_ctx ac_ctx; /* XXX union with evp? */ |
const Cipher *cipher; |
const Cipher *cipher; |
}; |
}; |
|
|