diff options
-rw-r--r-- | drivers/crypto/caam/caamhash.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/crypto/caam/caamhash.c b/drivers/crypto/caam/caamhash.c index 0f8fbdfad0b7..49106ea42887 100644 --- a/drivers/crypto/caam/caamhash.c +++ b/drivers/crypto/caam/caamhash.c | |||
@@ -1632,8 +1632,8 @@ static struct caam_hash_template driver_hash[] = { | |||
1632 | .halg = { | 1632 | .halg = { |
1633 | .digestsize = SHA1_DIGEST_SIZE, | 1633 | .digestsize = SHA1_DIGEST_SIZE, |
1634 | .statesize = sizeof(struct caam_export_state), | 1634 | .statesize = sizeof(struct caam_export_state), |
1635 | }, | ||
1636 | }, | 1635 | }, |
1636 | }, | ||
1637 | .alg_type = OP_ALG_ALGSEL_SHA1, | 1637 | .alg_type = OP_ALG_ALGSEL_SHA1, |
1638 | .alg_op = OP_ALG_ALGSEL_SHA1 | OP_ALG_AAI_HMAC, | 1638 | .alg_op = OP_ALG_ALGSEL_SHA1 | OP_ALG_AAI_HMAC, |
1639 | }, { | 1639 | }, { |
@@ -1654,8 +1654,8 @@ static struct caam_hash_template driver_hash[] = { | |||
1654 | .halg = { | 1654 | .halg = { |
1655 | .digestsize = SHA224_DIGEST_SIZE, | 1655 | .digestsize = SHA224_DIGEST_SIZE, |
1656 | .statesize = sizeof(struct caam_export_state), | 1656 | .statesize = sizeof(struct caam_export_state), |
1657 | }, | ||
1658 | }, | 1657 | }, |
1658 | }, | ||
1659 | .alg_type = OP_ALG_ALGSEL_SHA224, | 1659 | .alg_type = OP_ALG_ALGSEL_SHA224, |
1660 | .alg_op = OP_ALG_ALGSEL_SHA224 | OP_ALG_AAI_HMAC, | 1660 | .alg_op = OP_ALG_ALGSEL_SHA224 | OP_ALG_AAI_HMAC, |
1661 | }, { | 1661 | }, { |
@@ -1676,8 +1676,8 @@ static struct caam_hash_template driver_hash[] = { | |||
1676 | .halg = { | 1676 | .halg = { |
1677 | .digestsize = SHA256_DIGEST_SIZE, | 1677 | .digestsize = SHA256_DIGEST_SIZE, |
1678 | .statesize = sizeof(struct caam_export_state), | 1678 | .statesize = sizeof(struct caam_export_state), |
1679 | }, | ||
1680 | }, | 1679 | }, |
1680 | }, | ||
1681 | .alg_type = OP_ALG_ALGSEL_SHA256, | 1681 | .alg_type = OP_ALG_ALGSEL_SHA256, |
1682 | .alg_op = OP_ALG_ALGSEL_SHA256 | OP_ALG_AAI_HMAC, | 1682 | .alg_op = OP_ALG_ALGSEL_SHA256 | OP_ALG_AAI_HMAC, |
1683 | }, { | 1683 | }, { |
@@ -1698,8 +1698,8 @@ static struct caam_hash_template driver_hash[] = { | |||
1698 | .halg = { | 1698 | .halg = { |
1699 | .digestsize = SHA384_DIGEST_SIZE, | 1699 | .digestsize = SHA384_DIGEST_SIZE, |
1700 | .statesize = sizeof(struct caam_export_state), | 1700 | .statesize = sizeof(struct caam_export_state), |
1701 | }, | ||
1702 | }, | 1701 | }, |
1702 | }, | ||
1703 | .alg_type = OP_ALG_ALGSEL_SHA384, | 1703 | .alg_type = OP_ALG_ALGSEL_SHA384, |
1704 | .alg_op = OP_ALG_ALGSEL_SHA384 | OP_ALG_AAI_HMAC, | 1704 | .alg_op = OP_ALG_ALGSEL_SHA384 | OP_ALG_AAI_HMAC, |
1705 | }, { | 1705 | }, { |
@@ -1720,8 +1720,8 @@ static struct caam_hash_template driver_hash[] = { | |||
1720 | .halg = { | 1720 | .halg = { |
1721 | .digestsize = SHA512_DIGEST_SIZE, | 1721 | .digestsize = SHA512_DIGEST_SIZE, |
1722 | .statesize = sizeof(struct caam_export_state), | 1722 | .statesize = sizeof(struct caam_export_state), |
1723 | }, | ||
1724 | }, | 1723 | }, |
1724 | }, | ||
1725 | .alg_type = OP_ALG_ALGSEL_SHA512, | 1725 | .alg_type = OP_ALG_ALGSEL_SHA512, |
1726 | .alg_op = OP_ALG_ALGSEL_SHA512 | OP_ALG_AAI_HMAC, | 1726 | .alg_op = OP_ALG_ALGSEL_SHA512 | OP_ALG_AAI_HMAC, |
1727 | }, { | 1727 | }, { |
@@ -1742,8 +1742,8 @@ static struct caam_hash_template driver_hash[] = { | |||
1742 | .halg = { | 1742 | .halg = { |
1743 | .digestsize = MD5_DIGEST_SIZE, | 1743 | .digestsize = MD5_DIGEST_SIZE, |
1744 | .statesize = sizeof(struct caam_export_state), | 1744 | .statesize = sizeof(struct caam_export_state), |
1745 | }, | ||
1746 | }, | 1745 | }, |
1746 | }, | ||
1747 | .alg_type = OP_ALG_ALGSEL_MD5, | 1747 | .alg_type = OP_ALG_ALGSEL_MD5, |
1748 | .alg_op = OP_ALG_ALGSEL_MD5 | OP_ALG_AAI_HMAC, | 1748 | .alg_op = OP_ALG_ALGSEL_MD5 | OP_ALG_AAI_HMAC, |
1749 | }, | 1749 | }, |