Print this page
first pass

@@ -154,12 +154,12 @@
  * mov  rax,[ebx+20h]           mov     0x20(%ebx),%rax
  * lea  rax,[ebx+ecx]           lea     (%ebx,%ecx),%rax
  * sub  rax,[ebx+ecx*4-20h]     sub     -0x20(%ebx,%ecx,4),%rax
  *
  * 5. Added OpenSolaris ENTRY_NP/SET_SIZE macros from
- * /usr/include/sys/asm_linkage.h, lint(1B) guards, EXPORT DELETE START
- * and EXPORT DELETE END markers, and dummy C function definitions for lint.
+ * /usr/include/sys/asm_linkage.h, lint(1B) guards, and dummy C function
+ * definitions for lint.
  *
  * 6. Renamed functions and reordered parameters to match OpenSolaris:
  * Original Gladman interface:
  *      int aes_encrypt(const unsigned char *in,
  *              unsigned char *out, const aes_encrypt_ctx cx[1])/

@@ -325,11 +325,10 @@
 #define tab_2(x)        2(tptr,x,8)
 #define tab_3(x)        1(tptr,x,8)
 #define tab_f(x)        1(tptr,x,8)
 #define tab_i(x)        7(tptr,x,8)
 
-        /* EXPORT DELETE START */
 #define ff_rnd(p1, p2, p3, p4, round)   /* normal forward round */ \
         mov     fk_ref(round,0), p1; \
         mov     fk_ref(round,1), p2; \
         mov     fk_ref(round,2), p3; \
         mov     fk_ref(round,3), p4; \

@@ -681,11 +680,10 @@
         rol     $24, %edi; \
         xor     %esi, p2; \
         xor     %edi, p3
 
 #endif  /* LAST_ROUND_TABLES */
-        /* EXPORT DELETE END */
 
 /*
  * OpenSolaris OS:
  * void aes_encrypt_amd64(const aes_ks_t *ks, int Nr,
  *      const uint32_t pt[4], uint32_t ct[4])/

@@ -702,11 +700,10 @@
         enc_vals(w8)
 #endif
 
 
         ENTRY_NP(aes_encrypt_amd64)
-        /* EXPORT DELETE START */
 #ifdef  GLADMAN_INTERFACE
         / Original interface
         sub     $[4*8], %rsp    / gnu/linux/opensolaris binary interface
         mov     %rsi, (%rsp)    / output pointer (P2)
         mov     %rdx, %r8       / context (P3)

@@ -784,11 +781,10 @@
 4:      / Restore registers
         mov     1*8(%rsp), %rbx
         mov     2*8(%rsp), %rbp
         mov     3*8(%rsp), %r12
         add     $[4*8], %rsp
-        /* EXPORT DELETE END */
         ret
 
         SET_SIZE(aes_encrypt_amd64)
 
 /*

@@ -808,11 +804,10 @@
         dec_vals(w8)
 #endif
 
 
         ENTRY_NP(aes_decrypt_amd64)
-        /* EXPORT DELETE START */
 #ifdef  GLADMAN_INTERFACE
         / Original interface
         sub     $[4*8], %rsp    / gnu/linux/opensolaris binary interface
         mov     %rsi, (%rsp)    / output pointer (P2)
         mov     %rdx, %r8       / context (P3)

@@ -896,10 +891,9 @@
 4:      / Restore registers
         mov     1*8(%rsp), %rbx
         mov     2*8(%rsp), %rbp
         mov     3*8(%rsp), %r12
         add     $[4*8], %rsp
-        /* EXPORT DELETE END */
         ret
 
         SET_SIZE(aes_decrypt_amd64)
 #endif  /* lint || __lint */