Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_aes.c1644 struct HksMbedtlsAesCtx *aesDecryptCtx = (struct HksMbedtlsAesCtx *)cryptoCtx; in HksMbedtlsAesDecryptUpdate() local
1645 switch (aesDecryptCtx->mode) { in HksMbedtlsAesDecryptUpdate()
1648 return AesCbcCryptUpdate(cryptoCtx, aesDecryptCtx->padding, message, false, cipherText); in HksMbedtlsAesDecryptUpdate()
1664 return AesEcbCryptUpdate(cryptoCtx, aesDecryptCtx->padding, message, cipherText); in HksMbedtlsAesDecryptUpdate()
1667 HKS_LOG_E("Unsupport key alg! mode = 0x%" LOG_PUBLIC "X", aesDecryptCtx->mode); in HksMbedtlsAesDecryptUpdate()
1675 struct HksMbedtlsAesCtx *aesDecryptCtx = (struct HksMbedtlsAesCtx *)*cryptoCtx; in HksMbedtlsAesDecryptFinal() local
1677 switch (aesDecryptCtx->mode) { in HksMbedtlsAesDecryptFinal()
1680 return AesCbcCryptFinal(cryptoCtx, aesDecryptCtx->padding, message, false, cipherText); in HksMbedtlsAesDecryptFinal()
1696 return AesEcbCryptFinal(cryptoCtx, aesDecryptCtx->padding, message, cipherText); in HksMbedtlsAesDecryptFinal()
1699 HKS_LOG_E("Unsupport key alg! mode = 0x%" LOG_PUBLIC "X", aesDecryptCtx->mode); in HksMbedtlsAesDecryptFinal()