Lines Matching refs:key_len
301 size_t key_len; in sha256_crypt_r() local
331 key_len = strlen(key); in sha256_crypt_r()
334 char *tmp = (char *)alloca(key_len + __alignof__(uint32_t)); in sha256_crypt_r()
337 key, key_len); in sha256_crypt_r()
351 sha256_process_bytes(key, key_len, &ctx); in sha256_crypt_r()
363 sha256_process_bytes(key, key_len, &alt_ctx); in sha256_crypt_r()
369 sha256_process_bytes(key, key_len, &alt_ctx); in sha256_crypt_r()
376 for (cnt = key_len; cnt > 32; cnt -= 32) in sha256_crypt_r()
382 for (cnt = key_len; cnt; cnt >>= 1) in sha256_crypt_r()
386 sha256_process_bytes(key, key_len, &ctx); in sha256_crypt_r()
395 for (cnt = 0; cnt < key_len; ++cnt) in sha256_crypt_r()
396 sha256_process_bytes(key, key_len, &alt_ctx); in sha256_crypt_r()
402 cp = p_bytes = alloca(key_len); in sha256_crypt_r()
403 for (cnt = key_len; cnt >= 32; cnt -= 32) in sha256_crypt_r()
431 sha256_process_bytes(p_bytes, key_len, &ctx); in sha256_crypt_r()
441 sha256_process_bytes(p_bytes, key_len, &ctx); in sha256_crypt_r()
447 sha256_process_bytes(p_bytes, key_len, &ctx); in sha256_crypt_r()
508 memset(p_bytes, '\0', key_len); in sha256_crypt_r()
513 memset(copied_key, '\0', key_len); in sha256_crypt_r()