No matching definitions.

secret/internal

src/secret/internal.tur

intra-spice plumbing shared by secret/kdf and secret/hex.

Since: 0.1.0

defn

secret-payload-ptr

(secret-payload-ptr [^borrow s : Secret] :)

payload pointer of a borrowed Secret.

defn

scratch-alloc

(scratch-alloc [n : int] :)

malloc `n` zeroed bytes as a raw handle; 0 on failure.

defn

scratch-ptr

(scratch-ptr [h : int] :)

view a scratch handle as a pointer.

defn

scratch-free

(scratch-free [h : int] :)

release a scratch buffer (already wiped by its consumer).