Searched refs:is_hmac (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_hash.c | 43 uint8_t *buffer, uint32_t buffer_len, bool is_hmac, int verbose) in test_hash_item_virt() argument 67 if (is_hmac) { in test_hash_item_virt() 106 if (is_hmac) in test_hash_item_virt() 137 rk_crypto_mem *buffer, bool is_hmac, int verbose) in test_hash_item_fd() argument 159 if (is_hmac) { in test_hash_item_fd() 188 if (is_hmac) in test_hash_item_fd()
|
| H A D | test_throughput.c | 798 static int test_hash_item_tp(bool is_virt, bool is_hmac, uint32_t algo, in test_hash_item_tp() argument 824 if (is_hmac) { in test_hash_item_tp()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccree/ |
| H A D | cc_hash.c | 100 bool is_hmac; member 138 bool is_hmac = ctx->is_hmac; in cc_init_req() local 142 if (is_hmac) { in cc_init_req() 181 bool is_hmac = ctx->is_hmac; in cc_map_req() local 209 if (is_hmac && ctx->hash_mode != DRV_HASH_NULL) { in cc_map_req() 428 bool is_hmac = ctx->is_hmac; in cc_hash_digest() local 436 dev_dbg(dev, "===== %s-digest (%d) ====\n", is_hmac ? "hmac" : "hash", in cc_hash_digest() 469 if (is_hmac) { in cc_hash_digest() 486 if (is_hmac) { in cc_hash_digest() 503 if (is_hmac) { in cc_hash_digest() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/ |
| H A D | rk_crypto_ahash_utils.c | 93 static int rk_ahash_fallback_digest(const char *alg_name, bool is_hmac, in rk_ahash_fallback_digest() argument 105 alg_name, is_hmac, key_len, msg_len); in rk_ahash_fallback_digest() 127 if (is_hmac) in rk_ahash_fallback_digest()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | rk_cryptodev.h | 105 const char *rk_get_hash_name(uint32_t id, int *is_hmac);
|
| H A D | rk_cryptodev.c | 1427 int is_hmac; member 1499 const char *rk_get_hash_name(uint32_t id, int *is_hmac) in rk_get_hash_name() argument 1503 *is_hmac = 0; in rk_get_hash_name() 1507 *is_hmac = h_algo_map_tbl[i].is_hmac; in rk_get_hash_name()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/chelsio/ |
| H A D | chcr_algo.c | 368 static inline int is_hmac(struct crypto_tfm *tfm) in is_hmac() function 1787 if (is_hmac(crypto_ahash_tfm(rtfm))) in chcr_ahash_final() 1795 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_final() 1872 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup() 1882 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_finup() 1969 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest() 1978 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_digest() 2044 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue() 2057 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_ahash_continue() 2329 if (is_hmac(crypto_ahash_tfm(rtfm))) { in chcr_hmac_init()
|