Lines Matching refs:cinfo
649 unsigned char *cinfo; in setup_auth() local
657 cinfo = dir->npe_ctx + dir->npe_ctx_idx; in setup_auth()
665 *(u32*)cinfo = cpu_to_be32(cfgword); in setup_auth()
666 cinfo += sizeof(cfgword); in setup_auth()
669 memcpy(cinfo, algo->icv, digest_len); in setup_auth()
670 cinfo += digest_len; in setup_auth()
675 init_len = cinfo - (dir->npe_ctx + dir->npe_ctx_idx); in setup_auth()
723 u8 *cinfo; in setup_cipher() local
731 cinfo = dir->npe_ctx; in setup_cipher()
764 *(u32*)cinfo = cpu_to_be32(cipher_cfg); in setup_cipher()
765 cinfo += sizeof(cipher_cfg); in setup_cipher()
768 memcpy(cinfo, key, key_len); in setup_cipher()
771 memset(cinfo + key_len, 0, DES3_EDE_KEY_SIZE -key_len); in setup_cipher()