Lines Matching refs:key_len
332 size_t key_len; in php_sha256_crypt_r() local
366 key_len = strlen(key); in php_sha256_crypt_r()
376 tmp_key = (char *) do_alloca(key_len + __alignof__(uint32_t), use_heap_key); in php_sha256_crypt_r()
377 …memcpy(tmp_key + __alignof__(uint32_t) - (uintptr_t)tmp_key % __alignof__(uint32_t), key, key_len); in php_sha256_crypt_r()
391 sha256_process_bytes(key, key_len, &ctx); in php_sha256_crypt_r()
404 sha256_process_bytes(key, key_len, &alt_ctx); in php_sha256_crypt_r()
410 sha256_process_bytes(key, key_len, &alt_ctx); in php_sha256_crypt_r()
417 for (cnt = key_len; cnt > 32; cnt -= 32) { in php_sha256_crypt_r()
424 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha256_crypt_r()
428 sha256_process_bytes(key, key_len, &ctx); in php_sha256_crypt_r()
439 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha256_crypt_r()
440 sha256_process_bytes(key, key_len, &alt_ctx); in php_sha256_crypt_r()
448 cp = p_bytes = do_alloca(key_len, use_heap_p_bytes); in php_sha256_crypt_r()
449 for (cnt = key_len; cnt >= 32; cnt -= 32) { in php_sha256_crypt_r()
481 sha256_process_bytes(p_bytes, key_len, &ctx); in php_sha256_crypt_r()
493 sha256_process_bytes(p_bytes, key_len, &ctx); in php_sha256_crypt_r()
500 sha256_process_bytes(p_bytes, key_len, &ctx); in php_sha256_crypt_r()
566 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha256_crypt_r()
572 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha256_crypt_r()