is_hmac
bool is_hmac;
if (caam_hash->is_hmac) {
return caam_hash->is_hmac ? 0 : ahash_set_sh_desc(ahash);
t_alg->is_hmac = true;
t_alg->is_hmac = false;
bool is_hmac;
ctx->key_dir = caam_hash->is_hmac ? DMA_TO_DEVICE : DMA_NONE;
return caam_hash->is_hmac ? 0 : ahash_set_sh_desc(ahash);
t_alg->is_hmac = true;
t_alg->is_hmac = false;
bool is_hmac;
ctx->is_hmac = true;
ctx->is_hmac = false;
bool is_hmac = ctx->is_hmac;
if (is_hmac) {
bool is_hmac = ctx->is_hmac;
if (is_hmac && ctx->hash_mode != DRV_HASH_NULL) {
bool is_hmac = ctx->is_hmac;
dev_dbg(dev, "===== %s-digest (%d) ====\n", is_hmac ? "hmac" : "hash",
if (is_hmac) {
if (is_hmac) {
if (is_hmac) {
dev_dbg(dev, "===== %s-update (%d) ====\n", ctx->is_hmac ?
bool is_hmac = ctx->is_hmac;
dev_dbg(dev, "===== %s-%s (%d) ====\n", is_hmac ? "hmac" : "hash",
if (is_hmac)
ctx->is_hmac = true;
ctx->is_hmac = true;
if (is_hmac(crypto_ahash_tfm(rtfm)))
if (is_hmac(crypto_ahash_tfm(rtfm))) {
if (is_hmac(crypto_ahash_tfm(rtfm))) {
if (is_hmac(crypto_ahash_tfm(rtfm))) {
if (is_hmac(crypto_ahash_tfm(rtfm)))
if (is_hmac(crypto_ahash_tfm(rtfm))) {
if (is_hmac(crypto_ahash_tfm(rtfm))) {
if (is_hmac(crypto_ahash_tfm(rtfm))) {
if (is_hmac(crypto_ahash_tfm(rtfm))) {
if (is_hmac(crypto_ahash_tfm(rtfm))) {
bool is_hmac;
if (ctx->is_hmac) {
if (ctx->is_hmac)
bool is_hmac)
ctx->is_hmac = is_hmac;