Lines Matching refs:sha256
25 struct sha256_state sha256; member
62 sha256_init(&ctx->u.sha256); in crypto_hash_init()
116 sha256_init(&ctx->u.sha256); in crypto_hash_init()
117 sha256_process(&ctx->u.sha256, key, key_len); in crypto_hash_init()
118 sha256_done(&ctx->u.sha256, tk); in crypto_hash_init()
130 sha256_init(&ctx->u.sha256); in crypto_hash_init()
131 sha256_process(&ctx->u.sha256, k_pad, sizeof(k_pad)); in crypto_hash_init()
160 sha256_process(&ctx->u.sha256, data, len); in crypto_hash_update()
219 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
293 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
300 sha256_init(&ctx->u.sha256); in crypto_hash_finish()
301 sha256_process(&ctx->u.sha256, k_pad, sizeof(k_pad)); in crypto_hash_finish()
302 sha256_process(&ctx->u.sha256, mac, 32); in crypto_hash_finish()
303 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()