Enumerations

enum Algorithm
Name Value
kUninitialized 0
kSHA256 1

Algorithm enumerates the supported message digests

Defined at line 17 of file ../../src/security/lib/fcrypto/digest.h

Functions

  • zx_status_t GetDigest (Algorithm digest, uintptr_t * out)

    Gets a pointer to the opaque crypto implementation of the digest algorithm.

    Defined at line 22 of file ../../src/security/lib/fcrypto/digest.cc

  • zx_status_t GetDigestLen (Algorithm digestsize_t * out)

    Gets the minimum number of bytes needed for the digest produced by the given |version|.

    Defined at line 45 of file ../../src/security/lib/fcrypto/digest.cc