return TCL_OK;
}
-int cht_do_hbcrypto_hash(ClientData cd, Tcl_Interp *ip, const HashAlgInfo *alg,
- HBytes_Value message, HBytes_Value *result) {
- Byte *dest;
-
- dest= cht_hb_arrayspace(result,alg->hashsize);
- alg->oneshot(dest, cht_hb_data(&message), cht_hb_len(&message));
- return TCL_OK;
-}
-
#define OBJ_CIPHKEY(o) ((CiphKeyValue*)(o)->internalRep.otherValuePtr)
typedef struct {