Home
last modified time | relevance | path

Searched refs:Sum_t (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-lmd.c50 lmd_init(Sum_t* p) in lmd_init()
59 lmd_block(Sum_t* p, const void* s, size_t n) in lmd_block()
68 lmd_done(Sum_t* p) in lmd_done()
80 lmd_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) in lmd_print()
93 lmd_data(Sum_t* p, Sumdata_t* data) in lmd_data()
123 static Sum_t*
136 md4_init((Sum_t*)lmd); in md4_open()
138 return (Sum_t*)lmd; in md4_open()
163 static Sum_t*
176 md5_init((Sum_t*)lmd); in md5_open()
[all …]
H A Dsumlib.c46 Sum_t* (*open)(const struct Method_s*, const char*);
47 int (*init)(Sum_t*);
48 int (*block)(Sum_t*, const void*, size_t);
49 int (*data)(Sum_t*, Sumdata_t*);
50 int (*print)(Sum_t*, Sfio_t*, int, size_t);
51 int (*done)(Sum_t*);
77 static Sum_t*
87 return (Sum_t*)p; in long_open()
91 long_init(Sum_t* p) in long_init()
98 long_done(Sum_t* p) in long_done()
[all …]
H A Dsum.h54 } Sum_t; typedef
56 extern Sum_t* sumopen(const char*);
57 extern int suminit(Sum_t*);
58 extern int sumblock(Sum_t*, const void*, size_t);
59 extern int sumdone(Sum_t*);
60 extern int sumdata(Sum_t*, Sumdata_t*);
61 extern int sumprint(Sum_t*, Sfio_t*, int, size_t);
63 extern int sumclose(Sum_t*);
H A Dsum-ast4.c52 ast4_init(Sum_t* p) in ast4_init()
67 static Sum_t*
77 return (Sum_t*)p; in ast4_open()
81 ast4_block(Sum_t* p, const void* s, size_t n) in ast4_block()
100 ast4_print(Sum_t* p, Sfio_t* sp, int flags, size_t scale) in ast4_print()
110 ast4_data(Sum_t* p, Sumdata_t* data) in ast4_data()
H A Dsum-prng.c53 static Sum_t*
89 return (Sum_t*)sum; in prng_open()
93 prng_init(Sum_t* p) in prng_init()
102 prng_block(Sum_t* p, const void* s, size_t n) in prng_block()
H A Dsum-sha2.c631 sha256_block(register Sum_t* p, const void* s, size_t len) in sha256_block()
679 sha256_init(Sum_t* p) in sha256_init()
690 static Sum_t*
699 sha256_init((Sum_t*)sha); in sha256_open()
701 return (Sum_t*)sha; in sha256_open()
705 sha256_done(Sum_t* p) in sha256_done()
775 sha256_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) in sha256_print()
789 sha256_data(Sum_t* p, Sumdata_t* data) in sha256_data()
994 sha512_block(register Sum_t* p, const void* s, size_t len) in sha512_block()
1042 sha512_init(Sum_t* p) in sha512_init()
[all …]
H A Dsum-crc.c116 static Sum_t*
207 return (Sum_t*)sum; in crc_open()
211 crc_init(Sum_t* p) in crc_init()
234 crc_block(Sum_t* p, const void* s, size_t n) in crc_block()
286 crc_block(Sum_t* p, const void* s, size_t n) in crc_block()
305 crc_done(Sum_t* p) in crc_done()
H A Dsum-att.c54 att_block(register Sum_t* p, const void* s, size_t n) in att_block()
102 att_block(register Sum_t* p, const void* s, size_t n) in att_block()
116 att_done(Sum_t* p) in att_done()
H A Dsum-md5.c100 md5_init(Sum_t* p) in md5_init()
112 static Sum_t*
121 md5_init((Sum_t*)p); in md5_open()
123 return (Sum_t*)p; in md5_open()
269 md5_block(Sum_t* p, const void* s, size_t inputLen) in md5_block()
305 md5_done(Sum_t* p) in md5_done()
334 md5_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) in md5_print()
347 md5_data(Sum_t* p, Sumdata_t* data) in md5_data()
H A Dsum-sha1.c208 sha1_block(register Sum_t* p, const void* s, size_t len) in sha1_block()
235 sha1_init(Sum_t* p) in sha1_init()
249 static Sum_t*
258 sha1_init((Sum_t*)sha); in sha1_open()
260 return (Sum_t*)sha; in sha1_open()
271 sha1_done(Sum_t* p) in sha1_done()
302 sha1_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) in sha1_print()
315 sha1_data(Sum_t* p, Sumdata_t* data) in sha1_data()
H A Dsum-bsd.c38 bsd_block(register Sum_t* p, const void* s, size_t n) in bsd_block()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dcksum.c127 Sum_t* oldsum; /* previous sum method */
135 Sum_t* sum; /* sum method */