833ca25fa0
* New function gcry_kdf_derive implementing OpenPGP S2K algorithms and PBKDF2. * Support for WindowsCE. * Support for ECDH. * Support for OAEP and PSS methods as described by RFC-3447. * Fixed PKCS v1.5 code to always return the leading zero. * New format specifiers "%M" and "%u" for gcry_sexp_build. * Support opaque MPIs with "%m" and "%M" in gcry_sexp_build. * New functions gcry_pk_get_curve and gcry_pk_get_param to map ECC parameters to a curve name and to retrieve parameter values. * gcry_mpi_cmp applied to opaque values has a defined semantic now. * Uses the Intel AES-NI instructions if available. * The use of the deprecated Alternative Public Key Interface (gcry_ac_*) will now print compile time warnings. * The module register subsystem has been deprecated. This subsystem is not flexible enough and would always require ABI changes to extend the internal interfaces. It will eventually be removed. Please contact us on the gcrypt-devel mailing list to discuss whether you really need this feature or how it can be replaced by an internal plugin mechanism. * CTR mode may now be used with data chunks of arbitrary length.
34 lines
1.6 KiB
Text
34 lines
1.6 KiB
Text
$NetBSD: patch-ae,v 1.6 2011/07/13 21:21:52 adam Exp $
|
|
|
|
--- src/ath.h.orig 2011-02-04 19:17:33.000000000 +0000
|
|
+++ src/ath.h
|
|
@@ -98,6 +104,14 @@ struct ath_ops
|
|
int (*connect) (int s, void *addr, int length);
|
|
int (*sendmsg) (int s, const void *msg, int flags);
|
|
int (*recvmsg) (int s, void *msg, int flags);
|
|
+#elif defined(__INTERIX)
|
|
+ ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
|
+ struct timeval *timeout);
|
|
+ ssize_t (*waitpid) (pid_t pid, int *status, int options);
|
|
+ int (*accept) (int s, struct sockaddr *addr, socklen_t *length_ptr);
|
|
+ int (*connect) (int s, struct sockaddr *addr, socklen_t length);
|
|
+ int (*sendmsg) (int s, const void *msg, int flags);
|
|
+ int (*recvmsg) (int s, void *msg, int flags);
|
|
#else
|
|
ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
|
struct timeval *timeout);
|
|
@@ -134,6 +148,14 @@ int ath_accept (int s, void *addr, int *
|
|
int ath_connect (int s, void *addr, int length);
|
|
int ath_sendmsg (int s, const void *msg, int flags);
|
|
int ath_recvmsg (int s, void *msg, int flags);
|
|
+#elif defined(__INTERIX)
|
|
+ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
|
+ struct timeval *timeout);
|
|
+ssize_t ath_waitpid (pid_t pid, int *status, int options);
|
|
+int ath_accept (int s, struct sockaddr *addr, socklen_t *length_ptr);
|
|
+int ath_connect (int s, struct sockaddr *addr, socklen_t length);
|
|
+int ath_sendmsg (int s, const void *msg, int flags);
|
|
+int ath_recvmsg (int s, void *msg, int flags);
|
|
#else
|
|
ssize_t ath_select (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
|
|
struct timeval *timeout);
|