Home
last modified time | relevance | path

Searched refs:cankey (Results 1 – 5 of 5) sorted by relevance

/dports/news/tin/tin-2.4.5/libcanlock/test/
H A Dcanlocktest_legacy.c87 char cankey[256], canlock[256], *lkey, *llock; in main() local
116 sprintf(cankey, "%s", "sha1:aaaBBBcccDDDeeeFFF"); in main()
117 rv = checker(cankey, canlock); in main()
124 sprintf(cankey, "%s", "sha1:chW8hNeDx3iNUsGBU6/ezDk88P4="); in main()
125 rv = checker(cankey, canlock); in main()
128 sprintf(cankey, "%s", "sha1:4srkWaRIzvK51ArAP:Hc"); in main()
129 rv2 = checker(cankey, canlock); in main()
136 sprintf(cankey, "%s", "sha1:K4rkWRjRcXmIzvK51ArAP:Jy"); in main()
137 rv = checker(cankey, canlock); in main()
140 sprintf(cankey, "%s", "sha1:K4rkWRjRcXmIzvK51ArAP:Jy"); in main()
[all …]
/dports/chinese/tin/tin-2.4.5/libcanlock/test/
H A Dcanlocktest_legacy.c87 char cankey[256], canlock[256], *lkey, *llock; in main() local
116 sprintf(cankey, "%s", "sha1:aaaBBBcccDDDeeeFFF"); in main()
117 rv = checker(cankey, canlock); in main()
124 sprintf(cankey, "%s", "sha1:chW8hNeDx3iNUsGBU6/ezDk88P4="); in main()
125 rv = checker(cankey, canlock); in main()
128 sprintf(cankey, "%s", "sha1:4srkWaRIzvK51ArAP:Hc"); in main()
129 rv2 = checker(cankey, canlock); in main()
136 sprintf(cankey, "%s", "sha1:K4rkWRjRcXmIzvK51ArAP:Jy"); in main()
137 rv = checker(cankey, canlock); in main()
140 sprintf(cankey, "%s", "sha1:K4rkWRjRcXmIzvK51ArAP:Jy"); in main()
[all …]
/dports/news/tin/tin-2.4.5/libcanlock/src/
H A Dcanlock.c217 char *cankey[1], *tmp; in cl_get_key() local
260 if (NULL != tmp) { *cankey = tmp; } in cl_get_key()
263 free((void *) *cankey); in cl_get_key()
267 memmove((void *) (*cankey + scheme_len), (void *) *cankey, keysize + 1); in cl_get_key()
268 strncpy(*cankey, scheme, scheme_len); in cl_get_key()
269 return (*cankey); in cl_get_key()
298 uint8_t *cankey, hmacbuff[USHAMaxHashSize]; in cl_get_lock() local
321 free(cankey); in cl_get_lock()
325 if (USHAInput(&hash_ctx, cankey, (unsigned int) strlen((char *) cankey)) in cl_get_lock()
328 free(cankey); in cl_get_lock()
[all …]
/dports/chinese/tin/tin-2.4.5/libcanlock/src/
H A Dcanlock.c217 char *cankey[1], *tmp; in cl_get_key() local
260 if (NULL != tmp) { *cankey = tmp; } in cl_get_key()
263 free((void *) *cankey); in cl_get_key()
267 memmove((void *) (*cankey + scheme_len), (void *) *cankey, keysize + 1); in cl_get_key()
268 strncpy(*cankey, scheme, scheme_len); in cl_get_key()
269 return (*cankey); in cl_get_key()
298 uint8_t *cankey, hmacbuff[USHAMaxHashSize]; in cl_get_lock() local
321 free(cankey); in cl_get_lock()
325 if (USHAInput(&hash_ctx, cankey, (unsigned int) strlen((char *) cankey)) in cl_get_lock()
328 free(cankey); in cl_get_lock()
[all …]
/dports/news/slrn/slrn-1.0.3/src/
H A Dart.c3660 char *buf, *cankey; in gen_cancel_key() local
3691 cankey = md5_key (buf, filelen, msgid, strlen(msgid)); in gen_cancel_key()
3693 cankey = sha_key ((unsigned char *) buf, filelen, (unsigned char *)msgid, strlen(msgid)); in gen_cancel_key()
3698 return cankey; in gen_cancel_key()