Home
last modified time | relevance | path

Searched refs:octets_in_msg (Results 1 – 2 of 2) sorted by relevance

/external/libsrtp2/crypto/include/
Dsha1.h96 int octets_in_msg) in srtp_sha1_update() argument
98 EVP_DigestUpdate(ctx, M, octets_in_msg); in srtp_sha1_update()
121 int octets_in_msg)
123 EVP_DigestUpdate(*ctx, M, octets_in_msg);
158 int octets_in_msg);
/external/libsrtp2/crypto/hash/
Dsha1.c79 void srtp_sha1(const uint8_t *msg, int octets_in_msg, uint32_t hash_value[5]) in srtp_sha1() argument
84 srtp_sha1_update(&ctx, msg, octets_in_msg); in srtp_sha1()
241 int octets_in_msg) in srtp_sha1_update() argument
247 ctx->num_bits_in_msg += octets_in_msg * 8; in srtp_sha1_update()
250 while (octets_in_msg > 0) { in srtp_sha1_update()
251 if (octets_in_msg + ctx->octets_in_buffer >= 64) { in srtp_sha1_update()
256 octets_in_msg -= (64 - ctx->octets_in_buffer); in srtp_sha1_update()
274 i < (ctx->octets_in_buffer + octets_in_msg); i++) { in srtp_sha1_update()
277 ctx->octets_in_buffer += octets_in_msg; in srtp_sha1_update()
278 octets_in_msg = 0; in srtp_sha1_update()