Home
last modified time | relevance | path

Searched refs:sha1_ctx (Results 1 – 7 of 7) sorted by relevance

/external/elfutils/lib/
Dsha1.h45 struct sha1_ctx struct
59 extern void sha1_init_ctx (struct sha1_ctx *ctx); argument
66 struct sha1_ctx *ctx);
73 struct sha1_ctx *ctx);
82 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
91 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
Dsha1.c51 sha1_init_ctx (struct sha1_ctx *ctx) in sha1_init_ctx()
69 sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) in sha1_read_ctx()
93 sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) in sha1_finish_ctx()
121 sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) in sha1_process_bytes()
215 sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx) in sha1_process_block()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha_utility.c19 ctx->sha1_ctx = (SHA1_CTX*) VbExMalloc(sizeof(SHA1_CTX)); in DigestInit()
20 SHA1_init(ctx->sha1_ctx); in DigestInit()
40 SHA1_update(ctx->sha1_ctx, data, len); in DigestUpdate()
60 Memcpy(digest, SHA1_final(ctx->sha1_ctx), SHA1_DIGEST_SIZE); in DigestFinal()
61 VbExFree(ctx->sha1_ctx); in DigestFinal()
/external/fio/
Dverify.c493 struct fio_sha1_ctx sha1_ctx = { in verify_io_u_sha1() local
499 fio_sha1_init(&sha1_ctx); in verify_io_u_sha1()
500 fio_sha1_update(&sha1_ctx, p, hdr->len - hdr_size(hdr)); in verify_io_u_sha1()
501 fio_sha1_final(&sha1_ctx); in verify_io_u_sha1()
503 if (!memcmp(vh->sha1, sha1_ctx.H, sizeof(sha1))) in verify_io_u_sha1()
508 vc->bad_crc = sha1_ctx.H; in verify_io_u_sha1()
905 struct fio_sha1_ctx sha1_ctx = { in fill_sha1() local
909 fio_sha1_init(&sha1_ctx); in fill_sha1()
910 fio_sha1_update(&sha1_ctx, p, len); in fill_sha1()
911 fio_sha1_final(&sha1_ctx); in fill_sha1()
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h97 SHA1_CTX* sha1_ctx; member
/external/curl/src/
Dtool_metalink.c39 # define SHA_CTX struct sha1_ctx
/external/elfutils/src/
Dldgeneric.c4215 struct sha1_ctx ctx; in compute_build_id()