Home
last modified time | relevance | path

Searched refs:authkeylen (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/crypto/
Dauthenc.c58 unsigned int authkeylen; in crypto_authenc_setkey() local
83 authkeylen = keylen - enckeylen; in crypto_authenc_setkey()
88 err = crypto_ahash_setkey(auth, key, authkeylen); in crypto_authenc_setkey()
98 err = crypto_ablkcipher_setkey(enc, key + authkeylen, enckeylen); in crypto_authenc_setkey()
Dauthencesn.c62 unsigned int authkeylen; in crypto_authenc_esn_setkey() local
87 authkeylen = keylen - enckeylen; in crypto_authenc_esn_setkey()
92 err = crypto_ahash_setkey(auth, key, authkeylen); 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
518 authkeylen = keylen - enckeylen; 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()
532 memcpy(ctx->hash_ctx, key, authkeylen); in spacc_aead_setkey()
533 ctx->hash_key_len = authkeylen; in spacc_aead_setkey()
Dtalitos.c714 unsigned int authkeylen; member
751 unsigned int authkeylen; in aead_setkey() local
772 authkeylen = keylen - enckeylen; in aead_setkey()
781 ctx->authkeylen = authkeylen; in aead_setkey()
1026 map_single_talitos_ptr(dev, &desc->ptr[0], ctx->authkeylen, &ctx->key, in ipsec_esp()
1037 (char *)&ctx->key + ctx->authkeylen, 0, in ipsec_esp()