Lines Matching +full:0 +full:x93
27 memset(ctx, 0, sizeof(*ctx)); in dh_clear_ctx()
50 return (p_len < 2048) ? -EINVAL : 0; in dh_check_params_length()
52 return (p_len < 1536) ? -EINVAL : 0; in dh_check_params_length()
68 return 0; in dh_set_params()
80 if (crypto_dh_decode_key(buf, len, ¶ms) < 0) in dh_set_secret()
83 if (dh_set_params(ctx, ¶ms) < 0) in dh_set_secret()
90 return 0; in dh_set_secret()
120 if (mpi_cmp_ui(y, 1) < 1 || mpi_cmp(y, ctx->p) >= 0) in dh_is_pubkey_valid()
132 val = mpi_alloc(0); in dh_is_pubkey_valid()
159 if (ret != 0) in dh_is_pubkey_valid()
163 return 0; in dh_is_pubkey_valid()
170 MPI base, val = mpi_alloc(0); in dh_compute_value()
171 int ret = 0; in dh_compute_value()
211 pone = mpi_alloc(0); in dh_compute_value()
240 if (sign < 0) in dh_compute_value()
324 return 0; in dh_safe_prime_init_tfm()
338 for (i = n; val && i > 0; --i) { in __add_u64_to_be()
342 val = tmp >= val ? 0 : 1; in __add_u64_to_be()
411 * may be written as key[] = h * 2^N + l, with h = key[0] in dh_safe_prime_gen_privkey()
428 h = be64_to_cpu(key[0]); in dh_safe_prime_gen_privkey()
576 dh_name, 0, mask); in __dh_safe_prime_create()
608 return 0; in __dh_safe_prime_create()
624 "\xa9\xe1\x36\x41\x14\x64\x33\xfb\xcc\x93\x9d\xce\x24\x9b\x3e\xf9"
646 "\xa9\xe1\x36\x41\x14\x64\x33\xfb\xcc\x93\x9d\xce\x24\x9b\x3e\xf9"
662 "\xae\xfe\x13\x09\x85\x13\x92\x70\xb4\x13\x0c\x93\xbc\x43\x79\x44"
676 "\xa9\xe1\x36\x41\x14\x64\x33\xfb\xcc\x93\x9d\xce\x24\x9b\x3e\xf9"
692 "\xae\xfe\x13\x09\x85\x13\x92\x70\xb4\x13\x0c\x93\xbc\x43\x79\x44"
714 "\xa9\xe1\x36\x41\x14\x64\x33\xfb\xcc\x93\x9d\xce\x24\x9b\x3e\xf9"
730 "\xae\xfe\x13\x09\x85\x13\x92\x70\xb4\x13\x0c\x93\xbc\x43\x79\x44"
768 "\xa9\xe1\x36\x41\x14\x64\x33\xfb\xcc\x93\x9d\xce\x24\x9b\x3e\xf9"
784 "\xae\xfe\x13\x09\x85\x13\x92\x70\xb4\x13\x0c\x93\xbc\x43\x79\x44"
816 "\x86\xb6\x31\x42\xa3\xab\x88\x29\x55\x5b\x2f\x74\x7c\x93\x26\x65"
912 return 0; in dh_init()