FIX: On a Windows CE 5.0-based device, the CryptGenRandom function cannot process the third parameter correctly if an application fills the third parameter by using an auxiliary random seed

Article translations Article translations
Article ID: 951302 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

On a Windows CE 5.0-based device, you have an application that calls the CryptGenRandom function. If the application fills the third parameter of the CryptGenRandom function by using an auxiliary random seed, the CryptGenRandom function cannot process the third parameter correctly. Additionally, the auxiliary random seed may be damaged or may be lost.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 5.0 Platform Builder Monthly Update (April 2008). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:
837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This update is supported only if all previously issued updates for this product are also installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To clean the platform, click Clean on the Build menu. To build the platform, click Build Platform on the Build menu. You do not have to restart the computer after you apply this update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this package has the file attributes (or later file attributes) that are listed in the following table.
Collapse this tableExpand this table
File nameFile sizeDateTime
Wincepb50-080429-kb951302-armv4i.msi948,22429-Apr-200823:28
Wincepb50-080429-kb951302-mipsii.msi987,64829-Apr-200823:28
Wincepb50-080429-kb951302-mipsii_fp.msi988,16029-Apr-200823:28
Wincepb50-080429-kb951302-mipsiv.msi1,003,00829-Apr-200823:28
Wincepb50-080429-kb951302-mipsiv_fp.msi1,003,52029-Apr-200823:28
Wincepb50-080429-kb951302-sh4.msi934,40029-Apr-200823:28
Wincepb50-080429-kb951302-x86.msi868,35229-Apr-200823:28
The English version of this update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Fsprofile.lib125,25617-Apr-200809:48public\common\oak\lib\armv4i\debug
Fsreg.lib368,20017-Apr-200809:48public\common\oak\lib\armv4i\debug
Fsreghive.lib441,91217-Apr-200809:48public\common\oak\lib\armv4i\debug
Fsprofile.lib95,11417-Apr-200807:11public\common\oak\lib\armv4i\retail
Fsreg.lib237,69017-Apr-200807:11public\common\oak\lib\armv4i\retail
Fsreghive.lib280,89217-Apr-200807:11public\common\oak\lib\armv4i\retail
Fsprofile.lib127,41617-Apr-200815:01public\common\oak\lib\mipsii\debug
Fsreg.lib384,90617-Apr-200815:01public\common\oak\lib\mipsii\debug
Fsreghive.lib460,09617-Apr-200815:01public\common\oak\lib\mipsii\debug
Fsprofile.lib95,40617-Apr-200812:23public\common\oak\lib\mipsii\retail
Fsreg.lib242,80017-Apr-200812:23public\common\oak\lib\mipsii\retail
Fsreghive.lib290,18217-Apr-200812:23public\common\oak\lib\mipsii_fp\debug
Fsprofile.lib127,44217-Apr-200820:16public\common\oak\lib\mipsii_fp\debug
Fsreg.lib384,94417-Apr-200820:16public\common\oak\lib\mipsii_fp\debug
Fsreghive.lib460,13817-Apr-200820:16public\common\oak\lib\mipsii_fp\debug
Fsprofile.lib95,44417-Apr-200817:37public\common\oak\lib\mipsii_fp\retail
Fsreg.lib242,85817-Apr-200817:37public\common\oak\lib\mipsii_fp\retail
Fsreghive.lib290,25417-Apr-200817:37public\common\oak\lib\mipsii_fp\retail
Fsprofile.lib131,18618-Apr-200801:36public\common\oak\lib\mipsiv\debug
Fsreg.lib393,72818-Apr-200801:36public\common\oak\lib\mipsiv\debug
Fsreghive.lib469,32618-Apr-200801:36public\common\oak\lib\mipsiv\debug
Fsprofile.lib96,68417-Apr-200822:53public\common\oak\lib\mipsiv\retail
Fsreg.lib244,58817-Apr-200822:53public\common\oak\lib\mipsiv\retail
Fsreghive.lib291,81817-Apr-200822:53public\common\oak\lib\mipsiv\retail
Fsprofile.lib131,21218-Apr-200807:00public\common\oak\lib\mipsiv_fp\debug
Fsreg.lib393,76618-Apr-200807:00public\common\oak\lib\mipsiv_fp\debug
Fsreghive.lib469,36818-Apr-200807:00public\common\oak\lib\mipsiv_fp\debug
Fsprofile.lib96,72818-Apr-200804:17public\common\oak\lib\mipsiv_fp\retail
Fsreg.lib244,65018-Apr-200804:17public\common\oak\lib\mipsiv_fp\retail
Fsreghive.lib291,89218-Apr-200804:17public\common\oak\lib\mipsiv_fp\retail
Fsprofile.lib112,98017-Apr-200804:39public\common\oak\lib\sh4\debug
Fsreg.lib315,59617-Apr-200804:39public\common\oak\lib\sh4\debug
Fsreghive.lib381,80817-Apr-200804:39public\common\oak\lib\sh4\debug
Fsprofile.lib88,03017-Apr-200802:04public\common\oak\lib\sh4\retail
Fsreg.lib215,32617-Apr-200802:04public\common\oak\lib\sh4\retail
Fsreghive.lib258,91617-Apr-200802:04public\common\oak\lib\sh4\retail
Fsprofile.lib108,57816-Apr-200823:40public\common\oak\lib\x86\debug
Fsreg.lib305,99216-Apr-200823:40public\common\oak\lib\x86\debug
Fsreghive.lib370,93816-Apr-200823:40public\common\oak\lib\x86\debug
Fsprofile.lib84,09416-Apr-200821:12public\common\oak\lib\x86\retail
Fsreg.lib201,36816-Apr-200821:12public\common\oak\lib\x86\retail
Fsreghive.lib237,78016-Apr-200821:12public\common\oak\lib\x86\retail

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

If the third parameter of the CryptGenRandom function is filled by using an auxiliary random seed, the CryptGenRandom function uses both an internal seed and the auxiliary random seed to initialize the cryptographic service provider.

For more information about the CryptGenRandom function, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn.microsoft.com/en-us/library/aa923614.aspx
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 951302 - Last Review: June 20, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft Windows CE 5.0
Keywords: 
kbfix kbexpertiseadvanced kbqfe KB951302

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com