x86_64: Add endbranch at function entries for Intel CET
[openssl.git] / crypto / poly1305 / asm / poly1305-x86_64.pl
index c03af53922bf7ad230fbe408ecb197e45a78a5e3..e5b841260e815cb8c466b6fb0fea86bcde895c91 100755 (executable)
@@ -2808,6 +2808,7 @@ $code.=<<___;
 .align 32
 poly1305_blocks_vpmadd52:
 .cfi_startproc
+       endbranch
        shr     \$4,$len
        jz      .Lno_data_vpmadd52              # too short
 
@@ -3741,6 +3742,7 @@ $code.=<<___;
 .align 32
 poly1305_emit_base2_44:
 .cfi_startproc
+       endbranch
        mov     0($ctx),%r8     # load hash value
        mov     8($ctx),%r9
        mov     16($ctx),%r10