mirror_corosync/exec
Fabio M. Di Nitto 4378915a33 totemcrypto: major code cleanup (no functional or onwire changes)
- cleanup include list
- reorder code and functions (crypto then hash)
- split crypt/decrypt/hash functions
- some micro optimizations by dropping a few memcpy
- make the code more readable (better var names and buffers mapping)
- improve exit paths on error (return codes and free)
- store crypto header size instead of recalculating it per packet

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
2012-03-27 11:43:07 +02:00
..
.gitignore Add .gitignore files. 2010-10-21 07:43:46 -07:00
apidef.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
apidef.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
cfg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
cmap.c Move hdb_error_to_cs to corotypes.h 2012-02-14 11:10:14 +11:00
coroparse.c crypto: Remove sha224 and add md5 hash 2012-03-15 17:36:56 +01:00
cpg.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
cs_queue.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
fsm.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
icmap.c cmap: Handle NULL in [i]cmap_set_string value 2012-02-16 10:47:57 +01:00
ipc_glue.c Mark few more icmap keys as read only 2012-03-16 09:37:25 +01:00
logsys.c Remove unused function logsys_priority_name_get() 2012-03-09 21:54:51 +11:00
main.c Mark few more icmap keys as read only 2012-03-16 09:37:25 +01:00
main.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
mainconfig.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
mainconfig.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
Makefile.am Rename totemcrypto 2012-03-13 17:38:46 +01:00
mon.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
pload.c pload: make it a test service and not a public one 2012-03-12 07:11:51 +01:00
quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
quorum.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
schedwrk.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
service.c drop evs service 2012-03-12 15:51:50 +01:00
service.h drop evs service 2012-03-12 15:51:50 +01:00
sync.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
sync.h sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
timer.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
timer.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
totemconfig.c crypto: Remove sha224 and add md5 hash 2012-03-15 17:36:56 +01:00
totemconfig.h Tweak nodeid warning 2012-02-21 16:33:56 +01:00
totemcrypto.c totemcrypto: major code cleanup (no functional or onwire changes) 2012-03-27 11:43:07 +02:00
totemcrypto.h crypto: change network packets and add dynamic crypto header/data 2012-03-14 15:57:01 +01:00
totemiba.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemiba.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemip.c Always set interface_up in totemip_iface_check 2012-03-02 09:41:36 +01:00
totemmrp.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemmrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemnet.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemnet.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totempg.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemrrp.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemrrp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemsrp.c Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemsrp.h Make ifaces_get work with dynamic no_rings 2012-03-26 11:54:26 +02:00
totemudp.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudp.h Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudpu.c Update crypto_set API 2012-03-15 17:33:53 +01:00
totemudpu.h Update crypto_set API 2012-03-15 17:33:53 +01:00
util.c drop evs service 2012-03-12 15:51:50 +01:00
util.h pload: make it a test service and not a public one 2012-03-12 07:11:51 +01:00
votequorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
votequorum.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf_quorum.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00
vsf_ykd.c Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
vsf_ykd.h Remove include/engine/quorum and integrate it into exec/engine.h 2012-02-08 08:31:10 -07:00
vsf.h Update copyright header dates in exec directory 2012-02-13 17:05:04 -07:00
wd.c sync: kill evil and syncv1 in one shot 2012-03-09 11:15:08 +01:00