Searched refs:hash_ctx (Results 1 – 2 of 2) sorted by relevance
| /u-boot/lib/ |
| A D | tpm-v1.c | 533 sha1_context hash_ctx; in create_request_auth() local 542 sha1_starts(&hash_ctx); in create_request_auth() 545 sha1_update(&hash_ctx, in create_request_auth() 549 sha1_finish(&hash_ctx, hmac_data); in create_request_auth() 551 sha1_starts(&hash_ctx); in create_request_auth() 554 sha1_finish(&hash_ctx, auth_session->nonce_odd); in create_request_auth() 597 sha1_context hash_ctx; in verify_response_auth() local 611 sha1_starts(&hash_ctx); in verify_response_auth() 613 sha1_update(&hash_ctx, hmac_data, 4); in verify_response_auth() 615 sha1_update(&hash_ctx, in verify_response_auth() [all …]
|
| /u-boot/drivers/crypto/fsl/ |
| A D | fsl_hash.c | 85 static int caam_hash_update(void *hash_ctx, const void *buf, in caam_hash_update() argument 91 struct sha_ctx *ctx = hash_ctx; in caam_hash_update() 131 static int caam_hash_finish(void *hash_ctx, void *dest_buf, in caam_hash_finish() argument 135 struct sha_ctx *ctx = hash_ctx; in caam_hash_finish()
|
Completed in 9 milliseconds