From c5ebfc7b9c16551fe825dc1d79c3f7e2f096f6c9 Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Tue, 15 Apr 2014 19:34:32 +0200 Subject: Import upstream version 5.1.3 --- src/libstrongswan/plugins/ntru/ntru_drbg.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libstrongswan/plugins/ntru/ntru_drbg.h') diff --git a/src/libstrongswan/plugins/ntru/ntru_drbg.h b/src/libstrongswan/plugins/ntru/ntru_drbg.h index 38ac718ae..83cef11be 100644 --- a/src/libstrongswan/plugins/ntru/ntru_drbg.h +++ b/src/libstrongswan/plugins/ntru/ntru_drbg.h @@ -57,6 +57,13 @@ struct ntru_drbg_t { bool (*generate)(ntru_drbg_t *this, u_int32_t strength, u_int32_t len, u_int8_t *out); + /** + * Get a reference on an ntru_drbg_t object increasing the count by one + * + * @return reference to the ntru_drbg_t object + */ + ntru_drbg_t* (*get_ref)(ntru_drbg_t *this); + /** * Uninstantiate and destroy the DRBG object */ -- cgit v1.2.3