Thanks a lot, adding this flag did the trick. The returned block is identical as the expected. Dnia 2015-02-27, pi? o godzinie 12:54 +0000, Dr. Stephen Henson pisze: > On Fri, Feb 27, 2015, Piotr ??obacz wrote: > > > I can do mutch more i can give the source code: > > > > dctx = FIPS_drbg_new(NID_aes_256_ctr, DRBG_FLAG_CTR_USE_DF); > > > > Try including the flag DRBG_FLAG_TEST: the DRBG needs to be in test mode > otherwise the continuous PRNG test discards the first block generated. > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > _______________________________________________ > openssl-users mailing list > To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users -- ________________________________________________________________________ Piotr ?obacz Biuro System?w i Oprogramowania RADMOR S.A. tel. (58) 6996 929 e-mail: piotr.lobacz at radmor.com.pl www.radmor.com.pl RADMOR S.A., ul. Hutnicza 3, 81-212 Gdynia NIP: 586-010-21-39 REGON: 190432077 KRS: 0000074029 (S?d Rejonowy Gda?sk-P??noc w Gda?sku) Kapita? zak?adowy wp?acony: 9 282 830 PLN