Home
last modified time | relevance | path

Searched refs:wrappedKey (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA() argument
135 return drm.signRSA(sessionId, algorithm, wrappedKey, message); in signRSA()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DDrmPlugin.h101 Vector<uint8_t>& wrappedKey) { in provideProvisionResponse() argument
104 UNUSED(wrappedKey); in provideProvisionResponse()
223 const Vector<uint8_t>& wrappedKey, in signRSA() argument
228 UNUSED(wrappedKey); in signRSA()
/frameworks/av/media/libmedia/
DIDrm.cpp263 Vector<uint8_t> &wrappedKey) { in provideProvisionResponse()
274 readVector(reply, wrappedKey); in provideProvisionResponse()
511 Vector<uint8_t> const &wrappedKey, in signRSA()
519 writeVector(data, wrappedKey); in signRSA()
730 Vector<uint8_t> wrappedKey; in onTransact() local
732 status_t result = provideProvisionResponse(response, certificate, wrappedKey); in onTransact()
734 writeVector(reply, wrappedKey); in onTransact()
904 Vector<uint8_t> sessionId, message, wrappedKey, signature; in onTransact() local
908 readVector(data, wrappedKey); in onTransact()
909 uint32_t result = signRSA(sessionId, algorithm, message, wrappedKey, signature); in onTransact()
/frameworks/av/include/media/
DIDrm.h72 Vector<uint8_t> &wrappedKey) = 0;
120 Vector<uint8_t> const &wrappedKey,
DDrm.h78 Vector<uint8_t> &wrappedKey);
125 Vector<uint8_t> const &wrappedKey,
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h87 Vector<uint8_t> &wrappedKey);
135 Vector<uint8_t> const &wrappedKey,
DMockDrmCryptoPlugin.cpp706 Vector<uint8_t> const &wrappedKey, in signRSA() argument
715 vectorToString(wrappedKey).string(), in signRSA()
725 mByteArrayProperties.add(String8("mock-wrappedkey"), wrappedKey); in signRSA()
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java663 protected final Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, in engineUnwrap() argument
674 if (wrappedKey == null) { in engineUnwrap()
680 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); in engineUnwrap()
/frameworks/av/drm/libmediadrm/
DDrm.cpp504 Vector<uint8_t> &wrappedKey) { in provideProvisionResponse() argument
515 return mPlugin->provideProvisionResponse(response, certificate, wrappedKey); in provideProvisionResponse()
748 Vector<uint8_t> const &wrappedKey, in signRSA() argument
766 return mPlugin->signRSA(sessionId, algorithm, message, wrappedKey, signature); in signRSA()
/frameworks/base/media/java/android/media/
DMediaDrm.java1282 @NonNull String algorithm, @NonNull byte[] wrappedKey, @NonNull byte[] message); in signRSANative() argument
1298 @NonNull byte[] wrappedKey, @NonNull byte[] message) { in signRSA() argument
1299 return signRSANative(this, sessionId, algorithm, wrappedKey, message); in signRSA()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp1025 Vector<uint8_t> certificate, wrappedKey; in android_media_MediaDrm_provideProvisionResponseNative() local
1027 status_t err = drm->provideProvisionResponse(response, certificate, wrappedKey); in android_media_MediaDrm_provideProvisionResponseNative()
1034 if (clazz && certificate.size() && wrappedKey.size()) { in android_media_MediaDrm_provideProvisionResponseNative()
1039 jbyteArray jwrappedKey = VectorToJByteArray(env, wrappedKey); in android_media_MediaDrm_provideProvisionResponseNative()
1424 Vector<uint8_t> wrappedKey(JByteArrayToVector(env, jwrappedKey)); in android_media_MediaDrm_signRSANative() local
1428 status_t err = drm->signRSA(sessionId, algorithm, message, wrappedKey, signature); in android_media_MediaDrm_signRSANative()