Lines Matching +full:0 +full:x2f
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()
625 "\x7d\x2f\xe3\x63\x63\x0c\x75\xd8\xf6\x81\xb2\x02\xae\xc4\x61\x7a"
633 "\x9e\x02\xfc\xe1\xcd\xf7\xe2\xec\xc0\x34\x04\xcd\x28\x34\x2f\x61"
647 "\x7d\x2f\xe3\x63\x63\x0c\x75\xd8\xf6\x81\xb2\x02\xae\xc4\x61\x7a"
655 "\x9e\x02\xfc\xe1\xcd\xf7\xe2\xec\xc0\x34\x04\xcd\x28\x34\x2f\x61"
677 "\x7d\x2f\xe3\x63\x63\x0c\x75\xd8\xf6\x81\xb2\x02\xae\xc4\x61\x7a"
685 "\x9e\x02\xfc\xe1\xcd\xf7\xe2\xec\xc0\x34\x04\xcd\x28\x34\x2f\x61"
715 "\x7d\x2f\xe3\x63\x63\x0c\x75\xd8\xf6\x81\xb2\x02\xae\xc4\x61\x7a"
723 "\x9e\x02\xfc\xe1\xcd\xf7\xe2\xec\xc0\x34\x04\xcd\x28\x34\x2f\x61"
769 "\x7d\x2f\xe3\x63\x63\x0c\x75\xd8\xf6\x81\xb2\x02\xae\xc4\x61\x7a"
777 "\x9e\x02\xfc\xe1\xcd\xf7\xe2\xec\xc0\x34\x04\xcd\x28\x34\x2f\x61"
816 "\x86\xb6\x31\x42\xa3\xab\x88\x29\x55\x5b\x2f\x74\x7c\x93\x26\x65"
824 "\x83\xf8\x1d\x4a\x3f\x2f\xa4\x57\x1e\xfc\x8c\xe0\xba\x8a\x4f\xe8"
826 "\xfa\xfa\xbe\x1c\x5d\x71\xa8\x7e\x2f\x74\x1e\xf8\xc1\xfe\x86\xfe"
912 return 0; in dh_init()