av_sha_init

Initialize SHA-1 or SHA-2 hashing.

@param context pointer to the function context (of size av_sha_size) @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits) @return zero if initialization succeeded, -1 otherwise

extern (C) @nogc nothrow
int
av_sha_init

Meta