Searched refs:sha256_ctx (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | ecc_dsa.c | 334 struct tc_sha256_state_struct sha256_ctx; in cavp_sign() local 339 return sign_vectors(&sha256_ctx, d, k, Msg, Qx, Qy, R, S, 15, verbose); in cavp_sign() 565 struct tc_sha256_state_struct sha256_ctx; in cavp_verify() local 570 return vrfy_vectors(&sha256_ctx, Msg, Qx, Qy, R, S, results, 15, verbose); in cavp_verify()
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_mtls_shim.c | 469 mbedtls_sha256_context *sha256_ctx = MTLS_GET_CTX(ctx, sha256); in mtls_sha256_compute() local 473 ret = mbedtls_sha256_starts(sha256_ctx, in mtls_sha256_compute() 482 ret = mbedtls_sha256_update(sha256_ctx, pkt->in_buf, pkt->in_len); in mtls_sha256_compute() 491 ret = mbedtls_sha256_finish(sha256_ctx, pkt->out_buf); in mtls_sha256_compute() 567 mbedtls_sha256_context *sha256_ctx = in mtls_hash_session_setup() local 569 mbedtls_sha256_init(sha256_ctx); in mtls_hash_session_setup()
|