HomeSort by relevance Sort by last modified time
    Searched defs:NistCurveKeyExchange (Results 1 - 2 of 2) sorted by null

  /system/keymaster/
nist_curve_key_exchange.h 32 * NistCurveKeyExchange implements a KeyExchange using elliptic-curve
35 class NistCurveKeyExchange : public KeyExchange {
37 ~NistCurveKeyExchange() override {}
40 * NistCurveKeyExchange takes ownership of \p private_key.
42 NistCurveKeyExchange(EC_KEY* private_key, keymaster_error_t* error);
48 static NistCurveKeyExchange* GenerateKeyExchange(keymaster_ec_curve_t curve);
nist_curve_key_exchange.cpp 28 NistCurveKeyExchange::NistCurveKeyExchange(EC_KEY* private_key, keymaster_error_t* error)
38 NistCurveKeyExchange* NistCurveKeyExchange::GenerateKeyExchange(keymaster_ec_curve_t curve) {
63 NistCurveKeyExchange* key_exchange = new NistCurveKeyExchange(key.release(), &error);
70 keymaster_error_t NistCurveKeyExchange::ExtractPublicKey() {
88 bool NistCurveKeyExchange::CalculateSharedKey(const Buffer& peer_public_value,
95 bool NistCurveKeyExchange::CalculateSharedKey(const uint8_t* peer_public_value,
120 bool NistCurveKeyExchange::public_value(Buffer* public_value) const
    [all...]

Completed in 131 milliseconds