@@ -749,7 +749,7 @@ Safety argument:
749749 NEON is part of the target contract. Direct tests use the same availability
750750 precondition.
751751- Register-retention note: the AArch64 vector path loads caller bytes into NEON
752- state and expands ` clear_neon_registers_for_test_prototype !` directly inside
752+ state and expands ` clear_neon_registers_after_encode_block !` directly inside
753753 the block function before return. This is retention reduction for the
754754 admitted encode block, not a formal microarchitectural side-channel proof.
755755
@@ -782,7 +782,7 @@ Unsafe operation:
782782- ` encode_standard_family_indices_neon ` maps those indices to Standard or
783783 URL-safe alphabet bytes with NEON comparisons and bit selects.
784784- ` vst1q_u8 ` stores the 16 encoded bytes into the output buffer.
785- - ` clear_neon_registers_for_test_prototype !` clears ` v0 ` through ` v31 ` inside
785+ - ` clear_neon_registers_after_encode_block !` clears ` v0 ` through ` v31 ` inside
786786 the block function before return.
787787- The local staging array is wiped with the crate cleanup primitive before the
788788 function returns.
@@ -830,7 +830,7 @@ Safety argument:
830830 six-bit Base64 value.
831831- The helper is private to the Standard-family NEON encode path.
832832
833- ### ` clear_neon_registers_for_test_prototype !`
833+ ### ` clear_neon_registers_after_encode_block !`
834834
835835Location: ` src/simd/mod.rs `
836836
@@ -843,9 +843,9 @@ Purpose:
843843
844844Preconditions:
845845
846- - Called only after the prototype has stored its output and no later NEON value
846+ - Called only after the encode block has stored its output and no later NEON value
847847 is needed by the function.
848- - Expanded directly inside the prototype function. It must not be moved to a
848+ - Expanded directly inside the encode block function. It must not be moved to a
849849 separate function because an AArch64 helper can save and restore callee-saved
850850 ` v8 ` through ` v15 ` , undoing register clearing in the helper frame.
851851
0 commit comments