Lines Matching refs:belt_hash_ctx
214 belt_hash_context belt_hash_ctx; in __bign_determinitic_nonce() local
236 ret = belt_hash_init(&belt_hash_ctx); EG(ret, err); in __bign_determinitic_nonce()
237 ret = belt_hash_update(&belt_hash_ctx, oid_ptr, oid_len); EG(ret, err); in __bign_determinitic_nonce()
244 ret = belt_hash_update(&belt_hash_ctx, &FE2OS_D[0], (u32)(2*l)); EG(ret, err); in __bign_determinitic_nonce()
246 ret = belt_hash_update(&belt_hash_ctx, t_ptr, t_len); EG(ret, err); in __bign_determinitic_nonce()
248 ret = belt_hash_final(&belt_hash_ctx, theta); EG(ret, err); in __bign_determinitic_nonce()
482 belt_hash_context belt_hash_ctx; in __bign_sign_finalize() local
627 ret = belt_hash_init(&belt_hash_ctx); EG(ret, err); in __bign_sign_finalize()
629 ret = belt_hash_update(&belt_hash_ctx, oid_ptr, oid_len); EG(ret, err); in __bign_sign_finalize()
637 ret = belt_hash_update(&belt_hash_ctx, &FE2OS_W[0], (u32)(2*l)); EG(ret, err); in __bign_sign_finalize()
639 ret = belt_hash_update(&belt_hash_ctx, hash, hsize); EG(ret, err); in __bign_sign_finalize()
642 ret = belt_hash_final(&belt_hash_ctx, hash_belt); EG(ret, err); in __bign_sign_finalize()
858 belt_hash_context belt_hash_ctx; in __bign_verify_finalize() local
940 ret = belt_hash_init(&belt_hash_ctx); EG(ret, err); in __bign_verify_finalize()
942 ret = belt_hash_update(&belt_hash_ctx, oid_ptr, oid_len); EG(ret, err); in __bign_verify_finalize()
950 ret = belt_hash_update(&belt_hash_ctx, &FE2OS_W[0], (u32)(2*l)); EG(ret, err); in __bign_verify_finalize()
952 ret = belt_hash_update(&belt_hash_ctx, hash, hsize); EG(ret, err); in __bign_verify_finalize()
955 ret = belt_hash_final(&belt_hash_ctx, hash_belt); EG(ret, err); in __bign_verify_finalize()