Searched refs:publicKey (Results 1 - 21 of 21) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Ddh2.h31 void GenerateStaticPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
32 {d1.GeneratePublicKey(rng, privateKey, publicKey);}
33 void GenerateStaticKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const
34 {d1.GenerateKeyPair(rng, privateKey, publicKey);}
42 void GenerateEphemeralPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
43 {d2.GeneratePublicKey(rng, privateKey, publicKey);}
44 void GenerateEphemeralKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const
45 {d2.GenerateKeyPair(rng, privateKey, publicKey);}
H A Ddh.h58 void GeneratePublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
60 Base::GeneratePublicKey(rng, privateKey, publicKey);
72 bool agreed2 = this->Agree(agreedValue2, privateKey2, publicKey);
H A Dmqv.h55 void GenerateStaticPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
60 params.EncodeElement(true, y, publicKey);
75 void GenerateEphemeralPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
77 memcpy(publicKey, privateKey+StaticPrivateKeyLength(), EphemeralPublicKeyLength());
H A Dxtrcrypt.h34 void GeneratePublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const;
H A Dxtrcrypt.cpp83 void XTR_DH::GeneratePublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
87 y.Encode(publicKey, PublicKeyLength());
H A Dluc.cpp26 bool DL_Algorithm_LUC_HMP::Verify(const DL_GroupParameters<Integer> &params, const DL_PublicKey<Integer> &publicKey, const Integer &e, const Integer &r, const Integer &s) const argument
32 Integer Vry = publicKey.ExponentiatePublicElement((r+e)%q);
H A Dgfpcrypt.h166 bool Verify(const DL_GroupParameters<T> &params, const DL_PublicKey<T> &publicKey, const Integer &e, const Integer &r, const Integer &s) const argument
176 return r == params.ConvertElementToInteger(publicKey.CascadeExponentiateBaseAndPublicElement(u1, u2)) % q;
197 bool Verify(const DL_GroupParameters<T> &params, const DL_PublicKey<T> &publicKey, const Integer &e, const Integer &r, const Integer &s) const argument
204 return r == (params.ConvertElementToInteger(publicKey.CascadeExponentiateBaseAndPublicElement(s, r)) + e) % q;
H A Dcryptlib.cpp801 void SimpleKeyAgreementDomain::GenerateKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const
804 GeneratePublicKey(rng, privateKey, publicKey);
807 void AuthenticatedKeyAgreementDomain::GenerateStaticKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const
810 GenerateStaticPublicKey(rng, privateKey, publicKey);
813 void AuthenticatedKeyAgreementDomain::GenerateEphemeralKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const
816 GenerateEphemeralPublicKey(rng, privateKey, publicKey);
H A Deccrypto.cpp669 BERGeneralDecoder publicKey(seq, CONTEXT_SPECIFIC | CONSTRUCTED | 1);
670 BERDecodeBitString(publicKey, subjectPublicKey, unusedBits);
671 publicKey.MessageEnd();
H A Dcryptlib.h1457 /*! \pre size of publicKey == PublicKeyLength() */
1458 virtual void GeneratePublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0;
1461 virtual void GenerateKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const;
1496 /*! \pre size of publicKey == PublicStaticKeyLength() */
1497 virtual void GenerateStaticPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0;
1500 virtual void GenerateStaticKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const;
1510 /*! \pre size of publicKey == PublicEphemeralKeyLength() */
1511 virtual void GenerateEphemeralPublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const =0;
1514 virtual void GenerateEphemeralKeyPair(RandomNumberGenerator &rng, byte *privateKey, byte *publicKey) const;
H A Dluc.h188 bool Verify(const DL_GroupParameters<Integer> &params, const DL_PublicKey<Integer> &publicKey, const Integer &e, const Integer &r, const Integer &s) const;
H A Dpubkey.h904 virtual bool Verify(const DL_GroupParameters<T> &params, const DL_PublicKey<T> &publicKey, const Integer &e, const Integer &r, const Integer &s) const =0;
905 virtual Integer RecoverPresignature(const DL_GroupParameters<T> &params, const DL_PublicKey<T> &publicKey, const Integer &r, const Integer &s) const argument
1392 void GeneratePublicKey(RandomNumberGenerator &rng, const byte *privateKey, byte *publicKey) const
1397 params.EncodeElement(true, y, publicKey);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/ec/
H A Dec_asn1.c195 ASN1_BIT_STRING *publicKey; member in struct:ec_privatekey_st
269 ASN1_EXP_OPT(EC_PRIVATEKEY, publicKey, ASN1_BIT_STRING, 1)
1170 if (priv_key->publicKey)
1183 pub_oct = M_ASN1_STRING_data(priv_key->publicKey);
1184 pub_oct_len = M_ASN1_STRING_length(priv_key->publicKey);
1266 priv_key->publicKey = M_ASN1_BIT_STRING_new();
1267 if (priv_key->publicKey == NULL)
1296 priv_key->publicKey->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07);
1297 priv_key->publicKey->flags |= ASN1_STRING_FLAG_BITS_LEFT;
1298 if (!M_ASN1_BIT_STRING_set(priv_key->publicKey, buffe
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ec/
H A Dec_asn1.c199 ASN1_BIT_STRING *publicKey; member in struct:ec_privatekey_st
273 ASN1_EXP_OPT(EC_PRIVATEKEY, publicKey, ASN1_BIT_STRING, 1)
1070 if (priv_key->publicKey) {
1074 pub_oct = M_ASN1_STRING_data(priv_key->publicKey);
1075 pub_oct_len = M_ASN1_STRING_length(priv_key->publicKey);
1178 priv_key->publicKey = M_ASN1_BIT_STRING_new();
1179 if (priv_key->publicKey == NULL) {
1203 priv_key->publicKey->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07);
1204 priv_key->publicKey->flags |= ASN1_STRING_FLAG_BITS_LEFT;
1205 if (!M_ASN1_BIT_STRING_set(priv_key->publicKey, buffe
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ec/
H A Dec_asn1.c199 ASN1_BIT_STRING *publicKey; member in struct:ec_privatekey_st
273 ASN1_EXP_OPT(EC_PRIVATEKEY, publicKey, ASN1_BIT_STRING, 1)
1070 if (priv_key->publicKey) {
1074 pub_oct = M_ASN1_STRING_data(priv_key->publicKey);
1075 pub_oct_len = M_ASN1_STRING_length(priv_key->publicKey);
1178 priv_key->publicKey = M_ASN1_BIT_STRING_new();
1179 if (priv_key->publicKey == NULL) {
1203 priv_key->publicKey->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07);
1204 priv_key->publicKey->flags |= ASN1_STRING_FLAG_BITS_LEFT;
1205 if (!M_ASN1_BIT_STRING_set(priv_key->publicKey, buffe
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/cms/
H A Dcms_lcl.h225 ASN1_BIT_STRING *publicKey; member in struct:CMS_OriginatorPublicKey_st
H A Dcms_kari.c138 *pubkey = oik->d.originatorKey->publicKey;
H A Dcms_asn1.c187 ASN1_SIMPLE(CMS_OriginatorPublicKey, publicKey, ASN1_BIT_STRING)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/cms/
H A Dcms_lcl.h225 ASN1_BIT_STRING *publicKey; member in struct:CMS_OriginatorPublicKey_st
H A Dcms_kari.c138 *pubkey = oik->d.originatorKey->publicKey;
H A Dcms_asn1.c187 ASN1_SIMPLE(CMS_OriginatorPublicKey, publicKey, ASN1_BIT_STRING)

Completed in 138 milliseconds