Lines Matching refs:key_len

108   size_t key_len;  in __sha256_crypt_r()  local
143 key_len = strlen (key); in __sha256_crypt_r()
149 if (__libc_use_alloca (alloca_used + key_len + __alignof__ (uint32_t))) in __sha256_crypt_r()
150 tmp = alloca_account (key_len + __alignof__ (uint32_t), alloca_used); in __sha256_crypt_r()
153 free_key = tmp = (char *) malloc (key_len + __alignof__ (uint32_t)); in __sha256_crypt_r()
161 key, key_len); in __sha256_crypt_r()
195 sha256_process_bytes (key, key_len, &ctx, nss_ctx); in __sha256_crypt_r()
207 sha256_process_bytes (key, key_len, &alt_ctx, nss_alt_ctx); in __sha256_crypt_r()
213 sha256_process_bytes (key, key_len, &alt_ctx, nss_alt_ctx); in __sha256_crypt_r()
220 for (cnt = key_len; cnt > 32; cnt -= 32) in __sha256_crypt_r()
226 for (cnt = key_len; cnt > 0; cnt >>= 1) in __sha256_crypt_r()
230 sha256_process_bytes (key, key_len, &ctx, nss_ctx); in __sha256_crypt_r()
239 for (cnt = 0; cnt < key_len; ++cnt) in __sha256_crypt_r()
240 sha256_process_bytes (key, key_len, &alt_ctx, nss_alt_ctx); in __sha256_crypt_r()
246 if (__libc_use_alloca (alloca_used + key_len)) in __sha256_crypt_r()
247 cp = p_bytes = (char *) alloca (key_len); in __sha256_crypt_r()
250 free_pbytes = cp = p_bytes = (char *)malloc (key_len); in __sha256_crypt_r()
258 for (cnt = key_len; cnt >= 32; cnt -= 32) in __sha256_crypt_r()
287 sha256_process_bytes (p_bytes, key_len, &ctx, nss_ctx); in __sha256_crypt_r()
297 sha256_process_bytes (p_bytes, key_len, &ctx, nss_ctx); in __sha256_crypt_r()
303 sha256_process_bytes (p_bytes, key_len, &ctx, nss_ctx); in __sha256_crypt_r()
377 explicit_bzero (p_bytes, key_len); in __sha256_crypt_r()
380 explicit_bzero (copied_key, key_len); in __sha256_crypt_r()