3 void *sat_chksum_create(Id type);
4 void *sat_chksum_create_from_bin(Id type, const unsigned char *buf);
5 void sat_chksum_add(void *handle, const void *data, int len);
6 Id sat_chksum_get_type(void *handle);
7 const unsigned char *sat_chksum_get(void *handle, int *lenp);
8 void *sat_chksum_free(void *handle, unsigned char *cp);
10 static inline int sat_chksum_len(Id type)
14 case REPOKEY_TYPE_MD5:
16 case REPOKEY_TYPE_SHA1:
18 case REPOKEY_TYPE_SHA256: