Lines Matching refs:NULL
36 if (pos == NULL) in crypto_rsa_parse_integer()
37 return NULL; in crypto_rsa_parse_integer()
42 return NULL; in crypto_rsa_parse_integer()
47 return NULL; in crypto_rsa_parse_integer()
68 if (key == NULL) in crypto_rsa_import_public_key()
69 return NULL; in crypto_rsa_import_public_key()
73 if (key->n == NULL || key->e == NULL) { in crypto_rsa_import_public_key()
75 return NULL; in crypto_rsa_import_public_key()
96 if (pos == NULL) in crypto_rsa_import_public_key()
110 return NULL; in crypto_rsa_import_public_key()
121 if (key == NULL) in crypto_rsa_import_public_key_parts()
122 return NULL; in crypto_rsa_import_public_key_parts()
126 if (key->n == NULL || key->e == NULL || in crypto_rsa_import_public_key_parts()
130 return NULL; in crypto_rsa_import_public_key_parts()
152 if (key == NULL) in crypto_rsa_import_private_key()
153 return NULL; in crypto_rsa_import_private_key()
166 if (key->n == NULL || key->e == NULL || key->d == NULL || in crypto_rsa_import_private_key()
167 key->p == NULL || key->q == NULL || key->dmp1 == NULL || in crypto_rsa_import_private_key()
168 key->dmq1 == NULL || key->iqmp == NULL) { in crypto_rsa_import_private_key()
170 return NULL; in crypto_rsa_import_private_key()
197 if (zero == NULL) in crypto_rsa_import_private_key()
200 if (pos == NULL || bignum_cmp_d(zero, 0) != 0) { in crypto_rsa_import_private_key()
217 if (pos == NULL) in crypto_rsa_import_private_key()
231 return NULL; in crypto_rsa_import_private_key()
259 struct bignum *tmp, *a = NULL, *b = NULL; in crypto_rsa_exptmod()
267 if (tmp == NULL) in crypto_rsa_exptmod()
293 if (a == NULL || b == NULL) in crypto_rsa_exptmod()
333 (modlen - bignum_get_unsigned_bin_len(tmp)), NULL) < 0) in crypto_rsa_exptmod()