Searched refs:octets_in_msg (Results 1 - 2 of 2) sorted by relevance
/external/srtp/crypto/include/ |
H A 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);
|
/external/srtp/crypto/hash/ |
H A D | sha1.c | 77 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 3148 milliseconds