Re: [Firebird-devel] encrypted data buffer alignment

2015-11-26 Thread Dimitry Sibiryakov
26.11.2015 16:36, Leyne, Sean wrote:
> What about other CPU platforms (ie. ARM)???

   I have no idea how they support _mm_loadu_si128() intrinsic (if at all).

-- 
   WBR, SD.

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] encrypted data buffer alignment

2015-11-26 Thread Jim Starkey
On 11/26/2015 7:38 AM, Dimitry Sibiryakov wrote:
> Hello, All.
>
> Can I be sure that "from" and "to" pointers got by plugins's 
> encrypt/decrypt routines
> are always aligned to 16 bytes boundary?
>
I'm curious.  Why does that matter?

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] encrypted data buffer alignment

2015-11-26 Thread Leyne, Sean


> > I think we can add such requirement to caller.
> 
>Google say that Intel claim zero-impact for unaligned load in i7 core, so 
> we
> can forget that.

What about other CPU platforms (ie. ARM)???


Sean


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] encrypted data buffer alignment

2015-11-26 Thread Dimitry Sibiryakov
26.11.2015 13:45, Alex Peshkoff wrote:
> I think we can add such requirement to caller.

   Google say that Intel claim zero-impact for unaligned load in i7 core, so we 
can forget 
that.

-- 
   WBR, SD.

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] encrypted data buffer alignment

2015-11-26 Thread Dimitry Sibiryakov
26.11.2015 13:45, Alex Peshkoff wrote:
>>  Can I be sure that "from" and "to" pointers got by plugins's 
>> encrypt/decrypt routines
>> >are always aligned to 16 bytes boundary?
>> >
> I think we can add such requirement to caller.

   It is lucky that page header has size of 16 bytes, so the only question is 
alignment of 
page buffer itself. Standard malloc() on Windows is always aligned to 16 bytes. 
How is it 
with Firebird pool allocator?

-- 
   WBR, SD.

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] encrypted data buffer alignment

2015-11-26 Thread Alex Peshkoff
On 11/26/2015 03:38 PM, Dimitry Sibiryakov wrote:
> Hello, All.
>
> Can I be sure that "from" and "to" pointers got by plugins's 
> encrypt/decrypt routines
> are always aligned to 16 bytes boundary?
>

I think we can add such requirement to caller.


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] encrypted data buffer alignment

2015-11-26 Thread Dimitry Sibiryakov
   Hello, All.

   Can I be sure that "from" and "to" pointers got by plugins's encrypt/decrypt 
routines 
are always aligned to 16 bytes boundary?

-- 
   WBR, SD.

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] isc_dpb_encrypt_key

2015-11-26 Thread Alex Peshkoff
On 11/20/2015 05:50 PM, Dimitry Sibiryakov wrote:
> Hello, All.
>
> If we revive subj, should it have higher priority than application 
> callback or lower?
>

May be treat providing both as a bug?


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel