Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
gnutls.27841
gnutls-FIPS-use_2048_bit_prime_in_DH_selftest.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnutls-FIPS-use_2048_bit_prime_in_DH_selftest.patch of Package gnutls.27841
Index: gnutls-3.6.7/lib/crypto-selftests-pk.c =================================================================== --- gnutls-3.6.7.orig/lib/crypto-selftests-pk.c 2019-03-15 10:10:27.000000000 +0100 +++ gnutls-3.6.7/lib/crypto-selftests-pk.c 2020-09-18 15:08:10.741122343 +0200 @@ -571,18 +571,93 @@ static int test_dh(void) gnutls_pk_params_st pub; gnutls_datum_t out = {NULL, 0}; static const uint8_t known_dh_k[] = { - 0x10, 0x25, 0x04, 0xb5, 0xc6, 0xc2, 0xcb, - 0x0c, 0xe9, 0xc5, 0x58, 0x0d, 0x22, 0x62}; + 0x62, 0x68, 0x15, 0xbd, 0xc4, 0x9a, 0x3c, 0xfc, + 0xda, 0x5d, 0xc5, 0x81, 0xc9, 0xe7, 0x1b, 0xbb, + 0x94, 0x19, 0xb0, 0x5d, 0x95, 0xc3, 0x98, 0xd0, + 0xc6, 0x8b, 0x05, 0x34, 0xa5, 0xe2, 0xe4, 0xa8, + 0x7c, 0x4b, 0x7c, 0x41, 0xf9, 0x6d, 0xc1, 0xcc, + 0x6e, 0xb6, 0x34, 0xe1, 0x71, 0xc3, 0x00, 0x03, + 0x06, 0x08, 0x1d, 0x90, 0x88, 0x3c, 0x5d, 0x14, + 0x2d, 0x56, 0xac, 0x78, 0x83, 0xd6, 0xe9, 0x7c, + 0x6c, 0x34, 0xdf, 0xe0, 0x98, 0x14, 0xaa, 0xbe, + 0x3b, 0x83, 0xc5, 0xd1, 0xac, 0xec, 0xa6, 0x0b, + 0xc1, 0x94, 0x8d, 0x42, 0x3f, 0xb8, 0x63, 0xef, + 0xb1, 0x1b, 0x60, 0x4f, 0xfa, 0xfa, 0xbb, 0x57, + 0x28, 0x27, 0x4d, 0x78, 0xa4, 0x3d, 0x7a, 0xd8, + 0xab, 0x2e, 0x7d, 0x8b, 0xd3, 0xa9, 0x78, 0x74, + 0xfe, 0x3a, 0x08, 0x5f, 0xe3, 0xf5, 0x5a, 0xfa, + 0xa6, 0x93, 0x67, 0xea, 0xae, 0x5e, 0xd6, 0xc5, + 0xa1, 0xab, 0x0a, 0x1e, 0x78, 0xe7, 0xdd, 0xbc, + 0xae, 0xb7, 0x3e, 0x7d, 0x8b, 0xd8, 0x66, 0x92, + 0x38, 0x1b, 0x96, 0xeb, 0xcb, 0xcb, 0x6a, 0xcc, + 0xd8, 0x42, 0x80, 0x66, 0xa9, 0xa2, 0x75, 0xeb, + 0xe4, 0x79, 0x11, 0x7a, 0xca, 0x84, 0x77, 0x7a, + 0xe6, 0xe2, 0x13, 0xb1, 0x90, 0xd3, 0x0f, 0x87, + 0x2a, 0x0f, 0xf5, 0x17, 0x61, 0x15, 0x05, 0x31, + 0x5f, 0xdf, 0xb4, 0x8e, 0xf3, 0x21, 0x27, 0x6a, + 0x69, 0xdc, 0x52, 0x79, 0x64, 0x51, 0x1f, 0xc0, + 0xed, 0x55, 0x57, 0xd9, 0x5c, 0x6f, 0xdb, 0xaa, + 0x08, 0x44, 0xb9, 0x71, 0x71, 0x15, 0x27, 0xe8, + 0xe9, 0x42, 0x78, 0xc1, 0xc4, 0xc0, 0xbd, 0x28, + 0x23, 0xa1, 0x30, 0x57, 0xf0, 0x2e, 0x24, 0xf0, + 0x34, 0x17, 0x97, 0x1c, 0x4c, 0x2a, 0x98, 0x76, + 0x3d, 0x50, 0x7f, 0x32, 0xa2, 0x25, 0x94, 0x9e, + 0x1e, 0xbc, 0x97, 0x96, 0xd6, 0x14, 0x61, 0x5b + }; static const uint8_t test_p[] = { - 0x24, 0x85, 0xdd, 0x3a, 0x74, 0x42, 0xe4, - 0xb3, 0xf1, 0x0b, 0x13, 0xf9, 0x17, 0x4d }; + 0xAE, 0xEC, 0xEE,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, 0x73, 0x1D, 0xBA, 0x1C, 0xF1, 0x67, 0xF4, 0x35, + 0xED, 0x6F, 0x37, 0x92, 0xE8, 0x4F, 0x6C, 0xBA, 0x52, 0x6E, 0xA1, 0xED, + 0xDA, 0x9F, 0x85, 0x11, 0x82, 0x52, 0x62, 0x08, 0x44, 0xF1, 0x30, 0x03, + 0xC3, 0x38, 0x2C, 0x79, 0xBD, 0xD4, 0x43, 0x45, 0xEE, 0x8E, 0x50, 0xFC, + 0x29, 0x46, 0x9A, 0xFE, 0x54, 0x1A, 0x19, 0x8F, 0x4B, 0x84, 0x08, 0xDE, + 0x20, 0x62, 0x73, 0xCC, 0xDD, 0x7E, 0xF0, 0xEF, 0xA2, 0xFD, 0x86, 0x58, + 0x4B, 0xD8, 0x37, 0xEB + }; static const uint8_t test_g[] = { 0x02 }; static const uint8_t test_x[] = { - 0x06, 0x2c, 0x96, 0xae, 0x0e, 0x9e, 0x9b, - 0xbb, 0x41, 0x51, 0x7a, 0xa7, 0xc5, 0xfe }; + 0x0C, 0x4B, 0x30, 0x89, 0xD1, 0xB8, 0x62, 0xCB, 0x3C, 0x43, 0x64, 0x91, + 0xF0, 0x91, 0x54, 0x70, 0xC5, 0x27, 0x96, 0xE3, 0xAC, 0xBE, 0xE8, 0x00, + 0xEC, 0x55, 0xF6, 0xCC + }; static const uint8_t test_y[] = { /* y=g^x mod p */ - 0x1e, 0xca, 0x23, 0x2a, 0xfd, 0x34, 0xe1, - 0x10, 0x7a, 0xff, 0xaf, 0x2d, 0xaa, 0x53 }; + 0xA0, 0x39, 0x11, 0x77, 0x9A, 0xC1, 0x30, 0x1F, 0xBE, 0x48, 0xA7, 0xAA, + 0xA0, 0x84, 0x54, 0x64, 0xAD, 0x1B, 0x70, 0xFA, 0x13, 0x55, 0x63, 0xD2, + 0x1F, 0x62, 0x32, 0x93, 0x8E, 0xC9, 0x3E, 0x09, 0xA7, 0x64, 0xE4, 0x12, + 0x6E, 0x1B, 0xF2, 0x92, 0x3B, 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 0x55, 0x48, 0x82, 0x39, 0x90, 0xEF, 0x56, + 0x75, 0x34, 0xB8, 0x34, 0xC3, 0x18, 0x6E, 0x1E, 0xAD, 0xE3, 0x48, 0x7E, + 0x93, 0x2C, 0x23, 0xE7, 0xF8, 0x90, 0x73, 0xB1, 0x77, 0x80, 0x67, 0xA9, + 0x36, 0x9E, 0xDA, 0xD2 + }; gnutls_pk_params_init(&priv); gnutls_pk_params_init(&pub);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor