From 890c7fadd2e1217cafeb0dfe0db09390f0a51a67 Mon Sep 17 00:00:00 2001 From: Jared Hance Date: Tue, 20 May 2014 15:42:57 -0400 Subject: [PATCH] Implement stream cipher and some other misc details for crub --- v/raft.c | 2 +- v/reck.c | 4 ++-- v/sist.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/v/raft.c b/v/raft.c index 427ca25fe..b7bfa5596 100644 --- a/v/raft.c +++ b/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); diff --git a/v/reck.c b/v/reck.c index c573aa4f5..05ebd8107 100644 --- a/v/reck.c +++ b/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); diff --git a/v/sist.c b/v/sist.c index ce6d8f103..fef531f46 100644 --- a/v/sist.c +++ b/v/sist.c @@ -996,7 +996,7 @@ _sist_rest(u2_reck* rec_u) if ( rec_u->key ) { u2_noun dep; - dep = u2_dc("de:crua", u2k(rec_u->key), ron); + dep = u2_dc("de:crub", u2k(rec_u->key), ron); if ( u2_no == u2du(dep) ) { uL(fprintf(uH, "record (%s) is corrupt (k)\n", ful_c)); u2_lo_bail(rec_u);