• Home
  • Raw
  • Download

Lines Matching refs:dsp

369 dsp_bf_encrypt(struct dsp *dsp, u8 *data, int len)  in dsp_bf_encrypt()  argument
371 int i = 0, j = dsp->bf_crypt_pos; in dsp_bf_encrypt()
372 u8 *bf_data_in = dsp->bf_data_in; in dsp_bf_encrypt()
373 u8 *bf_crypt_out = dsp->bf_crypt_out; in dsp_bf_encrypt()
374 u32 *P = dsp->bf_p; in dsp_bf_encrypt()
375 u32 *S = dsp->bf_s; in dsp_bf_encrypt()
448 dsp->bf_crypt_pos = j; in dsp_bf_encrypt()
458 dsp_bf_decrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_decrypt() argument
461 u8 j = dsp->bf_decrypt_in_pos; in dsp_bf_decrypt()
462 u8 k = dsp->bf_decrypt_out_pos; in dsp_bf_decrypt()
463 u8 *bf_crypt_inring = dsp->bf_crypt_inring; in dsp_bf_decrypt()
464 u8 *bf_data_out = dsp->bf_data_out; in dsp_bf_decrypt()
465 u16 sync = dsp->bf_sync; in dsp_bf_decrypt()
466 u32 *P = dsp->bf_p; in dsp_bf_decrypt()
467 u32 *S = dsp->bf_s; in dsp_bf_decrypt()
555 dsp->bf_decrypt_in_pos = j; in dsp_bf_decrypt()
556 dsp->bf_decrypt_out_pos = k; in dsp_bf_decrypt()
557 dsp->bf_sync = sync; in dsp_bf_decrypt()
599 dsp_bf_init(struct dsp *dsp, const u8 *key, uint keylen) in dsp_bf_init() argument
603 u32 *P = (u32 *)dsp->bf_p; in dsp_bf_init()
604 u32 *S = (u32 *)dsp->bf_s; in dsp_bf_init()
612 dsp->bf_crypt_out[i] = 0xff; in dsp_bf_init()
613 dsp->bf_data_out[i] = dsp_silence; in dsp_bf_init()
616 dsp->bf_crypt_pos = 0; in dsp_bf_init()
617 dsp->bf_decrypt_in_pos = 0; in dsp_bf_init()
618 dsp->bf_decrypt_out_pos = 0; in dsp_bf_init()
619 dsp->bf_sync = 0x1ff; in dsp_bf_init()
620 dsp->bf_enable = 1; in dsp_bf_init()
669 dsp_bf_cleanup(struct dsp *dsp) in dsp_bf_cleanup() argument
671 dsp->bf_enable = 0; in dsp_bf_cleanup()