aead: Support custom AEAD salt sizes
[strongswan.git] / src / libstrongswan / plugins / openssl / openssl_gcm.h
index 12d2e8a..4ae268b 100644 (file)
  *
  * @param algo                 algorithm to implement
  * @param key_size             key size in bytes
+ * @param salt_size            size of implicit salt length
  * @return                             aead_t object, NULL if not supported
  */
-aead_t *openssl_gcm_create(encryption_algorithm_t algo, size_t key_size);
+aead_t *openssl_gcm_create(encryption_algorithm_t algo, size_t key_size,
+                                                       size_t salt_size);
 
 #endif /** OPENSSL_GCM_H_ @}*/