Lines Matching refs:cinfo
665 unsigned char *cinfo; in setup_auth() local
673 cinfo = dir->npe_ctx + dir->npe_ctx_idx; in setup_auth()
681 *(u32*)cinfo = cpu_to_be32(cfgword); in setup_auth()
682 cinfo += sizeof(cfgword); in setup_auth()
685 memcpy(cinfo, algo->icv, digest_len); in setup_auth()
686 cinfo += digest_len; in setup_auth()
691 init_len = cinfo - (dir->npe_ctx + dir->npe_ctx_idx); in setup_auth()
739 u8 *cinfo; in setup_cipher() local
747 cinfo = dir->npe_ctx; in setup_cipher()
780 *(u32*)cinfo = cpu_to_be32(cipher_cfg); in setup_cipher()
781 cinfo += sizeof(cipher_cfg); in setup_cipher()
784 memcpy(cinfo, key, key_len); in setup_cipher()
787 memset(cinfo + key_len, 0, DES3_EDE_KEY_SIZE -key_len); in setup_cipher()