/linux-master/crypto/ |
H A D | dh.c | 552 struct crypto_template *tmpl, struct rtattr **tb, 562 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_KPP, &mask); 566 dh_name = crypto_attr_alg_name(tb[1]); 834 struct rtattr **tb) 836 return __dh_safe_prime_create(tmpl, tb, &ffdhe2048_prime); 840 struct rtattr **tb) 842 return __dh_safe_prime_create(tmpl, tb, &ffdhe3072_prime); 846 struct rtattr **tb) 848 return __dh_safe_prime_create(tmpl, tb, &ffdhe4096_prime); 852 struct rtattr **tb) 551 __dh_safe_prime_create( struct crypto_template *tmpl, struct rtattr **tb, const struct dh_safe_prime *safe_prime) argument 833 dh_ffdhe2048_create(struct crypto_template *tmpl, struct rtattr **tb) argument 839 dh_ffdhe3072_create(struct crypto_template *tmpl, struct rtattr **tb) argument 845 dh_ffdhe4096_create(struct crypto_template *tmpl, struct rtattr **tb) argument 851 dh_ffdhe6144_create(struct crypto_template *tmpl, struct rtattr **tb) argument 857 dh_ffdhe8192_create(struct crypto_template *tmpl, struct rtattr **tb) argument [all...] |
H A D | ecb.c | 98 struct crypto_template *tmpl, struct rtattr **tb) 106 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_LSKCIPHER, &mask); 116 crypto_attr_alg_name(tb[1]), 0, mask); 149 static int crypto_ecb_create2(struct crypto_template *tmpl, struct rtattr **tb) argument 154 inst = lskcipher_alloc_instance_simple2(tmpl, tb); 171 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) argument 178 inst = lskcipher_alloc_instance_simple(tmpl, tb); 180 err = crypto_ecb_create2(tmpl, tb); 97 lskcipher_alloc_instance_simple2( struct crypto_template *tmpl, struct rtattr **tb) argument
|
H A D | echainiv.c | 113 struct rtattr **tb) 118 inst = aead_geniv_alloc(tmpl, tb); 112 echainiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) argument
|
H A D | essiv.c | 443 static int essiv_create(struct crypto_template *tmpl, struct rtattr **tb) argument 462 algt = crypto_get_attr_type(tb); 466 inner_cipher_name = crypto_attr_alg_name(tb[1]); 470 shash_name = crypto_attr_alg_name(tb[2]);
|
H A D | gcm.c | 575 struct rtattr **tb, 586 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_AEAD, &mask); 654 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) argument 659 cipher_name = crypto_attr_alg_name(tb[1]); 667 return crypto_gcm_create_common(tmpl, tb, ctr_name, "ghash"); 671 struct rtattr **tb) 676 ctr_name = crypto_attr_alg_name(tb[1]); 680 ghash_name = crypto_attr_alg_name(tb[2]); 684 return crypto_gcm_create_common(tmpl, tb, ctr_name, ghash_name); 824 struct rtattr **tb) 574 crypto_gcm_create_common(struct crypto_template *tmpl, struct rtattr **tb, const char *ctr_name, const char *ghash_name) argument 670 crypto_gcm_base_create(struct crypto_template *tmpl, struct rtattr **tb) argument 823 crypto_rfc4106_create(struct crypto_template *tmpl, struct rtattr **tb) argument 1038 crypto_rfc4543_create(struct crypto_template *tmpl, struct rtattr **tb) argument [all...] |
H A D | geniv.c | 42 struct rtattr **tb) 52 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_AEAD, &mask); 63 crypto_attr_alg_name(tb[1]), 0, mask); 41 aead_geniv_alloc(struct crypto_template *tmpl, struct rtattr **tb) argument
|
H A D | hctr2.c | 405 struct rtattr **tb, 419 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SKCIPHER, &mask); 516 static int hctr2_create_base(struct crypto_template *tmpl, struct rtattr **tb) argument 521 xctr_name = crypto_attr_alg_name(tb[1]); 525 polyval_name = crypto_attr_alg_name(tb[2]); 529 return hctr2_create_common(tmpl, tb, xctr_name, polyval_name); 532 static int hctr2_create(struct crypto_template *tmpl, struct rtattr **tb) argument 537 blockcipher_name = crypto_attr_alg_name(tb[1]); 545 return hctr2_create_common(tmpl, tb, xctr_name, "polyval"); 404 hctr2_create_common(struct crypto_template *tmpl, struct rtattr **tb, const char *xctr_name, const char *polyval_name) argument
|
H A D | hmac.c | 177 static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb) argument 188 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SHASH, &mask); 198 crypto_attr_alg_name(tb[1]), 0, mask);
|
H A D | keywrap.c | 264 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) argument 270 inst = skcipher_alloc_instance_simple(tmpl, tb);
|
H A D | lrw.c | 299 static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb) argument 309 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SKCIPHER, &mask); 313 cipher_name = crypto_attr_alg_name(tb[1]);
|
H A D | lskcipher.c | 477 * @tb: the template parameters 483 struct crypto_template *tmpl, struct rtattr **tb) 493 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_LSKCIPHER, &mask); 497 cipher_name = crypto_attr_alg_name(tb[1]); 482 lskcipher_alloc_instance_simple( struct crypto_template *tmpl, struct rtattr **tb) argument
|
H A D | pcbc.c | 154 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) argument 159 inst = skcipher_alloc_instance_simple(tmpl, tb);
|
H A D | pcrypt.c | 236 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, argument 261 crypto_attr_alg_name(tb[1]), 0, mask); 295 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) argument 299 algt = crypto_get_attr_type(tb); 305 return pcrypt_create_aead(tmpl, tb, algt);
|
H A D | rsa-pkcs1pad.c | 621 static int pkcs1pad_create(struct crypto_template *tmpl, struct rtattr **tb) argument 630 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_AKCIPHER, &mask); 641 crypto_attr_alg_name(tb[1]), 0, mask); 653 hash_name = crypto_attr_alg_name(tb[2]);
|
H A D | seqiv.c | 135 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) argument 140 inst = aead_geniv_alloc(tmpl, tb);
|
H A D | skcipher.c | 1028 * @tb: the template parameters 1034 struct crypto_template *tmpl, struct rtattr **tb) 1042 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SKCIPHER, &mask); 1052 crypto_attr_alg_name(tb[1]), 0, mask); 1033 skcipher_alloc_instance_simple( struct crypto_template *tmpl, struct rtattr **tb) argument
|
H A D | vmac.c | 619 static int vmac_create(struct crypto_template *tmpl, struct rtattr **tb) argument 627 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SHASH, &mask); 637 crypto_attr_alg_name(tb[1]), 0, mask);
|
H A D | xcbc.c | 184 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) argument 192 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SHASH, &mask); 202 crypto_attr_alg_name(tb[1]), 0, mask);
|
H A D | xctr.c | 131 static int crypto_xctr_create(struct crypto_template *tmpl, struct rtattr **tb) argument 137 inst = skcipher_alloc_instance_simple(tmpl, tb);
|
H A D | xts.c | 340 static int xts_create(struct crypto_template *tmpl, struct rtattr **tb) argument 350 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SKCIPHER, &mask); 354 cipher_name = crypto_attr_alg_name(tb[1]);
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 2505 * @tb: hash table containing the mapping, each element is of type 2509 DECLARE_HASHTABLE(tb, SYNC_TO_ENGINE_HASH_TABLE_BITS);
|
H A D | state_dump.c | 231 hash_for_each_safe(map->tb, i, tmp_node, entry, node) { 252 hash_for_each_possible(map->tb, entry, node, sync_id)
|
/linux-master/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 8841 hash_add(map->tb, &entry->node, reg_value);
|
/linux-master/drivers/acpi/ |
H A D | nhlt.c | 81 * @tb: the table to search. 94 acpi_nhlt_tb_find_endpoint(const struct acpi_table_nhlt *tb, argument 99 for_each_nhlt_endpoint(tb, ep) 162 * @tb: the table to search. 180 acpi_nhlt_tb_find_fmtcfg(const struct acpi_table_nhlt *tb, argument 187 for_each_nhlt_endpoint(tb, ep) {
|
H A D | spcr.c | 50 static bool xgene_8250_erratum_present(struct acpi_table_spcr *tb) argument 54 if (tb->interface_type != ACPI_DBG2_16550_COMPATIBLE) 57 if (memcmp(tb->header.oem_id, "APMC0D", ACPI_OEM_ID_SIZE) && 58 memcmp(tb->header.oem_id, "HPE ", ACPI_OEM_ID_SIZE)) 61 if (!memcmp(tb->header.oem_table_id, "XGENESPC", 62 ACPI_OEM_TABLE_ID_SIZE) && tb->header.oem_revision == 0) 65 if (!memcmp(tb->header.oem_table_id, "ProLiant", 66 ACPI_OEM_TABLE_ID_SIZE) && tb->header.oem_revision == 1)
|