Searched refs:octets_in_msg (Results 1 – 2 of 2) sorted by relevance
/external/srtp/crypto/hash/ |
D | sha1.c | 77 sha1(const uint8_t *msg, int octets_in_msg, uint32_t hash_value[5]) { in sha1() argument 81 sha1_update(&ctx, msg, octets_in_msg); in sha1() 204 sha1_update(sha1_ctx_t *ctx, const uint8_t *msg, int octets_in_msg) { in sha1_update() argument 209 ctx->num_bits_in_msg += octets_in_msg * 8; in sha1_update() 212 while (octets_in_msg > 0) { in sha1_update() 214 if (octets_in_msg + ctx->octets_in_buffer >= 64) { in sha1_update() 220 octets_in_msg -= (64 - ctx->octets_in_buffer); in sha1_update() 236 i < (ctx->octets_in_buffer + octets_in_msg); i++) in sha1_update() 238 ctx->octets_in_buffer += octets_in_msg; in sha1_update() 239 octets_in_msg = 0; in sha1_update()
|
/external/srtp/crypto/include/ |
D | sha1.h | 68 sha1(const uint8_t *message, int octets_in_msg, uint32_t output[5]); 85 sha1_update(sha1_ctx_t *ctx, const uint8_t *M, int octets_in_msg);
|