Searched refs:norm_len (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/crypto/heimdal/lib/wind/ |
| H A D | test-normalize.c | 92 size_t norm_len; in test() local 112 norm_len = MAX_LENGTH_CANON; in test() 113 tmp = malloc(norm_len * sizeof(uint32_t)); in test() 114 if (tmp == NULL && norm_len != 0) in test() 116 ret = _wind_stringprep_normalize(in, in_len, tmp, &norm_len); in test() 122 if (out_len != norm_len) { in test() 125 dump_vector("Received", tmp, norm_len); in test() 132 dump_vector("Received", tmp, norm_len); in test()
|
| H A D | idn-lookup.c | 73 size_t norm_len = u_len * 2; in lookup() local 74 uint32_t *norm = malloc(norm_len * sizeof(uint32_t)); in lookup() 78 if (norm == NULL && norm_len != 0) in lookup() 84 ret = wind_stringprep(u, u_len, norm, &norm_len, WIND_PROFILE_NAME); in lookup() 90 for (i = 0; i < norm_len; ++i) { in lookup() 94 for (j = i; j < norm_len && !is_separator(norm[j]); ++j) in lookup()
|