Changeset 5529:d86f148f08b2 in roaraudio
- Timestamp:
- 06/12/12 09:18:12 (11 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
AUTHORS
r4067 r5529 4 4 5 5 --- Maintainer: 6 archlinux: Hans-Kristian Arntzen <maister@archlinux.us> 7 OpenBSD : janus 8 9 --- Old Maintainers: 6 10 archlinux: kalasmannen <kalasmannen@gmail.com> 7 OpenBSD : janus8 11 9 12 --- Code contributors --- … … 24 27 2550 Garcia Avenue 25 28 Mountain View, California 94043 29 30 --- Crypto Layer: 31 * Steve Reid <steve@edmweb.com> 26 32 27 33 --- gstreamer code: -
ChangeLog
r5526 r5529 1 1 v. 1.0beta3 - ? 2 2 * Try use-execed workaround also on UNIX Domain Sockets (Closes: #207) 3 * Implemented SHA1 support (Closes: #232) 3 4 4 5 v. 1.0beta2 - Wed Jun 06 2012 19:56 CEST -
include/libroar/hash.h
r5381 r5529 109 109 int roar_hash_salted_buffer(void * digest, const void * data, size_t datalen, roar_hash_t algo, const void * salt, size_t saltlen); 110 110 111 112 // 'forwardings' for hashes without own header: 113 struct roar_hash_sha1 { 114 uint32_t state[5]; 115 uint64_t count; 116 size_t in_buffer; 117 char buffer[64]; 118 int is_final; 119 }; 120 111 121 #endif 112 122 -
libroar/Makefile
r5505 r5529 8 8 VIO_BRIDGE=vio_bio.o vio_stdio.o 9 9 VIO=$(VIO_META) $(VIO_BRIDGE) vio_cmd.o vio_magic.o vio_pipe.o vio_socket.o vio_winsock.o vio_stack.o vio_jumbo.o vio_proto.o vio_dstr.o vio_tantalos.o vio_rtp.o vio_buffer.o vio_buffer_store.o vio_stdvios.o vio_misc.o vio_zlib.o vio_stream.o vio_proxy.o 10 HASHES=hash.o hash_tiger.o 10 HASHES=hash.o hash_tiger.o hash_sha1.o 11 11 PASSWORD=passwordapi.o pinentry.o sshaskpass.o 12 12 CRYPTO=crypto.o random.o $(HASHES) crc.o -
libroar/hash.c
r5381 r5529 92 92 }; 93 93 94 int roar_hash_sha1_init(void * state); 95 int roar_hash_sha1_uninit(void * state); 96 int roar_hash_sha1_digest(void * state, void * digest, size_t * len); 97 int roar_hash_sha1_proc_block(void * state, const void * block); 98 int roar_hash_sha1_proc(void * state, const void * data, size_t len); 99 94 100 static struct roar_hash_cmds _libroar_hash_cmds[] = { 95 101 {ROAR_HT_TIGER, sizeof(struct roar_hash_tiger), 512, … … 107 113 roar_hash_adler32_digest, NULL, roar_hash_adler32_proc 108 114 }, 115 {ROAR_HT_SHA1, sizeof(struct roar_hash_sha1), 64, 116 roar_hash_sha1_init, roar_hash_sha1_uninit, 117 roar_hash_sha1_digest, roar_hash_sha1_proc_block, roar_hash_sha1_proc}, 109 118 {-1, -1, -1, NULL, NULL, NULL, NULL, NULL} 110 119 };
Note: See TracChangeset
for help on using the changeset viewer.