Line
Link Here
|
0 |
-- a/src/openvpn/crypto_backend.h |
0 |
++ b/src/openvpn/crypto_backend.h |
Lines 237-244
int cipher_kt_mode (const cipher_kt_t *cipher_kt);
Link Here
|
237 |
* |
237 |
* |
238 |
* @return true iff the cipher is a CBC mode cipher. |
238 |
* @return true iff the cipher is a CBC mode cipher. |
239 |
*/ |
239 |
*/ |
240 |
bool cipher_kt_mode_cbc(const cipher_kt_t *cipher) |
240 |
bool cipher_kt_mode_cbc(const cipher_kt_t *cipher); |
241 |
__attribute__((nonnull)); |
|
|
242 |
|
241 |
|
243 |
/** |
242 |
/** |
244 |
* Check if the supplied cipher is a supported OFB or CFB mode cipher. |
243 |
* Check if the supplied cipher is a supported OFB or CFB mode cipher. |
Lines 247-254
bool cipher_kt_mode_cbc(const cipher_kt_t *cipher)
Link Here
|
247 |
* |
246 |
* |
248 |
* @return true iff the cipher is a OFB or CFB mode cipher. |
247 |
* @return true iff the cipher is a OFB or CFB mode cipher. |
249 |
*/ |
248 |
*/ |
250 |
bool cipher_kt_mode_ofb_cfb(const cipher_kt_t *cipher) |
249 |
bool cipher_kt_mode_ofb_cfb(const cipher_kt_t *cipher); |
251 |
__attribute__((nonnull)); |
|
|
252 |
|
250 |
|
253 |
|
251 |
|
254 |
/** |
252 |
/** |