+void sha224_done(sha224_ctx *ctx, void *hash)
+{
+ octet *p = hash;
+ final(ctx);
+ STORE32(p + 0, ctx->a);
+ STORE32(p + 4, ctx->b);
+ STORE32(p + 8, ctx->c);
+ STORE32(p + 12, ctx->d);
+ STORE32(p + 16, ctx->e);
+ STORE32(p + 20, ctx->f);
+ STORE32(p + 24, ctx->g);
+}
+
+/* --- @sha256_state@, @sha224_state@ --- *