Home
last modified time | relevance | path

Searched refs:halg (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/include/crypto/internal/
Dhash.h115 halg); in __crypto_ahash_alg()
127 return container_of(&inst->alg.halg.base, struct crypto_instance, alg); in ahash_crypto_instance()
133 return container_of(&inst->alg, struct ahash_instance, alg.halg.base); in ahash_instance()
/linux-2.6.39/crypto/
Dahash.c37 halg); in crypto_ahash_alg()
434 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg()
436 if (alg->halg.digestsize > PAGE_SIZE / 8 || in ahash_prepare_alg()
437 alg->halg.statesize > PAGE_SIZE / 8) in ahash_prepare_alg()
449 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash()
462 return crypto_unregister_alg(&alg->halg.base); in crypto_unregister_ahash()
Dcryptd.c596 inst->alg.halg.base.cra_flags = CRYPTO_ALG_ASYNC; in cryptd_create_hash()
598 inst->alg.halg.digestsize = salg->digestsize; in cryptd_create_hash()
599 inst->alg.halg.base.cra_ctxsize = sizeof(struct cryptd_hash_ctx); in cryptd_create_hash()
601 inst->alg.halg.base.cra_init = cryptd_hash_init_tfm; in cryptd_create_hash()
602 inst->alg.halg.base.cra_exit = cryptd_hash_exit_tfm; in cryptd_create_hash()
Dgcm.c724 ghash_ahash_alg = container_of(ghash_alg, struct ahash_alg, halg.base); in crypto_gcm_alloc_common()
725 err = crypto_init_ahash_spawn(&ctx->ghash, &ghash_ahash_alg->halg, in crypto_gcm_alloc_common()
/linux-2.6.39/drivers/crypto/
Domap-sham.c959 .halg.digestsize = SHA1_DIGEST_SIZE,
960 .halg.base = {
981 .halg.digestsize = MD5_DIGEST_SIZE,
982 .halg.base = {
1004 .halg.digestsize = SHA1_DIGEST_SIZE,
1005 .halg.base = {
1028 .halg.digestsize = MD5_DIGEST_SIZE,
1029 .halg.base = {
Dtalitos.c2115 .halg.digestsize = MD5_DIGEST_SIZE,
2116 .halg.base = {
2136 .halg.digestsize = SHA1_DIGEST_SIZE,
2137 .halg.base = {
2157 .halg.digestsize = SHA224_DIGEST_SIZE,
2158 .halg.base = {
2178 .halg.digestsize = SHA256_DIGEST_SIZE,
2179 .halg.base = {
2199 .halg.digestsize = SHA384_DIGEST_SIZE,
2200 .halg.base = {
[all …]
Dn2_core.c258 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in n2_ahash_alg()
273 ahash_alg = container_of(alg, struct ahash_alg, halg.base); in n2_hmac_alg()
1436 p->child_alg = n2ahash->alg.halg.base.cra_name; in __n2_register_one_hmac()
1444 base = &ahash->halg.base; in __n2_register_one_hmac()
1467 struct hash_alg_common *halg; in __n2_register_one_ahash() local
1489 halg = &ahash->halg; in __n2_register_one_ahash()
1490 halg->digestsize = tmpl->digest_size; in __n2_register_one_ahash()
1492 base = &halg->base; in __n2_register_one_ahash()
Dmv_cesa.c963 .halg = {
987 .halg = {
/linux-2.6.39/arch/x86/crypto/
Dghash-clmulni-intel_glue.c280 .halg = {
290 .cra_list = LIST_HEAD_INIT(ghash_async_alg.halg.base.cra_list),
/linux-2.6.39/include/crypto/
Dhash.h51 struct hash_alg_common halg; member