Searched defs:macAlgorithm (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DContainerEncryptionParams.java103 * @param macAlgorithm MAC algorithm to use; format matches JCE
116 AlgorithmParameterSpec encryptionSpec, SecretKey encryptionKey, String macAlgorithm,
128 if (!TextUtils.isEmpty(macAlgorithm)) {
143 mMacAlgorithm = macAlgorithm;
115 ContainerEncryptionParams(String encryptionAlgorithm, AlgorithmParameterSpec encryptionSpec, SecretKey encryptionKey, String macAlgorithm, AlgorithmParameterSpec macSpec, SecretKey macKey, byte[] macTag, long authenticatedDataStart, long encryptedDataStart, long dataEnd) argument
/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp651 const char *macAlgorithm, uint8_t *keyId, uint8_t *message, size_t messageSize,
665 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm));
690 const char *macAlgorithm, uint8_t *keyId, const uint8_t *message, size_t messageSize,
704 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm));
650 AMediaDrm_sign(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, const char *macAlgorithm, uint8_t *keyId, uint8_t *message, size_t messageSize, uint8_t *signature, size_t *signatureSize) argument
689 AMediaDrm_verify(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, const char *macAlgorithm, uint8_t *keyId, const uint8_t *message, size_t messageSize, const uint8_t *signature, size_t signatureSize) argument
/frameworks/base/media/java/android/media/
H A DMediaDrm.java698 String cipherAlgorithm, String macAlgorithm)
703 setMacAlgorithmNative(drm, sessionId, macAlgorithm);
764 * @param macAlgorithm the algorithm to use for sign and verify
773 String cipherAlgorithm, String macAlgorithm)
775 return new CryptoSession(this, sessionId, cipherAlgorithm, macAlgorithm);
697 CryptoSession(MediaDrm drm, byte[] sessionId, String cipherAlgorithm, String macAlgorithm) argument
772 getCryptoSession(byte[] sessionId, String cipherAlgorithm, String macAlgorithm) argument

Completed in 334 milliseconds