Lines Matching refs:cmdl_len
889 int cmdl_len; in sa_cipher_setkey() local
916 cmdl_len = sa_format_cmdl_gen(&cfg, in sa_cipher_setkey()
919 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_cipher_setkey()
922 ctx->enc.cmdl_size = cmdl_len; in sa_cipher_setkey()
930 cmdl_len = sa_format_cmdl_gen(&cfg, (u8 *)ctx->dec.cmdl, in sa_cipher_setkey()
933 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_cipher_setkey()
936 ctx->dec.cmdl_size = cmdl_len; in sa_cipher_setkey()
1454 int cmdl_len; in sa_sha_setup() local
1476 cmdl_len = sa_format_cmdl_gen(&cfg, in sa_sha_setup()
1479 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_sha_setup()
1482 ctx->enc.cmdl_size = cmdl_len; in sa_sha_setup()
1805 int cmdl_len; in sa_aead_setkey() local
1844 cmdl_len = sa_format_cmdl_gen(&cfg, in sa_aead_setkey()
1847 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_aead_setkey()
1850 ctx->enc.cmdl_size = cmdl_len; in sa_aead_setkey()
1859 cmdl_len = sa_format_cmdl_gen(&cfg, (u8 *)ctx->dec.cmdl, in sa_aead_setkey()
1862 if (cmdl_len <= 0 || (cmdl_len > SA_MAX_CMDL_WORDS * sizeof(u32))) in sa_aead_setkey()
1865 ctx->dec.cmdl_size = cmdl_len; in sa_aead_setkey()