Home
last modified time | relevance | path

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

/optee_test-3.20.0/ta/crypt/include/
A Dsha2_impl.h57 struct sha256_ctx { struct
71 void sha256_init(struct sha256_ctx *ctx); argument
72 void sha256_update(struct sha256_ctx *ctx, const unsigned char *message,
74 void sha256_final(struct sha256_ctx *ctx, unsigned char *digest);
78 void sha256_transf(struct sha256_ctx *ctx, const unsigned char *message,
/optee_test-3.20.0/ta/crypt/
A Dsha2_impl.c118 void sha256_transf(struct sha256_ctx *ctx, const unsigned char *message, in sha256_transf()
316 struct sha256_ctx ctx = { }; in sha256()
323 void sha256_init(struct sha256_ctx *ctx) in sha256_init()
345 void sha256_update(struct sha256_ctx *ctx, const unsigned char *message, in sha256_update()
383 void sha256_final(struct sha256_ctx *ctx, unsigned char *digest) in sha256_final()
482 sha256_transf((struct sha256_ctx *)ctx, ctx->block, 1); in sha224_update()
483 sha256_transf((struct sha256_ctx *)ctx, shifted_message, block_nb); in sha224_update()
517 sha256_transf((struct sha256_ctx *)ctx, ctx->block, block_nb); in sha224_final()

Completed in 3 milliseconds