Searched refs:sha1_ctx_t (Results 1 - 5 of 5) sorted by relevance

/external/srtp/crypto/include/
H A Dsha1.h58 } sha1_ctx_t; typedef in typeref:struct:__anon12515
82 sha1_init(sha1_ctx_t *ctx);
85 sha1_update(sha1_ctx_t *ctx, const uint8_t *M, int octets_in_msg);
88 sha1_final(sha1_ctx_t *ctx, uint32_t output[5]);
H A Dhmac.h54 sha1_ctx_t ctx;
55 sha1_ctx_t init_ctx;
/external/srtp/crypto/hash/
H A Dhmac.c144 memcpy(&state->ctx, &state->init_ctx, sizeof(sha1_ctx_t));
152 memcpy(&state->ctx, &state->init_ctx, sizeof(sha1_ctx_t));
H A Dsha1.c78 sha1_ctx_t ctx;
186 sha1_init(sha1_ctx_t *ctx) {
204 sha1_update(sha1_ctx_t *ctx, const uint8_t *msg, int octets_in_msg) {
252 sha1_final(sha1_ctx_t *ctx, uint32_t *output) {
/external/srtp/crypto/test/
H A Dsha1_driver.c99 sha1_ctx_t ctx;

Completed in 64 milliseconds