Lines Matching +full:0 +full:x53
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()
113 return 0; in dh_is_pubkey_valid()
126 if (mpi_cmp_ui(y, 1) < 1 || mpi_cmp(y, ctx->p) >= 0) in dh_is_pubkey_valid()
134 val = mpi_alloc(0); in dh_is_pubkey_valid()
161 if (ret != 0) in dh_is_pubkey_valid()
164 return 0; in dh_is_pubkey_valid()
171 MPI base, val = mpi_alloc(0); in dh_compute_value()
172 int ret = 0; in dh_compute_value()
212 pone = mpi_alloc(0); in dh_compute_value()
241 if (sign < 0) in dh_compute_value()
325 return 0; in dh_safe_prime_init_tfm()
339 for (i = n; val && i > 0; --i) { in __add_u64_to_be()
343 val = tmp >= val ? 0 : 1; in __add_u64_to_be()
412 * may be written as key[] = h * 2^N + l, with h = key[0] in dh_safe_prime_gen_privkey()
429 h = be64_to_cpu(key[0]); in dh_safe_prime_gen_privkey()
577 dh_name, 0, mask); in __dh_safe_prime_create()
609 return 0; in __dh_safe_prime_create()
667 "\x0a\xbc\xd0\x6b\xfa\x53\xdd\xef\x3c\x1b\x20\xee\x3f\xd5\x9d\x7c"
697 "\x0a\xbc\xd0\x6b\xfa\x53\xdd\xef\x3c\x1b\x20\xee\x3f\xd5\x9d\x7c"
735 "\x0a\xbc\xd0\x6b\xfa\x53\xdd\xef\x3c\x1b\x20\xee\x3f\xd5\x9d\x7c"
745 "\x4e\x67\x7d\x2c\x38\x53\x2a\x3a\x23\xba\x44\x42\xca\xf5\x3e\xa6"
754 "\x0a\xe8\xdb\x58\x47\xa6\x7c\xbe\xf9\xc9\x09\x1b\x46\x2d\x53\x8c"
789 "\x0a\xbc\xd0\x6b\xfa\x53\xdd\xef\x3c\x1b\x20\xee\x3f\xd5\x9d\x7c"
799 "\x4e\x67\x7d\x2c\x38\x53\x2a\x3a\x23\xba\x44\x42\xca\xf5\x3e\xa6"
808 "\x0a\xe8\xdb\x58\x47\xa6\x7c\xbe\xf9\xc9\x09\x1b\x46\x2d\x53\x8c"
913 return 0; in dh_init()