Jump to content

VIII

Inactive Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by VIII

  1.        detail = new BlockCipherDetail<Blowfish>();
                                          ^~~~~~~~
    cipher.cpp:282:38: note: suggested alternative:
    In file included from cipher.cpp:23:0:
    ../../../Extern/include/cryptopp/blowfish.h:18:7: note:   'CryptoPP::Blowfish'
     class Blowfish : public Blowfish_Info, public BlockCipherDocumentation
           ^~~~~~~~
    cipher.cpp:282:46: error: template argument 1 is invalid
           detail = new BlockCipherDetail<Blowfish>();
                                                  ^
    cipher.cpp:285:38: error: 'TEA' was not declared in this scope
           detail = new BlockCipherDetail<TEA>();
                                          ^~~
    cipher.cpp:285:38: note: suggested alternative:
    In file included from cipher.cpp:31:0:
    ../../../Extern/include/cryptopp/tea.h:19:7: note:   'CryptoPP::TEA'
     class TEA : public TEA_Info, public BlockCipherDocumentation
           ^~~
    cipher.cpp:285:41: error: template argument 1 is invalid
           detail = new BlockCipherDetail<TEA>();
                                             ^
    cipher.cpp:291:38: error: 'SHACAL2' was not declared in this scope
           detail = new BlockCipherDetail<SHACAL2>();
                                          ^~~~~~~
    cipher.cpp:291:38: note: suggested alternative:
    In file included from cipher.cpp:29:0:
    ../../../Extern/include/cryptopp/shacal2.h:19:7: note:   'CryptoPP::SHACAL2'
     class SHACAL2 : public SHACAL2_Info, public BlockCipherDocumentation
           ^~~~~~~
    cipher.cpp:291:45: error: template argument 1 is invalid
           detail = new BlockCipherDetail<SHACAL2>();
                                                 ^
    cipher.cpp:295:45: error: type/value mismatch at argument 1 in template parametr list for 'template<class T> struct BlockCipherDetail'
           detail = new BlockCipherDetail<Twofish>(); // default algorithm
                                                 ^
    cipher.cpp:295:45: note:   expected a type, got 'Twofish'
    cipher.cpp: In constructor 'DH2KeyAgreement::DH2KeyAgreement()':
    cipher.cpp:301:38: error: class 'DH2KeyAgreement' does not have any field named'dh_'
     DH2KeyAgreement::DH2KeyAgreement() : dh_(), dh2_(dh_) {
                                          ^~~
    cipher.cpp:301:45: error: class 'DH2KeyAgreement' does not have any field named'dh2_'
     DH2KeyAgreement::DH2KeyAgreement() : dh_(), dh2_(dh_) {
                                                 ^~~~
    cipher.cpp:301:50: error: 'dh_' was not declared in this scope
     DH2KeyAgreement::DH2KeyAgreement() : dh_(), dh2_(dh_) {
                                                      ^~~
    cipher.cpp: In member function 'virtual size_t DH2KeyAgreement::Prepare(void*, ize_t*)':
    cipher.cpp:310:3: error: 'Integer' was not declared in this scope
       Integer p("0xB10B8F96A080E01DDE92DE5EAE5D54EC52C99FBCFB06A3C6"
       ^~~~~~~
    cipher.cpp:310:3: note: suggested alternative:
    In file included from ../../../Extern/include/cryptopp/nbtheory.h:6:0,
                     from cipher.cpp:8:
    ../../../Extern/include/cryptopp/integer.h:26:20: note:   'CryptoPP::Integer'
     class CRYPTOPP_DLL Integer : private InitializeInteger, public ASN1Object
                        ^~~~~~~
    cipher.cpp:317:11: error: expected ';' before 'g'
       Integer g("0xA4D1CBD5C3FD34126765A442EFB99905F8104DD258AC507F"
               ^
    cipher.cpp:324:11: error: expected ';' before 'q'
       Integer q("0xF518AA8781A8DF278ABA4E7D64B7CB9D49462353");
               ^
    cipher.cpp:334:3: error: 'AutoSeededRandomPool' was not declared in this scope
       AutoSeededRandomPool rnd;
       ^~~~~~~~~~~~~~~~~~~~
    cipher.cpp:334:3: note: suggested alternative:
    In file included from cipher.cpp:9:0:
    ../../../Extern/include/cryptopp/osrng.h:86:20: note:   'CryptoPP::AutoSeededRadomPool'
     class CRYPTOPP_DLL AutoSeededRandomPool : public RandomPool
                        ^~~~~~~~~~~~~~~~~~~~
    cipher.cpp:336:3: error: 'dh_' was not declared in this scope
       dh_.AccessGroupParameters().Initialize(p, q, g);
       ^~~
    cipher.cpp:336:42: error: 'p' was not declared in this scope
       dh_.AccessGroupParameters().Initialize(p, q, g);
                                              ^
    cipher.cpp:336:45: error: 'q' was not declared in this scope
       dh_.AccessGroupParameters().Initialize(p, q, g);
                                                 ^
    cipher.cpp:336:48: error: 'g' was not declared in this scope
       dh_.AccessGroupParameters().Initialize(p, q, g);
                                                    ^
    cipher.cpp:338:46: error: 'rnd' was not declared in this scope
       if(!dh_.GetGroupParameters().ValidateGroup(rnd, 3)) {
                                                  ^~~
    cipher.cpp:338:46: note: suggested alternative: 'rand'
       if(!dh_.GetGroupParameters().ValidateGroup(rnd, 3)) {
                                                  ^~~
                                                  rand
    cipher.cpp:348:11: error: expected ';' before 'v'
       Integer v = ModularExponentiation(g, q, p);
               ^
    cipher.cpp:349:6: error: 'v' was not declared in this scope
       if(v != Integer::One()) {
          ^
    cipher.cpp:349:11: error: 'Integer' is not a class, namespace, or enumeration
       if(v != Integer::One()) {
               ^~~~~~~
    cipher.cpp:356:3: error: 'spriv_key_' was not declared in this scope
       spriv_key_.New(dh2_.StaticPrivateKeyLength());
       ^~~~~~~~~~
    cipher.cpp:356:18: error: 'dh2_' was not declared in this scope
       spriv_key_.New(dh2_.StaticPrivateKeyLength());
                      ^~~~
    cipher.cpp:357:3: error: 'epriv_key_' was not declared in this scope
       epriv_key_.New(dh2_.EphemeralPrivateKeyLength());
       ^~~~~~~~~~
    cipher.cpp:358:3: error: 'SecByteBlock' was not declared in this scope
       SecByteBlock spub_key(dh2_.StaticPublicKeyLength());
       ^~~~~~~~~~~~
    cipher.cpp:358:3: note: suggested alternative:
    In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
                     from cipher.cpp:7:
    ../../../Extern/include/cryptopp/secblock.h:416:24: note:   'CryptoPP::SecByteBock'
     typedef SecBlock<byte> SecByteBlock;
                            ^~~~~~~~~~~~
    cipher.cpp:359:16: error: expected ';' before 'epub_key'
       SecByteBlock epub_key(dh2_.EphemeralPublicKeyLength());
                    ^~~~~~~~
    cipher.cpp:361:30: error: 'rnd' was not declared in this scope
       dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                                  ^~~
    cipher.cpp:361:30: note: suggested alternative: 'rand'
       dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                                  ^~~
                                  rand
    cipher.cpp:361:47: error: 'spub_key' was not declared in this scope
       dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                                                   ^~~~~~~~
    cipher.cpp:361:47: note: suggested alternative: 'setkey'
       dh2_.GenerateStaticKeyPair(rnd, spriv_key_, spub_key);
                                                   ^~~~~~~~
                                                   setkey
    cipher.cpp:362:50: error: 'epub_key' was not declared in this scope
       dh2_.GenerateEphemeralKeyPair(rnd, epriv_key_, epub_key);
                                                      ^~~~~~~~
    cipher.cpp: In member function 'virtual bool DH2KeyAgreement::Agree(size_t, cont void*, size_t)':
    cipher.cpp:381:24: error: 'dh2_' was not declared in this scope
       if (agreed_length != dh2_.AgreedValueLength()) {
                            ^~~~
    cipher.cpp:385:34: error: 'dh2_' was not declared in this scope
       const size_t spub_key_length = dh2_.StaticPublicKeyLength();
                                      ^~~~
    cipher.cpp:391:3: error: 'shared_' was not declared in this scope
       shared_.New(dh2_.AgreedValueLength());
       ^~~~~~~
    cipher.cpp:393:28: error: 'spriv_key_' was not declared in this scope
       if (!dh2_.Agree(shared_, spriv_key_, epriv_key_, buf, buf + spub_key_length) {
                                ^~~~~~~~~~
    cipher.cpp:393:40: error: 'epriv_key_' was not declared in this scope
       if (!dh2_.Agree(shared_, spriv_key_, epriv_key_, buf, buf + spub_key_length) {
                                            ^~~~~~~~~~
    In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
                     from cipher.cpp:7:
    ../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllcatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alin16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vid*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithClanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T,T_Align16>::size_type = unsigned int]':
    ../../../Extern/include/cryptopp/secblock.h:247:25:   required from 'CryptoPP::ecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsignedchar; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, >::size_type = unsigned int]'
    ../../../Extern/include/cryptopp/algparam.h:17:2:   required from here
    ../../../Extern/include/cryptopp/secblock.h:91:12: error: 'CheckSize' was not dclared in this scope, and no declarations were found by argument-dependent lookp at the point of instantiation [-fpermissive]
       CheckSize(n);
       ~~~~~~~~~^~~
    ../../../Extern/include/cryptopp/secblock.h:91:12: note: declarations in dependnt base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lokup
    ../../../Extern/include/cryptopp/secblock.h:91:12: note: use 'this->CheckSize' nstead
    ../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllcatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alin16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vid*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithClenup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, _Align16>::size_type = unsigned int]':
    ../../../Extern/include/cryptopp/secblock.h:247:25:   required from 'CryptoPP::ecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsignedchar; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlok<T, A>::size_type = unsigned int]'
    ../../../Extern/include/cryptopp/modes.h:63:34:   required from here
    ../../../Extern/include/cryptopp/secblock.h:91:12: error: 'CheckSize' was not dclared in this scope, and no declarations were found by argument-dependent lookp at the point of instantiation [-fpermissive]
    ../../../Extern/include/cryptopp/secblock.h:91:12: note: declarations in dependnt base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lokup
    ../../../Extern/include/cryptopp/secblock.h:91:12: note: use 'this->CheckSize' nstead
    ../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllcatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alin16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vid*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleaup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_lign16>::size_type = unsigned int]':
    ../../../Extern/include/cryptopp/secblock.h:249:29:   required from 'CryptoPP::ecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'
    ../../../Extern/include/cryptopp/modarith.h:122:20:   required from here
    ../../../Extern/include/cryptopp/secblock.h:91:12: error: 'CheckSize' was not dclared in this scope, and no declarations were found by argument-dependent lookp at the point of instantiation [-fpermissive]
    ../../../Extern/include/cryptopp/secblock.h:91:12: note: declarations in dependnt base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lokup
    ../../../Extern/include/cryptopp/secblock.h:91:12: note: use 'this->CheckSize' nstead
    gmake: *** [OBJDIR/cipher.o] Error 1
    root@host:/usr/src/Server/game/src #

     

     

    Any help ???  

    • Metin2 Dev 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.