Searched refs:hexbuf (Results 1 - 2 of 2) sorted by relevance

/openwrt/package/network/services/ead/src/tinysrp/
H A Dclitest.c56 char hexbuf[MAXHEXPARAMLEN]; local
67 fgets(hexbuf, sizeof(hexbuf), stdin);
68 index = atoi(hexbuf);
71 fgets(hexbuf, sizeof(hexbuf), stdin);
73 s.len = t_fromb64(s.data, hexbuf);
82 printf("A (to server): %s\n", t_tob64(hexbuf, A->data, A->len));
88 fgets(hexbuf, sizeof(hexbuf), stdi
[all...]
H A Dsrvtest.c57 char hexbuf[MAXHEXPARAMLEN]; local
77 printf("n: %s\n", t_tob64(hexbuf, ts->n.data, ts->n.len));
78 printf("g: %s\n", t_tob64(hexbuf, ts->g.data, ts->g.len));
81 printf("salt (to client): %s\n", t_tob64(hexbuf, ts->s.data, ts->s.len));
85 fgets(hexbuf, sizeof(hexbuf), stdin);
87 A.len = t_fromb64(A.data, hexbuf);
89 printf("B (to client): %s\n", t_tob64(hexbuf, B->data, B->len));
92 printf("Session key: %s\n", t_tohex(hexbuf, skey, 40));
94 /* printf("[Expected response: %s]\n", t_tohex(hexbuf, cbu
[all...]

Completed in 82 milliseconds