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
See Implementation
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