Searched defs:octets_in_msg (Results 1 - 1 of 1) sorted by relevance

/external/srtp/crypto/hash/
H A Dsha1.c77 sha1(const uint8_t *msg, int octets_in_msg, uint32_t hash_value[5]) { argument
81 sha1_update(&ctx, msg, octets_in_msg);
204 sha1_update(sha1_ctx_t *ctx, const uint8_t *msg, int octets_in_msg) { argument
209 ctx->num_bits_in_msg += octets_in_msg * 8;
212 while (octets_in_msg > 0) {
214 if (octets_in_msg + ctx->octets_in_buffer >= 64) {
220 octets_in_msg -= (64 - ctx->octets_in_buffer);
236 i < (ctx->octets_in_buffer + octets_in_msg); i++)
238 ctx->octets_in_buffer += octets_in_msg;
239 octets_in_msg
[all...]

Completed in 168 milliseconds