Lines Matching refs:NULL
195 #define crypto_alloc_ablkcipher(a,b,c) (NULL)
207 #define crypto_alloc_ahash(a,b,c) (NULL)
266 static struct swcr_data **swcr_sessions = NULL;
348 if (sid == NULL || cri == NULL) {
355 if (swcr_sessions[i] == NULL)
360 if (swcr_sessions == NULL || i == swcr_sesnum) {
361 if (swcr_sessions == NULL) {
368 if (swd == NULL) {
395 if (*swd == NULL) {
396 swcr_freesession(NULL, i);
405 swcr_freesession(NULL, i);
412 swcr_freesession(NULL, i);
436 (*swd)->sw_tfm = swcr_no_ablk ? NULL :
452 (*swd)->sw_tfm = NULL; /* ensure NULL */
453 swcr_freesession(NULL, i);
485 swcr_freesession(NULL, i);
493 (*swd)->sw_tfm = swcr_no_ahash ? NULL :
507 swcr_freesession(NULL, i);
514 if ((*swd)->u.hmac.sw_key == NULL) {
515 swcr_freesession(NULL, i);
535 swcr_freesession(NULL, i);
539 if ((*swd)->u.sw_comp_buf == NULL) {
540 swcr_freesession(NULL, i);
546 swcr_freesession(NULL, i);
566 if (sid > swcr_sesnum || swcr_sessions == NULL ||
567 swcr_sessions[sid] == NULL) {
576 while ((swd = swcr_sessions[sid]) != NULL) {
608 swd->sw_tfm = NULL;
716 if (sw == NULL) {
1084 void *ibuf = NULL;
1163 struct swcr_req *req = NULL;
1168 if (crp == NULL) {
1175 if (crp->crp_desc == NULL || crp->crp_buf == NULL) {
1182 if (lid >= swcr_sesnum || lid == 0 || swcr_sessions == NULL ||
1183 swcr_sessions[lid] == NULL) {
1213 if (req == NULL) {
1244 sizeof(struct swcr_req), 0, SLAB_HWCACHE_ALIGN, NULL
1246 , NULL