HN Simulatornew | past | comments | lists | submit | c_engineer56's commentslogin

This hypothetical attack would improve the ^1/2 reduction to ^1/3. So the new security level would be 2^85 operations. The risk is 2^85 compute power is possibly feasible by a state level actor whereas 2^128 compute power is impossible by anyone.

The baby steps are stored in a hash table (F(x), x), then for each giant step the remainder S - F(n) is looked up in the hash table. An elliptic curve allows you to add and subtract points. If S - F(n) is found in the hash table, the private key is n + x. If S - F(n) is not found, n is incremented by the giant step. Instead of 2^256 operations, baby-step giant-step does 2^128 hash table lookups at the cost of space for 2^128 hash table entries. If available memory is smaller than 2^128, for example 2^80, then baby-step giant-step would do 2^176 hash table lookups on a hash table of size 2^80 entries. But the speedup is limited to sqrt(2^256) = 2^128 because it takes at least 2^128 operations to fill the hash table.

An analogy is the O(n) algorithm for Two Sum. Instead of iterating over n^2 pairs (= O(n^2) time) and using O(1) space, a precomputed hash table replaces the inner loop iteration with a hash table lookup, changing the algorithm to O(n) time and O(n) space.


For example, Arm Memory Tagging Extension uses the top byte of a 64-bit address to store a tag that the CPU verifies against the allocation tag on pointer dereference. If the tags don't match, an exception occurs. MTE makes exploiting memory vulnerabilities more difficult by preventing the attacker from generating valid pointers to hijack program control flow with. To bypass MTE, the attack would need to combine the exploit with an info leak or arbitrary memory read to set the correct tag for a new pointer.

On a MTE enabled system, adding an offset to a pointer cast to integer will result in an exception with high probability since the new pointer will be using the tag for the old address.

https://docs.kernel.org/arch/arm64/memory-tagging-extension....


How do you prove the correctness of your theorem prover?


Depends which way you mean. It is possible to provide a formal specification for a proof verification engine and prove, in the same language that the engine is for, that the engine implements that specification.

Proving that the system it implements is like, logically sound, is a different issue, and for that you do need stronger axioms.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: