/crypto/asymmetric_keys/ |
H A D | public_key.h | 22 const char *name; member in struct:public_key_algorithm
|
H A D | x509_cert_parser.c | 212 * Note some of the name segments from which we'll fabricate a name. 247 const void *name, *data = (const void *)ctx->data; local 254 /* Empty name string if no material */ 268 name = data + ctx->cn_offset; 294 name = data + ctx->cn_offset; 297 name = data + ctx->o_offset; 300 name = data + ctx->email_offset; 307 memcpy(buffer, name, namesize);
|
/crypto/ |
H A D | algboss.c | 99 const char *name = larval->alg.cra_name; local 111 for (p = name; isalnum(*p) || *p == '-' || *p == '_'; p++) 114 len = p - name; 118 memcpy(param->template, name, len); 124 name = ++p; 146 len = p - name; 154 memcpy(param->attrs[i].alg.data.name, name, len); 160 simple_strtol(name, NULL, 0);
|
H A D | aead.c | 254 const char *name, u32 type, u32 mask) 263 alg = crypto_alg_mod_lookup(name, type, mask); 276 const char *name; local 291 name = crypto_attr_alg_name(tb[1]); 292 if (IS_ERR(name)) 293 return ERR_CAST(name); 305 err = crypto_grab_nivaead(spawn, name, type, mask); 318 * template name and double-check the IV generator. 321 if (strcmp(tmpl->name, alg->cra_aead.geniv)) 330 "%s(%s)", tmpl->name, al 253 crypto_grab_nivaead(struct crypto_aead_spawn *spawn, const char *name, u32 type, u32 mask) argument 470 crypto_lookup_aead(const char *name, u32 type, u32 mask) argument 504 crypto_grab_aead(struct crypto_aead_spawn *spawn, const char *name, u32 type, u32 mask) argument [all...] |
H A D | af_alg.c | 33 .name = "ALG", 42 static const struct af_alg_type *alg_get_type(const char *name) argument 49 if (strcmp(node->type->name, name)) 68 if (!strcmp(node->type->name, type->name)) 96 if (strcmp(node->type->name, type->name))
|
H A D | algif_hash.c | 240 static void *hash_bind(const char *name, u32 type, u32 mask) argument 242 return crypto_alloc_ahash(name, type, mask); 306 .name = "hash",
|
H A D | api.c | 57 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, argument 77 exact = !strcmp(q->cra_driver_name, name); 78 fuzzy = !strcmp(q->cra_name, name); 107 struct crypto_larval *crypto_larval_alloc(const char *name, u32 type, u32 mask) argument 120 strlcpy(larval->alg.cra_name, name, CRYPTO_MAX_ALG_NAME); 127 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, argument 133 larval = crypto_larval_alloc(name, type, mask); 140 alg = __crypto_alg_lookup(name, type, mask); 190 struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask) argument 195 alg = __crypto_alg_lookup(name, typ 202 crypto_larval_lookup(const char *name, u32 type, u32 mask) argument 244 crypto_alg_mod_lookup(const char *name, u32 type, u32 mask) argument 585 crypto_has_alg(const char *name, u32 type, u32 mask) argument [all...] |
H A D | crypto_user.c | 319 static struct crypto_alg *crypto_user_skcipher_alg(const char *name, u32 type, argument 329 alg = crypto_lookup_skcipher(name, type, mask); 345 static struct crypto_alg *crypto_user_aead_alg(const char *name, u32 type, argument 357 alg = crypto_lookup_aead(name, type, mask); 377 const char *name; local 396 name = p->cru_driver_name; 398 name = p->cru_name; 402 alg = crypto_user_aead_alg(name, p->cru_type, p->cru_mask); 407 alg = crypto_user_skcipher_alg(name, p->cru_type, p->cru_mask); 410 alg = crypto_alg_mod_lookup(name, [all...] |
H A D | algif_skcipher.c | 545 static void *skcipher_bind(const char *name, u32 type, u32 mask) argument 547 return crypto_alloc_ablkcipher(name, type, mask); 616 .name = "skcipher",
|
H A D | pcrypt.c | 438 static int pcrypt_sysfs_add(struct padata_instance *pinst, const char *name) argument 443 ret = kobject_add(&pinst->kobj, NULL, name); 451 const char *name) 458 pcrypt->wq = alloc_workqueue(name, 483 ret = pcrypt_sysfs_add(pcrypt->pinst, name); 518 .name = "pcrypt", 450 pcrypt_init_padata(struct padata_pcrypt *pcrypt, const char *name) argument
|
H A D | tcrypt.c | 931 char **name = check; local 933 while (*name) { 934 printk("alg %s ", *name); 935 printk(crypto_has_alg(*name, 0, 0) ? 937 name++;
|
H A D | ablkcipher.c | 572 /* Must use the exact name to locate ourselves. */ 573 memcpy(palg.data.name, alg->cra_driver_name, CRYPTO_MAX_ALG_NAME); 616 struct crypto_alg *crypto_lookup_skcipher(const char *name, u32 type, u32 mask) argument 620 alg = crypto_alg_mod_lookup(name, type, mask); 634 alg = crypto_alg_mod_lookup(name, type | CRYPTO_ALG_TESTED, 656 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn, const char *name, argument 665 alg = crypto_lookup_skcipher(name, type, mask);
|
H A D | algapi.c | 226 void crypto_alg_tested(const char *name, int err) argument 240 if (!strcmp(q->cra_driver_name, name)) 244 printk(KERN_ERR "alg: Unexpected test result for %s: %d\n", name, err); 266 * Check to see if either our generic name or 267 * specific name can satisfy the name requested 477 static struct crypto_template *__crypto_lookup_template(const char *name) argument 483 if (strcmp(q->name, name)) 496 struct crypto_template *crypto_lookup_template(const char *name) argument 751 const char *name; local 779 crypto_alloc_instance2(const char *name, struct crypto_alg *alg, unsigned int head) argument 810 crypto_alloc_instance(const char *name, struct crypto_alg *alg) argument [all...] |
H A D | blkcipher.c | 563 const char *name, u32 type, u32 mask) 571 alg = crypto_alg_mod_lookup(name, type, mask); 596 const char *name; local 611 name = crypto_attr_alg_name(tb[1]); 612 if (IS_ERR(name)) 613 return ERR_CAST(name); 625 err = crypto_grab_nivcipher(spawn, name, type, mask); 661 * template name and double-check the IV generator. 667 if (strcmp(tmpl->name, balg.geniv)) 676 "%s(%s)", tmpl->name, al 562 crypto_grab_nivcipher(struct crypto_skcipher_spawn *spawn, const char *name, u32 type, u32 mask) argument [all...] |