Module libif:crypto - Cryptography support for RMoX

Cryptography support for RMoX.

Index

Declarations

sha256.occ:46Process crypto.sha256.hashserver

PROC crypto.sha256.hashserver (CT.DIGEST? svr)

Generates SHA256 digests.

Parameters:

CT.DIGEST? svr Digest server channel-end.

sha256.occ:306Process crypto.sha256.hash

PROC crypto.sha256.hash (VAL []BYTE data, RESULT MOBILE []BYTE hash)

Generates a SHA256 digest from a BYTE buffer.

Parameters:

VAL []BYTE data Data to digest.
RESULT MOBILE []BYTE hash Resulting digest (32-bytes).

sha256.occ:328Process crypto.sha256.hashsvr

PROC crypto.sha256.hashsvr (CHAN CT.DIGEST! cout!)

Runs a process to generate SHA256 digests. This runs the SHA256 digest server after outputting the client-end of the control channel type CT.DIGEST.

Parameters:

CHAN CT.DIGEST! cout Client-end output channel.

crypto.occ:43Process crypto.get.features

PROC crypto.get.features (RESULT INT feat)

Get cryptography features info. This provides an integer bit-field that indicates what cryptography features are supported.

Parameters:

RESULT INT feat Bit-field result.