Displaying 5 results from an estimated 5 matches for "otp_hash_size".
2006 Jun 26
2
[PATCH, RFC 3/13] OTP: parity table
...+ dovecot/src/lib-otp/otp-parity.h 2006-06-23 13:44:31.161891112 +0400
@@ -0,0 +1,16 @@
+#ifndef __OTP_PARITY_H__
+#define __OTP_PARITY_H__
+
+const unsigned char parity_table[256];
+
+static inline unsigned int otp_parity(unsigned char *data)
+{
+ unsigned int i, parity = 0;
+
+ for (i = 0; i < OTP_HASH_SIZE; i++)
+ parity += parity_table[*data++];
+
+ return parity & 3;
+}
+
+#endif /* __OTP_PARITY_H__ */
2006 Jun 26
1
[PATCH, RFC 0/13] OTP: add auth_cache_remove()
This patchset add support for One-Time-Password authentication mechanisms,
both S/Key (RFC 1731) and OTP (RFC 2444) are implemented.
Tested with mutt (uses cyrus sasl library for authentication).
Patches were made against CVS HEAD. Please take a look.
Add auth_cache_remove() function which will be used by OTP code to evict
old entries from auth cache.
diff -urdpNX /usr/share/dontdiff -x
2015 Sep 24
0
v2.2.19 release candidate released
...issing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscrip
> ts -Wformat=2 -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -c -o otp-parse.o otp-parse.c
> otp-parse.c:45:2: error: array size is negative
> buffer_create_from_data(&buf, hash, OTP_HASH_SIZE);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../../src/lib/buffer.h:23:8: note: expanded from macro 'buffer_create_from_data'
> (void)COMPILE_ERROR_IF_TRUE(__builtin_object_size((d),3) < ((s)?(s):1)); \
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
2015 Sep 23
8
v2.2.19 release candidate released
http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz
http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz.sig
A lot of changes since v2.2.18, so here's a release candidate first. If no bugs are reported, I'm planning on making the final release sometimes this week. The most interesting new features here are the imap-hibernate process, quota count backend and director/proxy
2015 Sep 23
8
v2.2.19 release candidate released
http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz
http://dovecot.org/releases/2.2/rc/dovecot-2.2.19.rc1.tar.gz.sig
A lot of changes since v2.2.18, so here's a release candidate first. If no bugs are reported, I'm planning on making the final release sometimes this week. The most interesting new features here are the imap-hibernate process, quota count backend and director/proxy