]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/intel-ipsec-mb/sse/sha_256_mult_sse.asm
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / intel-ipsec-mb / sse / sha_256_mult_sse.asm
index 3af8511d57ee1036ad2b18734d982d0399aceffd..954d6597e9a453c0e0562890ca8eaf5b5598cc23 100644 (file)
 ;;
 ;; clobbers xmm0-15
 
-%include "os.asm"
+%include "include/os.asm"
 %include "mb_mgr_datastruct.asm"
 
 ;%define DO_DBGPRINT
-%include "dbgprint.asm"
+%include "include/dbgprint.asm"
 
 section .data
 default rel
@@ -438,6 +438,16 @@ Lrounds_16_xx:
        ;;;;;;;;;;;;;;;;
        ;; Postamble
 
+%ifdef SAFE_DATA
+        ;; Clear stack frame ((16 + 8)*16 bytes)
+        pxor    xmm0, xmm0
+%assign i 0
+%rep (16+NUM_SHA256_DIGEST_WORDS)
+        movdqa [rsp + i*SZ4], xmm0
+%assign i (i+1)
+%endrep
+%endif
+
        add     rsp, STACK_size
        ; outer calling routine restores XMM and other GP registers
        ret