Lines Matching refs:key_len
369 size_t key_len; in php_sha512_crypt_r() local
404 key_len = strlen(key); in php_sha512_crypt_r()
414 tmp_key = (char *) do_alloca(key_len + __alignof__ (uint64_t), use_heap_key); in php_sha512_crypt_r()
416 …memcpy(tmp_key + __alignof__(uint64_t) - (uintptr_t)tmp_key % __alignof__(uint64_t), key, key_len); in php_sha512_crypt_r()
429 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
442 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
448 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
455 for (cnt = key_len; cnt > 64; cnt -= 64) { in php_sha512_crypt_r()
462 for (cnt = key_len; cnt > 0; cnt >>= 1) { in php_sha512_crypt_r()
466 sha512_process_bytes(key, key_len, &ctx); in php_sha512_crypt_r()
477 for (cnt = 0; cnt < key_len; ++cnt) { in php_sha512_crypt_r()
478 sha512_process_bytes(key, key_len, &alt_ctx); in php_sha512_crypt_r()
486 cp = p_bytes = do_alloca(key_len, use_heap_p_bytes); in php_sha512_crypt_r()
487 for (cnt = key_len; cnt >= 64; cnt -= 64) { in php_sha512_crypt_r()
520 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
532 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
539 sha512_process_bytes(p_bytes, key_len, &ctx); in php_sha512_crypt_r()
618 ZEND_SECURE_ZERO(p_bytes, key_len); in php_sha512_crypt_r()
623 ZEND_SECURE_ZERO(copied_key, key_len); in php_sha512_crypt_r()