Lines Matching refs:cmdl_len
890 int cmdl_len; in sa_cipher_setkey() local
917 cmdl_len = sa_format_cmdl_gen(&cfg, in sa_cipher_setkey()
920 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_cipher_setkey()
923 ctx->enc.cmdl_size = cmdl_len; in sa_cipher_setkey()
931 cmdl_len = sa_format_cmdl_gen(&cfg, (u8 *)ctx->dec.cmdl, in sa_cipher_setkey()
934 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_cipher_setkey()
937 ctx->dec.cmdl_size = cmdl_len; in sa_cipher_setkey()
1455 int cmdl_len; in sa_sha_setup() local
1477 cmdl_len = sa_format_cmdl_gen(&cfg, in sa_sha_setup()
1480 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_sha_setup()
1483 ctx->enc.cmdl_size = cmdl_len; in sa_sha_setup()
1806 int cmdl_len; in sa_aead_setkey() local
1845 cmdl_len = sa_format_cmdl_gen(&cfg, in sa_aead_setkey()
1848 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_aead_setkey()
1851 ctx->enc.cmdl_size = cmdl_len; in sa_aead_setkey()
1860 cmdl_len = sa_format_cmdl_gen(&cfg, (u8 *)ctx->dec.cmdl, in sa_aead_setkey()
1863 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_aead_setkey()
1866 ctx->dec.cmdl_size = cmdl_len; in sa_aead_setkey()