mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-22 06:11:31 +03:00
Implement stream cipher and some other misc details for crub
This commit is contained in:
parent
2b78c702aa
commit
890c7fadd2
2
v/raft.c
2
v/raft.c
@ -1749,7 +1749,7 @@ u2_raft_work(u2_reck* rec_u)
|
||||
|
||||
ron = u2_cke_jam(u2nc(u2k(rec_u->now), ovo));
|
||||
c3_assert(rec_u->key);
|
||||
ron = u2_dc("en:crua", u2k(rec_u->key), ron);
|
||||
ron = u2_dc("en:crub", u2k(rec_u->key), ron);
|
||||
|
||||
len_w = u2_cr_met(5, ron);
|
||||
bob_w = c3_malloc(len_w * 4L);
|
||||
|
4
v/reck.c
4
v/reck.c
@ -495,8 +495,8 @@ u2_reck_init(u2_reck* rec_u, c3_w kno_w, u2_noun ken)
|
||||
}
|
||||
#if 0
|
||||
rec_u->toy.sham = u2_reck_wish(rec_u, "sham");
|
||||
rec_u->toy.shen = u2_reck_wish(rec_u, "en:crua");
|
||||
rec_u->toy.shed = u2_reck_wish(rec_u, "de:crua");
|
||||
rec_u->toy.shen = u2_reck_wish(rec_u, "en:crub");
|
||||
rec_u->toy.shed = u2_reck_wish(rec_u, "de:crub");
|
||||
rec_u->toy.cyst = u2_reck_wish(rec_u, "cyst");
|
||||
#endif
|
||||
u2_reck_time(rec_u);
|
||||
|
Loading…
Reference in New Issue
Block a user