Home
last modified time | relevance | path

Searched refs:enckeylen (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/include/crypto/
Dauthenc.h23 __be32 enckeylen; member
/linux-2.6.39/crypto/
Dauthenc.c59 unsigned int enckeylen; in crypto_authenc_setkey() local
75 enckeylen = be32_to_cpu(param->enckeylen); in crypto_authenc_setkey()
80 if (keylen < enckeylen) in crypto_authenc_setkey()
83 authkeylen = keylen - enckeylen; in crypto_authenc_setkey()
98 err = crypto_ablkcipher_setkey(enc, key + authkeylen, enckeylen); in crypto_authenc_setkey()
Dauthencesn.c63 unsigned int enckeylen; in crypto_authenc_esn_setkey() local
79 enckeylen = be32_to_cpu(param->enckeylen); in crypto_authenc_esn_setkey()
84 if (keylen < enckeylen) in crypto_authenc_esn_setkey()
87 authkeylen = keylen - enckeylen; in crypto_authenc_esn_setkey()
102 err = crypto_ablkcipher_setkey(enc, key + authkeylen, enckeylen); in crypto_authenc_esn_setkey()
/linux-2.6.39/drivers/crypto/
Dpicoxcell_crypto.c497 unsigned int authkeylen, enckeylen; in spacc_aead_setkey() local
510 enckeylen = be32_to_cpu(param->enckeylen); in spacc_aead_setkey()
515 if (keylen < enckeylen) in spacc_aead_setkey()
518 authkeylen = keylen - enckeylen; in spacc_aead_setkey()
520 if (enckeylen > AES_MAX_KEY_SIZE) in spacc_aead_setkey()
525 err = spacc_aead_aes_setkey(tfm, key + authkeylen, enckeylen); in spacc_aead_setkey()
527 err = spacc_aead_des_setkey(tfm, key + authkeylen, enckeylen); in spacc_aead_setkey()
Dtalitos.c713 unsigned int enckeylen; member
752 unsigned int enckeylen; in aead_setkey() local
764 enckeylen = be32_to_cpu(param->enckeylen); in aead_setkey()
769 if (keylen < enckeylen) in aead_setkey()
772 authkeylen = keylen - enckeylen; in aead_setkey()
780 ctx->enckeylen = enckeylen; in aead_setkey()
1036 map_single_talitos_ptr(dev, &desc->ptr[3], ctx->enckeylen, in ipsec_esp()
Dixp4xx_crypto.c1172 ctx->enckey_len = be32_to_cpu(param->enckeylen); in aead_setkey()
/linux-2.6.39/net/ipv6/
Desp6.c564 param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); in esp_init_authenc()
/linux-2.6.39/net/ipv4/
Desp4.c618 param->enckeylen = cpu_to_be32((x->ealg->alg_key_len + 7) / 8); in esp_init_authenc()