Home
last modified time | relevance | path

Searched refs:sak (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/macsec/aidl/default/
DMacsecPskPlugin.cpp249 const std::vector<uint8_t>& sak, in wrapSak() argument
251 if (sak.size() == 0 || sak.size() % 8 != 0) { in wrapSak()
269 out->resize(sak.size() + 8); in wrapSak()
271 if (AES_wrap_key(ctx, NULL, out->data(), sak.data(), sak.size()) > 0) { in wrapSak()
279 const std::vector<uint8_t>& sak, in unwrapSak() argument
281 if (sak.size() <= 8 || sak.size() % 8 != 0) { in unwrapSak()
299 out->resize(sak.size() - 8); in unwrapSak()
301 if (AES_unwrap_key(ctx, NULL, out->data(), sak.data(), sak.size()) > 0) { in unwrapSak()
DMacsecPskPlugin.h48 ndk::ScopedAStatus wrapSak(const std::vector<uint8_t>& keyId, const std::vector<uint8_t>& sak,
51 ndk::ScopedAStatus unwrapSak(const std::vector<uint8_t>& keyId, const std::vector<uint8_t>& sak,
/hardware/interfaces/macsec/aidl/aidl_api/android.hardware.macsec/1/android/hardware/macsec/
DIMacsecPskPlugin.aidl40 byte[] wrapSak(in byte[] keyId, in byte[] sak); in wrapSak() argument
41 byte[] unwrapSak(in byte[] keyId, in byte[] sak); in unwrapSak() argument
/hardware/interfaces/macsec/aidl/aidl_api/android.hardware.macsec/current/android/hardware/macsec/
DIMacsecPskPlugin.aidl68 byte[] wrapSak(in byte[] keyId, in byte[] sak); in wrapSak() argument
79 byte[] unwrapSak(in byte[] keyId, in byte[] sak); in unwrapSak() argument
/hardware/interfaces/macsec/aidl/android/hardware/macsec/
DIMacsecPskPlugin.aidl76 byte[] wrapSak(in byte[] keyId, in byte[] sak); in wrapSak() argument
90 byte[] unwrapSak(in byte[] keyId, in byte[] sak); in unwrapSak() argument